![]() |
Routines |
Prev: 63830 | Up: Map | Next: 63923 |
Used by the routine at Action_Kill.
|
||||
Action_Drop | 63861 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
63864 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
63865 | CP 2 | Jump to Response_PleaseRephraseThat_Duplicate if there were more than 2 direct objects referenced in the user input (so the command is malformed). | ||
63867 | JP NC,Response_PleaseRephraseThat_Duplicate | |||
63870 | LD HL,63754 | HL=Table_ActionGet_TokenGroup. | ||
63873 | LD DE,63885 | DE=Table_ActionsDrop. | ||
63876 | LD BC,19 | BC=0019. | ||
63879 | CALL 45278 | Call 45278. | ||
Print "You can't.".
|
||||
63882 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
The actions table for "drop":
|
||||
Table_ActionsDrop | 63885 | DEFW Process_DropSalt | Action routine 1. | |
63887 | DEFW Process_DropPot | Action routine 2. | ||
63889 | DEFW Process_DropAcorns | Action routine 3. | ||
63891 | DEFW Process_DropUrn | Action routine 4. | ||
63893 | DEFW Process_DropTorc | Action routine 5. | ||
63895 | DEFW Process_DropHelmet | Action routine 6. | ||
63897 | DEFW Process_DropFood | Action routine 7. | ||
63899 | DEFW Process_DropIron | Action routine 8. | ||
63901 | DEFW Process_DropVase | Action routine 9. | ||
63903 | DEFW Process_DropSword | Action routine 10. | ||
63905 | DEFW Process_DropMeat | Action routine 11. | ||
63907 | DEFW Process_DropAmulet | Action routine 12. | ||
63909 | DEFW Process_DropRope | Action routine 13. | ||
63911 | DEFW Process_DropSkull | Action routine 14. | ||
63913 | DEFW Process_DropShield | Action routine 15. | ||
63915 | DEFW Process_DropLadder | Action routine 16. | ||
63917 | DEFW Process_DropStaff | Action routine 17. | ||
63919 | DEFW Process_DropCloak | Action routine 18. | ||
63921 | DEFW Process_DropSilver | Action routine 19. |
Prev: 63830 | Up: Map | Next: 63923 |