Merge branch 'master' into tag-none
This commit is contained in:
@@ -80,33 +80,33 @@ static const struct BgTemplate sBgTemplates[] =
|
||||
static const struct WindowTemplate sWindowTemplates[] =
|
||||
{
|
||||
{
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 1,
|
||||
.width = 19,
|
||||
.height = 9,
|
||||
.paletteNum = 15,
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 1,
|
||||
.width = 19,
|
||||
.height = 9,
|
||||
.paletteNum = 15,
|
||||
.baseBlock = 0x155
|
||||
},
|
||||
{
|
||||
.bg = 0,
|
||||
.tilemapLeft = 2,
|
||||
.tilemapTop = 15,
|
||||
.width = 27,
|
||||
.height = 4,
|
||||
.paletteNum = 15,
|
||||
.bg = 0,
|
||||
.tilemapLeft = 2,
|
||||
.tilemapTop = 15,
|
||||
.width = 27,
|
||||
.height = 4,
|
||||
.paletteNum = 15,
|
||||
.baseBlock = 0xE9
|
||||
},
|
||||
DUMMY_WIN_TEMPLATE
|
||||
};
|
||||
|
||||
static const struct WindowTemplate sInputTimeWindow = {
|
||||
.bg = 0,
|
||||
.tilemapLeft = 4,
|
||||
.tilemapTop = 9,
|
||||
.width = 21,
|
||||
.height = 2,
|
||||
.paletteNum = 15,
|
||||
.bg = 0,
|
||||
.tilemapLeft = 4,
|
||||
.tilemapTop = 9,
|
||||
.width = 21,
|
||||
.height = 2,
|
||||
.paletteNum = 15,
|
||||
.baseBlock = 0xBF
|
||||
};
|
||||
|
||||
@@ -362,7 +362,7 @@ static void PrintTime(u8 windowId, u8 x, u8 y, u16 days, u8 hours, u8 minutes, u
|
||||
{
|
||||
u8 *dest = gStringVar4;
|
||||
|
||||
// Print days
|
||||
// Print days
|
||||
ConvertIntToDecimalStringN(gStringVar1, days, STR_CONV_MODE_RIGHT_ALIGN, 4);
|
||||
dest = StringCopy(dest, gStringVar1);
|
||||
dest = StringCopy(dest, gText_Day);
|
||||
@@ -648,7 +648,7 @@ static void Task_ResetRtcScreen(u8 taskId)
|
||||
case MAINSTATE_CHECK_SAVE:
|
||||
if (!gPaletteFade.active)
|
||||
{
|
||||
if (gSaveFileStatus == SAVE_STATUS_EMPTY
|
||||
if (gSaveFileStatus == SAVE_STATUS_EMPTY
|
||||
|| gSaveFileStatus == SAVE_STATUS_CORRUPT)
|
||||
{
|
||||
ShowMessage(gText_NoSaveFileCantSetTime);
|
||||
|
||||
Reference in New Issue
Block a user