diff options
| author | Ethan Roseman <ethteck@gmail.com> | 2020-03-24 00:18:33 -0400 |
|---|---|---|
| committer | Ethan Roseman <ethteck@gmail.com> | 2020-03-24 00:18:33 -0400 |
| commit | ba31478e23536d46ae35b54f9ebcb28875845802 (patch) | |
| tree | fb9b4bca8b7e5ea8fca2e155d7f91f7e0f14de67 /src | |
| parent | a8b19baf6ed34dc375bb104cffc38d878959a079 (diff) | |
Spacing
Diffstat (limited to 'src')
| -rw-r--r-- | src/overlays/actors/ovl_Bg_Spot09_Obj/z_bg_spot09_obj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/overlays/actors/ovl_Bg_Spot09_Obj/z_bg_spot09_obj.c b/src/overlays/actors/ovl_Bg_Spot09_Obj/z_bg_spot09_obj.c index 81079813c..b364db545 100644 --- a/src/overlays/actors/ovl_Bg_Spot09_Obj/z_bg_spot09_obj.c +++ b/src/overlays/actors/ovl_Bg_Spot09_Obj/z_bg_spot09_obj.c @@ -60,7 +60,9 @@ static s32 func_808B1AE0(BgSpot09Obj* this, GlobalContext* globalCtx) { if (gSaveContext.scene_setup_index >= 4) { return thisx->params == 0; } + temp_v1 = (gSaveContext.event_chk_inf[9] & 0xF) == 0xF; + if (LINK_IS_CHILD) { linkAge = YEARS_CHILD; } else { @@ -81,6 +83,7 @@ static s32 func_808B1AE0(BgSpot09Obj* this, GlobalContext* globalCtx) { } else { return thisx->params == 2; } + return 0; } |
