Difference between revisions of "1B DmgMP (Y)% Hit F(MA+X)%"
Jump to navigation
Jump to search
m (Orkney moved page 1B DmgMP (MA+Y)% Hit F(X)% to 1B DmgMP (Y)% Hit F(MA+X)%) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[1b] | [1b] | ||
− | 0018933c: 27bdffe8 addiu r29,r29,0xffe8 | + | *DmgMP(Y)% Hit_F(MA + X)% |
− | 00189340: afbf0010 sw r31,0x0010(r29) | + | 0018933c: 27bdffe8 addiu r29,r29,0xffe8 | |
− | 00189344: 0c06216e jal | + | 00189340: afbf0010 sw r31,0x0010(r29) | |
− | 00189348: 00000000 nop | + | 00189344: 0c06216e jal 0x001885b8 |{{f/jal|Magical_Evade_Calculation|Magical_Evade_Calculation}} If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2 |
− | 0018934c: 14400007 bne r2,r0, | + | 00189348: 00000000 nop | |
− | 00189350: 00000000 nop | + | 0018934c: 14400007 bne r2,r0,0x0018936c {{f/Cond|If Attack is not evaded}} |
− | 00189354: 0c062289 jal | + | 00189350: 00000000 nop | |
− | 00189358: 00000000 nop | + | 00189354: 0c062289 jal 0x00188a24 |{{f/jal|Calculate_Accuracy_for_Magical|Calculate_Accuracy_for_Magical}} Set XA and YA, applies XA changes (Status, Compat, Support,element), uses XA+YA as Hit% (Modified by faith) / Returns r2 |
− | 0018935c: 14400003 bne r2,r0, | + | 00189358: 00000000 nop | |
− | 00189360: 00000000 nop | + | 0018935c: 14400003 bne r2,r0,0x0018936c {{f/Cond|If Attack hits}} |
− | 00189364: 0c0619a3 jal | + | 00189360: 00000000 nop | |
− | 00189368: 00000000 nop | + | 00189364: 0c0619a3 jal 0x0018668c |{{f/jal|Calculate_MP%25_damage|Calculate MP% damage}} Set MP damage = Y% of Target Max MP |
− | 0018936c: 8fbf0010 lw r31,0x0010(r29) | + | 00189368: 00000000 nop | |
− | 00189370: 27bd0018 addiu r29,r29, | + | 0018936c: 8fbf0010 lw r31,0x0010(r29) END |
− | 00189374: 03e00008 jr r31 | + | 00189370: 27bd0018 addiu r29,r29,0x0018 |
− | 00189378: 00000000 nop | + | 00189374: 03e00008 jr r31 |
+ | 00189378: 00000000 nop | ||
+ | === Return location === | ||
+ | '''Battle.bin''' | ||
+ | 0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]] |
Latest revision as of 19:59, 17 April 2022
[1b] *DmgMP(Y)% Hit_F(MA + X)% 0018933c: 27bdffe8 addiu r29,r29,0xffe8 | 00189340: afbf0010 sw r31,0x0010(r29) | 00189344: 0c06216e jal 0x001885b8 |-->Magical_Evade_Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2 00189348: 00000000 nop | 0018934c: 14400007 bne r2,r0,0x0018936c #If Attack is not evaded 00189350: 00000000 nop | 00189354: 0c062289 jal 0x00188a24 |-->Calculate_Accuracy_for_Magical Set XA and YA, applies XA changes (Status, Compat, Support,element), uses XA+YA as Hit% (Modified by faith) / Returns r2 00189358: 00000000 nop | 0018935c: 14400003 bne r2,r0,0x0018936c #If Attack hits 00189360: 00000000 nop | 00189364: 0c0619a3 jal 0x0018668c |-->Calculate MP% damage Set MP damage = Y% of Target Max MP 00189368: 00000000 nop | 0018936c: 8fbf0010 lw r31,0x0010(r29) END 00189370: 27bd0018 addiu r29,r29,0x0018 00189374: 03e00008 jr r31 00189378: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup