| Alien (BUGFIX 1.7) | Routines |
| Prev: 38379 | Up: Map | Next: 38454 |
|
The action-key (key 0) handler for corridor fixtures, dispatched via the RoomDispatchTable tail. Reads the corridor cell under the cursor and dispatches on the CELL VALUE:
|
||||||||||||||||||
| 38398 | CALL 45846 | cancel any pending countdown; | ||||||||||||||||
| 38401 | LD HL,29630 | A = the cursor row — | ||||||||||||||||
| 38404 | LD E,A | index CorridorPosTable by it | ||||||||||||||||
| 38405 | LD D,0 | |||||||||||||||||
| 38407 | ADD HL,DE | |||||||||||||||||
| 38408 | LD A,(HL) | A = cell value under the cursor | ||||||||||||||||
| 38409 | LD (33685),A | |||||||||||||||||
| 38412 | CP 70 | destruct lever (off)? | ||||||||||||||||
| 38414 | JR Z,38454 | |||||||||||||||||
| 38416 | CP 72 | destruct lever (armed)? | ||||||||||||||||
| 38418 | JR Z,38483 | |||||||||||||||||
| 38420 | CP 74 | hypersleep pod? | ||||||||||||||||
| 38422 | JR Z,38529 | |||||||||||||||||
| 38424 | CP 76 | fire? | ||||||||||||||||
| 38426 | JR Z,38546 | |||||||||||||||||
| 38428 | CP 78 | launch console? | ||||||||||||||||
| 38430 | JP Z,40212 | |||||||||||||||||
| 38433 | CP 53 | airlock #1 door (closed)? | ||||||||||||||||
| 38435 | JP Z,38645 | blow it | ||||||||||||||||
| 38438 | CP 54 | airlock #2 door (closed)? | ||||||||||||||||
| 38440 | JP Z,38645 | blow it | ||||||||||||||||
| 38443 | CP 55 | airlock #1 door (blown)? | ||||||||||||||||
| 38445 | JP Z,38588 | seal it | ||||||||||||||||
| 38448 | CP 56 | airlock #2 door (blown)? | ||||||||||||||||
| 38450 | JP Z,38588 | seal it | ||||||||||||||||
| 38453 | RET | anything else: no action | ||||||||||||||||
| Prev: 38379 | Up: Map | Next: 38454 |