Store Name and Data of unit selected by cursor 2
Jump to navigation
Jump to search
Store Name and Data of unit selected by cursor 2 6e5c0: 0006e5c0 - 0006e630
0007a2b8: Check if unit is on panel? 0007a218: 0007a218 - 0007a258 0013d634: Store unit names and some event block data 0006e5c0: 3c048009 lui r4,0x8009 0006e5c4: 8c8461b4 lw r4,0x61b4(r4) Load Cursor X Coordinate (Cursor) 0006e5c8: 3c058009 lui r5,0x8009 0006e5cc: 8ca561bc lw r5,0x61bc(r5) Load Cursor Y Coordinate (Cursor) 0006e5d0: 3c068009 lui r6,0x8009 0006e5d4: 8cc661b8 lw r6,0x61b8(r6) Load Cursor Map Level (0 = base floor, 1 = higher floor) 0006e5d8: 27bdffe8 addiu r29,r29,0xffe8 0006e5dc: afbf0014 sw r31,0x0014(r29) Store 0x0 onto Stack 0006e5e0: 0c01e8ae jal 0x0007a2b8 Check if unit is on panel? 0006e5e4: afb00010 sw r16,0x0010(r29) Store 0x0 onto Stack 0006e5e8: 0c01e886 jal 0x0007a218 0007a218 - 0007a258 0006e5ec: 00408021 addu r16,r2,r0 0006e5f0: 12000006 beq r16,r0,0x0006e60c Branch if 0x0 == 0x0 0006e5f4: 34040004 ori r4,r0,0x0004 r4 = (0x4) 4 0006e5f8: 8e020134 lw r2,0x0134(r16) Load ??1 0006e5fc: 00000000 nop 0006e600: 9046018a lbu r6,0x018a(r2) Load Cursor Map Level (0 = base floor, 1 = higher floor) 0006e604: 0801b986 j 0x0006e618 0006e608: 340500ff ori r5,r0,0x00ff r5 = (0xFF) 255 0006e60c: 34040001 ori r4,r0,0x0001 r4 = (0x1) 1 0006e610: 340500ff ori r5,r0,0x00ff r5 = (0xFF) 255 0006e614: 340600ff ori r6,r0,0x00ff r6 = (0xFF) 255 0006e618: 0c04f58d jal 0x0013d634 Store unit names and some event block data 0006e61c: 00000000 nop 0006e620: 8fbf0014 lw r31,0x0014(r29) Load Stack + 0x14 0006e624: 8fb00010 lw r16,0x0010(r29) Load Stack + 0x10 0006e628: 27bd0018 addiu r29,r29,0x0018 0006e62c: 03e00008 jr r31 Jump to Address 0006e630: 00000000 nop