![]() |
Routines |
| Prev: 49896 | Up: Map | Next: 49918 |
|
Used by the routines at Action_ExamineItem, Handler_NotCarryingIt, Handler_FightOpponent, Handler_KillTheWarrior, Action_Open and Action_Close.
Step through a phrase until the object it names is reached.
|
||||
| Parser_SkipToken | 49903 | JR Parser_SkipToken_Next | Start at the first byte of the phrase. | |
| Parser_SkipToken_Loop | 49905 | INC HL | Step to the next byte of the phrase. | |
| Parser_SkipToken_Next | 49906 | LD A,(HL) | Jump back to Parser_SkipToken_Loop when the end of a phrase matches. | |
| 49907 | CP 254 | |||
| 49909 | JR Z,Parser_SkipToken_Loop | |||
| 49911 | CALL IsObjectInCurrentRoom | Jump back to Parser_SkipToken_Loop unless the end of a phrase matches. | ||
| 49914 | JR NZ,Parser_SkipToken_Loop | |||
| 49916 | LD A,(HL) | Fetch the next phrase byte into A. | ||
| 49917 | RET | Return. | ||
| Prev: 49896 | Up: Map | Next: 49918 |