Rename Sleeping Waterfall state machine function (decomp) (#4655)
This commit is contained in:
@@ -15,7 +15,7 @@ void BgSpot03Taki_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgSpot03Taki_Update(Actor* thisx, PlayState* play);
|
||||
void BgSpot03Taki_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_808ADEF0(BgSpot03Taki* this, PlayState* play);
|
||||
void BgSpot03Taki_HandleWaterfallState(BgSpot03Taki* this, PlayState* play);
|
||||
|
||||
const ActorInit Bg_Spot03_Taki_InitVars = {
|
||||
ACTOR_BG_SPOT03_TAKI,
|
||||
@@ -60,7 +60,7 @@ void BgSpot03Taki_Init(Actor* thisx, PlayState* play) {
|
||||
this->openingAlpha = 255.0f;
|
||||
BgSpot03Taki_ApplyOpeningAlpha(this, 0);
|
||||
BgSpot03Taki_ApplyOpeningAlpha(this, 1);
|
||||
this->actionFunc = func_808ADEF0;
|
||||
this->actionFunc = BgSpot03Taki_HandleWaterfallState;
|
||||
}
|
||||
|
||||
void BgSpot03Taki_Destroy(Actor* thisx, PlayState* play) {
|
||||
@@ -69,7 +69,7 @@ void BgSpot03Taki_Destroy(Actor* thisx, PlayState* play) {
|
||||
DynaPoly_DeleteBgActor(play, &play->colCtx.dyna, this->dyna.bgId);
|
||||
}
|
||||
|
||||
void func_808ADEF0(BgSpot03Taki* this, PlayState* play) {
|
||||
void BgSpot03Taki_HandleWaterfallState(BgSpot03Taki* this, PlayState* play) {
|
||||
if (this->state == WATERFALL_CLOSED) {
|
||||
if (Flags_GetSwitch(play, this->switchFlag)) {
|
||||
this->state = WATERFALL_OPENING_ANIMATED;
|
||||
|
||||
Reference in New Issue
Block a user