Sunken State, Caution, Dragon Spirit, counters, absorbs usability

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Sunken State, Caution, Dragon Spirit, Brave Up, Face Up, Counter Tackle, Counter  Flood, Absorb Used MP, Counter, Counter Magic Check: 
0018cb00: 27bdffe8 addiu r29,r29,0xffe8      
0018cb04: 3c038019 lui r3,0x8019
0018cb08: 906338e5 lbu r3,0x38e5(r3)      	Load Attack Formula ?
0018cb0c: 34020007 ori r2,r0,0x0007       	
0018cb10: 10620044 beq r3,r2,0x0018cc24	Branch if using the "Healing"  Weapon Formula ?
0018cb14: afbf0010 sw r31,0x0010(r29)      
0018cb18: 3c048019 lui r4,0x8019      
0018cb1c: 8c842d98 lw r4,0x2d98(r4)		Load Target's Stats
0018cb20: 0c063248 jal 0x0018c920		Check if unit can react 1 (status?)
0018cb24: 00000000 nop            		
0018cb28: 1440003e bne r2,r0,0x0018cc24      	
0018cb2c: 00000000 nop            		
0018cb30: 3c048019 lui r4,0x8019      
0018cb34: 8c842d98 lw r4,0x2d98(r4)   		Load Target's Stats
0018cb38: 00000000 nop				
0018cb3c: 9083008b lbu r3,0x008b(r4)      	Load first set of Reactions
0018cb40: 00000000 nop            		
0018cb44: 30620010 andi r2,r3,0x0010      	
0018cb48: 10400003 beq r2,r0,0x0018cb58      	Branch if not using Sunken State
0018cb4c: 34050010 ori r5,r0,0x0010      	r5 = 10
0018cb50: 08063307 j 0x0018cc1c         	
0018cb54: 340401a9 ori r4,r0,0x01a9      	Load Attack's Status Inflict
0018cb58: 30620008 andi r2,r3,0x0008      	
0018cb5c: 10400003 beq r2,r0,0x0018cb6c      	Branch if not using Caution
0018cb60: 30620004 andi r2,r3,0x0004      	
0018cb64: 08063307 j 0x0018cc1c         	
0018cb68: 340401aa ori r4,r0,0x01aa      	Load Attack's Status Inflict
0018cb6c: 10400003 beq r2,r0,0x0018cb7c      	Branch if not using Dragon Spirit
0018cb70: 34050010 ori r5,r0,0x0010      	r5 = 10
0018cb74: 08063307 j 0x0018cc1c         	
0018cb78: 340401ab ori r4,r0,0x01ab      	Load Attack's Status Inflict
0018cb7c: 30620001 andi r2,r3,0x0001      	
0018cb80: 10400003 beq r2,r0,0x0018cb90      	Branch if not using Brave Up
0018cb84: 00000000 nop            		
0018cb88: 08063307 j 0x0018cc1c         	
0018cb8c: 340401ad ori r4,r0,0x01ad      	Load Attack's Stats Removal
0018cb90: 9083008c lbu r3,0x008c(r4)      	Load Second set of Reactions
0018cb94: 00000000 nop            		
0018cb98: 30620080 andi r2,r3,0x0080      	
0018cb9c: 10400005 beq r2,r0,0x0018cbb4      	Branch if not using Faith (Face) up
0018cba0: 30620002 andi r2,r3,0x0002      	r2= 2
0018cba4: 0c0633dd jal 0x0018cf74      	Face Up and Absorb Used MP usability	
0018cba8: 340401ae ori r4,r0,0x01ae      	
0018cbac: 08063309 j 0x0018cc24         	
0018cbb0: 00000000 nop         			
0018cbb4: 10400003 beq r2,r0,0x0018cbc4      	Branch if not using Counter Tackle
0018cbb8: 34050010 ori r5,r0,0x0010      	r5 = 10
0018cbbc: 08063307 j 0x0018cc1c         	
0018cbc0: 340401b4 ori r4,r0,0x01b4      	
0018cbc4: 30620001 andi r2,r3,0x0001      	
0018cbc8: 10400003 beq r2,r0,0x0018cbd8      	Branch if not using Counter Flood
0018cbcc: 34050080 ori r5,r0,0x0080      	Prepare Counter Flood Flag Check
0018cbd0: 08063307 j 0x0018cc1c         	
0018cbd4: 340401b5 ori r4,r0,0x01b5      	
0018cbd8: 9084008d lbu r4,0x008d(r4)      	Load 3rd set of Reactions
0018cbdc: 00000000 nop            		
0018cbe0: 30820080 andi r2,r4,0x0080      	
0018cbe4: 10400005 beq r2,r0,0x0018cbfc      	Branch if not using Absorb Used Mp
0018cbe8: 30820008 andi r2,r4,0x0008      	r2 = 8
0018cbec: 0c0633dd jal 0x0018cf74      	Faith up/ absorb mp usability		
0018cbf0: 340401b6 ori r4,r0,0x01b6      	Hit % for Attack on Self
0018cbf4: 08063309 j 0x0018cc24         	
0018cbf8: 00000000 nop            		
0018cbfc: 10400003 beq r2,r0,0x0018cc0c      	Branch if not using Counter
0018cc00: 340401ba ori r4,r0,0x01ba      	
0018cc04: 08063307 j 0x0018cc1c         	
0018cc08: 34050010 ori r5,r0,0x0010      	
0018cc0c: 30620004 andi r2,r3,0x0004      	
0018cc10: 10400004 beq r2,r0,0x0018cc24      	Branch if not using Counter Magic?!
0018cc14: 340401b3 ori r4,r0,0x01b3		
0018cc18: 34050040 ori r5,r0,0x0040      	Prepare for Counter Magic Flag Check
0018cc1c: 0c063381 jal 0x0018ce04      	Counter abilities usability
0018cc20: 00000000 nop				
0018cc24: 8fbf0010 lw r31,0x0010(r29)		
0018cc28: 27bd0018 addiu r29,r29,0x0018		
0018cc2c: 03e00008 jr r31			
0018cc30: 00000000 nop