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
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
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