World Map Script 0x03
Jump to navigation
Jump to search
00091518: 27bdffe0 addiu r29,r29,0xffe0 0009151c: 27a40010 addiu r4,r29,0x0010 00091520: afbf0018 sw r31,0x0018(r29) 00091524: 0c024514 jal 0x00091450 Store Script Data into r4 and r5 00091528: 27a50014 addiu r5,r29,0x0014 0009152c: 8fa40010 lw r4,0x0010(r29) 00091530: 0c03bc6a jal 0x000ef1a8 Get integer data 00091534: 00000000 nop 00091538: 8fa30014 lw r3,0x0014(r29) Load the World Map Control value 0009153c: 00000000 nop 00091540: 0062182a slt r3,r3,r2 Set r3 to 1 if World Map Control value data is greater then integer byte 00091544: 10600007 beq r3,r0,0x00091564 Branch if World Map Control value > integer value 00091548: 00000000 nop 0009154c: 3c03800d lui r3,0x800d r3 = 0x800d0000 00091550: 24634644 addiu r3,r3,0x4644 r3 = 0x800d4644 00091554: 8c620000 lw r2,0x0000(r3) Load word at 0x800d4644 00091558: 00000000 nop 0009155c: 34420002 ori r2,r2,0x0002 Activate flag 0x02 at 0x800d4644 00091560: ac620000 sw r2,0x0000(r3) Store active flag 00091564: 8fbf0018 lw r31,0x0018(r29) 00091568: 27bd0020 addiu r29,r29,0x0020 0009156c: 03e00008 jr r31 00091570: 00000000 nop