summaryrefslogtreecommitdiff
path: root/src/object/windcrest.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-02-03 17:38:27 -0800
committertheo3 <arisstephenson2@gmail.com>2021-02-03 17:38:27 -0800
commitbe1598afbb4f2ee91e7c83f0943f1f9f85a58f14 (patch)
tree1741735860acc82a01733c37048bed47118e7d9d /src/object/windcrest.c
parent32fc754306283eb9a1933f8615d1a164049b82b4 (diff)
fileScreen.c OK
Diffstat (limited to 'src/object/windcrest.c')
-rw-r--r--src/object/windcrest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object/windcrest.c b/src/object/windcrest.c
index f8c804e5..ff559344 100644
--- a/src/object/windcrest.c
+++ b/src/object/windcrest.c
@@ -1,6 +1,7 @@
#include "global.h"
#include "entity.h"
#include "functions.h"
+#include "save.h"
extern void sub_0807DD64(Entity*);
extern void sub_0807DDAC(Entity*, u32);
@@ -27,6 +28,6 @@ void sub_080A2124(Entity* this) {
void Windcrest_Unlock(Entity* this) {
PlaySFX(0x72);
- gUnk_02002A40.windcrests = gUnk_02002A40.windcrests | 1 << (this->entityType.parameter + 0x18);
+ gSave.windcrests = gSave.windcrests | 1 << (this->entityType.parameter + 0x18);
CreateFx(this, 0x46, 0);
}