Prev: ED57 Up: Map Next: EDE7
ED60: Routine at ED60
ED60 LD A,$37 Call ValidateItemPresent with item 37: N/A.
ED62 CALL ValidateItemPresent
ED65 RET NZ Return if ?? is not equal to 37.
ED66 LD A,$37 Call ScenicEventTriggered with item 37: N/A.
ED68 CALL ScenicEventTriggered
ED6B RET Return.
ED6C DEFB $1B
This entry point is used by the routines at Response_PleaseRephraseThat_Duplicate, EDED, EE35, F26C, F293, Action_Drink, F2FF, F3AC and FBB9.
ED6D CALL PrintStringAndNewline Call PrintStringAndNewline.
ED70 RET Return.
This entry point is used by the routines at EE35, F2BA, F3AC and F7FD.
ED71 CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
ED74 RET Return.
This entry point is used by the routines at EE35 and F3AC.
ED75 CALL CheckObjectInInventory Call CheckObjectInInventory.
ED78 JR NZ,$ED98 Jump to ED98 if DE is not equal to 37.
ED7A POP HL Restore HL from the stack.
Print "You're already carrying ".
ED7B LD HL,$A9FC HL=Messaging_YoureAlreadyCarrying.
ED7E CALL PrintString Call PrintString.
ED81 LD HL,$ED6C HL=ED6C.
ED84 LD A,E A=E.
ED85 LD BC,$0001 BC=0001.
ED88 CPIR CPIR.
ED8A JR Z,$ED92 Jump to ED92 if DE is equal to 37.
Print "it.".
ED8C LD HL,$AA17 HL=Messaging_It.
ED8F JP $ED6D Jump to ED6D.
Print "them.".
ED92 LD HL,$AA1B HL=Messaging_Them.
ED95 JP $ED6D Jump to ED6D.
ED98 LD A,($A790) Compare *Count_InventoryItems with 05.
ED9B CP $05
ED9D LD B,E B=E.
ED9E RET NZ Return if *Count_InventoryItems was not equal to 05.
ED9F POP HL Restore HL from the stack.
Print "You can't carry any more.".
EDA0 LD HL,$AA21 HL=Messaging_YouCantCarryAnyMore.
EDA3 JP $ED6D Jump to ED6D.
This entry point is used by the routines at EE35 and F3AC.
EDA6 LD C,$01 C=01.
EDA8 CALL $AF08 Call AF08.
EDAB LD HL,$A790 HL=Count_InventoryItems.
EDAE INC (HL) Increment *HL by one.
EDAF JP $EDF3 Jump to EDF3.
This entry point is used by the routine at EE35.
EDB2 CALL $ED75 Call ED75.
EDB5 JP $EDA6 Jump to EDA6.
This entry point is used by the routine at EE35.
EDB8 CALL CheckObjectInInventory Call CheckObjectInInventory.
Print "You're not carrying ".
EDBB LD HL,$AA9B HL=Messaging_YoureNotCarrying.
EDBE JP NZ,$ED7E Jump to ED7E if *HL is not equal to 01.
This entry point is used by the routines at EE35 and F3AC.
EDC1 LD B,E B=E.
EDC2 LD A,($A7C3) C=*CurrentRoom.
EDC5 LD C,A
EDC6 CALL $AF08 Call AF08.
EDC9 LD HL,$A790 HL=Count_InventoryItems.
EDCC DEC (HL) Decrease *HL by one.
EDCD JP $EDF3 Jump to EDF3.
This entry point is used by the routines at EE35 and F3AC.
EDD0 CALL CheckObjectInInventory Call CheckObjectInInventory.
EDD3 RET Z Return if *HL is equal to 01.
EDD4 POP HL Restore HL from the stack.
Print "You're not carrying ".
EDD5 LD HL,$AA9B HL=Messaging_YoureNotCarrying.
EDD8 JP $ED7E Jump to ED7E.
This entry point is used by the routine at F3AC.
EDDB LD HL,$E091 HL=Messaging_YouveNothingToTieHimWith.
EDDE JP $ED6D Jump to ED6D.
This entry point is used by the routine at EE35.
Print "Please be more specific.".
EDE1 LD HL,$A9BD HL=Messaging_PleaseBeMoreSpecific.
EDE4 JP $ED6D Jump to ED6D.
Prev: ED57 Up: Map Next: EDE7