![]() |
Routines |
Prev: 43615 | Up: Map | Next: 43658 |
|
||||
Handler_PickUpItem | 43630 | JP NZ,42845 | Jump to 42845 if ?? is not equal to 0. | |
43633 | LD A,(IX+1) | A=*IX+1. | ||
43636 | CALL 42866 | Call 42866. | ||
Call Handler_UpdateItemLocation using the item ID, to change the location to 1 (to the players inventory).
|
||||
43639 | LD B,A | B=A. | ||
43640 | LD C,1 | C=1. | ||
43642 | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation. | ||
Player has picked up an item so handle the inventory count.
|
||||
43645 | LD HL,41170 | Increment *Count_InventoryItems by one. | ||
43648 | INC (HL) | |||
Print "O.K.".
|
||||
43649 | LD HL,26 | HL=Messaging_OK. | ||
43652 | CALL PrintCompressedStringAndNewline | Call PrintCompressedStringAndNewline. | ||
43655 | JP 42845 | Jump to 42845. | ||
View the equivalent code in;
|
Prev: 43615 | Up: Map | Next: 43658 |