Store MA and Y
Jump to navigation
Jump to search
No Parameters - Returns Nothing Set Current Ability YA = Current Ability Y Set Current Ability XA = Attacker's MA ---------------------------------------------------------------------------------- 00185c94: 3c028019 lui r2,0x8019 | 00185c98: 8c422d94 lw r2,0x2d94(r2) |r2 = Attacker's data pointer 00185c9c: 3c038019 lui r3,0x8019 | 00185ca0: 906338fa lbu r3,0x38fa(r3) |r3 = Current Ability Y 0x801938fa / 801938fa 00185ca4: 90420037 lbu r2,0x0037(r2) |r2 = Attacker's MA 00185ca8: 3c018019 lui r1,0x8019 | 00185cac: a42338d0 sh r3,0x38d0(r1) |Store Ability Y as YA 00185cb0: 3c018019 lui r1,0x8019 | 00185cb4: a42238ce sh r2,0x38ce(r1) |Store MA as XA 00185cb8: 03e00008 jr r31 00185cbc: 00000000 nop
Return Locations
Battle.bin 00188d9c: 08 Dmg_F(MA*Y) 00188f00: 0C Heal_F(MA*Y) 001892c4: 1A Hit_F(MA+Y)% // -PA/MA/SP_(X) 001893b8: 1C Hit_(X)% 001895d4: 20 Dmg_(MA*Y) 00189604: 21 DmgMP_(MA*Y) 0018968c: 23 Heal_(MA*Y) 0018a3a8: 4C Heal_(MA*Y) 0018a438: 4E Dmg_(MA*Y) 0018a670: 54 HealMP_(MA*Y)