Initialize WEP1 sprite RGB

From Final Fantasy Hacktics Wiki
(Redirected from 0007acac - 0007ad04)
Jump to navigation Jump to search

Initialize WEP1 sprite RGB 7acac: 0007acac - 0007ad04


0007acac: 34060002 ori r6,r0,0x0002			r6 = (0x2) 2
0007acb0: 00041900 sll r3,r4,0x04			Shift left 4 bits (*0x10) (*16)
0007acb4: 00641821 addu r3,r3,r4
0007acb8: 00031980 sll r3,r3,0x06			0x0* 0x440 (* 1088)
0007acbc: 3c02800b lui r2,0x800b			
0007acc0: 2442766a addiu r2,r2,0x766a
0007acc4: 00621821 addu r3,r3,r2
0007acc8: 000510c0 sll r2,r5,0x03			Shift left 3 bits (*0x8) (*8)
0007accc: 00451021 addu r2,r2,r5
0007acd0: 00021080 sll r2,r2,0x02			0x0* 0x24 (* 36)
0007acd4: 00621821 addu r3,r3,r2
0007acd8: 2464000e addiu r4,r3,0x000e
0007acdc: 34020080 ori r2,r0,0x0080			r2 = (0x80) 128
0007ace0: a0620002 sb r2,0x0002(r3)			Store 80 (128) into 0x2
0007ace4: a0620001 sb r2,0x0001(r3)			Store 80 (128) into 0x1
0007ace8: a0620000 sb r2,0x0000(r3)			Store 80 (128) into 0x0
0007acec: a0800014 sb r0,0x0014(r4)			Store 0x0 into 0x22
0007acf0: 24c6ffff addiu r6,r6,0xffff
0007acf4: 04c1fffd bgez r6,0x0007acec
0007acf8: 2484fff9 addiu r4,r4,0xfff9
0007acfc: a0600003 sb r0,0x0003(r3)			Store 0x0 into 0x3
0007ad00: 03e00008 jr r31			Jump to Address
0007ad04: 00601021 addu r2,r3,r0