Store MA and X

From Final Fantasy Hacktics Wiki
Revision as of 19:26, 28 August 2021 by Orkney (talk | contribs) (return link)
Jump to navigation Jump to search
Store MA and X
00185d80: 3c028019 lui r2,0x8019		
00185d84: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's data
00185d88: 3c038019 lui r3,0x8019		
00185d8c: 906338f9 lbu r3,0x38f9(r3)		Load X
00185d90: 90420037 lbu r2,0x0037(r2)		Load Attacker's MA
00185d94: 3c018019 lui r1,0x8019		
00185d98: a42338d0 sh r3,0x38d0(r1)		Store X as YA
00185d9c: 3c018019 lui r1,0x8019		
00185da0: a42238ce sh r2,0x38ce(r1)		Store MA as XA
00185da4: 03e00008 jr r31
00185da8: 00000000 nop


Return Locations

  • Battle.bin
00188890: 08 Dmg_F(MA*Y)
00188898: Formula 14 (golem) accuracy
001889d4: Calculate Accuracy for Magical Spells 
00188a2c: Calculate Accuracy for Magical 
00188a8c:
00188ec0: 0B Hit_F(MA+X)%
00188f40: 0D Heal_(Y)% Hit_F(MA+X)%
00188fdc: 0E Dmg_(Y)% Hit_F(MA+X)% 100% Status Hide Status
00189134: 12 Set_Quick Hit_F(MA+X)%
00189918: 29 OppositeSex: Hit_(MA+X)%
00189a3c: 2A Hit_(MA+X)% // AffectBraveOrFaith(Y)
0018a3e8: 4D AbsHP_(Y)% Hit_(MA+X)%
0018a470: 4F Dmg_(CasMaxHP-CasCurHP) Hit_(PA+X)%
0018a4b8: 50 Hit_(MA+X)%
0018a4f0: 51 Hit_(MA+X)%
0018a82c: 58 Generic: Set_Morbol: Hit(MA+X)%