Store PA and Y

From Final Fantasy Hacktics Wiki
Revision as of 04:13, 6 March 2012 by Choto (talk | contribs)
Jump to navigation Jump to search
Store PA and Y
00185e04: 3c028019 lui r2,0x8019		
00185e08: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Stats
00185e0c: 3c038019 lui r3,0x8019		
00185e10: 906338fa lbu r3,0x38fa(r3)		Load Ability Y
00185e14: 90420036 lbu r2,0x0036(r2)		Load Attacker's PA
00185e18: 3c018019 lui r1,0x8019		
00185e1c: a42338d0 sh r3,0x38d0(r1)		Store Y as YA
00185e20: 3c018019 lui r1,0x8019		
00185e24: a42238ce sh r2,0x38ce(r1)		Store PA as XA
00185e28: 03e00008 jr r31			
00185e2c: 00000000 nop


Return Locations

  • Battle.bin
00189aa8: 2B Hit_(PA+X)% // -PA/MA/SP_(X)
00189af0: 2C DmgMP_(X)% Hit_(PA+Y)%
00189e9c: 34 Heal_(PA*Y) HealMP_(PA*Y/2)
00189f9c: 37 Dmg_(Rdm(1…Y)*PA)
0018a184: 42 Dmg_(PA*Y) DmgCas_(PA*Y/X)