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

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
(Created page with "* Opcode: '''0x069''' * Short name: '''BATTLE''' * Long name: Start a battle ==== Argument ==== none ==== Stack ==== :''Encounter ID'' :''Battle Flags'' :'''BATTLE''' ====...")
 
m (10 revisions imported)
 
(9 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
* Long name: Start a battle
 
* Long name: Start a battle
  
==== Argument ====
+
==== Argument ====
  
 
none
 
none
  
==== Stack ====
+
==== Stack ====
:''Encounter ID''
 
:''Battle Flags''
 
:'''BATTLE'''
 
  
==== Description ====
+
: ''[[FF8/Encounter_Codes|Encounter ID]]''
 +
: ''Battle Flags''
 +
: '''BATTLE'''
 +
 
 +
==== Description ====
  
 
Begin a battle with the given encounter id.
 
Begin a battle with the given encounter id.
  
====Battle Flags====
+
==== Battle Flags ====
:+0: Regular battle.
+
 
:+1: ?
+
: +0: Regular battle.
:+2: Disable victory fanfare (battle music keeps playing after win/loss)
+
: +1: No escape?
:+4: Inherit countdown timer from field.
+
: +2: Disable victory fanfare (battle music keeps playing after win/loss)
:+8: ? (prevents items/xp from being earned when used in otherwise regular battles)
+
: +4: Inherit countdown timer from field.
:+16: Use current music as battle music.
+
: +8: No Item/XP Gain?
:+32: ?
+
: +16: Use current music as battle music.
:+64: ?
+
: +32: Force preemptive attacked
:+128: ?
+
: +64: Force back attack
:+256: ? (used exclusively when trying to board Lunatic Pandora in Esthar, maybe linked to Pandora's movement?)
+
: +128: unknown

Latest revision as of 05:24, 23 May 2019

  • 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: No Item/XP Gain?
+16: Use current music as battle music.
+32: Force preemptive attacked
+64: Force back attack
+128: unknown