0 |
32512 |
84 |
Screen refresh buffer (see routine at 25248)
|
84 |
32596 |
6 |
Buffer for Blue room blackboard |
90 |
32602 |
6 |
Buffer for Yellow room blackboard |
96 |
32608 |
6 |
Buffer for blackboard in top floor classroom of girls' skool |
102 |
32614 |
6 |
Buffer for Science lab blackboard |
108 |
32620 |
6 |
Buffer for blackboard in middle floor classroom of girls' skool |
114 |
32626 |
14 |
Unused |
128 |
32640 |
1 |
Bit set |
Meaning |
0 |
Not used (always reset) |
1 |
MR WACKER is looking for ERIC to expel him
(see 62770)
|
2 |
MR WACKER is looking for the truant ERIC
(see 62668)
|
3 |
EINSTEIN is talking |
4 |
|
5 |
MISS TAKE is chasing ERIC |
6 |
ERIC should be in class, dinner or assembly |
7 |
ERIC has been chased or given lines for being late for class |
|
129 |
32641 |
1 |
Time/event flags
(see routine at 31893)
|
130 |
32642 |
6 |
Unused |
136 |
32648 |
2 |
Teacher message number + 0 (see routine at 32433)
|
138 |
32650 |
2 |
Message number of character receiving lines etc. + 0.
See routines at 29716,
29896 and
32433
|
140 |
32652 |
2 |
Message number of mountain, animal, king (lessons) or verb (assembly) + 0
|
142 |
32654 |
2 |
Message number of country, habitat, year (lessons) or noun (assembly) + 0
|
156 |
32668 |
4 |
Bike combination number |
160 |
32672 |
4 |
Science lab storeroom key combination number |
164 |
32676 |
4 |
Copy of bike combination number with bits 7 set if necessary
(see 30034)
|
168 |
32680 |
4 |
Copy of storeroom key combination number with bits 7 set if necessary
(see 30034)
|
172 |
32684 |
43 |
Unused |
215 |
32727 |
2 |
See routines at 24133,
57637 and
64460 (for example)
|
217 |
32729 |
1 |
See routine at 63210 |
218 |
32730 |
1 |
Location of desk containing water pistol (see routine at
62178)
|
219 |
32731 |
1 |
Location of desk containing stinkbombs (see routine at
62178)
|
220 |
32732 |
1 |
See routine at 62178 |
221 |
32733 |
1 |
See routine at 62094
|
222 |
32734 |
1 |
255 if in demo mode, 0 otherwise |
223 |
32735 |
1 |
Current lesson number (192-255) |
224 |
32736 |
1 |
Lesson identifier (room in bits 0-3, teacher in bits 4-7) |
225 |
32737 |
1 |
Number of mice caught |
226 |
32738 |
1 |
Number of kisses left
(see routine at 24348)
|
227 |
32739 |
2 |
Lesson time counter |
229 |
32741 |
2 |
Score |
231 |
32743 |
2 |
Number of lines |
233 |
32745 |
2 |
Hi-score |
235 |
32747 |
1 |
Inventory flags: set = got, reset = haven't
Bit(s) |
Item |
0 |
Safe key |
1 |
Store key |
2 |
Frog |
3 |
Water pistol (with water if bit 4 reset) |
4 |
Water pistol with sherry |
5 |
3 stinkbombs |
6 |
2 stinkbombs |
5 |
1 stinkbomb |
|
236 |
32748 |
1 |
0 if using keyboard, 1 if using Kempston |
237 |
32749 |
1 |
Used by routine at 63405 if bit 1
is set at 32763 to decide how to deal with ERIC:
Bit set |
Meaning |
Routine |
0 |
ERIC is riding the bike |
29278 |
1 |
ERIC is standing on a plant/plant pot |
64316 |
2 |
ERIC is stepping off plant/plant pot |
64259 |
3 |
ERIC is falling and will land on feet |
64416 |
4 |
ERIC is falling and will not land on feet |
64460 |
5 |
ERIC has stepped out of top floor window |
23859 |
6 |
ERIC is falling |
23843 |
7 |
ERIC is standing on the saddle of the bike |
29462 |
|
238 |
32750 |
1 |
Used by routine at 29278 to store
keypress table offset of last key pressed while
riding bike
|
239 |
32751 |
1 |
Used by routine at 29278
|
240 |
32752 |
1 |
Used by routine at 29278
to measure time between relevant keypresses when riding bike
|
241 |
32753 |
1 |
Keypress table offset of last key pressed
(even number from 80 to 120)
|
242 |
32754 |
1 |
See routines at 63210
and 28216
|
243 |
32755 |
1 |
Delay counter used by routines controlling ERIC.
See, for example, 64316
|
244 |
32756 |
1 |
Doors status flags (see routine at 28736):
set = open, reset = closed
Bit |
Door/window |
0 |
Left study door |
1 |
Right study door |
2 |
Science lab storeroom door |
3 |
Boys' skool door |
4 |
Skool gate |
5 |
Drinks cabinet door |
6 |
Top floor window |
7 |
Middle floor window |
|
245 |
32757 |
1 |
See routine at 32062
|
246 |
32758 |
1 |
See routine at 32032 |
247 |
32759 |
1 |
See routine at 32062
|
248 |
32760 |
1 |
LSB of address of byte of SRB corresponding to the lip of a speech bubble
(0 if no one's speaking)
|
249 |
32761 |
1 |
The bit set at this byte corresponds to the bit of the SRB byte (referred to by
32760 above) which corresponds to the lip of the speech bubble
|
250 |
32762 |
1 |
Column of play area that was at far left of screen the last time the routine
at 26849 (update SRB for speech bubble)
was called
|
251 |
32763 |
1 |
Used by routine at 63405 to decide
how to deal with ERIC:
Bit set |
Meaning |
Routine |
0 |
ERIC is jumping |
23907 |
1 |
Examine byte at 32749 |
|
2 |
ERIC is sitting/lying down |
62178 |
3 |
ERIC is bending over, dropping stinkbomb etc. |
57669 |
4 |
ERIC is writing on a blackboard |
24175 |
5 |
ERIC is firing or hitting |
24237 |
6 |
MR WACKER is expelling ERIC |
|
7 |
ERIC has been knocked over |
62094 |
|
252 |
32764 |
1 |
Number of character just moved
(183-214: see 25296)
|
253 |
32765 |
2 |
Used by random number routine at
25233
|
255 |
32767 |
1 |
Column of play area at far left of screen (0-160) |