Prev: 24576 Up: Map Next: 25167
25129: Main loop
The routine at 24576 continues here.
25129 CALL 25167 Read the keyboard and change Horace's sprite accordingly.
25132 CALL 25399 Move Horace and the guards.
25135 CALL 25886 Redraw the tiles behind Horace and the guards if they've moved.
25138 CALL 26017 Add to the score if Horace has eaten something.
25141 CALL 26146 Draw the guards.
25144 CALL 26276 Check whether Horace has run into a guard.
25147 CALL 26657 Draw Horace.
25150 CALL 26730 Draw the bell and check whether Horace has sounded the alarm.
25153 CALL 26887 Check whether a guard should drop his lunch.
25156 CALL 26988 Decrement the guard countdown timers.
25159 CALL 27022 Toggle the sound on/off if 'T' is pressed.
25162 CALL 27044 Ring the bell if necessary.
25165 JR 25129 Jump back to the start of the main loop.
Prev: 24576 Up: Map Next: 25167