Routines |
Prev: CB75 | Up: Map | Next: CB85 |
Returns the route with index A in DE.
Used by the routines at get_target and target_reached.
|
||||||||||||
get_route | CB79 | ADD A,A | Point DE at routes[A] | |||||||||
CB7A | LD E,A | |||||||||||
CB7B | LD D,$00 | |||||||||||
CB7D | LD HL,$7738 | |||||||||||
CB80 | ADD HL,DE | |||||||||||
CB81 | LD E,(HL) | |||||||||||
CB82 | INC HL | |||||||||||
CB83 | LD D,(HL) | |||||||||||
CB84 | RET | Return |
Prev: CB75 | Up: Map | Next: CB85 |