Effect Code Script 0x05

From Final Fantasy Hacktics Wiki
Revision as of 02:26, 30 April 2019 by Glain (talk | contribs) (Created page with " 801a2374: 84830006 lh r3,0x0006(r4) # effectBlock.offset 801a2378: 8c820008 lw r2,0x0008(r4) # effectBlock.basePointer 801a237c: 0000000...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
801a2374: 84830006 lh r3,0x0006(r4)                 #   effectBlock.offset
801a2378: 8c820008 lw r2,0x0008(r4)                 #   effectBlock.basePointer
801a237c: 00000000 nop
801a2380: 00621821 addu r3,r3,r2                    #   effectBlock.offset + effectBlock.basePointer
801a2384: 94820006 lhu r2,0x0006(r4)                #   effectBlock.offset             
801a2388: 90630001 lbu r3,0x0001(r3)                #   effectCommandValuePart = *(effectBlock.offset + effectBlock.basePointer + 1)
801a238c: 24420002 addiu r2,r2,0x0002               #   effectBlock.offset + 2
801a2390: 00031902 srl r3,r3,0x04                   #   effectCommandValuePart >> 4
801a2394: a4820006 sh r2,0x0006(r4)                 #   effectBlock.offset = effectBlock.offset + 2
801a2398: 3c01801c lui r1,0x801c
801a239c: a423f000 sh r3,-0x1000(r1)                #   *0x801bf000 = effectCommandValuePart >> 4
801a23a0: 03e00008 jr r31                           #   return 1;
801a23a4: 34020001 ori r2,r0,0x0001