Another day, another script problem. Here it is.
When I call this script using Yanfly's Ace Status Menu v1.02...
It loads the text box fine. Though when I try and close it, nothing happens. Here are the two scripts.
Scene_EVA
Window_EVA
I've tried changing the dispose thing to return_scene and scenemanager.goto, though I'd prefer to just go back one step to before
I called the script.
This is probably a simple fix, but I am a completely hopeless at scripting (as you might be able to tell just by looking at this).
When I call this script using Yanfly's Ace Status Menu v1.02...
#-------------------------------------------------------------------------- # new method: command_name4 #-------------------------------------------------------------------------- def command_name4 SceneManager.call(Scene_EVA) end
Scene_EVA
class Scene_EVA < Scene_MenuBase def start super @Window_EVA = Window_EVA.new end def dispose super @Window_Eva.dispose if Input.trigger?🙂 && !@Window_Eva.disposed? endend
class Window_EVA < Window_Base def initialize super(0, 0, 128, 96) self.windowskin = Cache.system("Window") refresh end def refresh draw_text(x, y, 80, line_height, "Hi! 🙂") endend
I called the script.
This is probably a simple fix, but I am a completely hopeless at scripting (as you might be able to tell just by looking at this).