summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-06-24 22:22:33 +0200
committerMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-06-24 22:22:33 +0200
commitce569feb587e8d3cc0dca403de2d8614e8abb9ca (patch)
treeada4c5523f79ebafb454bd953650c599cc17487f
parentf97bc0382eccce90d5649563ff31682d47a122fb (diff)
finish src
-rw-r--r--src/naming_screen.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/naming_screen.c b/src/naming_screen.c
index 2c6a3e3af..6c107f022 100644
--- a/src/naming_screen.c
+++ b/src/naming_screen.c
@@ -473,8 +473,13 @@ static bool8 MainState_WaitPageSwap(struct Task *task)
sub_80B77F8();
SetInputState(INPUT_STATE_ENABLED);
GetCursorPos(&cursorX, &cursorY);
+#if ENGLISH
if (namingScreenData.currentPage == PAGE_OTHERS && (cursorX == 6 || cursorX == 7))
cursorX = 5;
+#elif GERMAN
+ if (namingScreenData.currentPage == PAGE_OTHERS && (cursorX == 7 || cursorX == 8))
+ cursorX = 6;
+#endif
SetCursorPos(cursorX, cursorY);
sub_80B6888(0);
}
@@ -759,7 +764,11 @@ static void HandleDpadMovement(struct Task *task)
if (sDpadDeltaX[dpadDir] != 0)
{
//The "others" page only has 5 columns
+#if ENGLISH
if (namingScreenData.currentPage == PAGE_OTHERS && (cursorX == 6 || cursorX == 7))
+#elif GERMAN
+ if (namingScreenData.currentPage == PAGE_OTHERS && (cursorX == 6 || cursorX == 7 || cursorX == 8))
+#endif
{
if (sDpadDeltaX[dpadDir] > 0)
cursorX = COLUMN_COUNT - 1;