Prev: 8C4B Up: Map Next: 8D33
8CA6: Action Putdown
Action_Putdown 8CA6 CALL Action_Look_1
8CA9 CALL $9D44
8CAC LD IX,($B708)
8CB0 LD A,(IX+$01)
8CB3 CP $12
8CB5 JR NZ,Action_Putdown_0
8CB7 LD IX,$C366
Action_Putdown_0 8CBB PUSH IX
8CBD LD IX,($B70C)
8CC1 LD A,(IX+$01)
8CC4 POP IX
8CC6 LD (IX+$01),A
8CC9 BIT 1,(IX+$07)
8CCD RET Z
8CCE LD (IX+$10),$00
8CD2 LD HL,$B142 HL="[0x00] evaporate(s|d|ing|es)[0x15]"
8CD5 LD DE,$0008
8CD8 ADD IX,DE
8CDA PUSH IX
8CDC CALL PrintMsg Call PrintMsg.
8CDF RET Return.
8CE0 LD A,($B6E8)
8CE3 LD HL,$B6E9
8CE6 CALL $9C7E
8CE9 LD HL,$AFB5 HL=$AFB5
8CEC JP NZ,PrintMsg
8CEF JR Action_Pickup_0
This entry point is used by the routines at Action_Pickup and Action_ThrowAt.
Action_Putdown_1 8CF1 LD IX,($B708)
8CF5 LD A,($B6E8)
8CF8 CALL $9CED
8CFB ADD A,(IX+$03)
8CFE JR NC,Action_Putdown_2
8D00 LD A,$FF
Action_Putdown_2 8D02 LD B,A
8D03 LD IY,($B70C)
8D07 LD A,(IY+$03)
8D0A SUB B
8D0B LD HL,$AE04 HL="[0x07] is too heavy to lift"
8D0E JR C,Action_Putdown_3
8D10 PUSH AF
8D11 LD A,($B6EA)
8D14 CALL $9CED
8D17 LD B,A
8D18 POP AF
8D19 SUB B
8D1A JP P,Action_Putdown_4
8D1D LD HL,$AE0C HL="You are carrying too much"
Action_Putdown_3 8D20 EX (SP),HL
8D21 POP HL
8D22 JP PrintMsg Jump to PrintMsg.
This entry point is used by the routines at Action_Attack and Action_Examine.
Action_Putdown_4 8D25 CALL Action_Attack_9
8D28 JR NZ,Action_Putdown_5
8D2A BIT 1,(IX+$07)
8D2E RET Z
Action_Putdown_5 8D2F POP HL
8D30 JP $9F76
Prev: 8C4B Up: Map Next: 8D33