public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[Solved]Prevent battle window from popping up

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

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

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.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

battle system.png
battle system.png
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.

#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar