Prev: ED9E Up: Map Next: EDD7
EDC4: Game Loop
Used by the routine at GameStart.
One turn: game events, scenic events, a command, then the matching verb.
Run any turn-based threats and relocate scenic events.
GameLoop EDC4 CALL GameEventsProcessor Call GameEventsProcessor.
Run the room's scenic event.
EDC7 CALL Handler_ScenicEvents Call Handler_ScenicEvents.
Read a command and turn it into vocabulary tokens.
EDCA CALL Handler_UserInput Call Handler_UserInput.
Ensure every named object is present here.
EDCD CALL Parser_ProcessItem Call Parser_ProcessItem.
EDD0 JR C,GameLoop Jump to GameLoop if the item isn't present.
Match the command against the vocabulary.
EDD2 CALL Handler_DispatchVerb Call Handler_DispatchVerb.
EDD5 JR GameLoop Jump to GameLoop.
Prev: ED9E Up: Map Next: EDD7