![]() |
Routines |
Prev: 45225 | Up: Map | Next: 45323 |
Used by the routines at Action_Examine, Action_Get, 63830, Action_Drop, Action_Throw, 63970, Action_Kill, Action_Free, Action_Drink, Action_Jump, Action_Climb, Action_Enter, Action_Wear, Action_Go, Action_Eat, Action_Capture, Action_Place, Action_Buy, Action_Step, 64587 and Action_Swim.
|
||||||||||||
45278 | PUSH HL | IX=HL (using the stack). | ||||||||||
45279 | POP IX | |||||||||||
45281 | LD L,(IX+0) | L=*IX+0. | ||||||||||
45284 | LD H,(IX+1) | H=*IX+1. | ||||||||||
45287 | PUSH IX | Stash IX, DE and BC on the stack. | ||||||||||
45289 | PUSH DE | |||||||||||
45290 | PUSH BC | |||||||||||
45291 | CALL MatchPhraseTokens | Call MatchPhraseTokens. | ||||||||||
45294 | POP BC | Restore BC, DE and IX from the stack. | ||||||||||
45295 | POP DE | |||||||||||
45296 | POP IX | |||||||||||
45298 | JR NZ,45311 | Jump to 45311 if ?? is not equal to 0. | ||||||||||
45300 | PUSH DE | IX=DE (using the stack). | ||||||||||
45301 | POP IX | |||||||||||
45303 | LD L,(IX+0) | L=*IX+0. | ||||||||||
45306 | LD H,(IX+1) | H=*IX+1. | ||||||||||
45309 | POP DE | Restore DE from the stack. | ||||||||||
45310 | JP (HL) | Jump to *HL. | ||||||||||
45311 | INC IX | |||||||||||
45313 | INC IX | Increment IX by one. | ||||||||||
45315 | INC DE | Increment DE by two. | ||||||||||
45316 | INC DE | |||||||||||
45317 | DEC BC | Decrease BC by one. | ||||||||||
45318 | LD A,B | Jump back to 45281 until BC is zero. | ||||||||||
45319 | OR C | |||||||||||
45320 | JR NZ,45281 | |||||||||||
45322 | RET | Return. |
Prev: 45225 | Up: Map | Next: 45323 |