Prev: 32957 Up: Map Next: 32987
32958: Horizontal guardians
The horizontal guardian definitions are copied here by the routine at 34436, and then used by the routines at 36111 and 36266. There are four slots, each one seven bytes long, used to hold the state of the horizontal guardians in the current cavern.
For each horizontal guardian, the seven bytes are used as follows:
Byte Contents
0 Bit 7: animation speed (0=normal, 1=slow)
Bits 0-6: attribute (BRIGHT, PAPER and INK)
1,2 Address of the guardian's location in the attribute buffer at 23552
3 MSB of the address of the guardian's location in the screen buffer at 24576
4 Animation frame
5 LSB of the address of the leftmost point of the guardian's path in the attribute buffer
6 LSB of the address of the rightmost point of the guardian's path in the attribute buffer
32958 DEFS 7 Horizontal guardian 1
32965 DEFS 7 Horizontal guardian 2
32972 DEFS 7 Horizontal guardian 3
32979 DEFS 7 Horizontal guardian 4
32986 DEFB 0 Terminator (set to 255)
Prev: 32957 Up: Map Next: 32987