Making my events stay where they belong!!!

I'm beyond frustrated right now! I'm really hoping there's some simple thing I've done wrong that just requires a quick fix, because I'm tearing my hair out right now!

So, I have some events set up for a cut scene. The events move through the cut scene properly and then the battle finishes! The problem comes after, when I save the game. You see, I died the first time I faced the boss. This is okay. It's a boss battle. Who hasn't died a time or two when facing a boss? So I load the game. What has happened? All the events have moved back to their ORIGINAL positions! As a result, my character can simply go around the boss and ignore him! What's worse, the position of the events causes the next step to become impossible because now I can't do the event to move the body out of the way!
Please, oh pretty please tell me what I'm doing wrong! I'm praying that I'm just doing something wrong and this isn't something I simply have to account for and change everything in order to fix.

I thought I was done. This is a major bug! Please help!

((just in case it's not obvious, I'm working with MZ))
You edited the game between saving and loading? Because events reset their position when changes to the game have been made.
Without plugins:
  • Entering/leaving battle should not reset map events.

  • Leaving an event's map should reset it. Are you transferring to another map at any point?

  • When loading a save, the map should be identical to how it was immediately after saving.
    You edited the game between saving and loading? Because events reset their position when changes to the game have been made.
    This is incorrect. [Edit: actually it is correct, sorry! 😅 If the current game version is newer than the version at which it was saved, then the game will intentionally reload the map, resetting all map events to their starting positions. Otherwise:] All event IDs that were present at the time of saving will, by default, be restored to the state in which they were saved. New event IDs not present in the save data will be initialised to their default states. Events are identified by ID, so if you've changed an event's ID then it'll probably look/act differently when you load an old save.
Plugins and/or script calls can change any of the above points.

Typically:
  • If you need an event to permanently disappear, add another page with an appropriate condition (e.g. switch "Boss Dead" is on), with no image and no commands. The highest event page whose conditions are met will be the active page, determining how the event appears and reacts in-game.

  • If you need an event to permanently move, use two events: one for before, and one for after. Then toggle those events on/off using event page conditions (e.g. with a switch).

Alternatively, there are plugins to save event information, e.g.
Without plugins:
  • Entering/leaving battle should not reset map events.

  • Leaving an event's map should reset it. Are you transferring to another map at any point?

  • When loading a save, the map should be identical to how it was immediately after saving.

    This is incorrect. All event IDs that were present at the time of saving will, by default, be restored to the state in which they were saved. New event IDs not present in the save data will be initialised to their default states. Events are identified by ID, so if you've changed an event's ID then it'll probably look/act differently when you load an old save.
Plugins and/or script calls can change any of the above points.

Typically:
  • If you need an event to permanently disappear, add another page with an appropriate condition (e.g. switch "Boss Dead" is on), with no image and no commands. The highest event page whose conditions are met will be the active page, determining how the event appears and reacts in-game.

  • If you need an event to permanently move, use two events: one for before, and one for after. Then toggle those events on/off using event page conditions (e.g. with a switch).

Alternatively, there are plugins to save event information, e.g.
Well, you have confirmed that the game shouldn't be doing what it's doing. Honestly, it's kinda frustrating just how many bugs I'm finding that seemingly have no rhyme or reason. I made a point to not use scripts or Plugins. My head hurts...
I'm gonna go to bed. I've adjusted and tweaked for almost 9 hours straight now, and I think I'm overdoing it. Maybe things will look clearer in the morning?
Double-post notice: @Aslanemperor

How can you save the game after the battle finishes, if you lost the battle? Do you have "If Lose" processing set up? Why?

If you are going to allow the player to face the boss without the cutscene repeating, then you have to do something to make the events stay where they were at the end of the cutscene. This could be by having duplicates of each event, conditioned by a switch, in their starting location (switch off) and in their ending location (switch on), and turn on the switch prior to the battle. Or it could be by a plugin.

But what the others have said above is true - events should not move back to their starting position unless you left the map and came back. If they are, then you have something weird going on, and it's not MZ.
This is incorrect. All event IDs that were present at the time of saving will, by default, be restored to the state in which they were saved. New event IDs not present in the save data will be initialised to their default states. Events are identified by ID, so if you've changed an event's ID then it'll probably look/act differently when you load an old save.
Plugins and/or script calls can change any of the above points.

Lol, no. It has done event placement resets after changes since like RM2K. I can disable all my plugins, make a save in my game, change stuff to the project, and the locations of events will have reset. It happens every single time I playtest my cutscenes after adding new stuff to them.
If Milennin is right (and they seem pretty confident) it would explain what happened. I saved the game after the cutscene, but before the boss battle (you watch the cutscene, then another character steps down and you talk to them to start the next cutscene which triggers the boss battle.) Of course, this is not the only glitch that I'm running into, and some really have no sense to them.
I'm working on it, though. Thanks people for helping. I'm gonna get back to it. Maybe the worst is through?
I just did a quick test (walk a single event on a map, save, exit, add Show Text to event, save project, launch, continue from save) and realised that Milennin is correct, sorry! 😅 I corrected my earlier post~

I checked the core scripts and it seems there is an explicit check on load to see whether the version has changed since the game was saved. If so, it reloads the map in the same way it would when you change maps via Transfer Player. I think I was focused on page conditions rather than event positions, that was probably the source of my misunderstanding. 😴

Original thread: https://forums.rpgmakerweb.com/threads/making-my-events-stay-where-they-belong.138572/