| alien | Routines |
| Prev: 31634 | Up: Map | Next: 31721 |
|
Prints actor name A (0 = ALIEN, 1-7 = crew) by skipping A 255-terminated names in CrewNameTable and drawing the next one one glyph at a time. The second entry point three bytes in is also entered directly with DE pre-set to walk other string lists.
|
||||||||||
| 31690 | LD DE,29516 | CrewNameTable | ||||||||
|
This entry point is used by the routine at 42821.
|
||||||||||
| 31693 | AND A | name 0: draw from the list head | ||||||||
| 31694 | JR Z,31705 | |||||||||
| 31696 | LD B,A | skip A 255-terminated names | ||||||||
| 31697 | LD A,(DE) | |||||||||
| 31698 | INC DE | |||||||||
| 31699 | CP 255 | |||||||||
| 31701 | JR NZ,31697 | |||||||||
| 31703 | DJNZ 31697 | |||||||||
| 31705 | PUSH DE | draw one glyph via DrawSpriteRow | ||||||||
| 31706 | CALL 31369 | |||||||||
| 31709 | POP DE | |||||||||
| 31710 | INC DE | |||||||||
| 31711 | LD HL,31257 | draw pointer right one column | ||||||||
| 31714 | INC (HL) | |||||||||
| 31715 | LD A,(DE) | until the 255 terminator | ||||||||
| 31716 | CP 255 | |||||||||
| 31718 | JR NZ,31705 | |||||||||
| 31720 | RET | |||||||||
| Prev: 31634 | Up: Map | Next: 31721 |