08 Dmg F(MA*Y)

From Final Fantasy Hacktics Wiki
Revision as of 02:12, 20 December 2020 by EnderC (talk | contribs) (Fix comment spacing)
Jump to navigation Jump to search
[08] General Magic (MA * Y)
00188d84: 27bdffe8 addiu r29,r29,0xffe8
00188d88: afbf0010 sw r31,0x0010(r29)
00188d8c: 0c06216e jal 0x 001885b8       	; Magical Evade Calculation
00188d90: 00000000 nop                   
00188d94: 14400013 bne r2,r0,0x 00188de4 	; Branch if attack is evaded
00188d98: 00000000 nop                   
00188d9c: 0c061725 jal 0x 00185c94       	; Store MA and Y
00188da0: 00000000 nop                   
00188da4: 0c0617ff jal 0x 00185ffc       	; Elemental Strengthen
00188da8: 00000000 nop                   
00188dac: 0c0621d1 jal 0x 00188744       	; Magical Support/Status/Compat
00188db0: 00000000 nop                   
00188db4: 0c0621df jal 0x 0018877c       	; Elemental XA * YA
00188db8: 00000000 nop                   
00188dbc: 14400009 bne r2,r0,0x 00188de4 
00188dc0: 00000000 nop                   
00188dc4: 0c061c54 jal 0x 00187150       	; Faith Calculation
00188dc8: 00000000 nop                   
00188dcc: 0c0621c7 jal 0x 0018871c       	; Elemental Absorb and status roll
00188dd0: 00000000 nop                   
00188dd4: 14400003 bne r2,r0,0x 00188de4 	; Branch if status effect roll fails
00188dd8: 00000000 nop                   
00188ddc: 0c061fad jal 0x 00187eb4       	; Apply status (to action) - (Preserve hit status, evade type, hit %)
00188de0: 00000000 nop                   
00188de4: 8fbf0010 lw r31,0x0010(r29)    
00188de8: 27bd0018 addiu r29,r29,0x0018  
00188dec: 03e00008 jr r31                
00188df0: 00000000 nop