4F Dmg (CasMaxHP-CasCurHP) Hit (MA+X)%
(Redirected from 4F Dmg (CasMaxHP-CasCurHP) Hit (PA+X)%)
Jump to navigation
Jump to search
[4f] 0018a458: 27bdffe8 addiu r29,r29,0xffe8 | 0018a45c: afbf0010 sw r31,0x0010(r29) | 0018a460: 0c062144 jal 0x00188510 |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2 0018a464: 00000000 nop | 0018a468: 14400009 bne r2,r0,0x0018a490 #Branch if attack is evaded 0018a46c: 00000000 nop | 0018a470: 0c061760 jal 0x00185d80 |-->Store MA and X Set Ability XA = Attacker's MA and YA = used Ability X 0018a474: 00000000 nop | 0018a478: 0c0622c5 jal 0x00188b14 |-->Physical Routine for Hit % abilities Modify XA (Physical modifiers), Applies Compatibility on XA and YA, uses XA+YA as hit% - Returns r2 0018a47c: 00000000 nop | 0018a480: 14400003 bne r2,r0,0x0018a490 #Branch if attack misses 0018a484: 00000000 nop | 0018a488: 0c061b8a jal 0x00186e28 |-->43 Dmg (CasMaxHP-CasCurHP) Set HP damage = Attacker's missing HP 0018a48c: 00000000 nop | 0018a490: 8fbf0010 lw r31,0x0010(r29) END 0018a494: 27bd0018 addiu r29,r29,0x0018 0018a498: 03e00008 jr r31 0018a49c: 00000000 nop
Return location
Battle.bin 0018b97c: Pre Formula Setup