Store Name and data of unit selected by cursor
Jump to navigation
Jump to search
Store Name and data of unit selected by cursor 6e55c: 0006e55c - 0006e5bc
0007a2b8: Check if unit is on panel? 0013d634: Store unit names and some event block data 0006e55c: 3c048009 lui r4,0x8009 0006e560: 8c8461b4 lw r4,0x61b4(r4) Load Cursor X Coordinate (Cursor) 0006e564: 3c058009 lui r5,0x8009 0006e568: 8ca561bc lw r5,0x61bc(r5) Load Cursor Y Coordinate (Cursor) 0006e56c: 3c068009 lui r6,0x8009 0006e570: 8cc661b8 lw r6,0x61b8(r6) Load Cursor Map Level (0 = base floor, 1 = higher floor) 0006e574: 27bdffe8 addiu r29,r29,0xffe8 0006e578: afbf0010 sw r31,0x0010(r29) Store 0x0 onto Stack 0006e57c: 0c01e8ae jal 0x0007a2b8 Check if unit is on panel? 0006e580: 00000000 nop 0006e584: 10400006 beq r2,r0,0x0006e5a0 Branch if 0x0 == 0x0 0006e588: 34040002 ori r4,r0,0x0002 r4 = (0x2) 2 0006e58c: 8c420134 lw r2,0x0134(r2) Load ??1 0006e590: 00000000 nop 0006e594: 9045018a lbu r5,0x018a(r2) Load Cursor Y Coordinate (Cursor) 0006e598: 0801b96a j 0x0006e5a8 0006e59c: 00000000 nop 0006e5a0: 34040001 ori r4,r0,0x0001 r4 = (0x1) 1 0006e5a4: 340500ff ori r5,r0,0x00ff r5 = (0xFF) 255 0006e5a8: 0c04f58d jal 0x0013d634 Store unit names and some event block data 0006e5ac: 340600ff ori r6,r0,0x00ff r6 = (0xFF) 255 0006e5b0: 8fbf0010 lw r31,0x0010(r29) Load Stack + 0x10 0006e5b4: 27bd0018 addiu r29,r29,0x0018 0006e5b8: 03e00008 jr r31 Jump to Address 0006e5bc: 00000000 nop