DOOM CHURCH for Sinclair Spectrum
by Mark Bristow
from Your Computer, January 1984


You play the part of Charlie the church carpenter. The idea is to
build the church tower before the "thing" on the roof moves across to
the end, and also without being hit by the demolition ball.

To do this you must collect a ladder from the right and take it to the
scaffolding on the left. When you have built up all four ladders you
must go to the top and release the tower.

Once this is done the "thing" on the roof stops moving, but you still
have to place the clock in the right place on the top of the church.
This is simply done by pressing 0 when you think it is over the right
place on the church.

Use the graphics machine-code loader to enter the data for the user
graphics, then type in the main program. Save the main program and
code for graphics by entering GO TO 9000. Then rewind the tape and
press play to verify it.

In lines 220, 1050, 2040 and 5000 the inverse letters should simply be
typed in as normal letters, but the normal looking letters should be
typed in as the graphics of those letters.


Program notes

Lines 10 to 75 print initial screen display.
Line 80 sets up variables.
Line 90 waits for keypress and sets up loop for number of ladders.
Line 100 prints new position of Charlie and demolition ball.
Line 102 checks if Charlie has been hit.
Line 103 checks if Charlie has climbed up to clock.
Lines 105 to 130 move demolition ball.
Line 140 picks up ladder, then decreases loop containing number of
ladders.
Line 150 puts ladder down if you are in the right place and if you are
carrying a ladder.
Line 200 moves Charlie horizontally depending on keypress.
Line 210 moves Charlie vertically depending on keypress and where he is.
Line 215 moves the thing on the church across depending on time.
Line 220 increases time and checks to see if time is up.
Line 230 prints thing on the church.
Line 490 prints thing in one of the windows of the church.
Line 500 GO TO 100
Lines 1000 to 1050 you are hanged.
Lines 2000 to 2030 move clock across checks and to see if 0 is pressed
to release clock.
Line 2040 checks if clock is in right place.
Lines 2050 to 2080 church tower built.
Lines 5000 to 5050 give final assessment and ask for another go.
Lines 9000 to 9010 Saves and Verifies a copy of Doom Church.
Line 9050 where program auto-Runs from.

