mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-17 22:02:19 -05:00
Rename Kakariko Well water level function (decomp) (#4656)
This commit is contained in:
parent
732b8c10f7
commit
d8d9119de9
@ -14,7 +14,7 @@ void BgSpot01Idomizu_Destroy(Actor* thisx, PlayState* play);
|
|||||||
void BgSpot01Idomizu_Update(Actor* thisx, PlayState* play);
|
void BgSpot01Idomizu_Update(Actor* thisx, PlayState* play);
|
||||||
void BgSpot01Idomizu_Draw(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);
|
||||||
|
|
||||||
const ActorInit Bg_Spot01_Idomizu_InitVars = {
|
const ActorInit Bg_Spot01_Idomizu_InitVars = {
|
||||||
ACTOR_BG_SPOT01_IDOMIZU,
|
ACTOR_BG_SPOT01_IDOMIZU,
|
||||||
@ -42,14 +42,14 @@ void BgSpot01Idomizu_Init(Actor* thisx, PlayState* play) {
|
|||||||
} else {
|
} else {
|
||||||
this->waterHeight = 52.0f;
|
this->waterHeight = 52.0f;
|
||||||
}
|
}
|
||||||
this->actionFunc = func_808ABB84;
|
this->actionFunc = BgSpot01Idomizu_UpdateWaterLevel;
|
||||||
this->actor.world.pos.y = this->waterHeight;
|
this->actor.world.pos.y = this->waterHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BgSpot01Idomizu_Destroy(Actor* thisx, PlayState* play) {
|
void BgSpot01Idomizu_Destroy(Actor* thisx, PlayState* play) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void func_808ABB84(BgSpot01Idomizu* this, PlayState* play) {
|
void BgSpot01Idomizu_UpdateWaterLevel(BgSpot01Idomizu* this, PlayState* play) {
|
||||||
if (Flags_GetEventChkInf(EVENTCHKINF_DRAINED_WELL_IN_KAKARIKO)) {
|
if (Flags_GetEventChkInf(EVENTCHKINF_DRAINED_WELL_IN_KAKARIKO)) {
|
||||||
this->waterHeight = -550.0f;
|
this->waterHeight = -550.0f;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user