![]() |
Routines |
| Prev: DBF7 | Up: Map | Next: DC8D |
|
Used by the routines at ProcessObjectDisplay, CheckCharacterDisguise, ProcessDisplayWithLocationCheck, ParseInputNumber and CombineCharacterRoom.
Sets the zero flag if the current character is 00 01 or Sherlock (64); otherwise returns non-zero.
|
||||
| CheckCharacterID | DC6C | LD A,($A036) | Return if the character is zero. | |
| DC6F | CP $00 | |||
| DC71 | RET Z | |||
| DC72 | CP $01 | Return if it is 01. | ||
| DC74 | RET Z | |||
| DC75 | CP $64 | Return if the character is Sherlock (64). | ||
| DC77 | RET Z | |||
| DC78 | OR %00000001 | Reset the zero flag. | ||
| DC7A | RET | Return. | ||
| DC7B | DEFB $20,$10 | Display record read by ProcessDisplayRecord: flags 20 value 10. | ||
|
Run by CA64 after the display record at DC7B.
|
||||
| DC7D | CALL CheckCharacterID | Call CheckCharacterID to see whether the character is zero, one, or Sherlock. | ||
| DC80 | RET NZ | Return unless the character is zero, one, or Sherlock. | ||
|
Print newline.
|
||||
| DC81 | CALL PrintNewline | Call PrintNewline to print a new line. | ||
| DC84 | LD A,($A00A) | Read the character attribute, then call ProcessLocationTokenDisplay to run location token display. | ||
| DC87 | CALL ProcessLocationTokenDisplay | |||
| DC8A | OR %00000001 | Reset the zero flag. | ||
| DC8C | RET | Return. | ||
| Prev: DBF7 | Up: Map | Next: DC8D |