From 91af40e72ad45e6bbe688ac73d0b635b71414690 Mon Sep 17 00:00:00 2001 From: CowQuack Date: Wed, 7 Jun 2023 12:26:27 -0400 Subject: [PATCH] Update src/game/behaviors/red_coin.inc.c Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com> --- src/game/behaviors/red_coin.inc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/behaviors/red_coin.inc.c b/src/game/behaviors/red_coin.inc.c index 9bcda2b3f..1a17044c8 100644 --- a/src/game/behaviors/red_coin.inc.c +++ b/src/game/behaviors/red_coin.inc.c @@ -51,6 +51,7 @@ void bhv_red_coin_loop(void) { // Spawn the orange number counter, as long as it isn't the last coin. if (o->parentObj->oHiddenStarTriggerCounter != o->parentObj->oHiddenStarTriggerTotal) { + // Cap visible count to 99 if (o->parentObj->oHiddenStarTriggerCounter > 99) { spawn_orange_number(9, 28, 0, 0); spawn_orange_number(9, -28, 0, 0);