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

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Shard
m
Qhimm>Albeoris
(Created page with "* Opcode: '''0x069''' * Short name: '''BATTLE''' * Long name: Start a battle ==== Argument ==== none ==== Stack ==== : ''Encounter ID'' : ''Bat...")
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 ====
<onlyinclude>:+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: No Item/XP Gain?
: +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: unknown</onlyinclude>
: +64: Force back attack
: +128: unknown

Revision as of 02:14, 24 March 2018

  • 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