Address Description
8400
The game has just loaded
869F
Give two chances to enter a correct code
86C3
Display the code entry screen
873C
Read the keyboard during code entry
87CA
Display the title screen and play the theme tune
88FC
Start the game
8912
Initialise the current room
898B
Draw the remaining lives
89AD
Main loop (1)
8AEB
Cycle the INK and PAPER colours
8B07
Main loop (2)
8C01
Lose a life
8C4A
Display the game over sequence
8D33
Draw the current room to the screen buffer at 7000
8D6B
Fill the buffer at 5E00 with attribute bytes for the current room
8DC0
Copy a room attribute byte into the buffer at 5E00
8DD3
Move Willy (1)
8ED4
Move Willy (2)
8FBC
Move Willy (3)
90B6
Kill Willy
90C0
Move the rope and guardians in the current room
91BE
Draw the rope, arrows and guardians in the current room
93D1
Draw the items in the current room and collect any that Willy is touching
9456
Draw a sprite
948A
Move Willy into the room to the left
949E
Move Willy into the room to the right
94B0
Move Willy into the room above
94D2
Move Willy into the room below
94F9
Move the conveyor in the current room
9534
Deal with special rooms (Master Bedroom, The Bathroom)
9584
Check whether Willy has reached the toilet
959A
Animate the toilet in The Bathroom
95C8
Check and set the attribute bytes for Willy's sprite in the buffer at 5C00
961E
Check and set the attribute byte for a cell occupied by Willy's sprite
9637
Draw Willy to the screen buffer at 6000
9680
Print a message
9691
Print a single character
96A2
Play the theme tune (Moonlight Sonata)
96C9
Check whether ENTER, 0 or the fire button is being pressed
96DE
Play an intro message sound effect