Prev: EA70 Up: Map Next: EA9D
EA75: Handler: Show The New Room
Used by the routine at ChangeRoom.
Draw the new room after a move.
Handler_ShowNewRoom EA75 LD E,$00 Call HandlerDisplayRoomImage to show the room picture.
EA77 CALL HandlerDisplayRoomImage
EA7A LD A,$84 Call ValidateItemPresent with item 84 (unnamed; the guard arrest).
EA7C CALL ValidateItemPresent
EA7F JR NZ,Handler_ShowNewRoom_Next Skip the arrest when that item is not here.
EA81 LD A,$84 Call HandlerDestroyItemEvent with item 84 (unnamed; the guard arrest).
EA83 CALL HandlerDestroyItemEvent
Print "A guard appears....".
EA86 LD HL,$D154 Point HL at Messaging_AGuardAppears and pause, print it and scroll.
EA89 CALL PausePrintStringAndScroll
Print "You are taken away.".
EA8C LD HL,$D168 Point HL at Messaging_YouAreTakenAway and pause, print it and scroll.
EA8F CALL PausePrintStringAndScroll
EA92 LD B,$64 Call PauseLoop to pause for the frame count in B.
EA94 CALL PauseLoop
EA97 LD A,$3A Take the player to room 3A: " The Dungeon".
EA99 JP ChangeRoom Jump to ChangeRoom.
The guard is not in this room.
Handler_ShowNewRoom_Next EA9C RET Return.
Prev: EA70 Up: Map Next: EA9D