diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-04-06 05:05:33 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-04-06 14:34:36 -0400 |
commit | 756fad0e61e62e71af6cf451257f882691c004b0 (patch) | |
tree | 675340b2a0493dadf1adf999fea339de15ddff0f /src/field_player_avatar.c | |
parent | 802d2b2f0f4d5d5be80617dfbb53f6fe11cbeeb9 (diff) |
Document some event object movement
Diffstat (limited to 'src/field_player_avatar.c')
-rw-r--r-- | src/field_player_avatar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c index 94325bf34..9b1f4ceb6 100644 --- a/src/field_player_avatar.c +++ b/src/field_player_avatar.c @@ -722,9 +722,9 @@ static bool8 CanStopSurfing(s16 x, s16 y, u8 direction) } } -static bool8 ShouldJumpLedge(s16 x, s16 y, u8 z) +static bool8 ShouldJumpLedge(s16 x, s16 y, u8 direction) { - if (GetLedgeJumpDirection(x, y, z) != 0) + if (GetLedgeJumpDirection(x, y, direction) != DIR_NONE) return TRUE; else return FALSE; @@ -1192,7 +1192,7 @@ u8 GetPlayerAvatarFlags(void) return gPlayerAvatar.flags; } -u8 GetPlayerAvatarObjectId(void) +u8 GetPlayerAvatarSpriteId(void) { return gPlayerAvatar.spriteId; } |