![]() |
Routines |
| Prev: 9B25 | Up: Map | Next: 9B7F |
|
Used by the routine at ReadRoomDisplayParameter.
Copies the current character beside the matched object, or prints the token at 6929+030B.
|
||||
| PlaceCharacterBesideMatch | 9B50 | LD A,($A036) | Read the current character, count down one and read the current character record. | |
| 9B53 | DEC A | |||
| 9B54 | LD IY,($A017) | |||
| 9B58 | LD (IY+$01),A | Store this character in the record and at E2C6, then call FetchObjectDataPointer to look the object up. | ||
| 9B5B | LD ($E2C6),A | |||
| 9B5E | CALL FetchObjectDataPointer | |||
| 9B61 | LD A,(IX+$0F) | Store the character attribute. | ||
| 9B64 | LD (IY+$0F),A | |||
| 9B67 | LD ($A00A),A | Record the current character attribute. | ||
| 9B6A | LD A,($A034) | Call SearchPairTable to search pair table. | ||
| 9B6D | LD C,A | |||
| 9B6E | LD A,($A00A) | |||
| 9B71 | CALL SearchPairTable | |||
| 9B74 | RET Z | Return if SearchPairTable finds the pair. | ||
| 9B75 | POP HL | Take the character busy message, then call PrintTextAndHandleControlCharacters to print the character busy message. | ||
| 9B76 | LD HL,$6C34 | |||
| 9B79 | CALL PrintTextAndHandleControlCharacters | |||
| 9B7C | OR %00000001 | Reset the zero flag. | ||
| 9B7E | RET | Return. | ||
| Prev: 9B25 | Up: Map | Next: 9B7F |