From fddb4abd534ef1ef623cb044bc97c45713fbcfd1 Mon Sep 17 00:00:00 2001 From: theo3 Date: Thu, 11 Nov 2021 21:18:48 -0800 Subject: move entity update functions --- src/npc/bigGoron.c | 6 +++--- src/npc/phonograph.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/npc') diff --git a/src/npc/bigGoron.c b/src/npc/bigGoron.c index d5320463..234a3f7c 100644 --- a/src/npc/bigGoron.c +++ b/src/npc/bigGoron.c @@ -96,9 +96,9 @@ void sub_0806D0B0(Entity* this) { if (this != NULL) { sub_0806D164(this); } - gScreen.bg.bg1Control = 0x1d47; - gScreen.bg.bg1Tilemap = &gMapDataTopSpecial; - gScreen.bg.bg1Updated = 1; + gScreen.bg1.control = 0x1d47; + gScreen.bg1.tilemap = &gMapDataTopSpecial; + gScreen.bg1.updated = 1; } void sub_0806D0F8(void) { diff --git a/src/npc/phonograph.c b/src/npc/phonograph.c index 38604490..da7478a2 100644 --- a/src/npc/phonograph.c +++ b/src/npc/phonograph.c @@ -32,6 +32,6 @@ void sub_0806EABC(Entity* this, u32 param) { sub_08050384(); sub_08057044(param, &gUnk_020227E8, 0x202020); sub_0805F46C(0x3302, &gUnk_081146B8); - gScreen.bg.bg0Updated = 1; + gScreen.bg0.updated = 1; } #endif -- cgit v1.2.3