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:
+6
-6
@@ -352,14 +352,14 @@ static void Task_LinkupExchangeDataWithLeader(u8 taskId)
|
||||
gSpecialVar_Result = ExchangeDataAndGetLinkupStatus(minPlayers, maxPlayers);
|
||||
if (gSpecialVar_Result == LINKUP_ONGOING)
|
||||
return;
|
||||
if (gSpecialVar_Result == LINKUP_DIFF_SELECTIONS
|
||||
if (gSpecialVar_Result == LINKUP_DIFF_SELECTIONS
|
||||
|| gSpecialVar_Result == LINKUP_WRONG_NUM_PLAYERS)
|
||||
{
|
||||
SetCloseLinkCallback();
|
||||
HideFieldMessageBox();
|
||||
gTasks[taskId].func = Task_StopLinkup;
|
||||
}
|
||||
else if (gSpecialVar_Result == LINKUP_PLAYER_NOT_READY
|
||||
else if (gSpecialVar_Result == LINKUP_PLAYER_NOT_READY
|
||||
|| gSpecialVar_Result == LINKUP_PARTNER_NOT_READY)
|
||||
{
|
||||
CloseLink();
|
||||
@@ -407,7 +407,7 @@ static void Task_LinkupCheckStatusAfterConfirm(u8 taskId)
|
||||
HideFieldMessageBox();
|
||||
gTasks[taskId].func = Task_StopLinkup;
|
||||
}
|
||||
else if (gSpecialVar_Result == LINKUP_PLAYER_NOT_READY
|
||||
else if (gSpecialVar_Result == LINKUP_PLAYER_NOT_READY
|
||||
|| gSpecialVar_Result == LINKUP_PARTNER_NOT_READY)
|
||||
{
|
||||
CloseLink();
|
||||
@@ -1023,9 +1023,9 @@ void CB2_ReturnFromCableClubBattle(void)
|
||||
|
||||
void CleanupLinkRoomState(void)
|
||||
{
|
||||
if (gSpecialVar_0x8004 == USING_SINGLE_BATTLE
|
||||
|| gSpecialVar_0x8004 == USING_DOUBLE_BATTLE
|
||||
|| gSpecialVar_0x8004 == USING_MULTI_BATTLE
|
||||
if (gSpecialVar_0x8004 == USING_SINGLE_BATTLE
|
||||
|| gSpecialVar_0x8004 == USING_DOUBLE_BATTLE
|
||||
|| gSpecialVar_0x8004 == USING_MULTI_BATTLE
|
||||
|| gSpecialVar_0x8004 == USING_BATTLE_TOWER)
|
||||
{
|
||||
LoadPlayerParty();
|
||||
|
||||
Reference in New Issue
Block a user