mirror of
https://github.com/pret/pokediamond.git
synced 2026-10-02 05:16:49 -05:00
bgtemplate 2
This commit is contained in:
@@ -5,11 +5,6 @@
|
||||
|
||||
.rodata
|
||||
|
||||
.global MOD59_021D9EBC
|
||||
MOD59_021D9EBC: ; 0x021D9EBC
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global MOD59_021D9ED8
|
||||
MOD59_021D9ED8: ; 0x021D9ED8
|
||||
.byte 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A, 0x3C, 0x6A
|
||||
|
||||
@@ -34,7 +34,6 @@ extern BOOL MOD59_021D99F8(struct UnkStruct_02006234 *param0, u32 *param1);
|
||||
|
||||
//todo move with the other rodata
|
||||
extern struct GraphicsBanks MOD59_021D9F18;
|
||||
extern struct BgTemplate MOD59_021D9EBC;
|
||||
|
||||
extern const struct MOD59_ListStruct021D9E0C MOD59_021D9F40[5];
|
||||
extern const struct MOD59_ListStruct021D9E0C MOD59_021D9F68[5];
|
||||
@@ -56,28 +55,6 @@ const struct WindowTemplate MOD59_021D9D98 =
|
||||
.baseTile = 301,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9D90 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
.tilemapLeft = 8,
|
||||
.tilemapTop = 0,
|
||||
.width = 24,
|
||||
.height = 24,
|
||||
.paletteNum = 5,
|
||||
.baseTile = 301,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9DA8 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
.tilemapLeft = 2,
|
||||
.tilemapTop = 3,
|
||||
.width = 6,
|
||||
.height = 4,
|
||||
.paletteNum = 5,
|
||||
.baseTile = 853,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9DB0 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
@@ -100,6 +77,17 @@ const struct WindowTemplate MOD59_021D9DB8 =
|
||||
.baseTile = 877,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9DA8 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
.tilemapLeft = 2,
|
||||
.tilemapTop = 3,
|
||||
.width = 6,
|
||||
.height = 4,
|
||||
.paletteNum = 5,
|
||||
.baseTile = 853,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9DA0 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
@@ -111,6 +99,17 @@ const struct WindowTemplate MOD59_021D9DA0 =
|
||||
.baseTile = 737,
|
||||
};
|
||||
|
||||
const struct WindowTemplate MOD59_021D9D90 =
|
||||
{
|
||||
.bgId = GF_BG_LYR_MAIN_0,
|
||||
.tilemapLeft = 8,
|
||||
.tilemapTop = 0,
|
||||
.width = 24,
|
||||
.height = 24,
|
||||
.paletteNum = 5,
|
||||
.baseTile = 301,
|
||||
};
|
||||
|
||||
const u32 MOD59_021D9DC0[3] = { NARC_intro_narc_0031_NCGR, NARC_intro_narc_0032_NCGR, 0xFFFF };
|
||||
|
||||
const struct GraphicsModes MOD59_021D9DCC =
|
||||
@@ -151,6 +150,8 @@ const struct MOD59_ListStruct021D9E0C MOD59_021D9E0C[2] =
|
||||
}
|
||||
};
|
||||
|
||||
const u32 MOD59_021D9E44[5] = { 0, 6, 1, 12, 2060 };
|
||||
|
||||
const struct MOD59_UnkStruct021D9E30 MOD59_021D9E1C =
|
||||
{
|
||||
.scrnIds = { NARC_intro_narc_0003_NSCR, NARC_intro_narc_0004_NSCR, NARC_intro_narc_0005_NSCR, NARC_intro_narc_0006_NSCR, NARC_intro_narc_0007_NSCR }
|
||||
@@ -161,13 +162,16 @@ const struct MOD59_UnkStruct021D9E30 MOD59_021D9E30 =
|
||||
.scrnIds = { NARC_intro_narc_0026_NSCR, NARC_intro_narc_0027_NSCR, NARC_intro_narc_0027_NSCR, NARC_intro_narc_0028_NSCR, NARC_intro_narc_0029_NSCR }
|
||||
};
|
||||
|
||||
const u32 MOD59_021D9E44[5] = { 0, 6, 1, 12, 2060 };
|
||||
|
||||
const struct MOD59_CharStruct021D9E70 MOD59_021D9E70 =
|
||||
{
|
||||
.charData = { NARC_intro_narc_0013_NCGR, NARC_intro_narc_0044_NCGR, NARC_intro_narc_0045_NCGR, NARC_intro_narc_0046_NCGR, NARC_intro_narc_0047_NCGR, 0xFF }
|
||||
};
|
||||
|
||||
const struct MOD59_CharStruct021D9E70 MOD59_021D9E88 =
|
||||
{
|
||||
.charData = { NARC_intro_narc_0008_NCGR, NARC_intro_narc_0040_NCGR, NARC_intro_narc_0041_NCGR, NARC_intro_narc_0042_NCGR, NARC_intro_narc_0043_NCGR, 0xFF }
|
||||
};
|
||||
|
||||
const struct MOD59_ListStruct021D9E0C MOD59_021D9E58[3] =
|
||||
{
|
||||
{
|
||||
@@ -184,11 +188,6 @@ const struct MOD59_ListStruct021D9E0C MOD59_021D9E58[3] =
|
||||
}
|
||||
};
|
||||
|
||||
const struct MOD59_CharStruct021D9E70 MOD59_021D9E88 =
|
||||
{
|
||||
.charData = { NARC_intro_narc_0008_NCGR, NARC_intro_narc_0040_NCGR, NARC_intro_narc_0041_NCGR, NARC_intro_narc_0042_NCGR, NARC_intro_narc_0043_NCGR, 0xFF }
|
||||
};
|
||||
|
||||
const struct BgTemplate MOD59_021D9EA0 =
|
||||
{
|
||||
.x = 0,
|
||||
@@ -207,6 +206,24 @@ const struct BgTemplate MOD59_021D9EA0 =
|
||||
.mosaic = 0
|
||||
};
|
||||
|
||||
const struct BgTemplate MOD59_021D9EBC =
|
||||
{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.bufferSize = 2048,
|
||||
.baseTile = 0,
|
||||
|
||||
.size = 1,
|
||||
.colorMode = 0,
|
||||
.screenBase = 0,
|
||||
.charBase = 0,
|
||||
.bgExtPltt = 0,
|
||||
.priority = 0,
|
||||
.areaOver = 0,
|
||||
.unk17 = 0,
|
||||
.mosaic = 0
|
||||
};
|
||||
|
||||
extern void FUN_0200E1D0(u32 param0, u32 param1, u32 param2, u32 param3, u32 param4, u32 param5, u32 heap_id);
|
||||
extern u32 FUN_0200E308(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user