![]() |
Routines |
Prev: B0A9 | Up: Map | Next: B10B |
Used by the routines at Action_Examine, Action_Get, F956, Action_Drop, Action_Throw, F9E2, 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, FC4B and Action_Swim.
|
||||||||||||
B0DE | PUSH HL | IX=HL (using the stack). | ||||||||||
B0DF | POP IX | |||||||||||
B0E1 | LD L,(IX+$00) | L=*IX+00. | ||||||||||
B0E4 | LD H,(IX+$01) | H=*IX+01. | ||||||||||
B0E7 | PUSH IX | Stash IX, DE and BC on the stack. | ||||||||||
B0E9 | PUSH DE | |||||||||||
B0EA | PUSH BC | |||||||||||
B0EB | CALL MatchPhraseTokens | Call MatchPhraseTokens. | ||||||||||
B0EE | POP BC | Restore BC, DE and IX from the stack. | ||||||||||
B0EF | POP DE | |||||||||||
B0F0 | POP IX | |||||||||||
B0F2 | JR NZ,$B0FF | Jump to B0FF if ?? is not equal to 00. | ||||||||||
B0F4 | PUSH DE | IX=DE (using the stack). | ||||||||||
B0F5 | POP IX | |||||||||||
B0F7 | LD L,(IX+$00) | L=*IX+00. | ||||||||||
B0FA | LD H,(IX+$01) | H=*IX+01. | ||||||||||
B0FD | POP DE | Restore DE from the stack. | ||||||||||
B0FE | JP (HL) | Jump to *HL. | ||||||||||
B0FF | INC IX | |||||||||||
B101 | INC IX | Increment IX by one. | ||||||||||
B103 | INC DE | Increment DE by two. | ||||||||||
B104 | INC DE | |||||||||||
B105 | DEC BC | Decrease BC by one. | ||||||||||
B106 | LD A,B | Jump back to B0E1 until BC is zero. | ||||||||||
B107 | OR C | |||||||||||
B108 | JR NZ,$B0E1 | |||||||||||
B10A | RET | Return. |
Prev: B0A9 | Up: Map | Next: B10B |