Magical Evade Calculation

From Final Fantasy Hacktics Wiki
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
00188d94: Formula 08 - Dmg F(MA*Y)
00188e04: Formula 09 - Dmg (Y/100)% Hit F(MA+X)%
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)%
001891bc: Formula 15 - Set CT00 Hit F(MA+X)%
00189214: Formula 16 - DmgMP (TarCurMP) Hit F(MA+X)%
0018926c: Formula 17 - Dmg (TarCurHP-1) Hit F(MA+X)%
001892bc: Formula 1A - Hit F(MA+Y)% // -PA/MA/SP (X)
0018934c: Formula 1B - DmgMP (MA+Y)% Hit F(X)%
00189444: Formula 1E - Dmg ((MA+Y)*MA/2)
00189474: Formula 1F - Dmg ((100-CasF)*(100-TarF)*(MA+Y)*MA/2)
001896c4: Formula 24 - Dmg ((PA+Y)/2*MA)
00189fdc: Formula 3D - Hit (MA+X)%
0018a430: Formula 3E - Dmg (MA*Y)
0018a5f4: Formula 53 - Dmg (X)% Hit (MA+X)%
0018a6a8: Formula 55 - –PA (Y) Hit (MA+X)%
0018a708: Formula 56 - –MA (Y) Hit (MA+X)%
0018a918: Formula 59 - –Lvl(1) Hit (MA+X)%
0018aaa8: Formula 5E - Dmg ((MA+Y)/2*MA)
0018aad8: Formula 5F - Dmg ((MA+Y)/2*MA)
0018ab28: Formula 61 - –Brave (Y) Hit F(MA+X)%
0018ab68: Formula 62 - –Brave (Y) Hit (MA+X)%