I am attempting to prevent the player battle window and all of its functions from even popping up to have my battle sequence instead progressed by events only. User Joewoof has provided this simple script to be placed on turn 0 of the troop event line in an attempt to prevent the battle windows from popping up Scene_Battle._statusWindow.close(); Scene_Battle._partyCommandWindow.close(); Scene_Battle._actorCommandWindow.close();
I am attempting to prevent the player battle window and all of its functions from even popping up to have my battle sequence instead progressed by events only. User Joewoof has provided this simple script to be placed on turn 0 of the troop event line in an attempt to prevent the battle windows from popping up
Scene_Battle._statusWindow.close();
Scene_Battle._partyCommandWindow.close();
Scene_Battle._actorCommandWindow.close();
but it returns the errorsÂ
"cannot read property 'close' of undefined" for the first choice and
"cannot set property 'visible' of undefined" Â when changing
".close();" to ".visible = false;" so I am now posting the question here as I now have a possible script to work with.
Protected download
Image for reference of what IÂ am trying to remove.