Merge pull request #1293 from GriffinRichards/typo-pyramind

Fix sPyramindFloorNames typo
This commit is contained in:
GriffinR
2021-01-05 00:16:24 -05:00
committed by GitHub

View File

@@ -138,7 +138,7 @@ static bool8 FieldCB_ReturnToFieldStartMenu(void);
static const struct WindowTemplate sSafariBallsWindowTemplate = {0, 1, 1, 9, 4, 0xF, 8};
static const u8* const sPyramindFloorNames[] =
static const u8* const sPyramidFloorNames[] =
{
gText_Floor1,
gText_Floor2,
@@ -383,7 +383,7 @@ static void ShowPyramidFloorWindow(void)
PutWindowTilemap(sBattlePyramidFloorWindowId);
DrawStdWindowFrame(sBattlePyramidFloorWindowId, FALSE);
StringCopy(gStringVar1, sPyramindFloorNames[gSaveBlock2Ptr->frontier.curChallengeBattleNum]);
StringCopy(gStringVar1, sPyramidFloorNames[gSaveBlock2Ptr->frontier.curChallengeBattleNum]);
StringExpandPlaceholders(gStringVar4, gText_BattlePyramidFloor);
AddTextPrinterParameterized(sBattlePyramidFloorWindowId, 1, gStringVar4, 0, 1, 0xFF, NULL);
CopyWindowToVram(sBattlePyramidFloorWindowId, 2);