Difference between revisions of "World Map Script 0x14 and 0x15"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Byte +1, not +2)
 
Line 3: Line 3:
 
  00091390: 94620000 lhu r2,0x0000(r3)          Load byte # of how far the world map script has read into
 
  00091390: 94620000 lhu r2,0x0000(r3)          Load byte # of how far the world map script has read into
 
  00091394: 00000000 nop                           
 
  00091394: 00000000 nop                           
  00091398: 24420001 addiu r2,r2,0x0001          Byte + 2
+
  00091398: 24420001 addiu r2,r2,0x0001          Byte + 1
 
  0009139c: 03e00008 jr r31                       
 
  0009139c: 03e00008 jr r31                       
 
  000913a0: a4620000 sh r2,0x0000(r3)            Store new byte total into 0x800d4650
 
  000913a0: a4620000 sh r2,0x0000(r3)            Store new byte total into 0x800d4650

Latest revision as of 20:36, 3 March 2025

00091388: 3c03800d lui r3,0x800d	       r3 = 0x800d0000
0009138c: 24634650 addiu r3,r3,0x4650          r3 = 0x800d4650
00091390: 94620000 lhu r2,0x0000(r3)           Load byte # of how far the world map script has read into
00091394: 00000000 nop                          
00091398: 24420001 addiu r2,r2,0x0001          Byte + 1
0009139c: 03e00008 jr r31                       
000913a0: a4620000 sh r2,0x0000(r3)            Store new byte total into 0x800d4650