00081a58 - 00081a90

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

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.