Difference between revisions of "FF7/Field/Script/Opcodes/71 BTLON"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (2 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 04:17, 23 May 2019

  • 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.