summaryrefslogtreecommitdiff
path: root/src/frontier_pass.c
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
committerLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
commit554210c5e315e786ddc6eef888e9ff6065ad73f8 (patch)
tree66bb5065902fb10a4ad007e53cb61f90fd68e624 /src/frontier_pass.c
parent63e6b914e4d9b9bdb0a8d621b2ed233990f2ef66 (diff)
Removed trailing spaces in the most relevant files
Command used for the job: egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g' Credits to Grant Murphy from Stack Overflow.
Diffstat (limited to 'src/frontier_pass.c')
-rw-r--r--src/frontier_pass.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontier_pass.c b/src/frontier_pass.c
index e3e5ee1f2..53bd68eac 100644
--- a/src/frontier_pass.c
+++ b/src/frontier_pass.c
@@ -178,9 +178,9 @@ static const u32 sUnusedData[] = INCBIN_U32("graphics/frontier
static const u32 sBattleRecord_Tilemap[] = INCBIN_U32("graphics/frontier_pass/record_frame.bin.lz");
static const u32 sMapAndCard_Zooming_Tilemap[] = INCBIN_U32("graphics/frontier_pass/small_map_and_card_affine.bin.lz");
-static const s16 sBgAffineCoords[][2] =
+static const s16 sBgAffineCoords[][2] =
{
- [CURSOR_AREA_MAP - 1] = {216, 32},
+ [CURSOR_AREA_MAP - 1] = {216, 32},
[CURSOR_AREA_CARD - 1] = {216, 128}
};
@@ -1099,7 +1099,7 @@ static void Task_PassAreaZoom(u8 taskId)
tScaleY += tScaleSpeedY;
sPassGfx->scaleX = MathUtil_Inv16(tScaleX);
sPassGfx->scaleY = MathUtil_Inv16(tScaleY);
-
+
// Check if zoom hasn't reached target
if (!tZoomOut)
{
@@ -1117,7 +1117,7 @@ static void Task_PassAreaZoom(u8 taskId)
sPassGfx->zooming = FALSE;
if (UpdatePaletteFade())
return;
-
+
if (!tZoomOut)
{
// Zoomed in and faded out, switch to map or trainer card
@@ -1174,7 +1174,7 @@ static void ShowAndPrintWindows(void)
static void PrintAreaDescription(u8 cursorArea)
{
FillWindowPixelBuffer(WINDOW_DESCRIPTION, PIXEL_FILL(0));
-
+
if (cursorArea == CURSOR_AREA_RECORD && !sPassData->hasBattleRecord)
AddTextPrinterParameterized3(WINDOW_DESCRIPTION, 1, 2, 0, sTextColors[1], 0, sPassAreaDescriptions[CURSOR_AREA_NOTHING]);
else if (cursorArea != CURSOR_AREA_NOTHING)
@@ -1256,7 +1256,7 @@ static void UpdateAreaHighlight(u8 cursorArea, u8 previousCursorArea)
return;
break;
}
-
+
// If moving on to highlightable area, highlight it
switch (cursorArea)
{