diff options
| author | theo3 <arisstephenson2@gmail.com> | 2020-08-08 14:59:11 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2020-08-08 14:59:11 -0700 |
| commit | ac67812a254a71f6face762b96a2849ef4e9ea76 (patch) | |
| tree | 91f3b89b091c267ddf7dc173b08e13d9f80e0320 /src/code_08077B98.c | |
| parent | 0cb4a64f67e94bcdd9c511ae30a422839a5f173b (diff) | |
renamed all occurences of "link" to "player"
Diffstat (limited to 'src/code_08077B98.c')
| -rw-r--r-- | src/code_08077B98.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code_08077B98.c b/src/code_08077B98.c index a29e2c22..cf2b3b2c 100644 --- a/src/code_08077B98.c +++ b/src/code_08077B98.c @@ -1,6 +1,6 @@ #include "global.h" #include "entity.h" -#include "link.h" +#include "player.h" #include "functions.h" @@ -23,8 +23,8 @@ extern struct_0811BE48 gUnk_0811BE48[]; void sub_08077B98(UnkItemStruct* unk) { - if ((gLinkState.field_0x2c == NULL) || (gLinkState.field_0x2c[9] != 1)) { - gLinkState.field_0x2c = sub_08077C54(unk); + if ((gPlayerState.field_0x2c == NULL) || (gPlayerState.field_0x2c[9] != 1)) { + gPlayerState.field_0x2c = sub_08077C54(unk); } } @@ -34,7 +34,7 @@ void sub_08077BB8(UnkItemStruct* unk) if (temp != NULL) { temp[0x10] = 0x20; } - gLinkState.field_0x2c = temp; + gPlayerState.field_0x2c = temp; } Entity* sub_08077BD4(ItemBehavior *beh) |
