le comment

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
This commit is contained in:
CowQuack
2023-06-07 12:24:20 -04:00
committed by GitHub
parent 3fc7b50488
commit 7cdb0764a5

View File

@@ -157,6 +157,7 @@ void bhv_hidden_red_coin_star_init(void) {
spawn_object(o, MODEL_TRANSPARENT_STAR, bhvRedCoinStarMarker);
}
// check if bparam2 specifies a total number of coins that should spawn the star
if (o->oBehParams2ndByte != 0) {
o->oHiddenStarTriggerTotal = o->oBehParams2ndByte;
o->oHiddenStarTriggerCounter = gRedCoinsCollected;