Game freezes after battle?

Hi, so I have a battle scene that should go into the next map if the battle is won. The problem is that the game seems to freeze instead of taking me to the next map. Here is my code, and here is a gif showing that nothing happens when the battle is won. I'm guessing the problem has to do with the if else statements but I'm not sure.
Screenshot 2023-08-31 at 8.32.57 PM.png


ezgif-4-f3c3a18aef.gif
It's not true that nothing happens, I see a message pop up about an autosave.

What plugin are you using for that? Usually that triggers on a map change, no? So that would indicate the Transfer Player has been executed and there's something wrong with your map.

Also, it's not a good idea to crop your screenshots of events. There's a lot in the rest of the window that can affect how they function.
It's not true that nothing happens, I see a message pop up about an autosave.

What plugin are you using for that? Usually that triggers on a map change, no? So that would indicate the Transfer Player has been executed and there's something wrong with your map.

Also, it's not a good idea to crop your screenshots of events. There's a lot in the rest of the window that can affect how they function.
Oh you're right, I didn't think of that! I think it's Visustella's Savecore that allows for autosaves. Also, the rest of the events are just picture busts and dialogue. I can definitely screenshot them anyway.
Screenshot 2023-08-31 at 8.51.34 PM.png
Screenshot 2023-08-31 at 8.51.40 PM.png
Screenshot 2023-08-31 at 8.51.49 PM.png
Screenshot 2023-08-31 at 8.51.55 PM.png
Screenshot 2023-08-31 at 8.52.00 PM.png
Screenshot 2023-08-31 at 8.52.04 PM.png

Here is what the next map looks like:
Screenshot 2023-08-31 at 8.54.12 PM.png
Also, it's not a good idea to crop your screenshots of events. There's a lot in the rest of the window that can affect how they function.
Hi! Do you have screenshots that we could see of the left side of your event window? Like the conditions, priority, trigger type, etc? ^^
I read through your screenshots and I have to confirm that we really do need to see the whole event windows. For example, I'm assuming your last screenshot is an event that triggers upon entering "Page6", but without seeing the triggers and conditions, it's impossible to troubleshoot.

Always screenshot the whole window. It will save so much time...
Hi! Do you have screenshots that we could see of the left side of your event window? Like the conditions, priority, trigger type, etc? ^^

I read through your screenshots and I have to confirm that we really do need to see the whole event windows. For example, I'm assuming your last screenshot is an event that triggers upon entering "Page6", but without seeing the triggers and conditions, it's impossible to troubleshoot.

Always screenshot the whole window. It will save so much time...
Ohhh that's what y'all meant lol. Here let me screenshot the whole event window:
Screenshot 2023-09-01 at 9.14.05 AM.png
Screenshot 2023-09-01 at 9.14.10 AM.png

The first screenshot is the battle scene and the next one is where the scene moves to when the battle is won.
One of the things that can cause this problem is putting an event that triggers a battle into a scene, and then NOT making it so it (the event) erases itself when the battle is over. Did you do anything like that?
One of the things that can cause this problem is putting an event that triggers a battle into a scene, and then NOT making it so it (the event) erases itself when the battle is over.
I'm not sure how that would cause a frozen blank screen like this. It would cause an autorun or parallel event to restart from the top.

That's also not an issue here because the player is transferring to another map so this event stops regardless.

@adilene I don't see anything in what you showed of those events that shouldn't work correctly.

Are you sure there's not another event on map 6, or an autorun common event, that could be running?

If you take out the fadeout screen on map 5, can you verify visually that they're moving to map 6?
@ATT_Turan Ok so at first I thought this was an MV thread but now I see she uses MZ, so given the fact the only experience I have is with MV, I think that maybe it was a bad idea for me to try to offer input. Sorry everyone.
@adilene I don't see anything in what you showed of those events that shouldn't work correctly.

Are you sure there's not another event on map 6, or an autorun common event, that could be running?

If you take out the fadeout screen on map 5, can you verify visually that they're moving to map 6?
I can verify that there's no other autorun common events that are running. Also, I took out the fadein command on map6 and the issue was resolved? I have no idea what caused it to freeze the game. Regardless, the issue is solved ^_^; Here's a gif with the issue resolved:
ezgif-2-59ba375b43.gif
I can verify that there's no other autorun common events that are running. Also, I took out the fadein command on map6 and the issue was resolved? I have no idea what caused it to freeze the game. Regardless, the issue is solved ^_^; Here's a gif with the issue resolved:
View attachment 275329
That's great. Sorry I couldn't be of more help.
That's great. Sorry I couldn't be of more help.
That's ok! I appreciate any help I can get ^_^ Take care :]

Original thread: https://forums.rpgmakerweb.com/threads/game-freezes-after-battle.160813/