I’ve got this problem that has me stumped.
I’m modding the final map and after the quotes for the units are finished the player phase starts, so far so good. After I move the first unit and hit Wait, the map ends and the End Event plays.
I’ve looked over the map events. There’s a turn 1 event that plays and I’ve tried to put in a turn-off to the Sieze Flag but that didn’t fix it. I’ve looked into the tutorial and player unit condition events, but there’s no events set there. I’ve tried a ROM rebuild and that didn’t fix the problem. Has anyone else experienced this issue and can someone help me with this?
My best guess is that you set the objective to rout/defeat boss in the chapter editor and have no enemies on turn 1. If that’s the case, either change the objective or have the enemies spawn in the start event.
If that’s not it, use the debugger by pressing F5 to confirm if either the seize or rout flags are getting set. If they are, use the Flag Usage editor to see what could be setting them to on.
And make sure to use a version before the ROM rebuild. That can introduce any number of issues that could make your hack unplayable. It’s meant to be an absolute last resort in case you run out of space, not as a fix for anything.
Ok, so I switched back to the regular ROM, and I’ve checked the flags. The ones I found were the Rout flag event trigger, that trigger turns on the Seize flag which triggers the end event. Looked for other flags, but didn’t find anything. I have the boss spawned in before turn 1 as well. However, l did notice that the flag condition for my seize flag trigger didn’t have a flag condition (which would be the Rout trigger.) I set that, but as soon as I moved the first unit and hit Wait the end event triggered. I wonder if its troubles with the Rout flag?
It would be important to know what the debugger shows. An event with no trigger flag always runs and therefore always sets its completion flag.
I’ve never heard of the rout flag misfiring so unless you did edits to its code I find that very unlikely. Are you sure the boss isn’t set to hidden or undeployed or something like that? Once again, the debugger is important.
My only other guess is that you’re using LOMA to change maps since that does not reset the flags, unlike all the MNC-something events.
Bingo!
The Rout completion had no trigger flag set so it fired off automatically. Once I set the trigger to 6 (the rout flag) it gave me an error warning but also fixed the problem. Thanks a lot, man!