![]() |
Routines |
| Prev: 42911 | Up: Map | Next: 42984 |
|
||||||||||||
| HandlerOrchidPosition | 42964 | PUSH BC | Stash BC on the stack. | |||||||||
|
Fetch the Room ID from the layout map.
|
||||||||||||
| 42965 | LD L,(IX+1) | Create an offset with IX+1 (current location). | ||||||||||
| 42968 | LD H,0 | |||||||||||
| 42970 | LD BC,24678 | HL=Layout + offset. | ||||||||||
| 42973 | ADD HL,BC | |||||||||||
|
Fetch the orchid position from the orchid position table.
|
||||||||||||
| 42974 | LD L,(HL) | Create an offset. | ||||||||||
| 42975 | LD H,0 | |||||||||||
| 42977 | ADD HL,HL | HL=TableOrchidPositions + (offset * 2). | ||||||||||
| 42978 | LD BC,54950 | |||||||||||
| 42981 | ADD HL,BC | |||||||||||
| 42982 | POP BC | Restore BC from the stack. | ||||||||||
| 42983 | RET | Return. | ||||||||||
| Prev: 42911 | Up: Map | Next: 42984 |