mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
commit
6872d6f196
@ -382,8 +382,7 @@ static void npc_clear_strange_bits(struct ObjectEvent *objEvent)
|
|||||||
|
|
||||||
static void MovePlayerAvatarUsingKeypadInput(u8 direction, u16 newKeys, u16 heldKeys)
|
static void MovePlayerAvatarUsingKeypadInput(u8 direction, u16 newKeys, u16 heldKeys)
|
||||||
{
|
{
|
||||||
if ((gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_MACH_BIKE)
|
if (gPlayerAvatar.flags & (PLAYER_AVATAR_FLAG_MACH_BIKE | PLAYER_AVATAR_FLAG_ACRO_BIKE))
|
||||||
|| (gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_ACRO_BIKE))
|
|
||||||
MovePlayerOnBike(direction, newKeys, heldKeys);
|
MovePlayerOnBike(direction, newKeys, heldKeys);
|
||||||
else
|
else
|
||||||
MovePlayerNotOnBike(direction, heldKeys);
|
MovePlayerNotOnBike(direction, heldKeys);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user