Difference between revisions of "3D Hit (MA+X)%"
Jump to navigation
Jump to search
(Created page with " [3d] 00189fcc: 27bdffe8 addiu r29,r29,0xffe8 00189fd0: afbf0010 sw r31,0x0010(r29) 00189fd4: 0c06216e jal 0x 001885b8 Magic Evade 00189fd8: 00000000 nop 0...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[3d] | [3d] | ||
− | 00189fcc: 27bdffe8 addiu r29,r29, | + | 00189fcc: 27bdffe8 addiu r29,r29,-0x0018 | |
− | 00189fd0: afbf0010 sw r31,0x0010(r29) | + | 00189fd0: afbf0010 sw r31,0x0010(r29) | |
− | 00189fd4: 0c06216e jal | + | 00189fd4: 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 |
− | 00189fd8: 00000000 nop | + | 00189fd8: 00000000 nop | |
− | 00189fdc: 14400007 bne r2,r0, | + | 00189fdc: 14400007 bne r2,r0,0x00189ffc {{f/Cond|If Attack is not evaded}} |
− | 00189fe0: 00000000 nop | + | 00189fe0: 00000000 nop | |
− | 00189fe4: 0c0622a1 jal | + | 00189fe4: 0c0622a1 jal 0x00188a84 |{{f/jal|MA_%2B_X_without_faith|MA_%2B_X_without_faith}} Set XA ans YA, applies magical modifier (no faith) and compat, uses XA+YA as Hit% - returns r2 |
− | 00189fe8: 00000000 nop | + | 00189fe8: 00000000 nop | |
− | 00189fec: 14400003 bne r2,r0, | + | 00189fec: 14400003 bne r2,r0,0x00189ffc {{f/Cond|If Attack hits}} |
− | 00189ff0: 00000000 nop | + | 00189ff0: 00000000 nop | |
− | 00189ff4: 0c061fc9 jal | + | 00189ff4: 0c061fc9 jal 0x00187f24 |{{f/jal|Apply_status_(to_action)|Apply_status_(to_action)}} Add Ability status - if successful update TCA Attack type |
− | 00189ff8: 00000000 nop | + | 00189ff8: 00000000 nop | |
− | 00189ffc: 8fbf0010 lw r31,0x0010(r29) | + | 00189ffc: 8fbf0010 lw r31,0x0010(r29) END |
− | 0018a000: | + | 0018a000: 27bd0018 addiu r29,r29,0x0018 |
− | 0018a004: 03e00008 jr r31 | + | 0018a004: 03e00008 jr r31 |
0018a008: 00000000 nop | 0018a008: 00000000 nop | ||
+ | === Return location === | ||
+ | '''Battle.bin''' | ||
+ | 0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]] |
Latest revision as of 19:30, 24 April 2022
[3d] 00189fcc: 27bdffe8 addiu r29,r29,-0x0018 | 00189fd0: afbf0010 sw r31,0x0010(r29) | 00189fd4: 0c06216e jal 0x001885b8 |-->Magical_Evade_Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - returns r2 00189fd8: 00000000 nop | 00189fdc: 14400007 bne r2,r0,0x00189ffc #If Attack is not evaded 00189fe0: 00000000 nop | 00189fe4: 0c0622a1 jal 0x00188a84 |-->MA_%2B_X_without_faith Set XA ans YA, applies magical modifier (no faith) and compat, uses XA+YA as Hit% - returns r2 00189fe8: 00000000 nop | 00189fec: 14400003 bne r2,r0,0x00189ffc #If Attack hits 00189ff0: 00000000 nop | 00189ff4: 0c061fc9 jal 0x00187f24 |-->Apply_status_(to_action) Add Ability status - if successful update TCA Attack type 00189ff8: 00000000 nop | 00189ffc: 8fbf0010 lw r31,0x0010(r29) END 0018a000: 27bd0018 addiu r29,r29,0x0018 0018a004: 03e00008 jr r31 0018a008: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup