Prev: EFE8 Up: Map Next: F027
F001: Throw: Coin To Anton
Throw the silver coin to Anton.
Throw_CoinToAnton F001 LD A,$65 Call IsPlayerCarryingItem with item 65: "A silver coin.".
F003 CALL IsPlayerCarryingItem
F006 LD A,$7F Call ValidateItemPresent with item 7F: "Anton,the Gypsy King. He says "Find me a magic mirror and I will tell your fortune."".
F008 CALL ValidateItemPresent
F00B JR NZ,Throw_CoinToAnton_0 Jump to Throw_CoinToAnton_0 if the Z flag is not set.
Print "Anton says:- "No! Get me a" magic mirror."".
F00D LD HL,$D5FB HL=Messaging_AntonSaysNoGetMeAMagicMirror.
F010 JP PrintResponse Jump to PrintResponse.
Throw_CoinToAnton_0 F013 LD A,$65 Call HandlerDestroyItemEvent with item 65: "A silver coin.".
F015 CALL HandlerDestroyItemEvent
F018 LD HL,$AE9A Decrease *Count_InventoryItems by one.
F01B DEC (HL)
F01C LD A,$80 Call HandlerDestroyItemEvent with item 80: "Anton,the Gypsy King. He says "Cross my palm with silver."".
F01E CALL HandlerDestroyItemEvent
Print "Anton takes the coin and says:- "I see you playing an instrument in a strange hall of columns." Anton then leaves.".
F021 LD HL,$D503 HL=Messaging_AntonTakesTheCoinAndSaysISeeYouPlaying.
F024 JP PrintResponse Jump to PrintResponse.
Prev: EFE8 Up: Map Next: F027