Difference between revisions of "17 Dmg (TarCurHP-1) Hit F(MA+X)%"
Jump to navigation
Jump to search
m (Jal links) |
m |
||
Line 1: | Line 1: | ||
[17] | [17] | ||
− | 0018925c: 27bdffe8 addiu r29,r29, | + | 0018925c: 27bdffe8 addiu r29,r29,-0x0018 | |
− | 00189260: afbf0010 sw r31,0x0010(r29) | + | 00189260: afbf0010 sw r31,0x0010(r29) | |
− | 00189264: 0c06216e jal 0x001885b8 | + | 00189264: 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 |
− | 00189268: 00000000 nop | + | 00189268: 00000000 nop | |
− | 0018926c: 14400007 bne r2,r0, | + | 0018926c: 14400007 bne r2,r0,0x0018928c {{f/Cond|If Attack is not evaded}} |
− | 00189270: 00000000 nop | + | 00189270: 00000000 nop | |
− | 00189274: 0c062273 jal 0x001889cc | + | 00189274: 0c062273 jal 0x001889cc |{{f/jal|Calculate_Accuracy_for_Magical_Spells |Calculate_Accuracy_for_Magical_Spells }} Set XA and YA, applies XA changes (Status, Compat, Support), uses XA+YA as Hit% (Modified by faith) / Returns r2 |
− | 00189278: 00000000 nop | + | 00189278: 00000000 nop | |
− | 0018927c: 14400003 bne r2,r0, | + | 0018927c: 14400003 bne r2,r0,0x0018928c {{f/Cond|If Attack hits}} |
− | 00189280: 00000000 nop | + | 00189280: 00000000 nop | |
− | 00189284: 0c0619bb jal 0x001866ec | + | 00189284: 0c0619bb jal 0x001866ec |{{f/jal|Gravi2_Damage_Routine|Gravi2_Damage_Routine}} Set HP damage = Current HP - 1 / Set Attack type = HP damage |
− | 00189288: 00000000 nop | + | 00189288: 00000000 nop | |
− | 0018928c: 8fbf0010 lw r31,0x0010(r29) | + | 0018928c: 8fbf0010 lw r31,0x0010(r29) END |
− | 00189290: | + | 00189290: 27bd0018 addiu r29,r29,0x0018 |
− | 00189294: 03e00008 jr r31 | + | 00189294: 03e00008 jr r31 |
00189298: 00000000 nop | 00189298: 00000000 nop | ||
+ | === Return location === | ||
+ | '''Battle.bin''' | ||
+ | 0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]] |
Latest revision as of 19:02, 17 April 2022
[17] 0018925c: 27bdffe8 addiu r29,r29,-0x0018 | 00189260: afbf0010 sw r31,0x0010(r29) | 00189264: 0c06216e jal 0x001885b8 |-->Magical_Evade_Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2 00189268: 00000000 nop | 0018926c: 14400007 bne r2,r0,0x0018928c #If Attack is not evaded 00189270: 00000000 nop | 00189274: 0c062273 jal 0x001889cc |-->Calculate_Accuracy_for_Magical_Spells Set XA and YA, applies XA changes (Status, Compat, Support), uses XA+YA as Hit% (Modified by faith) / Returns r2 00189278: 00000000 nop | 0018927c: 14400003 bne r2,r0,0x0018928c #If Attack hits 00189280: 00000000 nop | 00189284: 0c0619bb jal 0x001866ec |-->Gravi2_Damage_Routine Set HP damage = Current HP - 1 / Set Attack type = HP damage 00189288: 00000000 nop | 0018928c: 8fbf0010 lw r31,0x0010(r29) END 00189290: 27bd0018 addiu r29,r29,0x0018 00189294: 03e00008 jr r31 00189298: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup