Difference between revisions of "00081a58 - 00081a90"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00081a08: 3084ffff andi r4,r4,0xffff 00081a0c: 00042080 sll r4,r4,0x02 00081a10: 3c018009 lui r1,0x8009 00081a14: 00240821 addu r1,r1,r4 00081...")
 
(I am going to personally strangle Choto for this)
 
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
   
 
   
  00081a08: 3084ffff andi r4,r4,0xffff
+
  00081a58: 3084ffff andi r4,r4,0xffff
  00081a0c: 00042080 sll r4,r4,0x02
+
  00081a5c: 00042080 sll r4,r4,0x02
  00081a10: 3c018009 lui r1,0x8009
+
  00081a60: 3c018009 lui r1,0x8009
  00081a14: 00240821 addu r1,r1,r4
+
  00081a64: 00240821 addu r1,r1,r4
  00081a18: 90234749 lbu r3,0x4749(r1) load spritesheet SEQ
+
  00081a68: 90234748 lbu r3,0x4748(r1) load spritesheet SHP ID
  00081a1c: 00000000 nop
+
  00081a6c: 00000000 nop
  00081a20: 28620005 slti r2,r3,0x0005
+
  00081a70: 00031040 sll r2,r3,0x01
  00081a24: 14400005 bne r2,r0,0x00081a3c branch if < Ruka
+
  00081a74: 00431021 addu r2,r2,r3
00081a28: 000311c0 sll r2,r3,0x07
+
  00081a78: 00021100 sll r2,r2,0x04
  00081a2c: 3c02800c lui r2,0x800c
+
  00081a7c: 00431021 addu r2,r2,r3
00081a30: 24420e58 addiu r2,r2,0x0e58
+
  00081a80: 00021180 sll r2,r2,0x06 multiply by big number
00081a34: 08020694 j 0x00081a50
+
  00081a84: 3c03800c lui r3,0x800c
  00081a38: 00000000 nop
+
  00081a88: 2463df0c addiu r3,r3,0xdf0c
00081a3c: 00431021 addu r2,r2,r3
+
00081a8c: 03e00008 jr r31
  00081a40: 000210c0 sll r2,r2,0x03
+
  00081a90: 00431021 addu r2,r2,r3 Return pointer to spritesheet SHP Data.
  00081a44: 3c03800c lui r3,0x800c
 
  00081a48: 2463fa30 addiu r3,r3,0xfa30
 
  00081a4c: 00431021 addu r2,r2,r3
 
00081a50: 03e00008 jr r31
 
00081a54: 00000000 nop
 
 
</font>
 
</font>

Latest revision as of 04:28, 3 April 2023

00081a58: 3084ffff andi r4,r4,0xffff
00081a5c: 00042080 sll r4,r4,0x02
00081a60: 3c018009 lui r1,0x8009
00081a64: 00240821 addu r1,r1,r4
00081a68: 90234748 lbu r3,0x4748(r1)		load spritesheet SHP ID
00081a6c: 00000000 nop
00081a70: 00031040 sll r2,r3,0x01
00081a74: 00431021 addu r2,r2,r3
00081a78: 00021100 sll r2,r2,0x04
00081a7c: 00431021 addu r2,r2,r3
00081a80: 00021180 sll r2,r2,0x06		multiply by big number
00081a84: 3c03800c lui r3,0x800c
00081a88: 2463df0c addiu r3,r3,0xdf0c
00081a8c: 03e00008 jr r31
00081a90: 00431021 addu r2,r2,r3		Return pointer to spritesheet SHP Data.