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:
@@ -28,9 +28,9 @@
|
||||
/*
|
||||
* Move relearner state machine
|
||||
* ------------------------
|
||||
*
|
||||
*
|
||||
* Entry point: TeachMoveRelearnerMove
|
||||
*
|
||||
*
|
||||
* TeachMoveRelearnerMove
|
||||
* Task_WaitForFadeOut
|
||||
* CB2_InitLearnMove
|
||||
@@ -45,21 +45,21 @@
|
||||
* DoMoveRelearnerMain: MENU_STATE_FADE_TO_BLACK
|
||||
* DoMoveRelearnerMain: MENU_STATE_WAIT_FOR_FADE
|
||||
* - Go to MENU_STATE_IDLE_BATTLE_MODE
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_SETUP_BATTLE_MODE
|
||||
* DoMoveRelearnerMain: MENU_STATE_IDLE_BATTLE_MODE
|
||||
* - If the player selected a move (pressed A), go to MENU_STATE_PRINT_TEACH_MOVE_PROMPT.
|
||||
* - If the player cancelled (pressed B), go to MENU_STATE_PRINT_GIVE_UP_PROMPT.
|
||||
* - If the player pressed left or right, swap the move display window to contest mode,
|
||||
* and go to MENU_STATE_SETUP_CONTEST_MODE.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_SETUP_CONTEST_MODE
|
||||
* DoMoveRelearnerMain: MENU_STATE_IDLE_CONTEST_MODE
|
||||
* - If the player selected a move, go to MENU_STATE_PRINT_TEACH_MOVE_PROMPT.
|
||||
* - If the player cancelled, go to MENU_STATE_PRINT_GIVE_UP_PROMPT
|
||||
* - If the player pressed left or right, swap the move display window to battle mode,
|
||||
* and go to MENU_STATE_SETUP_BATTLE_MODE.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_TEACH_MOVE_PROMPT
|
||||
* DoMoveRelearnerMain: MENU_STATE_TEACH_MOVE_CONFIRM
|
||||
* - Wait for the player to confirm.
|
||||
@@ -68,24 +68,24 @@
|
||||
* MENU_STATE_PRINT_TEXT_THEN_FANFARE.
|
||||
* - If confirmed and the pokemon doesn't have an empty move slot, go to
|
||||
* MENU_STATE_PRINT_TRYING_TO_LEARN_PROMPT.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_TRYING_TO_LEARN_PROMPT
|
||||
* DoMoveRelearnerMain: MENU_STATE_WAIT_FOR_TRYING_TO_LEARN
|
||||
* DoMoveRelearnerMain: MENU_STATE_CONFIRM_DELETE_OLD_MOVE
|
||||
* - If the player confirms, go to MENU_STATE_PRINT_WHICH_MOVE_PROMPT.
|
||||
* - If the player cancels, go to MENU_STATE_PRINT_STOP_TEACHING
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_STOP_TEACHING
|
||||
* DoMoveRelearnerMain: MENU_STATE_WAIT_FOR_STOP_TEACHING
|
||||
* DoMoveRelearnerMain: MENU_STATE_CONFIRM_STOP_TEACHING
|
||||
* - If the player confirms, go to MENU_STATE_CHOOSE_SETUP_STATE.
|
||||
* - If the player cancels, go back to MENU_STATE_PRINT_TRYING_TO_LEARN_PROMPT.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_WHICH_MOVE_PROMPT
|
||||
* DoMoveRelearnerMain: MENU_STATE_SHOW_MOVE_SUMMARY_SCREEN
|
||||
* - Go to ShowSelectMovePokemonSummaryScreen. When done, control returns to
|
||||
* CB2_InitLearnMoveReturnFromSelectMove.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_DOUBLE_FANFARE_FORGOT_MOVE
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_TEXT_THEN_FANFARE
|
||||
* DoMoveRelearnerMain: MENU_STATE_WAIT_FOR_FANFARE
|
||||
@@ -93,13 +93,13 @@
|
||||
* DoMoveRelearnerMain: MENU_STATE_FADE_AND_RETURN
|
||||
* DoMoveRelearnerMain: MENU_STATE_RETURN_TO_FIELD
|
||||
* - Clean up and go to CB2_ReturnToField.
|
||||
*
|
||||
*
|
||||
* DoMoveRelearnerMain: MENU_STATE_PRINT_GIVE_UP_PROMPT
|
||||
* DoMoveRelearnerMain: MENU_STATE_GIVE_UP_CONFIRM
|
||||
* - If the player confirms, go to MENU_STATE_FADE_AND_RETURN, and set VAR_0x8004 to FALSE.
|
||||
* - If the player cancels, go to either MENU_STATE_SETUP_BATTLE_MODE or
|
||||
* MENU_STATE_SETUP_CONTEST_MODE.
|
||||
*
|
||||
*
|
||||
* CB2_InitLearnMoveReturnFromSelectMove:
|
||||
* - Do most of the same stuff as CB2_InitLearnMove.
|
||||
* DoMoveRelearnerMain: MENU_STATE_FADE_FROM_SUMMARY_SCREEN
|
||||
@@ -108,7 +108,7 @@
|
||||
* go to MENU_STATE_DOUBLE_FANFARE_FORGOT_MOVE and set VAR_0x8004 to TRUE.
|
||||
* - If the chosen move is the one the player selected before the summary screen,
|
||||
* go to MENU_STATE_PRINT_STOP_TEACHING.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#define MENU_STATE_FADE_TO_BLACK 0
|
||||
|
||||
Reference in New Issue
Block a user