Zerbu 40 Posted February 4, 2012 (edited) IntroductionUsing this script you can make it so that when the menu is called, a switch is turned on instead. You can still open the menu by using a [Open Menu Screen] event call. You can use the switch to create a common event in place of the menu, or anything else you want.Script #============================================================================== # › Switch Menu ‹ #------------------------------------------------------------------------------ # Using this script you can make it so that when the menu is called, a # switch is turned on instead. You can still open the menu by using a # [Open Menu Screen] event call. You can use the switch to create a common # event in place of the menu, or anthing else you want. #------------------------------------------------------------------------------ # by Zerbu #============================================================================== $imported = {} if $imported.nil? $imported["SwitchMenu"] = true #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= module SwitchMenu #============================================================================ # ♦ Switch ID ♦ #---------------------------------------------------------------------------- # Set the switch you want turned on~ #============================================================================ SWITCH_ID = 1 #--- end #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #============================================================================== # » Scene_Map #============================================================================== class Scene_Map #---------------------------------------------------------------------------- # » overwrite method: call_menu #---------------------------------------------------------------------------- def call_menu $game_switches[SwitchMenu::SWITCH_ID] = true @menu_calling = false end #--- end Example Edited January 25, 2014 by Zerbu Share this post Link to post Share on other sites
killer bon bon 27 Posted February 5, 2012 That seems pretty simple, but really effective. I assume that this could be done for other menu's as well (as long as I don't screw it up), if I can, this could fix a lot of problems I have had with eventing before. Share this post Link to post Share on other sites