Prev: 41416 Up: Map Next: 41443
41424: Action: Match A Verb In The Table
Matches the current action against the five verb bytes at 41483 and returns when one of them matches.
Action_MatchAVerbInTheTable 41424 PUSH HL Count 5 passes.
41425 PUSH BC
41426 LD B,5
41428 LD HL,41483 Point HL at table: Verb List.
41431 LD A,(46823) Read *CurrentAction.
Action_MatchAVerbInTheTable_TestTheVerb 41434 CP (HL) Jump to Action_MatchAVerbInTheTable_ReturnFromTheVerbTable if the current action is the verb byte.
41435 JR Z,Action_MatchAVerbInTheTable_ReturnFromTheVerbTable
41437 INC HL Step to the next byte in display exits.
41438 DJNZ Action_MatchAVerbInTheTable_TestTheVerb Loop back to Action_MatchAVerbInTheTable_TestTheVerb until 5 runs out.
Action_MatchAVerbInTheTable_ReturnFromTheVerbTable 41440 POP BC Restore BC and HL from the stack.
41441 POP HL
41442 RET Return.
Prev: 41416 Up: Map Next: 41443