Activate numerical sprite data?
(Redirected from 00080fec - 000810a0)
Jump to navigation
Jump to search
Activate numerical sprite data? 80fec: 00080fec - 000810a0
000808b8: Set Exp/JP Display Data and get Palette 00080fec: 27bdffe8 addiu r29,r29,0xffe8 00080ff0: 00803021 addu r6,r4,r0 00080ff4: 00a03821 addu r7,r5,r0 00080ff8: afbf0010 sw r31,0x0010(r29) Store 0x0 onto Stack 00080ffc: 8cc502c4 lw r5,0x02c4(r6) Load Numerical Display Pointer 1 00081000: 8cc402c8 lw r4,0x02c8(r6) Load Numerical Display Pointer 2 00081004: 8cc302cc lw r3,0x02cc(r6) Load Numerical Display Pointer 3 00081008: 3402001f ori r2,r0,0x001f r2 = (0x1F) 31 0008100c: a4620004 sh r2,0x0004(r3) Store Unit Misc ID? 00081010: a4820004 sh r2,0x0004(r4) Store Unit Misc ID? 00081014: a4a20004 sh r2,0x0004(r5) Store Unit Misc ID? 00081018: 34020002 ori r2,r0,0x0002 r2 = (0x2) 2 0008101c: 10e2000f beq r7,r2,0x0008105c Branch if 0x0 == 2 (2) 00081020: 28e20003 slti r2,r7,0x0003 Set if 0x0 < 3 00081024: 10400005 beq r2,r0,0x0008103c Branch if not 00081028: 34020001 ori r2,r0,0x0001 r2 = (0x1) 1 0008102c: 10e20008 beq r7,r2,0x00081050 Branch if 0x0 == 1 (1) 00081030: 00000000 nop 00081034: 0802041e j 0x00081078 00081038: 00000000 nop 0008103c: 34020003 ori r2,r0,0x0003 r2 = (0x3) 3 00081040: 10e20009 beq r7,r2,0x00081068 Branch if 0x0 == 3 (3) 00081044: 3c032000 lui r3,0x2000 00081048: 0802041e j 0x00081078 0008104c: 00000000 nop 00081050: 8cc201b8 lw r2,0x01b8(r6) Load 00081054: 0802041b j 0x0008106c 00081058: 3c030800 lui r3,0x0800 0008105c: 8cc201b8 lw r2,0x01b8(r6) Load 00081060: 0802041b j 0x0008106c 00081064: 3c031000 lui r3,0x1000 00081068: 8cc201b8 lw r2,0x01b8(r6) Load 0008106c: 00000000 nop 00081070: 00431025 or r2,r2,r3 r2 = 0x1000 00081074: acc201b8 sw r2,0x01b8(r6) Store ??? 00081078: 90c202bc lbu r2,0x02bc(r6) Load Activation flag for Numerical Display/Status text 0008107c: 00000000 nop 00081080: 14400004 bne r2,r0,0x00081094 Branch if Activation flag for Numerical Display/Status text != 0x0 00081084: 00000000 nop 00081088: a4c002c2 sh r0,0x02c2(r6) Store Display Type 0008108c: 0c02022e jal 0x000808b8 Set Exp/JP Display Data and get Palette 00081090: 00c02021 addu r4,r6,r0 00081094: 8fbf0010 lw r31,0x0010(r29) Load Stack + 0x10 00081098: 27bd0018 addiu r29,r29,0x0018 0008109c: 03e00008 jr r31 Jump to Address 000810a0: 00000000 nop