Prev: 59806 Up: Map Next: 59829
59809: Game Loop
Used by the routine at GameStart.
One turn: run events, read a command, and dispatch its verb.
GameLoop 59809 CALL ProcessGameEvents Call ProcessGameEvents to advance the turn-based events.
59812 XOR A Clear the turn scratch flag (8 marks an attack).
59813 LD (44664),A
59816 CALL HandlerUserInput Call HandlerUserInput to read the next command.
59819 CALL ParserProcessItem Call ParserProcessItem to apply the command to the item.
59822 JR C,GameLoop Start the next turn without running the verb if a named item isn't here (carry set by ParserProcessItem).
59824 CALL HandlerMatchVerb Call HandlerMatchVerb to run the verb.
59827 JR GameLoop Take another turn at GameLoop.
View the equivalent code in;
Prev: 59806 Up: Map Next: 59829