summaryrefslogtreecommitdiff
path: root/src/fade.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-11-11 21:18:48 -0800
committertheo3 <arisstephenson2@gmail.com>2021-11-11 21:18:48 -0800
commitfddb4abd534ef1ef623cb044bc97c45713fbcfd1 (patch)
tree4668fa2e16aa441da3c2f06b8d9b54c9762c2523 /src/fade.c
parent313cc336f21fcf81e3e336b4fe45ca5053771f93 (diff)
move entity update functions
Diffstat (limited to 'src/fade.c')
-rw-r--r--src/fade.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fade.c b/src/fade.c
index fe77e3d0..1ed6ffd0 100644
--- a/src/fade.c
+++ b/src/fade.c
@@ -38,9 +38,9 @@ void DoFade(u32 fadeType, u32 fadeSpeed) {
}
if ((fadeType & 8) != 0) {
gUnk_03000000.spritesOffset = 1;
- gScreen.bg.bg1Control |= 0x40;
- gScreen.affine.bg2Control |= 0x40;
- gScreen.affine.bg3Control |= 0x40;
+ gScreen.bg1.control |= 0x40;
+ gScreen.bg2.control |= 0x40;
+ gScreen.bg3.control |= 0x40;
}
if ((fadeType & 0x10) != 0) {
sub_0801E1B8(gFadeControl.field_0x16, gFadeControl.field_0x18);