summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/GiveItem.cpp
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2024-12-05 12:45:25 -0600
committerGarrett Cox <garrettjcox@gmail.com>2024-12-05 12:45:25 -0600
commit1e10ccd3fc9b8ace21301e887a775e979e62b28b (patch)
treeed736771f809f1b643a61d6d5266c3cfae8bee72 /mm/2s2h/Rando/GiveItem.cpp
parentc33e1154e439223bdd1ba75f046f45e46b6bbe31 (diff)
Tweaks to song/remains names and more convertItem cases handled
Diffstat (limited to 'mm/2s2h/Rando/GiveItem.cpp')
-rw-r--r--mm/2s2h/Rando/GiveItem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/GiveItem.cpp b/mm/2s2h/Rando/GiveItem.cpp
index ce1057da7..24b2b50cd 100644
--- a/mm/2s2h/Rando/GiveItem.cpp
+++ b/mm/2s2h/Rando/GiveItem.cpp
@@ -33,11 +33,13 @@ void Rando::GiveItem(RandoItemId randoItemId) {
case RI_SINGLE_MAGIC:
gSaveContext.save.saveInfo.playerData.isMagicAcquired = true;
gSaveContext.magicFillTarget = MAGIC_NORMAL_METER;
+ SET_WEEKEVENTREG(WEEKEVENTREG_12_80);
break;
case RI_DOUBLE_MAGIC:
gSaveContext.save.saveInfo.playerData.isDoubleMagicAcquired = true;
gSaveContext.magicFillTarget = MAGIC_DOUBLE_METER;
gSaveContext.save.saveInfo.playerData.magicLevel = 0;
+ SET_WEEKEVENTREG(WEEKEVENTREG_12_80);
break;
// Don't love this because it doesn't hit GameInteractor_ExecuteOnItemGive()
// but not sure how else to account for collecting outside of dungeon