Difference between revisions of "WORLD.BIN Check for Two Hands"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001228a8: 00042400 sll r4,r4,0x10 001228ac: 00042383 sra r4,r4,0x0e 001228b0: 3c01801d lui r1,0x801d 001228b4: 00240821 addu r1,r1,r4 001228b8...")
 
m (RetroTypes moved page 001228a8 - 001228c8 to WORLD.BIN Check for Two Hands: Renaming now that functionality has been determined)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<font face='Courier New'>
 
 
   
 
   
 
  001228a8: 00042400 sll r4,r4,0x10
 
  001228a8: 00042400 sll r4,r4,0x10
Line 5: Line 4:
 
  001228b0: 3c01801d lui r1,0x801d
 
  001228b0: 3c01801d lui r1,0x801d
 
  001228b4: 00240821 addu r1,r1,r4
 
  001228b4: 00240821 addu r1,r1,r4
  001228b8: 8c22d5ec lw r2,-0x2a14(r1)
+
  001228b8: 8c22d5ec lw r2,-0x2a14(r1)                   #r2 = Unit Data pointer?
 
  001228bc: 00000000 nop
 
  001228bc: 00000000 nop
  001228c0: 90420126 lbu r2,0x0126(r2)
+
  001228c0: 90420126 lbu r2,0x0126(r2)                   #Equipped Supports 3?
 
  001228c4: 03e00008 jr r31
 
  001228c4: 03e00008 jr r31
  001228c8: 30420002 andi r2,r2,0x0002
+
  001228c8: 30420002 andi r2,r2,0x0002                   #Check for Two Hands Support equipped
</font>
 

Latest revision as of 08:00, 23 April 2025

001228a8: 00042400 sll r4,r4,0x10
001228ac: 00042383 sra r4,r4,0x0e
001228b0: 3c01801d lui r1,0x801d
001228b4: 00240821 addu r1,r1,r4
001228b8: 8c22d5ec lw r2,-0x2a14(r1)                   #r2 = Unit Data pointer?
001228bc: 00000000 nop
001228c0: 90420126 lbu r2,0x0126(r2)                   #Equipped Supports 3?
001228c4: 03e00008 jr r31
001228c8: 30420002 andi r2,r2,0x0002                   #Check for Two Hands Support equipped