summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-07-10 11:57:46 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-07-10 11:57:46 -0400
commit7dffc82a62ecb72f274a94ff08e1d81a52429cd7 (patch)
tree83e9e5ae06fd53347aa45a96fce9e6ba24d64a03
parent5694d3188ecc454bf4decbc7d7711d299055197d (diff)
Fix German build
-rw-r--r--src/script_menu.c2
-rw-r--r--src/title_screen.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/script_menu.c b/src/script_menu.c
index 737602880..137320a47 100644
--- a/src/script_menu.c
+++ b/src/script_menu.c
@@ -897,11 +897,11 @@ bool8 ScriptMenu_CreatePCMultichoice(void)
void ScriptMenu_CreatePCMenu(void)
{
- u16 playersPCWidth = GetStringWidthInTilesForScriptMenu(gPCText_PlayersPC);
u8 width;
u8 numChoices;
#if ENGLISH
+ u16 playersPCWidth = GetStringWidthInTilesForScriptMenu(gPCText_PlayersPC);
if (playersPCWidth > GetStringWidthInTilesForScriptMenu(gPCText_SomeonesPC))
width = playersPCWidth;
else
diff --git a/src/title_screen.c b/src/title_screen.c
index c4c1575cc..c686c8d89 100644
--- a/src/title_screen.c
+++ b/src/title_screen.c
@@ -438,9 +438,7 @@ static void CreatePressStartBanner(s16 x, s16 y)
spriteId = CreateSprite(&sStartCopyrightBannerSpriteTemplate, x, y, 0);
StartSpriteAnim(&gSprites[spriteId], 8);
gSprites[spriteId].data[0] = 1;
- x -= 0x60;
- y -= 0x8;
- spriteId = CreateSprite(&sStartCopyrightBannerSpriteTemplate, x, y, 0);
+ spriteId = CreateSprite(&sStartCopyrightBannerSpriteTemplate, x - 0x60, y - 0x8, 0);
StartSpriteAnim(&gSprites[spriteId], 9);
gSprites[spriteId].data[0] = 1;
#endif