From c084cfbae27e5f9cd542c3e36a8564e04bf2b226 Mon Sep 17 00:00:00 2001 From: theo3 Date: Sat, 18 Jul 2020 16:03:20 -0700 Subject: updated flag func calls --- src/object/cloud.c | 2 +- src/object/treeHidingPortal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/object') diff --git a/src/object/cloud.c b/src/object/cloud.c index 027899cd..c55e0d57 100644 --- a/src/object/cloud.c +++ b/src/object/cloud.c @@ -72,7 +72,7 @@ void sub_0809F548(Entity* this) { void sub_0809F5B0(Entity* this) { if (--this->actionDelay == 0) { PlaySFX(115); - SetGlobalFlag(36); + SetGlobalFlag(KUMOTATSUMAKI); LoadRoomEntityList(&gUnk_080DD750); DeleteThisEntity(); } diff --git a/src/object/treeHidingPortal.c b/src/object/treeHidingPortal.c index 8ea54861..8bab5747 100644 --- a/src/object/treeHidingPortal.c +++ b/src/object/treeHidingPortal.c @@ -35,7 +35,7 @@ void sub_0809E83C(Entity* this) { void sub_0809E86C(Entity* this) { if (sub_0800419C(this, &gLinkEntity, 0x30, 0x30)) { - if (CheckGlobalFlag(0x14)) { + if (CheckGlobalFlag(EZERO_1ST)) { if (((gUnk_030010A0 & 3) == 0)) { sub_080A2B80(this); } -- cgit v1.2.3