Rename number to number_words

This is to clarify that it returns the word forms of numbers, not
numbers themselves.
This commit is contained in:
Misa
2021-09-25 15:08:13 -07:00
parent 409f7b078f
commit 38b2213745
5 changed files with 25 additions and 25 deletions

View File

@@ -1710,14 +1710,14 @@ void scriptclass::run(void)
#if !defined(NO_CUSTOM_LEVELS)
if (map.custommode)
{
usethisnum = help.number(cl.numtrinkets());
usethisnum = help.number_words(cl.numtrinkets());
}
else
#endif
{
usethisnum = "Twenty";
}
graphics.createtextboxflipme(" " + help.number(game.trinkets()) + " out of " + usethisnum + " ", 50, 135, 174, 174, 174);
graphics.createtextboxflipme(" " + help.number_words(game.trinkets()) + " out of " + usethisnum + " ", 50, 135, 174, 174, 174);
graphics.textboxcenterx();
if (!game.backgroundtext)