![]() |
Routines |
Prev: 43630 | Up: Map | Next: 43688 |
|
||||
Handler_DropItem | 43658 | JP NZ,42845 | Jump to 42845 if ?? is not equal to 0. | |
43661 | LD A,(IX+1) | A=*IX+1. | ||
43664 | CALL 42866 | Call 42866. | ||
The item is in the players inventory, so move its location to the current room.
|
||||
43667 | LD B,A | B=A. | ||
43668 | LD A,(41222) | C=*CurrentRoom. | ||
43671 | LD C,A | |||
43672 | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation. | ||
Player has dropped an item so handle the inventory count.
|
||||
43675 | LD HL,41170 | Decrease *Count_InventoryItems by one. | ||
43678 | DEC (HL) | |||
Print "O.K.".
|
||||
43679 | LD HL,26 | HL=Messaging_OK. | ||
43682 | CALL PrintCompressedStringAndNewline | Call PrintCompressedStringAndNewline. | ||
43685 | JP 42845 | Jump to 42845. | ||
View the equivalent code in;
|
Prev: 43630 | Up: Map | Next: 43688 |