Infinite lines
To stop MR WACKER expelling ERIC after 10000 lines:
No lines
To prevent teachers from giving lines to ERIC or anyone else:
However, that won't prevent MR WACKER from giving ERIC 2000 lines during the 'special' playtimes (if EINSTEIN tells WACKER what ERIC's up to, or WACKER finds the pea-shooter on the fire escape). For that you need:
One harmless side-effect of this POKE is that the lines total will be printed as '00' instead of '0' when WACKER delivers his 'TAKE 2000 LINES...' speech.
Lines limit
To change the lines limit from 10000 to 10N:
To change the expulsion message MR WACKER delivers (at
61926) accordingly, you will need to POKE the ASCII codes of the digits of the new lines limit into addresses 61940-61944.
For example, to change the lines limit to 20000 and adjust the expulsion message to match:
POKE 63935,7: POKE 63943,208: POKE 61940,50
Lesson length
Normally the lesson clock (at
32759) counts down from 5376 (21*256) to 0, at which point the bell rings. To make the lesson clock count down from N*256 to 0 instead:
If you are extending the lesson length, it's a good idea to also adjust the time at which teachers will tell the kids to sit down. Normally this is 3840 (15*256); to change it to M*256 (M=N-6 is a good choice):
If, on the other hand, you are shortening the lesson, it's a good idea to also adjust the time at which teachers will start giving lines to ERIC for being in the wrong classroom. Normally this is 4864 (19*256); to change it to G*256 (G=N-2 is a good choice):
Ring the bell
To put ERIC in charge of ringing the bell:
POKE
26700,123 (points 'L' at
26747)
POKE 26748,230: POKE 26749,102 (sets the keypress-handling routine for 'L' to
26342)
Now whenever 'L' (upper case) is pressed, the bell will ring and the next lesson will begin (which could prove handy if ERIC is found playing truant, cannot be bothered to hide from ANGELFACE when he has mumps, or simply cannot wait any longer for playtime).
(Note that POKEing 26748 and 26749 corrupts the entries for '|' and '}' in the keypress offset table, so don't press those keys while playing the game.)
Always run
Normally 'q', 'a', 'o' and 'p' make ERIC walk, and 'Q', 'A', 'O' and 'P' make him run. To make ERIC always run, regardless of whether SHIFT is held down:
Or, to make ERIC walk when SHIFT is held down and run when it isn't:
Super catapult
To extend the range of the catapult from 13 to N:
However, this doesn't extend the 'hit zone' of the pellet (the portion of its flight where it can hit something). To change the hit zone from the last 7 stages of its flight to the last M stages (M=N-6 is a good choice):
Walk through walls
To enable ERIC to walk through specific walls:
POKE
26233,0 (classroom walls, from the right side)
POKE
26328,0 (classroom walls, from the left side)
POKE
26320,0 (wall at the top of the right-hand staircase on the middle floor)