Prev: 37143 Up: Map Next: 37215
37191: Enter Room
Used by the routine at StartGame.
Enters the room held in PlayerRoom: records the visit, clears the play area and draws the room frame, the side panel attributes and the inventory. Then jumps to the main loop.
EnterRoom 37191 LD A,(60049) Fetch the room of the player from PlayerRoom.
37194 CALL VisitRoom Call VisitRoom to mark the room as visited.
37197 CALL ClearPlayArea Call ClearPlayArea to clear the play area.
37200 CALL DrawRoomFrame Call DrawRoomFrame to draw the frame of the room.
37203 CALL DrawSidePanelAttrs Call DrawSidePanelAttrs to set the attributes of the side panel.
37206 CALL DrawInventory Call DrawInventory to draw the inventory.
37209 CALL SoundsEntry Call SoundsEntry to play the sound for entering a room.
37212 JP MainLoop Jump to MainLoop to run the main loop.
Prev: 37143 Up: Map Next: 37215