|  | Routines | 
| Prev: 39971 | Up: Map | Next: 40008 | 
| 
Used by the routine at 39776.
 
 | ||||||||||
| 39998 | LD (HL),0 | Set creature's mode to "returning home" | ||||||||
| 40000 | LD (IY+1),2 | Set creature's depth to 2 | ||||||||
| 40004 | LD A,122 | Move creature one step closer to x (left) = 113, y (top) > 122... | ||||||||
| 40006 | JR 40010 | ...and return | ||||||||
| Prev: 39971 | Up: Map | Next: 40008 |