Load event command bytes

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00146078: 90830001 lbu r3,0x0001(r4)			load Block ID
0014607c: 90820000 lbu r2,0x0000(r4)			load 3rd byte of EVTCHR command
00146080: 00031a00 sll r3,r3,0x08				block ID*256
00146084: 00431025 or r2,r2,r3					result + 3rd EVTCHR byte
00146088: 00021400 sll r2,r2,0x10				
0014608c: 03e00008 jr r31
00146090: 00021403 sra r2,r2,0x10