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 GameEventsProcessor Call GameEventsProcessor to advance the turn-based events.
59812 XOR A Clear the turn scratch flag (8 marks an attack).
59813 LD (44664),A
59816 CALL Handler_UserInput Call Handler_UserInput 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 Handler_DispatchVerb Call Handler_DispatchVerb to run the verb.
59827 JR GameLoop Take another turn at GameLoop.
Prev: 59806 Up: Map Next: 59829