If you're basing your game off the updated template game, there is a bug in it which causes you to run out of memory if you use the tp command (thanks go to Andrew_Baker for pointing this out).|
Open logic.000 and find the code that reads:
Then change it to this:
As far as I can tell, this fixes the problem.
This only needs to be done if you are using the UPDATED template game. If you are using the template game that ships with AGI Studio 1.31, then you should not have to do this.
Something else that leaks memory, and this one occurs in both the updated template game AND the AGI Studio 1.31 template game...if you type "tp" and then just press enter or you enter 0 for your destination. This problem isn't quite as severe, since it's something that's done less commonly, but a possible fix is to go into the debug logic (99) and change the "tp" handler so that it looks like this:|
|AGI1122||I will go ahead and update the template game and give it to Nailhead for AGI Studio and put it up on my site.|