small fix

This commit is contained in:
TheXaman 2021-11-30 12:28:13 +01:00
parent c402a840b1
commit dcf7dd6ce6

View File

@ -127,7 +127,7 @@ static const struct WindowTemplate sPokemonDebugMsgBoxWindowTemplate =
.tilemapTop = 14, .tilemapTop = 14,
.width = 11, .width = 11,
.height = 1, .height = 1,
.paletteNum = 0, .paletteNum = 0xF,
.baseBlock = 0x100 .baseBlock = 0x100
}; };
@ -688,7 +688,7 @@ void CB2_Debug_Pokemon(void)
data->messageBoxWindowId = AddWindow(&sPokemonDebugMsgBoxWindowTemplate); data->messageBoxWindowId = AddWindow(&sPokemonDebugMsgBoxWindowTemplate);
PutWindowTilemap(data->messageBoxWindowId); PutWindowTilemap(data->messageBoxWindowId);
CopyWindowToVram(data->messageBoxWindowId, 3); CopyWindowToVram(data->messageBoxWindowId, 3);
FillWindowPixelRect(data->messageBoxWindowId, PIXEL_FILL(0x1), 0, 0, 90, 4); FillWindowPixelRect(data->messageBoxWindowId, PIXEL_FILL(0x2), 0, 0, 90, 4);
gMain.state++; gMain.state++;
break; break;