Difference between revisions of "FF8/Field/Script/Opcodes/069 BATTLE"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Shard
Qhimm>Shard
Line 19: Line 19:
====Battle Flags====
====Battle Flags====
:+0: Regular battle.
:+0: Regular battle.
:+1: ?
:+1: No escape?
:+2: Disable victory fanfare (battle music keeps playing after win/loss)
:+2: Disable victory fanfare (battle music keeps playing after win/loss)
:+4: Inherit countdown timer from field.
:+4: Inherit countdown timer from field.
:+8: ? (prevents items/xp from being earned when used in otherwise regular battles)
:+8: ? (prevents items/xp from being earned when used in otherwise regular battles)
:+16: Use current music as battle music.
:+16: Use current music as battle music.
:+32: ?
:+32: Force preemptive attacked
:+64: Force back attack
:+64: Force back attack
:+128: ?
:+128: ?
:+256: ?

Revision as of 09:25, 3 March 2015

  • Opcode: 0x069
  • Short name: BATTLE
  • Long name: Start a battle

Argument

none

Stack

Encounter ID
Battle Flags
BATTLE

Description

Begin a battle with the given encounter id.

Battle Flags

+0: Regular battle.
+1: No escape?
+2: Disable victory fanfare (battle music keeps playing after win/loss)
+4: Inherit countdown timer from field.
+8: ? (prevents items/xp from being earned when used in otherwise regular battles)
+16: Use current music as battle music.
+32: Force preemptive attacked
+64: Force back attack
+128: ?