![]() |
Routines |
| Prev: 26800 | Up: Map | Next: 26882 |
|
Puts a carried or worn object down in the current room. Message 23 says you don't have it.
|
||||||||||
| DropObject | 26852 | LD A,(23946) | Jump to DropObject_Put if it is *WornObject. | |||||||
| 26855 | CP C | |||||||||
| 26856 | JR Z,DropObject_Put | |||||||||
| 26858 | LD A,(23945) | Jump to DropObject_Count if it is *CarriedObject. | ||||||||
| 26861 | CP C | |||||||||
| 26862 | JR Z,DropObject_Count | |||||||||
|
Print "you don't have it.".
|
||||||||||
| 26864 | LD A,23 | Print SystemMessage_17 using PrintSystemMessage. | ||||||||
| 26866 | JR GetObject_Refuse | |||||||||
|
Count one fewer carried object.
|
||||||||||
| DropObject_Count | 26868 | LD HL,23948 | Decrement *CarriedCount. | |||||||
| 26871 | DEC (HL) | |||||||||
|
Put the object in this room.
|
||||||||||
| DropObject_Put | 26872 | CALL ObjectAddress | Call ObjectAddress. | |||||||
| 26875 | LD A,(23943) | Write *CurrentRoom into its location. | ||||||||
| 26878 | LD (HL),A | |||||||||
|
Describe the room again.
|
||||||||||
| 26879 | JP RoomHasChanged | Jump to RoomHasChanged. | ||||||||
| Prev: 26800 | Up: Map | Next: 26882 |