Changing the status line before pausing the game?

Currently, changing the status line before ‘wait for any key’ will not update the status line until after the player presses a key.

Is there a way to force it to update? I assume the ‘now the left hand status line’ command doesn’t take effect until the end of a turn, which is after pressing the key, but I don’t know off the top of my head how to work around that.

1 Like

If you have Glulx Entry Points then use the “redraw the status line” phrase. Otherwise just copy its definition into your source.

1 Like

Thanks! For future reader’s sakes, the necessary code is “To update/redraw the/-- status line: (- DrawStatusLine(); -).”

This was super helpful, thanks.

1 Like