Prev: A207 Up: Map Next: A255
A234: 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 A234 CALL DisplayPoem Display the poem.
Play music.
A237 LD HL,$0000 Set HL to 00.
A23A LD DE,$BD33 Point DE at the poem tune at MusicData_Poem.
A23D CALL PlayMusic Play the tune.
Pause so the player has a chance to read and listen.
A240 LD B,$08 Set the number of delays in B to 08.
A242 CALL Pause Pause so that the player can read the poem.
A245 CALL PauseGame Check if the game is paused.
Put the room back as it was.
A248 CALL ClearPlayArea_Attributes Clear the attribute buffer of the play area.
A24B CALL ClearPlayArea Clear the play area.
A24E CALL DrawCurrentRoom Draw the current room.
A251 CALL DrawEntity Redraw the player.
A254 RET Return.
Prev: A207 Up: Map Next: A255