Merge remote-tracking branch 'pret/master' into script_menu
This commit is contained in:
+10
-17
@@ -37,13 +37,6 @@
|
||||
EWRAM_DATA struct PyramidBagResources *gPyramidBagResources = NULL;
|
||||
EWRAM_DATA struct PyramidBagCursorData gPyramidBagCursorData = {0};
|
||||
|
||||
// gfx
|
||||
extern const u8 gUnknown_08D9ADD0[];
|
||||
extern const u8 gUnknown_08D9AE04[];
|
||||
extern const u8 gUnknown_08D9AF44[];
|
||||
extern const u16 gUnknown_0860F074[];
|
||||
extern const u8 gBattleFrontierGfx_PyramidBag[];
|
||||
|
||||
// This file's functions.
|
||||
static void Task_HandlePyramidBagInput(u8 taskId);
|
||||
static void sub_81C4F44(u8 taskId);
|
||||
@@ -195,7 +188,7 @@ static const u8 sColorTable[][3] =
|
||||
static const struct WindowTemplate gUnknown_0861F328[] =
|
||||
{
|
||||
{
|
||||
.priority = 0,
|
||||
.bg = 0,
|
||||
.tilemapLeft = 14,
|
||||
.tilemapTop = 2,
|
||||
.width = 15,
|
||||
@@ -204,7 +197,7 @@ static const struct WindowTemplate gUnknown_0861F328[] =
|
||||
.baseBlock = 30
|
||||
},
|
||||
{
|
||||
.priority = 0,
|
||||
.bg = 0,
|
||||
.tilemapLeft = 0,
|
||||
.tilemapTop = 13,
|
||||
.width = 14,
|
||||
@@ -213,7 +206,7 @@ static const struct WindowTemplate gUnknown_0861F328[] =
|
||||
.baseBlock = 270
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 2,
|
||||
.tilemapTop = 15,
|
||||
.width = 27,
|
||||
@@ -222,7 +215,7 @@ static const struct WindowTemplate gUnknown_0861F328[] =
|
||||
.baseBlock = 354
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 24,
|
||||
.tilemapTop = 17,
|
||||
.width = 5,
|
||||
@@ -236,7 +229,7 @@ static const struct WindowTemplate gUnknown_0861F328[] =
|
||||
static const struct WindowTemplate gUnknown_0861F350[] =
|
||||
{
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 22,
|
||||
.tilemapTop = 17,
|
||||
.width = 7,
|
||||
@@ -245,7 +238,7 @@ static const struct WindowTemplate gUnknown_0861F350[] =
|
||||
.baseBlock = 472
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 22,
|
||||
.tilemapTop = 15,
|
||||
.width = 7,
|
||||
@@ -254,7 +247,7 @@ static const struct WindowTemplate gUnknown_0861F350[] =
|
||||
.baseBlock = 472
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 15,
|
||||
.tilemapTop = 15,
|
||||
.width = 14,
|
||||
@@ -263,7 +256,7 @@ static const struct WindowTemplate gUnknown_0861F350[] =
|
||||
.baseBlock = 472
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 15,
|
||||
.tilemapTop = 13,
|
||||
.width = 14,
|
||||
@@ -272,7 +265,7 @@ static const struct WindowTemplate gUnknown_0861F350[] =
|
||||
.baseBlock = 472
|
||||
},
|
||||
{
|
||||
.priority = 1,
|
||||
.bg = 1,
|
||||
.tilemapLeft = 24,
|
||||
.tilemapTop = 15,
|
||||
.width = 5,
|
||||
@@ -1464,7 +1457,7 @@ static void sub_81C6DAC(u8 taskId, const struct YesNoFuncTable *yesNoTable)
|
||||
void DisplayItemMessageInBattlePyramid(u8 taskId, const u8 *str, void (*callback)(u8 taskId))
|
||||
{
|
||||
FillWindowPixelBuffer(2, 0x11);
|
||||
DisplayMessageAndContinueTask(taskId, 2, 0xA, 0xD, 1, GetPlayerTextSpeed(), str, callback);
|
||||
DisplayMessageAndContinueTask(taskId, 2, 0xA, 0xD, 1, GetPlayerTextSpeedDelay(), str, callback);
|
||||
schedule_bg_copy_tilemap_to_vram(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user