Menu Script having problems with autotiles

Started by Soulshaker3, April 10, 2014, 07:28:26 pm

Previous topic - Next topic

Soulshaker3

So i made a script that replaces the main menu of the game plus all the submenus (items, status etc)  and for my tests, everytime i open the script the 2nd time in a map with autotiles the game just crashes there's a video i uploaded to demonstrate the problem


I'll include a demo with the projects so if you can help me that would be great.
https://www.mediafire.com/?1bl15c2tnr78vov
Hellow?

G_G

It helps if you freeze the graphics before disposing them. And you forgot to dispose of the map spriteset.

    
       Audio.se_play('Audio/SE/' + "Menu/dialog_close", 100, 0)
   Graphics.freeze # moved this above everything that gets disposed
   for i in 0..4
     @sprites[i].dispose
   end
   @spriteset.dispose
   @background.dispose

Soulshaker3

Holy how did I made that mistake, and couldn't figure it out, that's why i call myself a newbie now actually works thanks a lot
Hellow?