[Solved]Prevent battle window from popping up
BMM_Archive · July 15, 2026
Original Source
- Original title: [Solved]Prevent battle window from popping up
- Original author: spitnik11
- Original date: March 7, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/solved-prevent-battle-window-from-popping-up.58235/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
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();
Archived First Post
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.
Downloads / Referenced Files
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.
- Local mirror: 19323-608f6fc333662f0d104d9306f4ba8029.png
SHA-256:19c0e187a56d34523bd56b227dd583451d524fd8c17e2a82f631e6dca9cb982d
Original attachment URL: https://forums.rpgmakerweb.com/attachments/battle-system-png.33168/
Referenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...