FF7/Field/Script/Opcodes/70 BATTLE

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 12:34, 4 April 2018 by my_wiki>BukTop (4 revisions imported)
Jump to navigation Jump to search
  • Opcode: 0x70
  • Short name: BATTLE
  • Long name: Start Battle

Memory layout

0x70 B N

Arguments

  • const UByte B: Bank (16-bit) to retrieve the address of the battle ID, or zero if it is given as a literal value.
  • const UWord N: Battle ID, or address to find ID if B is non-zero.

Description

This launches the battle module with whatever battle number is used in the argument, or the value retrieved from memory location N if B is non-zero. Battle 1, 2, and 999 (0x03E7) are debug battles.