Difference between revisions of "Reaction Flags"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "8005ebd0 - ? Reaction Flags (1 byte each) 0x80 - 0x40 - 0x20 - 0x10 - 0x08 - 0x04 - 1 Hit on Self? 0x02 - 0x01 - 0x00 - 06 = A Save 0x01 - 06 = MA...")
 
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
8005ebd0 - ? Reaction Flags (1 byte each)
+
8005ebd0 - Reaction Flags (1 byte each) - Call in routines via 0x80060000 + Ability ID (0x1A6 for A save (1st reaction ability)) - 0x15d6
 
  0x80 -  
 
  0x80 -  
 
  0x40 -  
 
  0x40 -  
  0x20 -  
+
  0x20 - Active
  0x10 -  
+
  0x10 - Passive (both of these have the same effect, the difference is purely symbolic - abilities with 0x20 flagged are hardcoded to ignore it anyway.)
  0x08 -  
+
  0x08 - target attacker
  0x04 - 1 Hit on Self?
+
  0x04 - target Self
  0x02 -  
+
  0x02 - Reaction is its own ability
  0x01 -  
+
  0x01 - Triggers another ability
   
+
 
 +
  Bytes per ability:
 
  0x00 - 06 = A Save
 
  0x00 - 06 = A Save
 
  0x01 - 06 = MA Save
 
  0x01 - 06 = MA Save
Line 21: Line 22:
 
  0x0a - 06 = MP Restore
 
  0x0a - 06 = MP Restore
 
  0x0b - 06 = Critical Quick
 
  0x0b - 06 = Critical Quick
  0x0c - 29 = Meatbone Slash
+
  0x0c - 2a = Meatbone Slash
 
  0x0d - 29 = Counter Magic
 
  0x0d - 29 = Counter Magic
 
  0x0e - 29 = Counter Tackle
 
  0x0e - 29 = Counter Tackle
  0x0f - 2a = Counter Flood
+
  0x0f - 29 = Counter Flood
  0x10 - 29 = Absorb Used MP
+
  0x10 - 06 = Absorb Used MP
  0x11 - 2d = Gilgame Heart
+
  0x11 - 06 = Gilgame Heart
  0x12 - 06 = Reflect
+
  0x12 - 2d = Reflect
  0x13 - 06 = Auto Potion
+
  0x13 - 29 = Auto Potion
  0x14 - 10 = Counter
+
  0x14 - 29 = Counter
  0x15 - 0e =  
+
  0x15 - 06 =  
  0x16 - 06 = Distribute
+
  0x16 - 0e = Distribute
  0x17 - 29 = MP Switch
+
  0x17 - 10 = MP Switch
  0x18 - 10 = Damage Split
+
  0x18 - 0e = Damage Split
 
  0x19 - 10 = Weapon Guard
 
  0x19 - 10 = Weapon Guard
 
  0x1a - 10 = Finger Guard
 
  0x1a - 10 = Finger Guard
  0x1b - 0e = Abandon
+
  0x1b - 10 = Abandon
  0x1c - 19 = Catch
+
  0x1c - 10 = Catch
 
  0x1d - 10 = Blade Grasp
 
  0x1d - 10 = Blade Grasp
 
  0x1e - 10 = Arrow Guard
 
  0x1e - 10 = Arrow Guard
  0x1f - 10 = Hamedo
+
  0x1f - 19 = Hamedo

Latest revision as of 05:13, 20 January 2023

8005ebd0 - Reaction Flags (1 byte each) - Call in routines via 0x80060000 + Ability ID (0x1A6 for A save (1st reaction ability)) - 0x15d6
	0x80 - 
	0x40 - 
	0x20 - Active
	0x10 - Passive (both of these have the same effect, the difference is purely symbolic - abilities with 0x20 flagged are hardcoded to ignore it anyway.)
	0x08 - target attacker
	0x04 - target Self
	0x02 - Reaction is its own ability
	0x01 - Triggers another ability
Bytes per ability:
	0x00 - 06 = A Save
	0x01 - 06 = MA Save
	0x02 - 06 = Speed Save
	0x03 - 06 = Sunken State
	0x04 - 06 = Caution
	0x05 - 06 = Dragon Spirit
	0x06 - 06 = Regenerator
	0x07 - 06 = Brave Up
	0x08 - 06 = Face Up
	0x09 - 06 = HP Restore
	0x0a - 06 = MP Restore
	0x0b - 06 = Critical Quick
	0x0c - 2a = Meatbone Slash
	0x0d - 29 = Counter Magic
	0x0e - 29 = Counter Tackle
	0x0f - 29 = Counter Flood
	0x10 - 06 = Absorb Used MP
	0x11 - 06 = Gilgame Heart
	0x12 - 2d = Reflect
	0x13 - 29 = Auto Potion
	0x14 - 29 = Counter
	0x15 - 06 = 
	0x16 - 0e = Distribute
	0x17 - 10 = MP Switch
	0x18 - 0e = Damage Split
	0x19 - 10 = Weapon Guard
	0x1a - 10 = Finger Guard
	0x1b - 10 = Abandon
	0x1c - 10 = Catch
	0x1d - 10 = Blade Grasp
	0x1e - 10 = Arrow Guard
	0x1f - 19 = Hamedo