add greg to gameplay stats (#2544)

Co-authored-by: briaguya <briaguya>
This commit is contained in:
briaguya 2023-02-26 23:04:47 -05:00 committed by GitHub
commit 17aeec4b13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -2581,6 +2581,7 @@ u16 Randomizer_Item_Give(PlayState* play, GetItemEntry giEntry) {
if (item == RG_GREG_RUPEE) {
Rupees_ChangeBy(1);
Flags_SetRandomizerInf(RAND_INF_GREG_FOUND);
gSaveContext.sohStats.timestamp[TIMESTAMP_FOUND_GREG] = GAMEPLAYSTAT_TOTAL_TIME;
return RG_NONE;
}