Transfer Palette and store 0x7F in misc data

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Transfer Palette and store 0x7F in misc data 69ee0:		00069ee0 - 00069f10

	000687bc: Transfer Palette

00069ee0: 27bdff20 addiu r29,r29,0xff20			
00069ee4: afb000d8 sw r16,0x00d8(r29)			Store 0x0 onto Stack
00069ee8: 00808021 addu r16,r4,r0
00069eec: afbf00dc sw r31,0x00dc(r29)			Store 0x0 onto Stack
00069ef0: 0c01a1ef jal 0x000687bc			Transfer Palette
00069ef4: 27a50010 addiu r5,r29,0x0010
00069ef8: 3402003b ori r2,r0,0x003b			r2 = (0x3B) 59
00069efc: a202007f sb r2,0x007f(r16)			Store ??
00069f00: 8fbf00dc lw r31,0x00dc(r29)			Load Stack + 0xDC
00069f04: 8fb000d8 lw r16,0x00d8(r29)			Load Stack + 0xD8
00069f08: 27bd00e0 addiu r29,r29,0x00e0			
00069f0c: 03e00008 jr r31			Jump to Address
00069f10: 00000000 nop

Return locations

Battle.bin
0006d994: 0006d818 - 0006db0c	Process Single Unit Movement

< BATTLE.BIN Routines

< Initialize Units Coordinates, Animation, Facing
00069f14 - 0006a07c >