MZ Calling a Scene in Battle and closing it, should not restart Battle

Hi all,

I want to open a Scene within a Battle, it should pause the battle while the player is in that scene. Once the player leaves this scene, the battle should just resume, instead it restarts.

How can I jump back into battle scene that it just resumes, and not restarts? If this is not possible with simple tricks, is there a function to pause/resume the battle so I can just prompt windows and stay in Scene_Battle?
That's how the SceneManager works: it processes one scene at a time. When the scene changes, the previous scene is terminated and the next scene is initialised. This is particularly obvious with the battle scene because it's much more time-dependent/start-to-finish than others. 😅

To change this behaviour, I think you'd need a plugin of some sort, either:
  1. Something that adds your desired windows/features to the battle scene, or
  2. Something to change how the manager handles transitions to/from the battle scene specifically.

Original thread: https://forums.rpgmakerweb.com/threads/calling-a-scene-in-battle-and-closing-it-should-not-restart-battle.129669/