48 Heal (Z*10)
Jump to navigation
Jump to search
[48] Healing = Z * 10 (with undead reversal) 0018a250: 3c038019 lui r3,0x8019 0018a254: 906338db lbu r3,0x38db(r3) Load Used Item ID 0018a258: 27bdffe8 addiu r29,r29,0xffe8 0018a25c: afbf0010 sw r31,0x0010(r29) 0018a260: 00031040 sll r2,r3,0x01 ID * 2 0018a264: 00431021 addu r2,r2,r3 ID * 3 0018a268: 3c018006 lui r1,0x8006 0018a26c: 00220821 addu r1,r1,r2 80060000 + ID * 3 (Secondary Data) 0018a270: 90233f99 lbu r3,0x3f99(r1) Load Used Item's Z value 0018a274: 00000000 nop 0018a278: 00031080 sll r2,r3,0x02 Z * 4 0018a27c: 00431021 addu r2,r2,r3 Z * 5 0018a280: 3c038019 lui r3,0x8019 0018a284: 8c632d90 lw r3,0x2d90(r3) Load Current Attack Data Pointer 0018a288: 00021040 sll r2,r2,0x01 Z * 10 0018a28c: 0c061cd4 jal 0x 00187350 Undead Reversal 0018a290: a4620004 sh r2,0x0004(r3) Store HP Damage = Z * 10 0018a294: 8fbf0010 lw r31,0x0010(r29) 0018a298: 27bd 0018 addiu r29,r29,0x 0018 0018a29c: 03e00008 jr r31 0018a2a0: 00000000 nop