summaryrefslogtreecommitdiff
path: root/include/field_player_avatar.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-05-21 09:56:19 -0700
committerMarcus Huderle <huderlem@gmail.com>2018-05-21 09:56:19 -0700
commitf661567c027f74d768451c5af72644d83ab80dc9 (patch)
tree89c21ae8423b7638c5a4cbf639ce7ccfafe2d604 /include/field_player_avatar.h
parent4ee671c9bf6e4ba920f58cd8d4a6facc8bed431d (diff)
Define PLAYER_AVATAR_STATE_ enum, and label things related to it
Diffstat (limited to 'include/field_player_avatar.h')
-rw-r--r--include/field_player_avatar.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h
index 1b25aad24..b62782c8d 100644
--- a/include/field_player_avatar.h
+++ b/include/field_player_avatar.h
@@ -3,6 +3,17 @@
#include "task.h"
+enum {
+ PLAYER_AVATAR_STATE_NORMAL,
+ PLAYER_AVATAR_STATE_MACH_BIKE,
+ PLAYER_AVATAR_STATE_ACRO_BIKE,
+ PLAYER_AVATAR_STATE_SURFING,
+ PLAYER_AVATAR_STATE_UNDERWATER,
+ PLAYER_AVATAR_STATE_FIELD_MOVE,
+ PLAYER_AVATAR_STATE_FISHING,
+ PLAYER_AVATAR_STATE_WATERING,
+};
+
// sub_80587B4
void player_step(u8 a, u16 b, u16 c);
u8 ForcedMovement_None(void);
@@ -69,7 +80,7 @@ u8 GetPlayerAvatarObjectId(void);
void sub_80597E8(void);
void sub_80597F4(void);
u8 GetRivalAvatarGraphicsIdByStateIdAndGender(u8 a, u8 b);
-u8 GetPlayerAvatarGraphicsIdByStateId(u8 a);
+u8 GetPlayerAvatarGraphicsIdByStateId(u8);
u8 GetPlayerAvatarGenderByGraphicsId(u8 gfxId);
bool8 PartyHasMonWithSurf(void);
bool8 IsPlayerSurfingNorth(void);