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.
This commit is contained in:
@@ -79,7 +79,7 @@ static const u32 sRegionMapCityZoomTiles_Gfx[] = INCBIN_U32("graphics/pokenav/zo
|
||||
|
||||
#include "data/region_map/city_map_tilemaps.h"
|
||||
|
||||
static const struct BgTemplate sRegionMapBgTemplates[3] =
|
||||
static const struct BgTemplate sRegionMapBgTemplates[3] =
|
||||
{
|
||||
{
|
||||
.bg = 1,
|
||||
@@ -110,7 +110,7 @@ static const struct BgTemplate sRegionMapBgTemplates[3] =
|
||||
},
|
||||
};
|
||||
|
||||
static const LoopedTask sRegionMapLoopTaskFuncs[] =
|
||||
static const LoopedTask sRegionMapLoopTaskFuncs[] =
|
||||
{
|
||||
[POKENAV_MAP_FUNC_NONE] = NULL,
|
||||
[POKENAV_MAP_FUNC_CURSOR_MOVED] = LoopedTask_UpdateInfoAfterCursorMove,
|
||||
@@ -119,18 +119,18 @@ static const LoopedTask sRegionMapLoopTaskFuncs[] =
|
||||
[POKENAV_MAP_FUNC_EXIT] = LoopedTask_ExitRegionMap
|
||||
};
|
||||
|
||||
static const struct CompressedSpriteSheet sCityZoomTextSpriteSheet[1] =
|
||||
static const struct CompressedSpriteSheet sCityZoomTextSpriteSheet[1] =
|
||||
{
|
||||
{gRegionMapCityZoomText_Gfx, 0x800, 6}
|
||||
};
|
||||
|
||||
static const struct SpritePalette sCityZoomTilesSpritePalette[] =
|
||||
static const struct SpritePalette sCityZoomTilesSpritePalette[] =
|
||||
{
|
||||
{gRegionMapCityZoomTiles_Pal, 11},
|
||||
{}
|
||||
};
|
||||
|
||||
static const struct WindowTemplate sMapSecInfoWindowTemplate =
|
||||
static const struct WindowTemplate sMapSecInfoWindowTemplate =
|
||||
{
|
||||
.bg = 1,
|
||||
.tilemapLeft = 17,
|
||||
@@ -143,7 +143,7 @@ static const struct WindowTemplate sMapSecInfoWindowTemplate =
|
||||
|
||||
#include "data/region_map/city_map_entries.h"
|
||||
|
||||
const struct OamData sCityZoomTextSprite_OamData =
|
||||
const struct OamData sCityZoomTextSprite_OamData =
|
||||
{
|
||||
.y = 0,
|
||||
.affineMode = ST_OAM_AFFINE_OFF,
|
||||
@@ -592,7 +592,7 @@ static void Task_ChangeBgYForZoom(u8 taskId)
|
||||
ChangeBgY(1, 0, 0);
|
||||
DestroyTask(taskId);
|
||||
}
|
||||
|
||||
|
||||
UpdateCityZoomTextPosition();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user