Magical Evade Calculation

From Final Fantasy Hacktics Wiki
Revision as of 19:24, 17 April 2021 by Orkney (talk | contribs)
Jump to navigation Jump to search
Magical Evade Calculation:
001885b8: 27bdffe8 addiu r29,r29,0xffe8
001885bc: afbf0010 sw r31,0x0010(r29)
001885c0: 0c061471 jal 0x001851c4		Equipment Evasion Setting (Magical) (Base Hit set to 100)
001885c4: 00000000 nop
001885c8: 0c06152e jal 0x001854b8		Transparent Calculation
001885cc: 00000000 nop
001885d0: 0c0614df jal 0x0018537c		Abandon Calculation (if Abandon base hit = 50)
001885d4: 00000000 nop
001885d8: 0c0614fd jal 0x001853f4		Evasion Changes due to Statuses
001885dc: 00000000 nop
001885e0: 0c062122 jal 0x00188488		Calculate Hit %
001885e4: 00000000 nop
001885e8: 8fbf0010 lw r31,0x0010(r29)
001885ec: 27bd0018 addiu r29,r29,0x0018
001885f0: 03e00008 jr r31
001885f4: 00000000 nop

Return Locations

  • Battle.bin (in progress)
00188e88: Formula 0A - Hit F(MA+X)%
00188fd4: Formula 0E Dmg (Y)% Hit F(MA+X)% 100% Status Hide Status
00189094: Formula 0F - AbsMP(Y%) Hit F(MA+X)%
001890e8: Formula 10 - AbsHP(Y%) Hit F(MA+X)%