Prev: 54948 Up: Map Next: 54983
54960: Initialize the appearance of a warlock or a demon
Follows previous routine for demon at 54948, or jump from end of warlock initialization at 54945.
54960 LD A,%10000101 Set:
  • bit 0 - creature is on-screen
  • bit 2 - creature graphic will need erasing
  • bit 7 - indicates trigger for warlock/demon appearance after the materialization routine has finished
54962 LD (60238),A Store as creature's properties byte
54965 LD A,1
54967 LD (60240),A Graphic frame number offset (= no offset - start at animation frame 1)
54970 LD (60146),A Set the warlock/demon appearance flag to 1 (to stop any more being generated)
54973 LD A,91 Graphic number for start of materialization effect (offset for graphics address pointer 39031)
54975 CALL 57538 Set up graphics
If Maroc enters a room containing a demon, Maroc's freeze spell is negated. This is possibly to make the High Temple of Chaos slightly more challenging when navigating the final few rooms.
The materialization of a warlock in a room also negates Maroc's freeze spell.
54978 LD A,0 Set the FREEZE spell timer to zero
54980 LD (60572),A
Prev: 54948 Up: Map Next: 54983