< FF7 | Field | Script | OpcodesRevision as of 14:06, 6 February 2007 by my_wiki>Synergy Blades
- Opcode: 0x23
- Short name: BTRLD
- Long name: Battle Result Load
Memory layout
Arguments
- const UByte B: Bank to store result.
- const UByte A: Address to store result.
Description
Stores the result of a previous BATTLE to an address in memory. The resulting value can then be examined to see what the outcome of the battle was.
Results
Bit to AND
|
Bit Result & Description
|
1
|
1: The party defeated all enemies.
|
0: The party was defeated (correct BTLMD must be set to avoid GAMEOVER).
|