mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 00:06:33 +00:00
Rename symbols related to Kakariko Well being drained (#2332)
This commit is contained in:
parent
c21c3fe3da
commit
07751d3d44
8 changed files with 13 additions and 13 deletions
|
@ -174,7 +174,7 @@ typedef enum CutsceneMiscType {
|
|||
/* 0x11 */ CS_MISC_QUAKE_STOP,
|
||||
/* 0x12 */ CS_MISC_STOP_STORM_AND_ADVANCE_TO_DAY,
|
||||
/* 0x13 */ CS_MISC_SET_FLAG_FAST_WINDMILL,
|
||||
/* 0x14 */ CS_MISC_SET_FLAG_WELL_DRAINED,
|
||||
/* 0x14 */ CS_MISC_SET_FLAG_DRAINED_WELL,
|
||||
/* 0x15 */ CS_MISC_SET_FLAG_LAKE_HYLIA_RESTORED,
|
||||
/* 0x16 */ CS_MISC_VISMONO_BLACK_AND_WHITE,
|
||||
/* 0x17 */ CS_MISC_VISMONO_SEPIA,
|
||||
|
|
|
@ -535,7 +535,7 @@ typedef enum LinkAge {
|
|||
#define EVENTCHKINF_5B 0x5B
|
||||
#define EVENTCHKINF_5C 0x5C
|
||||
#define EVENTCHKINF_65 0x65
|
||||
#define EVENTCHKINF_67 0x67
|
||||
#define EVENTCHKINF_DRAINED_WELL 0x67
|
||||
#define EVENTCHKINF_68 0x68
|
||||
#define EVENTCHKINF_69 0x69
|
||||
#define EVENTCHKINF_TALON_WOKEN_IN_KAKARIKO 0x6A
|
||||
|
|
|
@ -400,8 +400,8 @@ void CutsceneCmd_Misc(PlayState* play, CutsceneContext* csCtx, CsCmdMisc* cmd) {
|
|||
SET_EVENTCHKINF(EVENTCHKINF_65);
|
||||
break;
|
||||
|
||||
case CS_MISC_SET_FLAG_WELL_DRAINED:
|
||||
SET_EVENTCHKINF(EVENTCHKINF_67);
|
||||
case CS_MISC_SET_FLAG_DRAINED_WELL:
|
||||
SET_EVENTCHKINF(EVENTCHKINF_DRAINED_WELL);
|
||||
break;
|
||||
|
||||
case CS_MISC_SET_FLAG_LAKE_HYLIA_RESTORED:
|
||||
|
|
|
@ -14,7 +14,7 @@ void BgSpot01Idomizu_Destroy(Actor* thisx, PlayState* play);
|
|||
void BgSpot01Idomizu_Update(Actor* thisx, PlayState* play);
|
||||
void BgSpot01Idomizu_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_808ABB84(BgSpot01Idomizu* this, PlayState* play);
|
||||
void BgSpot01Idomizu_UpdateWaterLevel(BgSpot01Idomizu* this, PlayState* play);
|
||||
|
||||
ActorProfile Bg_Spot01_Idomizu_Profile = {
|
||||
/**/ ACTOR_BG_SPOT01_IDOMIZU,
|
||||
|
@ -36,20 +36,20 @@ void BgSpot01Idomizu_Init(Actor* thisx, PlayState* play) {
|
|||
BgSpot01Idomizu* this = (BgSpot01Idomizu*)thisx;
|
||||
|
||||
Actor_ProcessInitChain(&this->actor, sInitChain);
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_67) || LINK_AGE_IN_YEARS == YEARS_ADULT) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_DRAINED_WELL) || LINK_AGE_IN_YEARS == YEARS_ADULT) {
|
||||
this->waterHeight = -550.0f;
|
||||
} else {
|
||||
this->waterHeight = 52.0f;
|
||||
}
|
||||
this->actionFunc = func_808ABB84;
|
||||
this->actionFunc = BgSpot01Idomizu_UpdateWaterLevel;
|
||||
this->actor.world.pos.y = this->waterHeight;
|
||||
}
|
||||
|
||||
void BgSpot01Idomizu_Destroy(Actor* thisx, PlayState* play) {
|
||||
}
|
||||
|
||||
void func_808ABB84(BgSpot01Idomizu* this, PlayState* play) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_67)) {
|
||||
void BgSpot01Idomizu_UpdateWaterLevel(BgSpot01Idomizu* this, PlayState* play) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_DRAINED_WELL)) {
|
||||
this->waterHeight = -550.0f;
|
||||
}
|
||||
play->colCtx.colHeader->waterBoxes[0].ySurface = this->actor.world.pos.y;
|
||||
|
|
|
@ -134,7 +134,7 @@ void EnFu_WaitChild(EnFu* this, PlayState* play) {
|
|||
u16 textId = MaskReaction_GetTextId(play, MASK_REACTION_SET_WINDMILL_MAN);
|
||||
|
||||
if (textId == 0) {
|
||||
textId = GET_EVENTCHKINF(EVENTCHKINF_67) ? 0x5033 : 0x5032;
|
||||
textId = GET_EVENTCHKINF(EVENTCHKINF_DRAINED_WELL) ? 0x5033 : 0x5032;
|
||||
}
|
||||
|
||||
// if ACTOR_FLAG_TALK is set and textId is 0x5033, change animation
|
||||
|
|
|
@ -3886,7 +3886,7 @@ void KaleidoScope_Update(PlayState* play) {
|
|||
if (CHECK_QUEST_ITEM(QUEST_SONG_STORMS)) {
|
||||
pauseCtx->worldMapPoints[WORLD_MAP_POINT_KAKARIKO_VILLAGE] = WORLD_MAP_POINT_STATE_HIGHLIGHT;
|
||||
}
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_67)) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_DRAINED_WELL)) {
|
||||
pauseCtx->worldMapPoints[WORLD_MAP_POINT_KAKARIKO_VILLAGE] = WORLD_MAP_POINT_STATE_SHOW;
|
||||
}
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_AA)) {
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
<Item Key="quake_stop" ID="CS_MISC_QUAKE_STOP" Index="17"/>
|
||||
<Item Key="stop_storm_and_advance_to_day" ID="CS_MISC_STOP_STORM_AND_ADVANCE_TO_DAY" Index="18"/>
|
||||
<Item Key="set_flag_fast_windmill" ID="CS_MISC_SET_FLAG_FAST_WINDMILL" Index="19"/>
|
||||
<Item Key="set_flag_well_drained" ID="CS_MISC_SET_FLAG_WELL_DRAINED" Index="20"/>
|
||||
<Item Key="set_flag_drained_well" ID="CS_MISC_SET_FLAG_DRAINED_WELL" Index="20"/>
|
||||
<Item Key="set_flag_lake_hylia_restored" ID="CS_MISC_SET_FLAG_LAKE_HYLIA_RESTORED" Index="21"/>
|
||||
<Item Key="vismono_black_and_white" ID="CS_MISC_VISMONO_BLACK_AND_WHITE" Index="22"/>
|
||||
<Item Key="vismono_sepia" ID="CS_MISC_VISMONO_SEPIA" Index="23"/>
|
||||
|
|
|
@ -329,7 +329,7 @@ cutscene_misc_types = {
|
|||
0x11: "CS_MISC_QUAKE_STOP",
|
||||
0x12: "CS_MISC_STOP_STORM_AND_ADVANCE_TO_DAY",
|
||||
0x13: "CS_MISC_SET_FLAG_FAST_WINDMILL",
|
||||
0x14: "CS_MISC_SET_FLAG_WELL_DRAINED",
|
||||
0x14: "CS_MISC_SET_FLAG_DRAINED_WELL",
|
||||
0x15: "CS_MISC_SET_FLAG_LAKE_HYLIA_RESTORED",
|
||||
0x16: "CS_MISC_VISMONO_BLACK_AND_WHITE",
|
||||
0x17: "CS_MISC_VISMONO_SEPIA",
|
||||
|
|
Loading…
Reference in a new issue