27 StealGil (CasLVL*SP) Hit (SP+X)%
Jump to navigation
Jump to search
[27] 00189828: 27bdffe8 addiu r29,r29,-0x0018 | 0018982c: afbf0010 sw r31,0x0010(r29) | 00189830: 0c062144 jal 0x00188510 |-->Physical_Evade_Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2 00189834: 00000000 nop | 00189838: 14400009 bne r2,r0,0x00189860 #If Attack is not evaded 0018983c: 00000000 nop | 00189840: 0c06178c jal 0x00185e30 |-->Store_Speed_and_X Ability XA = Attacker's speed and Ability YA = used Ability X 00189844: 00000000 nop | 00189848: 0c0622c5 jal 0x00188b14 |-->Physical_Routine_for_Hit_%25_abilities Modify XA (Physical modifiers), Applies Compatibility on XA and YA, uses XA+YA as hit% - Returns r2 0018984c: 00000000 nop | 00189850: 14400003 bne r2,r0,0x00189860 #If Attack hits 00189854: 00000000 nop | 00189858: 0c0619d1 jal 0x00186744 |-->Steal_Gil Calculate Stolen Gil, update Target and Attacker Action data (gain or loss) 0018985c: 00000000 nop | 00189860: 8fbf0010 lw r31,0x0010(r29) END 00189864: 27bd0018 addiu r29,r29,0x0018 00189868: 03e00008 jr r31 0018986c: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup