44 Dmg (TarCurMP)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
[44]
00186e54: 3c028019 lui r2,0x8019            |
00186e58: 8c422d98 lw r2,0x2d98(r2)         |r2 = Target data pointer
00186e5c: 3c038019 lui r3,0x8019            |
00186e60: 8c632d90 lw r3,0x2d90(r3)         |r3 = Target Current Action (TCA) data pointer
00186e64: 9444002c lhu r4,0x002c(r2)        |r4 = Target current MP
00186e68: 34020080 ori r2,r0,0x0080         |r2 = 0x80
00186e6c: a0620025 sb r2,0x0025(r3)         |Set TCA Attack type as HP damage
00186e70: 03e00008 jr r31                   |
00186e74: a4640004 sh r4,0x0004(r3)         |Store Target MP as TCA HP damage 

Return location

Battle.bin
0018b97c - Pre Formula Setup