4D AbsHP (Y)% Hit (MA+X)%
Jump to navigation
Jump to search
0018a3d0: 27bdffe8 addiu r29,r29,-0x0018 | 0018a3d4: afbf0010 sw r31,0x0010(r29) | 0018a3d8: 0c062144 jal 0x00188510 |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2 0018a3dc: 00000000 nop | 0018a3e0: 1440000b bne r2,r0,0x0018a410 #If Attack is not evaded 0018a3e4: 00000000 nop | 0018a3e8: 0c061760 jal 0x00185d80 |-->Store_MA_and_X Set Ability XA = Attacker's MA and YA = used Ability X 0018a3ec: 00000000 nop | 0018a3f0: 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 0018a3f4: 00000000 nop | 0018a3f8: 14400005 bne r2,r0,0x0018a410 #If Attack hits 0018a3fc: 00000000 nop | 0018a400: 0c061989 jal 0x00186624 |-->Calculate_HP%_damage Set Target Current Action HP damage to [Used Ability Y]% of Target max HP 0018a404: 00000000 nop | 0018a408: 0c061c92 jal 0x00187248 |-->HP_Absorption Add HP recovery to Attacker action / Manages undead reversal mechanics 0018a40c: 00000000 nop | 0018a410: 8fbf0010 lw r31,0x0010(r29) END 0018a414: 27bd0018 addiu r29,r29,0x0018 0018a418: 03e00008 jr r31 0018a41c: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup