Skip to content

Commit

Permalink
Adult Ruto function and property names pulled in from decomp
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLongstaff committed Dec 9, 2024
1 parent 732b8c1 commit 46f982d
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 297 deletions.
4 changes: 2 additions & 2 deletions soh/soh/Enhancements/timesaver_hook_handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extern int32_t D_8011D3AC;
extern void func_808ADEF0(BgSpot03Taki* bgSpot03Taki, PlayState* play);
extern void BgSpot03Taki_ApplyOpeningAlpha(BgSpot03Taki* bgSpot03Taki, s32 bufferIndex);

extern void func_80AF36EC(EnRu2* enRu2, PlayState* play);
extern void EnRu2_SetEncounterSwitchFlag(EnRu2* enRu2, PlayState* play);
}

#define RAND_GET_OPTION(option) Rando::Context::GetInstance()->GetOption(option).GetContextOptionIndex()
Expand Down Expand Up @@ -883,7 +883,7 @@ void TimeSaverOnActorInitHandler(void* actorRef) {
if (actor->id == ACTOR_EN_RU2 && gPlayState->sceneNum == SCENE_WATER_TEMPLE) {
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipCutscene.Story"), IS_RANDO)) {
EnRu2* enRu2 = (EnRu2*)actor;
func_80AF36EC(enRu2, gPlayState);
EnRu2_SetEncounterSwitchFlag(enRu2, gPlayState);
Actor_Kill(actor);
}
}
Expand Down
Loading

0 comments on commit 46f982d

Please sign in to comment.