![]() |
Routines |
Prev: F956 | Up: Map | Next: F9B3 |
Used by the routine at Action_Kill.
|
||||
Action_Drop | F975 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
F978 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
F979 | CP $02 | Jump to Response_PleaseRephraseThat_Duplicate if there were more than 02 direct objects referenced in the user input (so the command is malformed). | ||
F97B | JP NC,Response_PleaseRephraseThat_Duplicate | |||
F97E | LD HL,$F90A | HL=Table_ActionGet_TokenGroup. | ||
F981 | LD DE,$F98D | DE=Table_ActionsDrop. | ||
F984 | LD BC,$0013 | BC=0013. | ||
F987 | CALL $B0DE | Call B0DE. | ||
Print "You can't.".
|
||||
F98A | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
The actions table for "drop":
|
||||
Table_ActionsDrop | F98D | DEFW Process_DropSalt | Action routine 01. | |
F98F | DEFW Process_DropPot | Action routine 02. | ||
F991 | DEFW Process_DropAcorns | Action routine 03. | ||
F993 | DEFW Process_DropUrn | Action routine 04. | ||
F995 | DEFW Process_DropTorc | Action routine 05. | ||
F997 | DEFW Process_DropHelmet | Action routine 06. | ||
F999 | DEFW Process_DropFood | Action routine 07. | ||
F99B | DEFW Process_DropIron | Action routine 08. | ||
F99D | DEFW Process_DropVase | Action routine 09. | ||
F99F | DEFW Process_DropSword | Action routine 0A. | ||
F9A1 | DEFW Process_DropMeat | Action routine 0B. | ||
F9A3 | DEFW Process_DropAmulet | Action routine 0C. | ||
F9A5 | DEFW Process_DropRope | Action routine 0D. | ||
F9A7 | DEFW Process_DropSkull | Action routine 0E. | ||
F9A9 | DEFW Process_DropShield | Action routine 0F. | ||
F9AB | DEFW Process_DropLadder | Action routine 10. | ||
F9AD | DEFW Process_DropStaff | Action routine 11. | ||
F9AF | DEFW Process_DropCloak | Action routine 12. | ||
F9B1 | DEFW Process_DropSilver | Action routine 13. |
Prev: F956 | Up: Map | Next: F9B3 |