summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Longstaff <JordanLongstaff@users.noreply.github.com>2026-04-17 07:26:40 -0400
committerGitHub <noreply@github.com>2026-04-17 07:26:40 -0400
commit9eb9f6f9786bef851871630e2009c01ea11cbff8 (patch)
treed8769b8b28460e87d23c67c603c0af67fd41d926 /src
parent6eb574fff775a66f3371c3bd91afc751a72ca190 (diff)
Document `WEEKEVENTREG` enabling peephole in Curiosity Shop (#1870)
Diffstat (limited to 'src')
-rw-r--r--src/overlays/actors/ovl_En_Test3/z_en_test3.c8
-rw-r--r--src/overlays/actors/ovl_Obj_Nozoki/z_obj_nozoki.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/overlays/actors/ovl_En_Test3/z_en_test3.c b/src/overlays/actors/ovl_En_Test3/z_en_test3.c
index 2275b54a9..c3abb7379 100644
--- a/src/overlays/actors/ovl_En_Test3/z_en_test3.c
+++ b/src/overlays/actors/ovl_En_Test3/z_en_test3.c
@@ -79,7 +79,7 @@ void func_80A40678(EnTest3* this, PlayState* play);
void func_80A40824(EnTest3* this, PlayState* play);
void func_80A4084C(EnTest3* this, PlayState* play);
void func_80A40908(EnTest3* this, PlayState* play);
-void func_80A40A6C(EnTest3* this, PlayState* play);
+void EnTest3_EnablePeephole(EnTest3* this, PlayState* play);
#include "src/overlays/actors/ovl_En_Test3/scheduleScripts.schl.inc"
@@ -96,7 +96,7 @@ ActorProfile En_Test3_Profile = {
};
static struct_80A4168C D_80A4168C[] = {
- { func_80A40A6C, NULL },
+ { EnTest3_EnablePeephole, NULL },
{ NULL, NULL },
};
@@ -1014,8 +1014,8 @@ void func_80A409D4(EnTest3* this, PlayState* play) {
}
}
-void func_80A40A6C(EnTest3* this, PlayState* play) {
- SET_WEEKEVENTREG(WEEKEVENTREG_64_20);
+void EnTest3_EnablePeephole(EnTest3* this, PlayState* play) {
+ SET_WEEKEVENTREG(WEEKEVENTREG_CAN_USE_CURIOSITY_SHOP_PEEPHOLE);
}
void EnTest3_Update(Actor* thisx, PlayState* play2) {
diff --git a/src/overlays/actors/ovl_Obj_Nozoki/z_obj_nozoki.c b/src/overlays/actors/ovl_Obj_Nozoki/z_obj_nozoki.c
index cc67d6c21..86f1b6b5f 100644
--- a/src/overlays/actors/ovl_Obj_Nozoki/z_obj_nozoki.c
+++ b/src/overlays/actors/ovl_Obj_Nozoki/z_obj_nozoki.c
@@ -405,7 +405,7 @@ void func_80BA311C(ObjNozoki* this, PlayState* play) {
}
void func_80BA3230(ObjNozoki* this, PlayState* play) {
- if (CHECK_WEEKEVENTREG(WEEKEVENTREG_64_20)) {
+ if (CHECK_WEEKEVENTREG(WEEKEVENTREG_CAN_USE_CURIOSITY_SHOP_PEEPHOLE)) {
Actor* npc = play->actorCtx.actorLists[ACTORCAT_NPC].first;
Actor* test3 = SubS_FindActor(play, npc, ACTORCAT_NPC, ACTOR_EN_TEST3);