Critical Quick, HP Restore, MP Restore, Meatbone Slash usability

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Critical Quick, HP Restore, MP Restore, Meatbone Slash Usability:
0018cef4: 27bdffe8 addiu r29,r29,0xffe8      
0018cef8: afb00010 sw r16,0x0010(r29)      
0018cefc: 00808021 addu r16,r4,r0      		
0018cf00: 3c048019 lui r4,0x8019      
0018cf04: 8c842d98 lw r4,0x2d98(r4)      	Load Defender's Stats
0018cf08: afbf0014 sw r31,0x0014(r29)      	
0018cf0c: 9082005a lbu r2,0x005a(r4)      	Load Target's 3rd set of Current  Status
0018cf10: 00000000 nop            		
0018cf14: 30420001 andi r2,r2,0x0001      
0018cf18: 10400011 beq r2,r0,0x0018cf60      	Branch if Target is not in Critical
0018cf1c: 00000000 nop            
0018cf20: 3c028019 lui r2,0x8019      		
0018cf24: 8c422d90 lw r2,0x2d90(r2)      	Current Action Data Pointer
0018cf28: 00000000 nop            		
0018cf2c: 90420025 lbu r2,0x0025(r2)      	Attack Type Flag
0018cf30: 00000000 nop            		
0018cf34: 30420080 andi r2,r2,0x0080      	
0018cf38: 10400009 beq r2,r0,0x0018cf60      	Branch if Attack was not HP Damage
0018cf3c: 00000000 nop            		
0018cf40: 0c0634e1 jal 0x0018d384      		Chance to React
0018cf44: 00000000 nop            		
0018cf48: 14400005 bne r2,r0,0x0018cf60      	Branch if did not react
0018cf4c: 00000000 nop            		
0018cf50: 3c028019 lui r2,0x8019      		
0018cf54: 8c422d90 lw r2,0x2d90(r2)      	Current Action Data Pointer
0018cf58: 00000000 nop            		
0018cf5c: a450000e sh r16,0x000e(r2)      	Store Reaction ID
0018cf60: 8fbf0014 lw r31,0x0014(r29)      	
0018cf64: 8fb00010 lw r16,0x0010(r29)      	
0018cf68: 27bd0018 addiu r29,r29,0x0018      	
0018cf6c: 03e00008 jr r31         		
0018cf70: 00000000 nop