Address Description
33792
The game has just loaded
34463
Give two chances to enter a correct code
34499
Display the code entry screen
34620
Read the keyboard during code entry
34762
Display the title screen and play the theme tune
35068
Start the game
35090
Initialise the current room
35211
Draw the remaining lives
35245
Main loop (1)
35563
Cycle the INK and PAPER colours
35591
Main loop (2)
35841
Lose a life
35914
Display the game over sequence
36147
Draw the current room to the screen buffer at 28672
36203
Fill the buffer at 24064 with attribute bytes for the current room
36288
Copy a room attribute byte into the buffer at 24064
36307
Move Willy (1)
36564
Move Willy (2)
36796
Move Willy (3)
37046
Kill Willy
37056
Move the rope and guardians in the current room
37310
Draw the rope, arrows and guardians in the current room
37841
Draw the items in the current room and collect any that Willy is touching
37974
Draw a sprite
38026
Move Willy into the room to the left
38046
Move Willy into the room to the right
38064
Move Willy into the room above
38098
Move Willy into the room below
38137
Move the conveyor in the current room
38196
Deal with special rooms (Master Bedroom, The Bathroom)
38276
Check whether Willy has reached the toilet
38298
Animate the toilet in The Bathroom
38344
Check and set the attribute bytes for Willy's sprite in the buffer at 23552
38430
Check and set the attribute byte for a cell occupied by Willy's sprite
38455
Draw Willy to the screen buffer at 24576
38528
Print a message
38545
Print a single character
38562
Play the theme tune (Moonlight Sonata)
38601
Check whether ENTER, 0 or the fire button is being pressed
38622
Play an intro message sound effect