Prev: F383 Up: Map Next: F3AC
F39B: Parser: Shift Second Token To Verb
Some commands like "GO" and "SWIM" are just treated like aliases, where the second token (the direction) is shunted down to being the first token, and the second token is then just erased. Hence, using "GO NORTH" is just the same as typing "NORTH".
Parser_ShiftSecondTokenToVerb F39B LD IX,$A824 Load UserInput_VerbToken into IX.
F39F LD A,(IX+$01) Fetch *IX+01 (UserInput_SecondToken) and write it to UserInput_VerbToken.
F3A2 LD (IX+$00),A
F3A5 LD (IX+$01),$FF Write a termination character (FF) to UserInput_SecondToken.
F3A9 JP Handler_MatchVerb Jump to Handler_MatchVerb.
Prev: F383 Up: Map Next: F3AC