![]() |
Routines |
| Prev: 53194 | Up: Map | Next: 53317 |
|
B contains the room the pathfinding routine is currently looking at, and A contains a value that denotes which direction this room lies in relative to Drutt's current room.
Used by the routine at 53194.
|
||||||||||||
| 53309 | LD (HL),A | Store direction index | ||||||||||
| 53310 | INC HL | Advance by one byte | ||||||||||
| 53311 | LD A,B | Store index of room being examined... | ||||||||||
| 53312 | LD (HL),A | ... | ||||||||||
| 53313 | INC HL | Advance by one byte | ||||||||||
| 53314 | LD (HL),255 | Store 255 (end marker) | ||||||||||
| 53316 | RET | Return | ||||||||||
| Prev: 53194 | Up: Map | Next: 53317 |