Prev: 41479 Up: Map Next: 41557
41524: Show Poem
Used by the routine at ShowAmulet.
Shows the poem for the pieces of the amulet which have been collected, plays a tune, waits for a while and then restores the play area. This is reached when ShowAmulet has finished drawing the amulet.
Before After HandlerPoems
show-poem-before show-poem-after
Display the poem copy.
HandlerPoems 41524 CALL DisplayPoem Display the poem.
Play music.
41527 LD HL,0 Set HL to 0.
41530 LD DE,48435 Point DE at the poem tune at MusicData_Poem.
41533 CALL PlayMusic Play the tune.
Pause so the player has a chance to read and listen.
41536 LD B,8 Set the number of delays in B to 8.
41538 CALL Pause Pause so that the player can read the poem.
41541 CALL PauseGame Check if the game is paused.
Put the room back as it was.
41544 CALL ClearPlayArea_Attributes Clear the attribute buffer of the play area.
41547 CALL ClearPlayArea Clear the play area.
41550 CALL DrawCurrentRoom Draw the current room.
41553 CALL DrawEntity Redraw the player.
41556 RET Return.
Prev: 41479 Up: Map Next: 41557