Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/game/behaviors/castle_cannon_grate.inc.c
7861 views
1
// castle_cannon_grate.inc.c
2
3
void bhv_castle_cannon_grate_init(void) {
4
if (save_file_get_total_star_count(gCurrSaveFileNum - 1, COURSE_MIN - 1, COURSE_MAX - 1) >= 120) {
5
o->activeFlags = ACTIVE_FLAG_DEACTIVATED;
6
}
7
}
8
9