The "next battle" is also used for the Hundred Gunner / Heli Gunner battle. Some of the test formations also use nest battle, however the battle jump doesn't occur. Possibly something to do with the F7 setup flag used, or possibly because the formation they are jumping to is not a regular battle (back attack, side attack), or possibly because the formation ID that some of them jump to is the same as the formation ID that they themselves use. Not too sure...
My question is this (following on from my
battle flag topic) - how does the Battle Arena handle the initial formation? Take for example battle #95 (05Fh - 2x Spencer). This battle is never called upon in the World Map scripts, and is only ever used as a scripted initial battle when starting a Battle Arena fight. The background ID for this formation is "Battle Square".
Now look at formation #100 (064h - 2x Joker). This is a regular World Map encounter, and has the "Grassland" Background. This formation is also called upon as an initial starting Battle Arena battle - how does the game know to change the backdrop to battle square, does it change the setup flags that are being used, or is it hardwired elsewhere? And what about the victory pose - is that disabled via setup flag (as it is with Diamond), or is there special battle script dictating how the battle arena battles play out
These are the Setup flags that I've worked out:
Bit0 0x01 (unknown - always ON)
Bit1 0x02 (unknown - this is usually ON, however when it is OFF I can't make out any difference whatsoever...)
Bit2 0x04 OFF = Can't Run
Bit3 0x08 (unknown - Test subjects and Diamond only... OFF = no victory pose??)
Bit4 0x10 OFF = Preemptive chance off
Bit5 0x20 unused (?)
Bit6 0x40 unused (?)
Bit7 0x80 unused (?)
Bit3 could be nothing to do with the victory pose, and could be to do with a special post-battle panning effect.
Now, I know that if random encounters are off in an area, then the Preempt chance will by default be off (forced battles). I also know that if random encounters are on, however the field scripts are disabling Rnd Enc's, then Pre-emp chance will be off. This is way you'll never get a pre-emp strike at the battler square, however setting a field script random encounter to #95 will enable the pre-emp chance (as that formation as the FD flag). Because of this, 5 bosses can also be back-attacked
I'll run a series of tests to find out if/how the unused (?) setup flags affect regular battles, and Battle Arena battles, I'll report back.....