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
parent 2cb4a6ee7e
commit 17aeec4b13
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;
}