Disable/Remove unit

From Final Fantasy Hacktics Wiki
Revision as of 15:15, 8 February 2015 by Choto (talk | contribs) (Created page with "<font face='Courier New'> 0017fcc8: 000410c0 sll r2,r4,0x03 0017fccc: 00441023 subu r2,r2,r4 0017fcd0: 00021180 sll r2,r2,0x06 0017fcd4: 3c038019 lui r3,0x8019 0017fcd8...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

0017fcc8: 000410c0 sll r2,r4,0x03
0017fccc: 00441023 subu r2,r2,r4
0017fcd0: 00021180 sll r2,r2,0x06
0017fcd4: 3c038019 lui r3,0x8019
0017fcd8: 246308cc addiu r3,r3,0x08cc
0017fcdc: 00432021 addu r4,r2,r3
0017fce0: 90830001 lbu r3,0x0001(r4)			load unit ID
0017fce4: 340200ff ori r2,r0,0x00ff
0017fce8: 10620005 beq r3,r2,0x0017fd00			branch if unit doesn't exist
0017fcec: 00000000 nop
0017fcf0: 340200ff ori r2,r0,0x00ff
0017fcf4: a0820001 sb r2,0x0001(r4)				store unit doesn't exist
0017fcf8: 34020080 ori r2,r0,0x0080
0017fcfc: a0820183 sb r2,0x0183(r4)				store was active, now disabled?
0017fd00: 03e00008 jr r31
0017fd04: 00001021 addu r2,r0,r0