Difference between revisions of "Phoenix Down on Undead"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Spacing)
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 +
 +
Not routine for Pheonix down on Undead, This is the routine that checks that the status applies, If someone could fix this, that would be appreciated -- Talcall
 
   
 
   
 
  0018acdc: 27bdffe8 addiu r29,r29,0xffe8     
 
  0018acdc: 27bdffe8 addiu r29,r29,0xffe8     

Revision as of 11:01, 22 December 2020

Not routine for Pheonix down on Undead, This is the routine that checks that the status applies, If someone could fix this, that would be appreciated -- Talcall

0018acdc: 27bdffe8 addiu r29,r29,0xffe8     
0018ace0: afbf0010 sw r31,0x0010(r29)       
0018ace4: 0c061fad jal 0x00187eb4           apply status to action
0018ace8: 00000000 nop                      
0018acec: 3c028019 lui r2,0x8019            
0018acf0: 8c422d90 lw r2,0x2d90(r2)         
0018acf4: 00000000 nop                      
0018acf8: 90420025 lbu r2,0x0025(r2)        load attack type
0018acfc: 00000000 nop                      
0018ad00: 30420008 andi r2,r2,0x0008        
0018ad04: 14400010 bne r2,r0,0x0018ad48     branch if status change
0018ad08: 34020001 ori r2,r0,0x0001         return r2 = 1
0018ad0c: 3c028019 lui r2,0x8019            
0018ad10: 8c422d98 lw r2,0x2d98(r2)         
0018ad14: 00000000 nop                      
0018ad18: 90420058 lbu r2,0x0058(r2)        load target status
0018ad1c: 00000000 nop                      
0018ad20: 30420010 andi r2,r2,0x0010        
0018ad24: 14400008 bne r2,r0,0x0018ad48     branch if target undead
0018ad28: 34020001 ori r2,r0,0x0001         return r2 = 1
0018ad2c: 0c061390 jal 0x00184e40           elemental nullification?
0018ad30: 00000000 nop                      
0018ad34: 00001021 addu r2,r0,r0            return r2 = 0
0018ad38: 3c048019 lui r4,0x8019            
0018ad3c: 8c842d90 lw r4,0x2d90(r4)         
0018ad40: 34030007 ori r3,r0,0x0007         
0018ad44: a0830002 sb r3,0x0002(r4)         return store evade = catch? guarded?
0018ad48: 8fbf0010 lw r31,0x0010(r29)       
0018ad4c: 27bd0018 addiu r29,r29,0x0018     
0018ad50: 03e00008 jr r31                   
0018ad54: 00000000 nop