Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/23 BTRLD

225 bytes added, 05:16, 23 May 2019
m
9 revisions imported
==== Arguments ====
* '''const UByte''' ''B'': Bank to store result; should be a 16-bit bank.
* '''const UByte''' ''A'': Address to store result.
==== Description ====
Stores the result of a previous the last [[FF7/Field/Script/Opcodes/70_BATTLE|BATTLE]] to an address in memory. The resulting value can then be examined to see what the outcome of the battle was.
==== Results ====
! style="background:rgb(204,204,204)" | Bit Result & Description
|-
| rowspan="2" align="center" | 18 (0x1000)| 1: The party defeated all enemiesescaped the battle.
|-
| 0: The party did not escape.|-| rowspan="2" align="center" | 1 (0x1)| 1: The party was defeated (correct BTLMD [[FF7/Field/Script/Opcodes/22 BTMD2|battle mode]] must be set to avoid [[FF7/Field/Script/Opcodes/FF GAMEOVER|game over]]).|-| 0: The party was not defeated.
|-
|}