Routines |
Prev: 54907 | Up: Map | Next: 54960 |
Used by the routine at 54865.
|
||||
Warlocks materialize in levels 1-7 (see table at 50852). On level 9 (High Temple of Chaos), DEMONS materialize in the rooms instead.
|
||||
54948 | LD A,(60146) | Flag indicating a warlock, or demon, has been generated in the room (1 = generated/present, 0 = not generated/present) | ||
54951 | CP 0 | |||
54953 | JR NZ,54991 | If a demon has already been generated, don't generate a new one, though if Maroc leaves and re-enters a room one can be generated again. | ||
54955 | LD A,12 | Creature type = 12 (demon) | ||
54957 | CALL 57706 | Set up creature data (e.g. screen position) in data buffer at 60227 |
Prev: 54907 | Up: Map | Next: 54960 |