FF7/Field/Script/Opcodes/71 BTLON

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 12:34, 4 April 2018 by my_wiki>BukTop (1 revision imported)
  • Opcode: 0x71
  • Short name: BTLON
  • Long name: Battle Switch

Memory layout

0x71 S

Arguments

  • const UByte S: Switch battles on/off (0/1, respectively).

Description

Turns random encounters on or off for this field. Note that if a field does not have any Encounter Data set in its field file, battles will not occur regardless of the argument passed with this opcode.