diff --git a/src/game/behaviors/spawn_star.inc.c b/src/game/behaviors/spawn_star.inc.c index 2a16979f..b3f6408d 100644 --- a/src/game/behaviors/spawn_star.inc.c +++ b/src/game/behaviors/spawn_star.inc.c @@ -153,9 +153,13 @@ void spawn_no_exit_star(f32 x, f32 y, f32 z) { void bhv_hidden_red_coin_star_init(void) { struct Object *starObj = NULL; +#ifdef ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS if (gCurrCourseNum != COURSE_JRB) { spawn_object(o, MODEL_TRANSPARENT_STAR, bhvRedCoinStarMarker); } +#else + spawn_object(o, MODEL_TRANSPARENT_STAR, bhvRedCoinStarMarker); +#endif // check if bparam2 specifies a total number of coins that should spawn the star if (o->oBehParams2ndByte != 0) {