0E Dmg (Y)% Hit F(MA+X)% 100% Status Hide Status

From Final Fantasy Hacktics Wiki
Revision as of 19:36, 17 April 2021 by Orkney (talk | contribs) (routines links)
Jump to navigation Jump to search
 0e]
00188f90: 3c028019 lui r2,0x8019		
00188f94: 8c422d98 lw r2,0x2d98(r2)		Load Defender's Stats
00188f98: 27bdffe8 addiu r29,r29,0xffe8		
00188f9c: afbf0010 sw r31,0x0010(r29)		
00188fa0: 90420058 lbu r2,0x0058(r2)		Load Status Table
00188fa4: 00000000 nop				
00188fa8: 30420010 andi r2,r2,0x0010		
00188fac: 10400005 beq r2,r0,0x 00188fc4       	Undead Check
00188fb0: 34020001 ori r2,r0,0x0001		
00188fb4: 3c018019 lui r1,0x8019		
00188fb8: a02238e6 sb r2,0x38e6(r1)             Undead Reverse Flag; target is undead.
00188fbc: 080623f7 j 0x 00188fdc			
00188fc0: 00000000 nop				
00188fc4: 3c018019 lui r1,0x8019		
00188fc8: a02038e6 sb r0,0x38e6(r1)             Undead Reverse Flag; target is not undead
00188fcc: 0c06216e jal 0x 001885b8               Magical_Evade_Calculation
00188fd0: 00000000 nop				
00188fd4: 14400027 bne r2,r0,0x 00189074		
00188fd8: 00000000 nop				
00188fdc: 0c061760 jal 0x 00185d80               Store_MA_and_X
00188fe0: 00000000 nop				
00188fe4: 0c0617ff jal 0x 00185ffc               Elemental_Strengthen
00188fe8: 00000000 nop				
00188fec: 0c061881 jal 0x 00186204               Magic_Attack_Up_routine
00188ff0: 00000000 nop				
00188ff4: 3c028019 lui r2,0x8019		
00188ff8: 904238e6 lbu r2,0x38e6(r2)		
00188ffc: 00000000 nop				
00189000: 14400005 bne r2,r0,0x 00189018       	Branch only if not against undead
00189004: 00000000 nop				
00189008: 0c0618c7 jal 0x 0018631c               Magic_Defense_Up_routine
0018900c: 00000000 nop				
00189010: 0c061918 jal 0x 00186460               Target's_Status_Affecting_XA_(Magical)
00189014: 00000000 nop				
00189018: 0c061259 jal 0x 00184964               Compatibility
0018901c: 00000000 nop				
00189020: 0c061967 jal 0x 0018659c               Set XA + YA for Status Formulas (Stupid section)
00189024: 00000000 nop
00189028: 0c061c54 jal 0x 00187150      	  Faith_Calculation
0018902c: 00000000 nop				
00189030: 0c061d44 jal 0x 00187510               Use_Specific_Action_Hit_Percentage
00189034: 00000000 nop				
00189038: 3c028019 lui r2,0x8019		
0018903c: 8c422d90 lw r2,0x2d90(r2)		
00189040: 00000000 nop				
00189044: 90420000 lbu r2,0x0000(r2)		
00189048: 00000000 nop				
0018904c: 10400009 beq r2,r0,0x 00189074		
00189050: 00000000 nop				
00189054: 0c062b37 jal 0x 0018acdc        	Apply_Status_and_Check_Undead
00189058: 00000000 nop				
0018905c: 10400005 beq r2,r0,0x 00189074		
00189060: 00000000 nop				
00189064: 0c061989 jal 0x 00186624           	Calculate HP% damage
00189068: 00000000 nop				
0018906c: 0c061cf6 jal 0x 001873d8           	Undead_Absorb_Attack
00189070: 00000000 nop				
00189074: 8fbf0010 lw r31,0x0010(r29)		
00189078: 27bd 0018 addiu r29,r29,0x 0018		
0018907c: 03e00008 jr r31			
00189080: 00000000 nop