summaryrefslogtreecommitdiff
path: root/src/bike.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-05 13:03:12 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-05 13:03:12 -0400
commitd343d1f19a74657489d987dbd97b84e7389ae295 (patch)
tree2e47b11231a68494c5146a32b2a90685cc850a13 /src/bike.c
parentac4ca95a7bcf05482add953aafa081df824fc954 (diff)
parent6b5f5b95bdac53ab4abd93302897d02118738561 (diff)
whitespace was released outside. Bye-bye, whitespace!
Diffstat (limited to 'src/bike.c')
-rw-r--r--src/bike.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bike.c b/src/bike.c
index 4faa6329f..d7175b5e0 100644
--- a/src/bike.c
+++ b/src/bike.c
@@ -303,7 +303,7 @@ static u8 AcroBikeHandleInputTurning(u8 *newDirection, u16 newKeys, u16 heldKeys
*newDirection = gPlayerAvatar.unk9;
gPlayerAvatar.bikeFrameCounter++;
-
+
//Wait 6 frames before actually changing direction
if (gPlayerAvatar.bikeFrameCounter > 6)
{
@@ -341,7 +341,7 @@ static u8 AcroBikeHandleInputWheelieStanding(u8 *ptr, u16 newKeys, u16 heldKeys)
direction = player_get_direction_upper_nybble();
playerMapObj = &gMapObjects[gPlayerAvatar.mapObjectId];
gPlayerAvatar.running2 = 0;
-
+
if (heldKeys & B_BUTTON)
gPlayerAvatar.bikeFrameCounter++;
else
@@ -406,9 +406,9 @@ static u8 AcroBikeHandleInputBunnyHop(u8 *ptr, u16 newKeys, u16 heldKeys)
return 4;
}
}
-
+
//B Button is still held
-
+
if (*ptr == DIR_NONE)
{
*ptr = direction;