Page Byte Address Length Description
132 0 8400 32
The game has just loaded
134 159 869F 36
Give two chances to enter a correct code
134 195 86C3 121
Display the code entry screen
135 60 873C 142
Read the keyboard during code entry
135 202 87CA 306
Display the title screen and play the theme tune
136 252 88FC 22
Start the game
137 18 8912 121
Initialise the current room
137 139 898B 34
Draw the remaining lives
137 173 89AD 318
Main loop (1)
138 235 8AEB 28
Cycle the INK and PAPER colours
139 7 8B07 250
Main loop (2)
140 1 8C01 73
Lose a life
140 74 8C4A 233
Display the game over sequence
141 51 8D33 56
Draw the current room to the screen buffer at 7000
141 107 8D6B 85
Fill the buffer at 5E00 with attribute bytes for the current room
141 192 8DC0 19
Copy a room attribute byte into the buffer at 5E00
141 211 8DD3 257
Move Willy (1)
142 212 8ED4 232
Move Willy (2)
143 188 8FBC 250
Move Willy (3)
144 182 90B6 10
Kill Willy
144 192 90C0 254
Move the rope and guardians in the current room
145 190 91BE 509
Draw the rope, arrows and guardians in the current room
147 209 93D1 133
Draw the items in the current room and collect any that Willy is touching
148 86 9456 52
Draw a sprite
148 138 948A 20
Move Willy into the room to the left
148 158 949E 18
Move Willy into the room to the right
148 176 94B0 34
Move Willy into the room above
148 210 94D2 39
Move Willy into the room below
148 249 94F9 59
Move the conveyor in the current room
149 52 9534 80
Deal with special rooms (Master Bedroom, The Bathroom)
149 132 9584 22
Check whether Willy has reached the toilet
149 154 959A 46
Animate the toilet in The Bathroom
149 200 95C8 86
Check and set the attribute bytes for Willy's sprite in the buffer at 5C00
150 30 961E 25
Check and set the attribute byte for a cell occupied by Willy's sprite
150 55 9637 73
Draw Willy to the screen buffer at 6000
150 128 9680 17
Print a message
150 145 9691 17
Print a single character
150 162 96A2 39
Play the theme tune (Moonlight Sonata)
150 201 96C9 21
Check whether ENTER, 0 or the fire button is being pressed
150 222 96DE 22
Play an intro message sound effect