From ba6a83533ac3dcbd6c0c70c9857572ed1ef1d009 Mon Sep 17 00:00:00 2001 From: mzxrules Date: Fri, 27 Dec 2024 18:48:56 -0500 Subject: Restructure event flags in z64save.h (2/?): Carpenters (#2385) * Clean up EVENTCHKINF for Carpenters * hardcode EVENTCHKINF_INDEX_CARPENTERS_RESCUED --- src/code/z_map_exp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code') diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c index 916add81f..52e88c1f6 100644 --- a/src/code/z_map_exp.c +++ b/src/code/z_map_exp.c @@ -122,11 +122,11 @@ void Map_InitData(PlayState* play, s16 room) { extendedMapIndex = 0x15; } } else if (play->sceneId == SCENE_GERUDO_VALLEY) { - if ((LINK_AGE_IN_YEARS == YEARS_ADULT) && !GET_EVENTCHKINF_CARPENTERS_FREE_ALL()) { + if ((LINK_AGE_IN_YEARS == YEARS_ADULT) && !GET_EVENTCHKINF_CARPENTERS_ALL_RESCUED()) { extendedMapIndex = 0x16; } } else if (play->sceneId == SCENE_GERUDOS_FORTRESS) { - if (GET_EVENTCHKINF_CARPENTERS_FREE_ALL()) { + if (GET_EVENTCHKINF_CARPENTERS_ALL_RESCUED()) { extendedMapIndex = 0x17; } } -- cgit v1.2.3