![]() |
Routines |
| Prev: D471 | Up: Map | Next: D4A7 |
|
||||||||||||
| IsCharacterTheChinaMan | D495 | CP $FF | Return if the character is inactive (FF). | |||||||||
| D497 | RET Z | |||||||||||
| D498 | CALL FetchObjectDataPointer | Call FetchObjectDataPointer. | ||||||||||
| D49B | LD A,$01 | Is the character the "China Man"? | ||||||||||
| D49D | CP (IX+$00) | |||||||||||
| D4A0 | LD A,$FF | Set a default in A of FF for when the character isn't wearing the China mans disguise. | ||||||||||
| D4A2 | RET NZ | Return if the character isn't the "China Man". | ||||||||||
|
The character is wearing the disguise, so return with the attribute byte instead.
|
||||||||||||
| D4A3 | LD A,(IX+$0F) | A=*IX+0F. | ||||||||||
| D4A6 | RET | Return. | ||||||||||
| Prev: D471 | Up: Map | Next: D4A7 |