the-infocom-files / sorcerer

Sorcerer
3 stars 3 forks source link

Missing linebreak when waking up prematurely (and fatally) #7

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

This is what happens if you wake up prematurely from the opening of the game:

>WAKE UP
As you wake up, Frobar sticks his head in the door and invites you shopping.
When you return late that evening, you find the Guild Hall sacked, and many
fellow Enchanters slaughtered. Servants of evil, teeth smeared with blood, fall
upon you as well. A menacing voice echoes about the room. "Pathetic Enchanters
... Who can save you now?"

Some days it just doesn't pay to wake up.
Your score is 0 of a possible 400, in 0 moves. This puts you in the class of
Charlatan.

Would you like to restart the game from the beginning, restore a saved game
position, or end this session of the game? (Type RESTART, RESTORE, or QUIT):

>

Usually, when you die there is a blank line before printing the score on game over, e.g.

>KILL ME
Done.

   ****  You have died  ****

Unfortunately, you made no provisions for your untimely death.

Your score is 5 of a possible 400, in 1 move. This puts you in the class of
Charlatan.

Would you like to restart the game from the beginning, restore a saved game
position, or end this session of the game? (Type RESTART, RESTORE, or QUIT):

>

I haven't tested every case, but from what I can see this waking up (see ME-F) is the only place where there is no linebreak before calling FINISH.