| Address
| Description
|
| 20640 |
Clear addresses 54784 to 54811 |
| 20665 |
Print message |
| 20709 |
Populate row of screen with machine code |
| 20896 |
Change game character's name |
| 20956 |
Guide character onto catwalk or off it |
| 21152 |
Display game characters, change names etc. |
| 21408 |
Do POKEs specified by table at 20650 |
| 21419 |
Make a walking sound effect |
| 21425 |
Clear screen, select input device etc. (1) |
| 21664 |
Clear screen, select input device etc. (2) |
| 21746 |
Prepare addresses 23808 to 24575 |
| 21920 |
Count down from 9 to 0 |
| 23808 |
Deal with ERIC if he's falling (2) |
| 23843 |
Deal with ERIC's descent from saddle of bike |
| 23859 |
Deal with ERIC's descent from top floor window |
| 23863 |
'T' pressed - throw away water pistol |
| 23887 |
'J' pressed - jump |
| 23907 |
Deal with ERIC while he's jumping |
| 24028 |
ENTER pressed while writing on board |
| 24133 |
'W' pressed - write on board |
| 24175 |
Deal with ERIC when he's writing on a board |
| 24237 |
Deal with ERIC when he's firing, hitting or kissing |
| 24247 |
Signal that ERIC is firing, hitting, or kissing |
| 24263 |
'H' pressed - hit |
| 24296 |
'F' pressed - fire catapult |
| 24328 |
Make HAYLEY hit ERIC |
| 24348 |
'K' pressed - kiss |
| 24477 |
Play tune |
| 24576 |
Create UDG of play area |
| 24684 |
Print a character square |
| 24880 |
Update SRB for new animatory state and location of character |
| 25012 |
Update SRB for current animatory state and location of character |
| 25026 |
Scroll screen left |
| 25080 |
Scroll screen right |
| 25188 |
Copy two bytes from command list into character's buffer |
| 25213 |
Collect one byte from command list |
| 25233 |
Return a random number in A |
| 25248 |
Update display area |
| 25296 |
Move the characters |
| 25484 |
Move to next instruction in command list |
| 25488 |
Blank out byte 10 of character's buffer |
| 25492 |
Blank out byte 18 of character's buffer |
| 25503 |
Redirect control of character to another routine temporarily |
| 25520 |
Put address in BC into character buffer and jump to it |
| 25525 |
Place return address into bytes 9 and 10 of character's buffer |
| 25534 |
Determine ERIC's y-coordinate |
| 25554 |
Return play area region identifier in A |
| 25581 |
Guide character to (intermediate) destination |
| 25656 |
Make character walk up stairs |
| 25677 |
Make character walk down stairs |
| 25700 |
Go to... |
| 25815 |
Go to a place at random |
| 25843 |
Compare character's current coordinates with destination |
| 25944 |
Make teacher find ERIC |
| 26068 |
Check if character is beside a chair |
| 26136 |
Check if any character is sitting in a chair |
| 26175 |
Knock character out of chair if necessary |
| 26224 |
Control character when he's knocked out of his chair |
| 26239 |
Control character after he's been knocked out of a chair |
| 26263 |
Control character looking for a chair |
| 26304 |
Make character find a seat and sit down |
| 26318 |
Return message character code in A |
| 26380 |
Update SRB for blackboard |
| 26453 |
Collect information about a blackboard |
| 26496 |
Move bike if it's obstructing boys' skool door or the gate |
| 26513 |
Make character write one letter on a blackboard |
| 26639 |
Wipe blackboard |
| 26752 |
Make character write on board |
| 26849 |
Update SRB so that speech bubbles are not corrupted |
| 26910 |
Update SRB to remove speech bubble |
| 26941 |
Print speech bubble UDG |
| 26958 |
Print speech bubble |
| 27110 |
Place character graphic in message buffer |
| 27144 |
Make character speak |
| 27276 |
Save area of screen to be overwritten by lines message |
| 27364 |
Transfer message buffer to screen |
| 27419 |
Prepare one line of message in buffer |
| 27462 |
Print message box |
| 27497 |
Print a number (score/lines/hi-score) |
| 27572 |
Derive decimal digits of value in DE |
| 27672 |
Alter UDG references in play area for door, window, cup or bike |
| 27804 |
Check if any characters were hit by fist |
| 27820 |
Check if any characters are in front of fist or pellet |
| 27860 |
Prepare doors, windows, cups and bike for new game |
| 27886 |
Get limits of range within which character can be seen by teacher |
| 27904 |
Control kid during assembly |
| 27954 |
Check if characters are in within visible range of another |
| 28002 |
Check for adults near ERIC |
| 28029 |
Find any main kids near teacher |
| 28067 |
Check whether location is on the assembly hall stage |
| 28085 |
Determine which floor ERIC's on (if he's not standing directly on one) |
| 28114 |
Put ERIC midstride |
| 28160 |
Update SRB for ERIC and scroll screen if necessary |
| 28216 |
Turn ERIC round |
| 28240 |
Check whether character is on a staircase |
| 28305 |
Deal with ERIC when he's stepped off the stage |
| 28315 |
Check for walls and closed doors in front of ERIC |
| 28436 |
'P' pressed - right |
| 28460 |
'O' pressed - left |
| 28484 |
'Q' pressed - up |
| 28576 |
'A' pressed - down |
| 28658 |
Collect information about blackboard |
| 28672 |
Check for walls, closed doors and ALBERT in front of ERIC or the bike |
| 28736 |
Open/close a door or window |
| 28767 |
Check for closed door in front of a character |
| 28814 |
Check for closed doors in character's path and open if allowed |
| 28855 |
Make character open or close door |
| 28877 |
Close any temporarily open doors if necessary |
| 28952 |
Add to score and make sound of mouse being caught |
| 28978 |
Make girl stop jumping |
| 28992 |
'D' pressed - drop stinkbomb |
| 29012 |
Make walking sound effect |
| 29030 |
Prevent ERIC from getting past ALBERT if necessary |
| 29052 |
Open or close door |
| 29101 |
Move bike if it's obstructing the skool gate |
| 29118 |
Collect code of last key pressed |
| 29178 |
Collect offset from keypress table |
| 29194 |
Control bike when ERIC's not sitting on the saddle |
| 29278 |
Deal with ERIC when he's riding the bike |
| 29462 |
Deal with ERIC when he's standing on the saddle of the bike |
| 29568 |
Place frog in ERIC's inventory |
| 29574 |
'M' pressed - mount bike |
| 29613 |
Print score, hi-score or lines total |
| 29621 |
Add to score and print it |
| 29643 |
Add to lines and print them |
| 29681 |
Open the science lab storeroom door if ERIC has the key |
| 29696 |
Calculate coordinates for printing message box |
| 29716 |
Make teacher give lines |
| 29836 |
Make sound effect |
| 29856 |
Check if teachers were hit by pellet/water/sherry/conker |
| 29896 |
Control descent of water, sherry or conker |
| 30102 |
Deal with character who has been knocked over |
| 30205 |
Check if pellet has hit a cup |
| 30229 |
Check if pellet has hit water/sherry/frog-filled cup |
| 30292 |
Check for walls, closed doors and closed windows in path of mouse/frog/pellet |
| 30380 |
Control flight of catapult pellet |
| 30534 |
Place stack return address into character's buffer |
| 30543 |
Check whether character is on the top, middle or bottom floor |
| 30555 |
Make BOY WANDER fire now and then |
| 30643 |
Deal with BOY WANDER when he is firing |
| 30664 |
Check if any characters were or can be hit by ERIC's or ANGELFACE's fist |
| 30706 |
Make ANGELFACE hit now and then |
| 30739 |
Deal with ANGELFACE when he is hitting |
| 30786 |
Knock down kid hit by pellet |
| 30804 |
Deal with frog when knocked out of cup |
| 30906 |
Move frog |
| 31078 |
Control female character while she's jumping |
| 31092 |
Make female character start jumping |
| 31128 |
Make female character jump up or down or remain on chair |
| 31150 |
Make any girls near a mouse start jumping |
| 31254 |
Control released mouse |
| 31462 |
Release some mice (if possible) |
| 31502 |
Prepare buffers for released mice |
| 31573 |
Make ERIC catch a mouse or frog (if present) |
| 31723 |
Update SRB (and scroll screen if necessary when handling ERIC) |
| 31733 |
Make ERIC catch the frog (if possible) |
| 31746 |
Print inventory |
| 31844 |
Print inventory item |
| 31861 |
Collect bit mask and buffer address for event identifier |
| 31887 |
Check for arrival of time or occurrence of event |
| 31893 |
Signal that a time has arrived or an event has happened |
| 31905 |
Signal that a time or event has come and gone |
| 31915 |
Check whether character should continue walkabout |
| 31952 |
Walk up and down until... |
| 31969 |
Walk up and down a few times or until... |
| 32000 |
Get location identifier for ERIC |
| 32021 |
Check if ERIC is where he should be |
| 32032 |
Make teachers give ERIC lines for certain things (1) |
| 32054 |
Make MR WACKER find the truant ERIC |
| 32062 |
Make teachers give ERIC lines for certain things (2) |
| 32373 |
Make MISS TAKE chase ERIC (1) |
| 32379 |
Make MISS TAKE chase ERIC (2) |
| 32433 |
Print lesson and ring bell |
| 32497 |
Make BOY WANDER write on board |
| 53796 |
Make character do nothing |
| 57637 |
'C' pressed - catch mouse/frog |
| 57669 |
Deal with ERIC when he's bending over, dropping stinkbomb etc. |
| 57893 |
'R' pressed - release mouse |
| 57910 |
Prepare buffer 213 for use if available |
| 57935 |
Check if buffer 214 is being used |
| 61440 |
Control EINSTEIN during class |
| 61463 |
Make EINSTEIN talk |
| 61487 |
Give lines to EINSTEIN or the kid he grassed up |
| 61512 |
Check if ERIC and EINSTEIN are in class |
| 61533 |
Make teacher tell class what to do |
| 61555 |
Repeat command list or tell kids to sit down |
| 61595 |
Make teacher find ERIC |
| 61624 |
Restart command list |
| 61631 |
Make teacher find ERIC during dinner if necessary |
| 61658 |
Control teacher during assembly |
| 61696 |
Make teacher conduct class |
| 62032 |
Make MR WACKER put kids in detention |
| 62094 |
Deal with ERIC when he's been knocked over |
| 62178 |
Deal with ERIC when he's sitting or lying down |
| 62423 |
'S' pressed - sit (1) |
| 62438 |
Make ERIC sit in a chair (or on the floor) |
| 62460 |
'S' pressed - sit (2) |
| 62483 |
Check for keypresses during game (or simulate them in demo mode) |
| 62560 |
Make next address be start of command list |
| 62572 |
Restart command list unless boys' skool door is closed |
| 62599 |
Move along 10 places in command list if door or gate is closed |
| 62620 |
Wait till all boys/girls have gone past gate or door |
| 62668 |
Make ALBERT keep an eye out for ERIC during lessons |
| 62770 |
Set WACKER on his way to expelling ERIC |
| 62794 |
Make MR WACKER find the truant ERIC |
| 62815 |
Make WACKER find and expel ERIC |
| 62910 |
Prepare for a new game |
| 63156 |
Routine called from main loop to do various things |
| 63166 |
Start new game if key was pressed while ERIC's floored in demo mode |
| 63189 |
Start a new game or enter demo mode |
| 63210 |
Main loop |
| 63309 |
Change lesson |
| 63405 |
Deal with ERIC |
| 63447 |
Place routine address into bytes 23 and 24 of buffer |
| 63455 |
Make ANGELFACE find and hit HAYLEY |
| 63492 |
Make ANGELFACE/BOY WANDER hit/fire now and then |
| 63501 |
Restart command list unless it's time for assembly |
| 63512 |
Scroll display file one character square to the left or right |
| 63553 |
Scroll display file one character square to the left |
| 63561 |
Scroll display file one character square to the right |
| 63576 |
POKE 32640 TO 32647,0 |
| 63586 |
Deal with stinkbomb once dropped |
| 63801 |
Deal with MR WACKER's journey to a window |
| 63861 |
Prepare buffer for catapult pellet and make sound effect |
| 63878 |
Check for presence of plant pot |
| 63898 |
'G' pressed - fire water pistol |
| 63915 |
Control water from pistol (1) |
| 64057 |
Control water from pistol (2) |
| 64077 |
Deal with water from water pistol at certain phases |
| 64242 |
Begin ERIC's descent from plant, plant pot, or assembly hall stage |
| 64259 |
Deal with ERIC when stepping off plant, plant pot or assembly hall stage |
| 64316 |
Deal with ERIC when standing on plant or plant pot |
| 64416 |
Deal with ERIC when falling to floor to land on feet |
| 64460 |
Deal with ERIC if he's falling (1) |