![]() |
Routines |
Prev: 60759 | Up: Map | Next: 60903 |
|
||||
60768 | LD A,55 | Call ValidateItemPresent with item 55: N/A. | ||
60770 | CALL ValidateItemPresent | |||
60773 | RET NZ | Return if ?? is not equal to 55. | ||
60774 | LD A,55 | Call ScenicEventTriggered with item 55: N/A. | ||
60776 | CALL ScenicEventTriggered | |||
60779 | RET | Return. | ||
60780 | DEFB 27 | |||
This entry point is used by the routines at Response_PleaseRephraseThat_Duplicate, 60909, 60981, 62060, 62099, Action_Drink, 62207, 62380 and 64441.
|
||||
60781 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
60784 | RET | Return. | ||
60785 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll. | ||
60788 | RET | Return. | ||
60789 | CALL CheckObjectInInventory | Call CheckObjectInInventory. | ||
60792 | JR NZ,60824 | Jump to 60824 if DE is not equal to 55. | ||
60794 | POP HL | Restore HL from the stack. | ||
Print "You're already carrying ".
|
||||
60795 | LD HL,43516 | HL=Messaging_YoureAlreadyCarrying. | ||
60798 | CALL PrintString | Call PrintString. | ||
60801 | LD HL,60780 | HL=60780. | ||
60804 | LD A,E | A=E. | ||
60805 | LD BC,1 | BC=0001. | ||
60808 | CPIR | CPIR. | ||
60810 | JR Z,60818 | Jump to 60818 if DE is equal to 55. | ||
Print "it.".
|
||||
60812 | LD HL,43543 | HL=Messaging_It. | ||
60815 | JP 60781 | Jump to 60781. | ||
Print "them.".
|
||||
60818 | LD HL,43547 | HL=Messaging_Them. | ||
60821 | JP 60781 | Jump to 60781. | ||
60824 | LD A,(42896) | Compare *Count_InventoryItems with 5. | ||
60827 | CP 5 | |||
60829 | LD B,E | B=E. | ||
60830 | RET NZ | Return if *Count_InventoryItems was not equal to 5. | ||
60831 | POP HL | Restore HL from the stack. | ||
Print "You can't carry any more.".
|
||||
60832 | LD HL,43553 | HL=Messaging_YouCantCarryAnyMore. | ||
60835 | JP 60781 | Jump to 60781. | ||
60838 | LD C,1 | C=1. | ||
60840 | CALL 44808 | Call 44808. | ||
60843 | LD HL,42896 | HL=Count_InventoryItems. | ||
60846 | INC (HL) | Increment *HL by one. | ||
60847 | JP 60915 | Jump to 60915. | ||
This entry point is used by the routine at 60981.
|
||||
60850 | CALL 60789 | Call 60789. | ||
60853 | JP 60838 | Jump to 60838. | ||
This entry point is used by the routine at 60981.
|
||||
60856 | CALL CheckObjectInInventory | Call CheckObjectInInventory. | ||
Print "You're not carrying ".
|
||||
60859 | LD HL,43675 | HL=Messaging_YoureNotCarrying. | ||
60862 | JP NZ,60798 | Jump to 60798 if *HL is not equal to 1. | ||
60865 | LD B,E | B=E. | ||
60866 | LD A,(42947) | C=*CurrentRoom. | ||
60869 | LD C,A | |||
60870 | CALL 44808 | Call 44808. | ||
60873 | LD HL,42896 | HL=Count_InventoryItems. | ||
60876 | DEC (HL) | Decrease *HL by one. | ||
60877 | JP 60915 | Jump to 60915. | ||
60880 | CALL CheckObjectInInventory | Call CheckObjectInInventory. | ||
60883 | RET Z | Return if *HL is equal to 1. | ||
60884 | POP HL | Restore HL from the stack. | ||
Print "You're not carrying ".
|
||||
60885 | LD HL,43675 | HL=Messaging_YoureNotCarrying. | ||
60888 | JP 60798 | Jump to 60798. | ||
This entry point is used by the routine at 62380.
|
||||
60891 | LD HL,57489 | HL=Messaging_YouveNothingToTieHimWith. | ||
60894 | JP 60781 | Jump to 60781. | ||
This entry point is used by the routine at 60981.
Print "Please be more specific.".
|
||||
60897 | LD HL,43453 | HL=Messaging_PleaseBeMoreSpecific. | ||
60900 | JP 60781 | Jump to 60781. |
Prev: 60759 | Up: Map | Next: 60903 |