Crystal, Dead, Jump, Petrify

From Final Fantasy Hacktics Wiki
Revision as of 04:48, 16 February 2012 by Choto (talk | contribs) (Created page with " Crystal, Dead, Jump, Petrify, and Treasure check: 0018da44: 90830001 lbu r3,0x0001(r4) 0018da48: 340200ff ori r2,r0,0x00ff 0018da4c: 1062000c beq r3,r2,0x0018da80 0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Crystal, Dead, Jump, Petrify, and Treasure check:
0018da44: 90830001 lbu r3,0x0001(r4)		
0018da48: 340200ff ori r2,r0,0x00ff		
0018da4c: 1062000c beq r3,r2,0x0018da80		
0018da50: 34020001 ori r2,r0,0x0001		r2 = 1
0018da54: 90820058 lbu r2,0x0058(r4)		Load 1st set of Current Status
0018da58: 00000000 nop				
0018da5c: 30420064 andi r2,r2,0x0064		
0018da60: 14400007 bne r2,r0,0x0018da80		Branch if the unit has Crystal, Dead, or Jump
0018da64: 34020001 ori r2,r0,0x0001		r2 = 1
0018da68: 90820059 lbu r2,0x0059(r4)		Load 2nd set of Current Status
0018da6c: 00000000 nop				
0018da70: 30420081 andi r2,r2,0x0081		
0018da74: 10400002 beq r2,r0,0x0018da80		Branch if the unit doesn't have Petrify or Treasure
0018da78: 00000000 nop				
0018da7c: 34020001 ori r2,r0,0x0001		r2 = 1
0018da80: 03e00008 jr r31
0018da84: 00000000 nop