FF7/Field/Script/Opcodes/71 BTLON

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 05:17, 23 May 2019 by BukTop (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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.