1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 14:38:30 +02:00

Make foundtrinket() Flip Mode-aware

A-ha! I've spotted an inconsistency! The normal trinket collection text
boxes (gamestate 1000-1003) is aware of Flip Mode, and will position
themselves accordingly to read the correct way in Flip Mode. However,
foundtrinket() doesn't do this.

Well, now it does.
This commit is contained in:
Misa 2021-03-19 20:12:42 -07:00 committed by Ethan Lee
parent db9ee0d8e3
commit 596696dcf3

View File

@ -1966,7 +1966,7 @@ void scriptclass::run(void)
graphics.textboxremovefast();
graphics.createtextbox(" Congratulations! ", 50, 85, 174, 174, 174);
graphics.createtextboxflipme(" Congratulations! ", 50, 85, 174, 174, 174);
graphics.addline("");
graphics.addline("You have found a shiny trinket!");
graphics.textboxcenterx();
@ -1982,7 +1982,7 @@ void scriptclass::run(void)
{
usethisnum = "Twenty";
}
graphics.createtextbox(" " + help.number(game.trinkets()) + " out of " + usethisnum + " ", 50, 135, 174, 174, 174);
graphics.createtextboxflipme(" " + help.number(game.trinkets()) + " out of " + usethisnum + " ", 50, 135, 174, 174, 174);
graphics.textboxcenterx();
if (!game.backgroundtext)