Difference between revisions of "Store Reaction/Proc ID and Target"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (return link)
Line 22: Line 22:
 
  00187728: 03e00008 jr r31         Return
 
  00187728: 03e00008 jr r31         Return
 
  0018772c: 00000000 nop
 
  0018772c: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
00188bd4: [[02_Dmg_(Weapon)]]

Revision as of 13:09, 22 February 2022

Store Reaction/Proc ID and Target (0x1876e4)


001876e4: 27bdffe8 addiu r29,r29,0xffe8			
001876e8: 3c028019 lui r2,0x8019			
001876ec: 904238da lbu r2,0x38da(r2)			Load Proc ID
001876f0: 3c048019 lui r4,0x8019			
001876f4: 908438c1 lbu r4,0x38c1(r4)			Load Target Unit ID
001876f8: 34030001 ori r3,r0,0x0001			r3 = 1
001876fc: afbf0010 sw r31,0x0010(r29)			Store Return Address onto Stack
00187700: 3c018019 lui r1,0x8019			
00187704: a42338c8 sh r3,0x38c8(r1)			Store ? = 1 (Deals with elemental nullification)/poach (post action thing? used in reaction routine too) (halfword)
00187708: 3c018019 lui r1,0x8019			
0018770c: a42238c6 sh r2,0x38c6(r1)			Store Reaction ID (halfword)
00187710: 3c018019 lui r1,0x8019			
00187714: a02438ef sb r4,0x38ef(r1)			Store post-action target ID? (used in knockback 2)
00187718: 0c062f4d jal 0x0018bd34			Remove Knockback Flag
0018771c: 00000000 nop
00187720: 8fbf0010 lw r31,0x0010(r29)			Load Return Address from stack
00187724: 27bd0018 addiu r29,r29,0x0018			
00187728: 03e00008 jr r31		 	        Return
0018772c: 00000000 nop

Return location

Battle.bin
00188bd4: 02_Dmg_(Weapon)