Magical XA * YA
Jump to navigation
Jump to search
No Parameters - Returns Nothing Modify Ability XA (Magic Attack Up and Compatibility) Set HP damage = XA*YA Note : Friendly spell routine (no Magic Def Up checks, no effects of negative status on XA) ------------------------------------------------------------------------------------------ 00188858: 27bdffe8 addiu r29,r29,-0x0018 | 0018885c: afbf0010 sw r31,0x0010(r29) | 00188860: 0c061881 jal 0x00186204 |-->Magic_Attack_Up_routine Ability XA +33% If Attacker uses Magic Attack Up 00188864: 00000000 nop | 00188868: 0c061259 jal 0x00184964 |-->Compatibility Alters XA (-50% to +50%) based on compatibility 0018886c: 00000000 nop | 00188870: 0c06195a jal 0x00186568 |-->XA * YA Calculation Multiply Ability XA and YA and store the result as HP damage 00188874: 00000000 nop | 00188878: 8fbf0010 lw r31,0x0010(r29) 0018887c: 27bd0018 addiu r29,r29,0x0018 00188880: 03e00008 jr r31 00188884: 00000000 nop
Return locations
Battle.bin 00188f18: Formula 0c : Heal F(MA*Y) 0018a3b8: Formula 4c : Heal (MA*Y) 0018a680: Formula 54 : HealMP (MA*Y)