summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-02-21 16:44:36 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-02-21 16:44:36 -0500
commit7624b5e5c0d4d8290356dc897c2ea179c842d2b8 (patch)
treef39d5da19fd92a02d1b66ac4f2eb1dae325952ab /include
parent93b05b4e42346a501b3c3eb971b0c1ed8c8b38a2 (diff)
Fix typo; use constants in some data/field_player_avatar arrays
Diffstat (limited to 'include')
-rw-r--r--include/constants/object_events.h4
-rw-r--r--include/field_player_avatar.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/constants/object_events.h b/include/constants/object_events.h
index d6f33b33c..89dd75b5f 100644
--- a/include/constants/object_events.h
+++ b/include/constants/object_events.h
@@ -3,14 +3,14 @@
#define OBJECT_EVENT_GFX_RED_NORMAL 0
#define OBJECT_EVENT_GFX_RED_BIKE 1
-#define OBJECT_EVENT_GFX_RED_RUN 2
+#define OBJECT_EVENT_GFX_RED_SURF 2
#define OBJECT_EVENT_GFX_RED_ITEM 3
#define OBJECT_EVENT_GFX_RED_FISH 4
#define OBJECT_EVENT_GFX_RED_ITEM_COPY 5
#define OBJECT_EVENT_GFX_RED_VS_SEEKER 6
#define OBJECT_EVENT_GFX_GREEN_NORMAL 7
#define OBJECT_EVENT_GFX_GREEN_BIKE 8
-#define OBJECT_EVENT_GFX_GREEN_RUN 9
+#define OBJECT_EVENT_GFX_GREEN_SURF 9
#define OBJECT_EVENT_GFX_GREEN_ITEM 10
#define OBJECT_EVENT_GFX_GREEN_FISH 11
#define OBJECT_EVENT_GFX_GREEN_ITEM_COPY 12
diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h
index a69ec6155..e9553025c 100644
--- a/include/field_player_avatar.h
+++ b/include/field_player_avatar.h
@@ -16,7 +16,7 @@ void sub_808D074(u8);
void sub_805C270(void);
void sub_805C780(void);
void GetXYCoordsOneStepInFrontOfPlayer(s16 *xPtr, s16 *yPtr);
-u8 sub_805C808(u8);
+u8 GetPlayerAvatarGraphicsIdByStateId(u8);
void SetPlayerAvatarStateMask(u8 mask);
void sub_805D9C4(struct Sprite *sprite);
void sub_805D154(u8 direction);