| Alien (BUGFIX 1.7) | Routines |
| Prev: 34920 | Up: Map | Next: 34967 |
|
Cursor-move hook, called from HandleInput's cursor handlers. Erases the blinking candidate-room box (marker channel B), then, in the room view only, re-places it if the row now under the cursor is a room (an exit row, value < 34) that lies on the deck currently shown in the map pane.
|
||||
| 34933 | CALL 35146 | erase/freeze marker channel B | ||
| 34936 | LD A,(31252) | room view (mode 1)? | ||
| 34939 | CP 1 | |||
| 34941 | RET NZ | no: done | ||
| 34942 | LD A,(33685) | cell under the cursor a room id? | ||
| 34945 | CP 34 | (rooms are 0-33) | ||
| 34947 | RET NC | no: done | ||
| 34948 | LD E,A | |||
| 34949 | LD D,0 | |||
| 34951 | LD HL,29905 | RoomTypeTable[room] | ||
| 34954 | ADD HL,DE | |||
| 34955 | LD A,(31243) | on the deck currently displayed? | ||
| 34958 | CP (HL) | |||
| 34959 | RET NZ | no: done | ||
| 34960 | LD A,(33685) | yes: blink that room's indicator box | ||
| 34963 | CALL 35128 | via PlaceRoomMarkerB | ||
| 34966 | RET | |||
| Prev: 34920 | Up: Map | Next: 34967 |