diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2022-05-20 19:54:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-20 19:54:47 +0200 |
| commit | d7bbe43ba7734da2e28614debeaf521b4bcb5013 (patch) | |
| tree | 1d582b7b9e482d86d6e7a6f4d65b5122f1fd22bf /src/code/z_map_exp.c | |
| parent | 0e51a51fb1d9a3d076039604ec29c9024ccf2719 (diff) | |
Document `eventChkInf` usage of freed carpenters flags (#1210)
* Document `eventChkInf` usage of freed carpenters flags
* +`()`
Diffstat (limited to 'src/code/z_map_exp.c')
| -rw-r--r-- | src/code/z_map_exp.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c index 1e0e818e2..144f830ec 100644 --- a/src/code/z_map_exp.c +++ b/src/code/z_map_exp.c @@ -118,16 +118,11 @@ void Map_InitData(GlobalContext* globalCtx, s16 room) { extendedMapIndex = 0x15; } } else if (globalCtx->sceneNum == SCENE_SPOT09) { - if ((LINK_AGE_IN_YEARS == YEARS_ADULT) && - !CHECK_FLAG_ALL(gSaveContext.eventChkInf[EVENTCHKINF_90_91_92_93_INDEX], - EVENTCHKINF_90_MASK | EVENTCHKINF_91_MASK | EVENTCHKINF_92_MASK | - EVENTCHKINF_93_MASK)) { + if ((LINK_AGE_IN_YEARS == YEARS_ADULT) && !GET_EVENTCHKINF_CARPENTERS_FREE_ALL()) { extendedMapIndex = 0x16; } } else if (globalCtx->sceneNum == SCENE_SPOT12) { - if (CHECK_FLAG_ALL(gSaveContext.eventChkInf[EVENTCHKINF_90_91_92_93_INDEX], - EVENTCHKINF_90_MASK | EVENTCHKINF_91_MASK | EVENTCHKINF_92_MASK | - EVENTCHKINF_93_MASK)) { + if (GET_EVENTCHKINF_CARPENTERS_FREE_ALL()) { extendedMapIndex = 0x17; } } |
