- Joined
- Mar 1, 2016
- Messages
- 12
- Reaction score
- 0
- First Language
- English
- Primarily Uses
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.

Image for reference of what I am trying to remove.
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.

Image for reference of what I am trying to remove.
Last edited by a moderator:

