Difference between revisions of "Magical XA * YA"
Jump to navigation
Jump to search
m (link) |
m |
||
Line 1: | Line 1: | ||
− | 00188858: 27bdffe8 addiu r29,r29, | + | No Parameters - Returns Nothing |
− | 0018885c: afbf0010 sw r31,0x0010(r29) | + | |
− | 00188860: 0c061881 jal 0x00186204 | + | Modify Ability XA (Magic Attack Up and Compatibility) |
− | 00188864: 00000000 nop | + | Set HP damage = XA*YA |
− | 00188868: 0c061259 jal 0x00184964 | + | |
− | 0018886c: 00000000 nop | + | Note : Friendly spell routine (no Magic Def Up checks, no effects of negative status on XA) |
− | 00188870: 0c06195a jal 0x00186568 | + | ------------------------------------------------------------------------------------------ |
− | 00188874: 00000000 nop | + | 00188858: 27bdffe8 addiu r29,r29,-0x0018 | |
− | 00188878: 8fbf0010 lw r31,0x0010(r29) | + | 0018885c: afbf0010 sw r31,0x0010(r29) | |
− | 0018887c: 27bd0018 addiu r29,r29,0x0018 | + | 00188860: 0c061881 jal 0x00186204 |{{f/jal|Magic_Attack_Up_routine|Magic_Attack_Up_routine}} Ability XA +33% If Attacker uses Magic Attack Up |
− | 00188880: 03e00008 jr r31 | + | 00188864: 00000000 nop | |
− | 00188884: 00000000 nop | + | 00188868: 0c061259 jal 0x00184964 |{{f/jal|Compatibility|Compatibility}} Alters XA (-50% to +50%) based on compatibility |
+ | 0018886c: 00000000 nop | | ||
+ | 00188870: 0c06195a jal 0x00186568 |{{f/jal|XA * YA Calculation|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: [[0C_Heal F(MA*Y)|Formula 0c : Heal F(MA*Y)]] | ||
+ | 0018a3b8: [[4C_Heal_(MA*Y)|Formula 4c : Heal (MA*Y)]] | ||
+ | 0018a680: [[54_HealMP_(MA*Y)|Formula 54 : HealMP (MA*Y)]] |
Latest revision as of 20:00, 15 April 2022
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)