Alright, so this is what's on my global page script:
$PAGETEXT := $PAGETEXT + "The time is "
IF %HOURS > 9 THEN $PAGETEXT := $PAGETEXT + "0" + %HOURS + ":"
IF %HOURS < 13 THEN $PAGETEXT := $PAGETEXT + %HOURS +":"
IF %HOURS > 12 THEN
BEGIN
%TEMPHOURS := %HOURS - 12
IF %TEMPHOURS < 10 THEN $PAGETEXT := $PAGETEXT + "0" + %TEMPHOURS + ":"
IF %TEMPHOURS < 13 THEN $PAGETEXT := $PAGETEXT + %TEMPHOURS +":"
END
IF %MINUTES < 10 THEN $PAGETEXT := $PAGETEXT + "0" + %MINUTES
IF %MINUTES > 9 THEN $PAGETEXT := $PAGETEXT + %MINUTES
IF %HOURS < 13 THEN $PAGETEXT := $PAGETEXT + " AM"
IF %HOURS > 12 THEN $PAGETEXT := $PAGETEXT + " PM"
$PAGETEXT := $PAGETEXT + "Your Health is "
IF %HEALTH < 50 THEN $PAGETEXT := $PAGETEXT + "low. Visit the infirmary or sleep to increase it."
IF %HEALTH = 50 THEN $PAGETEXT := $PAGETEXT + "at half."
IF %HEALTH > 50 THEN
IF %HEALTH < 100 THEN
BEGIN
$PAGETEXT := $PAGETEXT + "high."
END
IF %HEALTH = 100 THEN $PAGETEXT := $PAGETEXT + "full."
I'm trying to make it so that the "Your health is " text appears below the "The time is " text, but they keep appearing next to each other when I playtest.