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
(Battle Flags)
m (10 revisions imported)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
* Opcode: '''0x069'''
 
* Opcode: '''0x069'''
 
* Short name: '''BATTLE'''
 
* Short name: '''BATTLE'''
 
* Long name: Start a battle
 
* Long name: Start a battle
  
==== Argument ====
+
==== Argument ====
  
 
none
 
none
  
==== Stack ====
+
==== Stack ====
:''[[FF8/Encounter Codes|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: No escape?
+
: +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: Force preemptive attacked
+
: +16: Use current music as battle music.
:+64: Force back attack
+
: +32: Force preemptive attacked
:+128: ?
+
: +64: Force back attack
 +
: +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