Difference between revisions of "09 Dmg (Y/100)% Hit F(MA+X)%"
Jump to navigation
Jump to search
m (tabs to spaces) |
|||
Line 1: | Line 1: | ||
[09] Demi Formula (Y/100)% Hit ((MA + X)* Faith) | [09] Demi Formula (Y/100)% Hit ((MA + X)* Faith) | ||
− | 00188df4: 27bdffe8 addiu r29,r29,0xffe8 | + | 00188df4: 27bdffe8 addiu r29,r29,0xffe8 |
− | 00188df8: afbf0010 sw r31,0x0010(r29) | + | 00188df8: afbf0010 sw r31,0x0010(r29) |
− | 00188dfc: 0c06216e jal 0x 001885b8 | + | 00188dfc: 0c06216e jal 0x 001885b8 ; [[Magical Evade Calculation]] |
− | 00188e00: 00000000 nop | + | 00188e00: 00000000 nop |
− | 00188e04: 14400018 bne r2,r0,0x 00188e68 | + | 00188e04: 14400018 bne r2,r0,0x 00188e68 ; Branch to end if attack is evaded |
− | 00188e08: 00000000 nop | + | 00188e08: 00000000 nop |
− | 00188e0c: 0c062289 jal 0x 00188a24 | + | 00188e0c: 0c062289 jal 0x 00188a24 ; [[Calculate Accuracy for Magical]] (Accuracy, Faith, Compat, etc) |
− | 00188e10: 00000000 nop | + | 00188e10: 00000000 nop |
− | 00188e14: 14400014 bne r2,r0,0x 00188e68 | + | 00188e14: 14400014 bne r2,r0,0x 00188e68 |
− | 00188e18: 00000000 nop | + | 00188e18: 00000000 nop |
− | 00188e1c: 0c061989 jal 0x 00186624 | + | 00188e1c: 0c061989 jal 0x 00186624 ; [[Calculate % of damage]] |
− | 00188e20: 00000000 nop | + | 00188e20: 00000000 nop |
− | 00188e24: 0c061bb4 jal 0x 00186ed0 | + | 00188e24: 0c061bb4 jal 0x 00186ed0 ; [[Weather Elemental effects]] |
− | 00188e28: 00000000 nop | + | 00188e28: 00000000 nop |
− | 00188e2c: 0c061bfe jal 0x 00186ff8 | + | 00188e2c: 0c061bfe jal 0x 00186ff8 ; [[Ability Elemental?]] |
− | 00188e30: 00000000 nop | + | 00188e30: 00000000 nop |
− | 00188e34: 3c028019 lui r2,0x8019 | + | 00188e34: 3c028019 lui r2,0x8019 |
− | 00188e38: 8c422d90 lw r2,0x2d90(r2) | + | 00188e38: 8c422d90 lw r2,0x2d90(r2) |
− | 00188e3c: 00000000 nop | + | 00188e3c: 00000000 nop |
− | 00188e40: 90420000 lbu r2,0x0000(r2) | + | 00188e40: 90420000 lbu r2,0x0000(r2) |
− | 00188e44: 00000000 nop | + | 00188e44: 00000000 nop |
− | 00188e48: 10400007 beq r2,r0,0x 00188e68 | + | 00188e48: 10400007 beq r2,r0,0x 00188e68 |
− | 00188e4c: 00000000 nop | + | 00188e4c: 00000000 nop |
− | 00188e50: 0c0621c7 jal 0x 0018871c | + | 00188e50: 0c0621c7 jal 0x 0018871c ; [[Elemental Absorb and status roll]] |
− | 00188e54: 00000000 nop | + | 00188e54: 00000000 nop |
− | 00188e58: 14400003 bne r2,r0,0x 00188e68 | + | 00188e58: 14400003 bne r2,r0,0x 00188e68 |
− | 00188e5c: 00000000 nop | + | 00188e5c: 00000000 nop |
− | 00188e60: 0c061fad jal 0x 00187eb4 | + | 00188e60: 0c061fad jal 0x 00187eb4 ; [[Apply status (to action) - (Preserve hit status, evade type, hit %)]] |
− | 00188e64: 00000000 nop | + | 00188e64: 00000000 nop |
− | 00188e68: 8fbf0010 lw r31,0x0010(r29) | + | 00188e68: 8fbf0010 lw r31,0x0010(r29) |
− | 00188e6c: 27bd0018 addiu r29,r29,0x 0018 | + | 00188e6c: 27bd0018 addiu r29,r29,0x 0018 |
− | 00188e70: 03e00008 jr r31 | + | 00188e70: 03e00008 jr r31 |
00188e74: 00000000 nop | 00188e74: 00000000 nop |
Revision as of 02:22, 3 October 2020
[09] Demi Formula (Y/100)% Hit ((MA + X)* Faith) 00188df4: 27bdffe8 addiu r29,r29,0xffe8 00188df8: afbf0010 sw r31,0x0010(r29) 00188dfc: 0c06216e jal 0x 001885b8 ; Magical Evade Calculation 00188e00: 00000000 nop 00188e04: 14400018 bne r2,r0,0x 00188e68 ; Branch to end if attack is evaded 00188e08: 00000000 nop 00188e0c: 0c062289 jal 0x 00188a24 ; Calculate Accuracy for Magical (Accuracy, Faith, Compat, etc) 00188e10: 00000000 nop 00188e14: 14400014 bne r2,r0,0x 00188e68 00188e18: 00000000 nop 00188e1c: 0c061989 jal 0x 00186624 ; Calculate % of damage 00188e20: 00000000 nop 00188e24: 0c061bb4 jal 0x 00186ed0 ; Weather Elemental effects 00188e28: 00000000 nop 00188e2c: 0c061bfe jal 0x 00186ff8 ; Ability Elemental? 00188e30: 00000000 nop 00188e34: 3c028019 lui r2,0x8019 00188e38: 8c422d90 lw r2,0x2d90(r2) 00188e3c: 00000000 nop 00188e40: 90420000 lbu r2,0x0000(r2) 00188e44: 00000000 nop 00188e48: 10400007 beq r2,r0,0x 00188e68 00188e4c: 00000000 nop 00188e50: 0c0621c7 jal 0x 0018871c ; Elemental Absorb and status roll 00188e54: 00000000 nop 00188e58: 14400003 bne r2,r0,0x 00188e68 00188e5c: 00000000 nop 00188e60: 0c061fad jal 0x 00187eb4 ; Apply status (to action) - (Preserve hit status, evade type, hit %) 00188e64: 00000000 nop 00188e68: 8fbf0010 lw r31,0x0010(r29) 00188e6c: 27bd0018 addiu r29,r29,0x 0018 00188e70: 03e00008 jr r31 00188e74: 00000000 nop