Store Script Data into r4 and r5

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00091450: 3c06800d lui r6,0x800d			r6 = 0x800d0000
00091454: 24c64650 addiu r6,r6,0x4650			r6 = 0x800d4650
00091458: 94c20000 lhu r2,0x0000(r6)			Load byte # from World Map Control
0009145c: 3c03800d lui r3,0x800d			r3 = 0x800d0000
00091460: 8c63464c lw r3,0x464c(r3)			Load the World Map Control offset
00091464: 00021040 sll r2,r2,0x01			byte * 2
00091468: 00431021 addu r2,r2,r3			World Map Control offset + byte * 2
0009146c: 94420000 lhu r2,0x0000(r2)			Load World Map Control byte
00091470: 00000000 nop							
00091474: ac820000 sw r2,0x0000(r4)			Store into r4
00091478: 94c20000 lhu r2,0x0000(r6)			Load byte # from World Map Control
0009147c: 00000000 nop							
00091480: 24420001 addiu r2,r2,0x0001			byte + 1
00091484: a4c20000 sh r2,0x0000(r6)			Store the increased string byte #
00091488: 3042ffff andi r2,r2,0xffff			
0009148c: 3c03800d lui r3,0x800d			lui r3,0x800d0000
00091490: 8c63464c lw r3,0x464c(r3)			Load the World Map Control offset
00091494: 00021040 sll r2,r2,0x01			byte * 2
00091498: 00431021 addu r2,r2,r3			World Map Control offset + byte * 2
0009149c: 94420000 lhu r2,0x0000(r2)			Load World Map Control byte
000914a0: 00000000 nop							
000914a4: aca20000 sw r2,0x0000(r5)			Store into r5
000914a8: 94c20000 lhu r2,0x0000(r6)			Load byte # from World Map Control
000914ac: 00000000 nop							
000914b0: 24420001 addiu r2,r2,0x0001			byte + 1
000914b4: 03e00008 jr r31						
000914b8: a4c20000 sh r2,0x0000(r6)			Store the increased byte #

Called By

800913F8 -