So I created a simple RMXP game and began testing out the battle troops. The game takes some time to load, but the battle runs smoothly. As soon as all the enemies are defeated, however, the game practically hangs. Character animations (such as statuses they have been inflicted with) freeze, and it stays like that for almost twenty or thirty seconds before the "Exp and GP" earned message finally appears. Sometimes the game just hangs completely.
I am using Windows 7 and a decent 2.2 GHZ computer. What could be the problem here?