| alien | Routines |
| Prev: 39687 | Up: Map | Next: 39718 |
|
Arms the alien body animation (sets freeze flag so a single blit occurs next frame), or ends the encounter sequence. If (RoomModeByte)=1 the crew member was killed: jump to 32719 to handle that. Otherwise clears the screen area and returns. This entry point is used by the routines at 36457 and 37490.
|
||||
| 39695 | LD A,(39741) | A = AlienXPhase | ||
| 39698 | AND 128 | test freeze flag | ||
| 39700 | RET NZ | already frozen: do nothing | ||
| 39701 | LD A,128 | |||
| 39703 | LD (39741),A | freeze: AlienXPhase |= 128 | ||
| 39706 | LD A,(31252) | A = encounter outcome byte | ||
| 39709 | CP 1 | crew member killed? | ||
| 39711 | JP Z,32719 | yes: handle death sequence | ||
| 39714 | CALL 40149 | no: clear alien screen area | ||
| 39717 | RET | |||
| Prev: 39687 | Up: Map | Next: 39718 |