![]() |
Routines |
| Prev: 27267 | Up: Map | Next: 27332 |
|
Stops wearing the object and carries it instead. Message 28 says you are not wearing it.
|
||||||||||
| RemoveWorn | 27309 | CALL ObjectAddress | Call ObjectAddress. | |||||||
| 27312 | LD A,(23946) | Jump to RemoveWorn_Do if it is *WornObject. | ||||||||
| 27315 | CP C | |||||||||
| 27316 | JR Z,RemoveWorn_Do | |||||||||
|
Print "you are not wearing it.".
|
||||||||||
| 27318 | LD A,28 | Print SystemMessage_1C using PrintSystemMessage. | ||||||||
| 27320 | JP GetObject_Refuse | |||||||||
|
The worn object is now carried.
|
||||||||||
| RemoveWorn_Do | 27323 | LD A,(23945) | Write *CarriedObject into the object's location. | |||||||
| 27326 | LD (HL),A | |||||||||
| 27327 | LD HL,23948 | Increment *CarriedCount. | ||||||||
| 27330 | INC (HL) | |||||||||
| 27331 | RET | Return. | ||||||||
| Prev: 27267 | Up: Map | Next: 27332 |