Fix C-button counts and ice trap count (#2009)

This commit is contained in:
Sarge-117 2022-11-23 17:53:10 -08:00 committed by GitHub
commit 67e325a0b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -6305,6 +6305,8 @@ s32 func_8083E5A8(Player* this, PlayState* play) {
Audio_PlayFanfare(NA_BGM_SMALL_ITEM_GET);
this->getItemId = GI_NONE;
this->getItemEntry = (GetItemEntry) GET_ITEM_NONE;
// Gameplay stats: Increment Ice Trap count
gSaveContext.sohStats.count[COUNT_ICE_TRAPS]++;
return 1;
}
}