Added some constants

This commit is contained in:
Adrienn Tindall 2024-04-10 15:42:05 -04:00
parent 3e9b62c71c
commit 0ca9748f22
42 changed files with 701 additions and 679 deletions

View File

@ -0,0 +1,14 @@
#ifndef POKEPLATINUM_CONSTANTS_COMM_TYPE_H
#define POKEPLATINUM_CONSTANTS_COMM_TYPE_H
#define COMM_TYPE_TRADE 0
#define COMM_TYPE_SINGLE_BATTLE 1
#define COMM_TYPE_DOUBLE_BATTLE 2
#define COMM_TYPE_MIX_BATTLE 3
#define COMM_TYPE_MULTI_BATTLE_1 4
#define COMM_TYPE_MULTI_BATTLE_2 5
#define COMM_TYPE_POFFIN_MAKING 6
#define COMM_TYPE_MIX_RECORDS 7
#define COMM_TYPE_CONTEST 8
#endif

View File

@ -52,7 +52,7 @@ void sub_0201A424(const UnkStruct_0201AE08 * param0, const UnkStruct_0201AE08 *
void sub_0201A60C(const UnkStruct_0201AE08 * param0, u16 param1, u16 param2, u16 param3, u16 param4, u8 param5);
void sub_0201A6D0(const UnkStruct_0201AE08 * param0, u16 param1, u16 param2, u16 param3, u16 param4, u8 param5);
Window * sub_0201A778(u32 param0, u8 param1);
void sub_0201A7A0(Window * param0);
void Window_Init(Window * param0);
u8 sub_0201A7CC(Window * param0);
void BGL_AddWindow(BGL * param0, Window * param1, u8 param2, u8 param3, u8 param4, u8 param5, u8 param6, u8 param7, u16 param8);
void BGL_AddFramelessWindow(BGL * param0, Window * param1, u8 param2, u8 param3, u16 param4, u8 param5);

View File

@ -12272,7 +12272,7 @@ static void BattleScript_LoadPartyLevelUpIcon (BattleSystem * param0, BattleScri
StringFormatter_FormatNumber(v5, 1, Pokemon_GetValue(param2, MON_DATA_LEVEL, NULL), 3, 0, 1);
StringFormatter_Format(v5, v7, v6);
Strbuf_Free(v6);
sub_0201A7A0(&v9);
Window_Init(&v9);
BGL_AddFramelessWindow(v8, &v9, 12, 4, 0, 0);
sub_0201D78C(&v9, 0, v7, 0, 0, 0xff, (u32)(((1 & 0xff) << 16) | ((2 & 0xff) << 8) | ((0 & 0xff) << 0)), NULL);

View File

@ -2636,7 +2636,7 @@ static void ov16_0226A98C (UnkStruct_ov16_02268A14 * param0, UnkStruct_ov16_0226
}
if (param10 == NULL) {
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(v5, &v1, v8, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param3, param2, 0, 0, 0xff, param4, 0, 0, NULL);
} else {
@ -2858,7 +2858,7 @@ static void ov16_0226AEA0 (UnkStruct_ov16_02268A14 * param0, const Strbuf *param
BGL_DeleteWindow(&param3->unk_00);
}
sub_0201A7A0(&param3->unk_00);
Window_Init(&param3->unk_00);
BGL_AddFramelessWindow(BattleSystem_BGL(param0->unk_00), &param3->unk_00, v1, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&param3->unk_00, param2, param1, 0, 0, 0xff, param4, 0, 0, NULL);
}

File diff suppressed because it is too large Load Diff

View File

@ -94,7 +94,7 @@ static const UnkStruct_ov84_02240FA8 Unk_ov7_0224F188 = {
static void ov7_0224B4E8 (UnkStruct_ov7_0224B4E8 * param0, int param1)
{
if (sub_0201A7CC(&param0->unk_54) == 0) {
sub_0201A7A0(&param0->unk_54);
Window_Init(&param0->unk_54);
sub_0205D8F4(param0->unk_10->unk_08, &param0->unk_54, 3);
sub_0205D944(&param0->unk_54, sub_02025E44(param0->unk_10->unk_0C));
} else {

View File

@ -131,7 +131,7 @@ void ov17_0223F1E8 (int param0, BGL * param1, SpriteGfxHandler * param2, UnkStru
}
{
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(param1, &v1, v6, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param6, param5, 0, 0, 0xff, param7, v7, 0, NULL);
}

View File

@ -976,7 +976,7 @@ static void ov17_02240138 (UnkStruct_ov17_0223F7E4 * param0, UnkStruct_ov17_0224
}
if (param10 == NULL) {
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(v5, &v1, v8, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param3, param2, 0, 0, 0xff, param4, 0, 0, NULL);
} else {
@ -1508,7 +1508,7 @@ static void ov17_02240BF4 (UnkStruct_ov17_0223F7E4 * param0, const Strbuf *param
BGL_DeleteWindow(&param3->unk_00);
}
sub_0201A7A0(&param3->unk_00);
Window_Init(&param3->unk_00);
BGL_AddFramelessWindow(param0->unk_04->unk_24, &param3->unk_00, v1, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&param3->unk_00, param2, param1, 0, 0, 0xff, param4, 0, 0, NULL);
}

View File

@ -706,7 +706,7 @@ static void ov17_02249BC4 (UnkStruct_ov17_022492DC * param0, UnkStruct_ov17_0224
}
{
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(v5, &v1, v8, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param3, param2, 0, 0, 0xff, param4, 0, 0, NULL);
}

View File

@ -164,7 +164,7 @@ asm static void ov20_021D48C4 (UnkStruct_ov20_021D4AD4 * param0, NARC * param1)
add r7, r0, #0
beq _021D496C
add r0, sp, #8
bl sub_0201A7A0
bl Window_Init
ldr r0, [r5, #0xc]
add r1, sp, #4
str r0, [sp, #8]

View File

@ -132,7 +132,7 @@ Window * ov21_021D4D6C (UnkStruct_ov21_021D4C0C * param0, int param1, int param2
v0 = sub_0201A778(param0->unk_14, 1);
sub_0201A7A0(v0);
Window_Init(v0);
BGL_AddFramelessWindow(param0->unk_08, v0, param1, param2, 0, 0);
return v0;

View File

@ -521,7 +521,7 @@ static Window * ov22_0225A348 (UnkStruct_ov22_0225A0E4 * param0, u32 param1, u32
v1 = MessageLoader_GetNewStrbuf(v0, param3);
v2 = sub_0201A778(14, 1);
sub_0201A7A0(v2);
Window_Init(v2);
BGL_AddFramelessWindow(param0->unk_40, v2, param4, param5, 0, 0);
{

View File

@ -214,7 +214,7 @@ static void ov22_0225A748 (Window ** param0, BGL * param1, int param2, int param
{
*param0 = sub_0201A778(14, 1);
sub_0201A7A0(*param0);
Window_Init(*param0);
BGL_AddWindow(param1, *param0, 5, param2, param3, param4, param5, 2, param6);
BGL_FillWindow(*param0, 15);

View File

@ -95,7 +95,7 @@ UnkStruct_ov23_02253E2C * ov23_02253D48 (int param0, int param1, BGL * param2, i
v1->unk_34 = param1;
v1->unk_18 = param2;
sub_0201A7A0(&v1->unk_08);
Window_Init(&v1->unk_08);
v1->unk_44_0 = 0;
v1->unk_44_1 = 0;

View File

@ -100,7 +100,7 @@ BOOL ov32_02256470 (UnkStruct_ov32_02256470 ** param0, const UnkStruct_ov32_0225
v0->unk_F4 = NULL;
for (v1 = 0; v1 < 6; v1++) {
sub_0201A7A0(&(v0->unk_3C[v1]));
Window_Init(&(v0->unk_3C[v1]));
v0->unk_9C[v1] = NULL;
v0->unk_B4[v1] = NULL;
}
@ -218,7 +218,7 @@ static void ov32_02256648 (UnkStruct_ov32_02256470 * param0, const UnkStruct_ov3
int v1;
for (v1 = 0; v1 < param1->unk_00; v1++) {
sub_0201A7A0(&(param0->unk_3C[v1]));
Window_Init(&(param0->unk_3C[v1]));
BGL_AddWindow(param0->unk_04, &(param0->unk_3C[v1]), 6, v0[v1].unk_00, v0[v1].unk_02, 8, 1, 0, param2 + v1 * 8);
sub_0201A9F4(&(param0->unk_3C[v1]));

View File

@ -652,7 +652,7 @@ void ov62_02230E80 (UnkStruct_0208C06C * param0)
v7[1] = &param0->unk_534.unk_00[v10];
for (v11 = 0; v11 < 2; v11++) {
sub_0201A7A0(&v6);
Window_Init(&v6);
BGL_AddFramelessWindow(param0->unk_14.unk_10, &v6, 20, 2, 0, 0);
v7[v11]->unk_18 = sub_02012B20(&v6, 102);
@ -729,7 +729,7 @@ void ov62_02230FC8 (UnkStruct_0208C06C * param0, UnkStruct_ov62_022307C0_sub1 *
v0 = MessageLoader_GetNewStrbuf(v1, param2);
}
sub_0201A7A0(&v2);
Window_Init(&v2);
BGL_AddFramelessWindow(param0->unk_14.unk_10, &v2, 20, 2, 0, 0);
sub_0201D78C(&v2, 0, v0, 0, 0, 0xff, ((u32)(((14 & 0xff) << 16) | ((13 & 0xff) << 8) | ((0 & 0xff) << 0))), NULL);
sub_02012BE0(param1->unk_14, param1->unk_18, &v2, 102);
@ -768,7 +768,7 @@ void ov62_0223118C (UnkStruct_ov62_022312B0 * param0, UnkStruct_ov62_0223118C *
v7 = 10000;
}
sub_0201A7A0(&v6);
Window_Init(&v6);
BGL_AddFramelessWindow(param1->unk_10, &v6, 20, 2, 0, 0);
param0->unk_10 = sub_02012B20(&v6, 102);
@ -806,7 +806,7 @@ void ov62_0223124C (UnkStruct_ov62_022312B0 * param0, UnkStruct_ov62_0223118C *
v1 = param1->unk_34;
v0 = MessageLoader_GetNewStrbuf(v1, param2);
sub_0201A7A0(&v2);
Window_Init(&v2);
BGL_AddFramelessWindow(param1->unk_10, &v2, 20, 2, 0, 0);
sub_0201D78C(&v2, 0, v0, 0, 0, 0xff, ((u32)(((14 & 0xff) << 16) | ((13 & 0xff) << 8) | ((0 & 0xff) << 0))), NULL);
sub_02012BE0(param0->unk_0C, param0->unk_10, &v2, 102);

View File

@ -198,7 +198,7 @@ void ov62_0223197C (UnkStruct_0208C06C * param0, int param1)
GXLayers_EngineBToggleLayers(GX_PLANEMASK_BG2, 1);
G2S_BlendNone();
BGL_SetPriority(6, 0);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 1, 19, 30, 4, 14, 32);
v0 = MessageLoader_GetNewStrbuf(param0->unk_14.unk_34, param1);
@ -247,7 +247,7 @@ void ov62_02231AAC (UnkStruct_0208C06C * param0, int param1)
ov62_022302A8(param0, 2, 0);
GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 1);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, 1, 19, 30, 4, 14, 32);
v0 = MessageLoader_GetNewStrbuf(param0->unk_14.unk_34, param1);
@ -310,7 +310,7 @@ void ov62_02231BC4 (UnkStruct_0208C06C * param0, int param1)
BGL_SetPriority(6, 0);
ov62_022302A8(param0, 6, 0);
GXLayers_EngineBToggleLayers(GX_PLANEMASK_BG2, 1);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 1, 19, 30, 4, 14, 32);
v0 = MessageLoader_GetNewStrbuf(param0->unk_14.unk_34, param1);
@ -398,7 +398,7 @@ asm static void ov62_02231C78 (UnkStruct_ov62_022323B8 * param0, UnkStruct_0208C
bl MessageLoader_GetNewStrbuf
add r6, r0, #0
add r0, r4, #0
bl sub_0201A7A0
bl Window_Init
mov r0, #2
ldrsh r0, [r5, r0]
mov r3, #0
@ -1084,7 +1084,7 @@ void ov62_022324A0 (UnkStruct_ov62_02233310 * param0, UnkStruct_0208C06C * param
param0->unk_38.unk_0C = param0->unk_10 - 1;
}
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param1->unk_14.unk_10, v1, param2->unk_20, param2->unk_0C, param2->unk_10, param2->unk_14, param2->unk_18, 14, param2->unk_1C);
BGL_FillWindow(v1, 0x0);
@ -1132,7 +1132,7 @@ void ov62_02232594 (UnkStruct_ov62_02233310 * param0, UnkStruct_0208C06C * param
param0->unk_38.unk_0C = param0->unk_10 - 1;
}
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param1->unk_14.unk_10, v1, param3->unk_20, param3->unk_0C, param3->unk_10, param3->unk_14, param3->unk_18, 14, param3->unk_1C);
BGL_FillWindow(v1, 0x0);
@ -1251,7 +1251,7 @@ asm void ov62_02232778 (UnkStruct_ov62_02233310 * param0, UnkStruct_0208C06C * p
asr r0, r0, #1
str r0, [r4, #0x44]
ldr r0, [sp, #0x50]
bl sub_0201A7A0
bl Window_Init
ldr r0, [r5, #0x10]
ldr r1, [sp, #0x50]
lsl r0, r0, #0x18
@ -1597,7 +1597,7 @@ void ov62_02232AAC (UnkStruct_ov62_02233310 * param0, UnkStruct_0208C06C * param
param0->unk_48 = 1;
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param1->unk_14.unk_10, v1, param2->unk_20, param2->unk_0C, param2->unk_10, param2->unk_14, param2->unk_18, 14, param2->unk_1C);
BGL_FillWindow(v1, 0x0);
@ -2824,7 +2824,7 @@ static void ov62_02233B50 (UnkStruct_ov62_02233F74 * param0, UnkStruct_0208C06C
v2 = &param0->unk_3C[v0];
v3 = MessageLoader_GetNewStrbuf(param1->unk_14.unk_34, v5[v0]);
sub_0201A7A0(v2);
Window_Init(v2);
BGL_AddWindow(param1->unk_14.unk_10, v2, 2, v4[v0][0], v4[v0][1], v4[v0][2], v4[v0][3], 14, v1);
BGL_FillWindow(v2, 0x0);
sub_0201D78C(v2, 0, v3, ov62_0223429C(v2, v3), 0, 0xff, ((u32)(((15 & 0xff) << 16) | ((13 & 0xff) << 8) | ((0 & 0xff) << 0))), NULL);

View File

@ -43,7 +43,7 @@ static void ov62_02234A10 (UnkStruct_0208C06C * param0)
int v1;
Window * v2 = &param0->unk_8A4;
sub_0201A7A0(v2);
Window_Init(v2);
BGL_AddWindow(param0->unk_14.unk_10, v2, 2, 8, 16, 16, 2, 14, 300);
BGL_FillWindow(v2, 0x0);

View File

@ -292,7 +292,7 @@ static void ov62_022362B8 (UnkStruct_0208C06C * param0)
int v4;
v1 = &v0->unk_178[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 4, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);
@ -306,7 +306,7 @@ static void ov62_022362B8 (UnkStruct_0208C06C * param0)
v3 += (10 * 2);
v1 = &v0->unk_178[1];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 18, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);
@ -697,7 +697,7 @@ static void ov62_02236B64 (UnkStruct_0208C06C * param0)
int v2 = 1;
v1 = &v0->unk_178[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 8, 3, 16, 2, 14, v2);
ov62_02236BC8(param0, 121);
}

View File

@ -1264,7 +1264,7 @@ static void ov62_02239498 (UnkStruct_0208C06C * param0)
int v2 = 1;
v1 = &v0->unk_D0[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 8, 3, 16, 2, 14, v2);
ov62_02239440(param0, 121);
@ -1376,7 +1376,7 @@ asm static void ov62_02239724 (UnkStruct_0208C06C * param0)
str r0, [sp, #0x20]
add r0, #0x10
str r0, [sp, #0x20]
bl sub_0201A7A0
bl Window_Init
mov r0, #0x13
str r0, [sp]
mov r3, #0x10
@ -1511,7 +1511,7 @@ asm static void ov62_02239854 (UnkStruct_0208C06C * param0, int param1)
str r0, [sp, #0x20]
add r0, #0x10
str r0, [sp, #0x20]
bl sub_0201A7A0
bl Window_Init
mov r0, #0x13
str r0, [sp]
mov r3, #0x10
@ -1797,7 +1797,7 @@ asm static void ov62_02239BD8 (UnkStruct_0208C06C * param0)
lsl r0, r0, #0x18
lsr r6, r0, #0x18
add r0, r4, #0
bl sub_0201A7A0
bl Window_Init
ldr r0, [sp, #0x20]
add r1, r4, #0
str r0, [sp]

View File

@ -885,7 +885,7 @@ static void ov62_0223AA90 (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < 3; v3++) {
v1 = &v0->unk_1B4[v3];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, Unk_ov62_02248D9C[v3][0], Unk_ov62_02248D9C[v3][1], Unk_ov62_02248D9C[v3][2], Unk_ov62_02248D9C[v3][3], 14, v2);
BGL_FillWindow(v1, Unk_ov62_02248D78[v3]);
sub_0201A9A4(v1);
@ -914,7 +914,7 @@ static void ov62_0223AB14 (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < NELEMS(Unk_ov62_02248DC4); v3++) {
v1 = &v0->unk_234[v3];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, Unk_ov62_02248DC4[v3][0], Unk_ov62_02248DC4[v3][1], Unk_ov62_02248DC4[v3][2], Unk_ov62_02248DC4[v3][3], 14, v2);
v5 = MessageLoader_GetNewStrbuf(param0->unk_14.unk_34, 60 + v3);
@ -1480,7 +1480,7 @@ static void ov62_0223B6AC (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < 2; v3++) {
v1 = &v0->unk_234[v3];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, Unk_ov62_02248D5C[v3][0], Unk_ov62_02248D5C[v3][1], Unk_ov62_02248D5C[v3][2], Unk_ov62_02248D5C[v3][3], 14, v2);
BGL_FillWindow(v1, 0x0);
@ -1525,7 +1525,7 @@ static void ov62_0223B7C0 (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < 1; v3++) {
v1 = &v0->unk_234[v3];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 12, 6, 8, 4, 14, v2);
BGL_FillWindow(v1, 0x0);
@ -1578,7 +1578,7 @@ static void ov62_0223B888 (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < NELEMS(Unk_ov62_02248D50); v3++) {
v1 = &v0->unk_1B4[v3];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, Unk_ov62_02248D50[v3][0], Unk_ov62_02248D50[v3][1], Unk_ov62_02248D50[v3][2], Unk_ov62_02248D50[v3][3], 14, v2);
BGL_FillWindow(v1, 0x0);

View File

@ -385,7 +385,7 @@ static void ov62_0223D004 (UnkStruct_0208C06C * param0)
for (v3 = 0; v3 < v6; v3++) {
v1 = &v0->unk_24[v3];
sub_0201A7A0(v1);
Window_Init(v1);
if (v0->unk_1C == 0) {
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, Unk_ov62_02248EC0[v3][0], Unk_ov62_02248EC0[v3][1], Unk_ov62_02248EC0[v3][2], Unk_ov62_02248EC0[v3][3], 14, v2);

View File

@ -847,7 +847,7 @@ static void ov62_0223EE88 (UnkStruct_ov62_022312B0 * param0, UnkStruct_0208C06C
sub_0200B3F0(v3);
}
sub_0201A7A0(&v2);
Window_Init(&v2);
BGL_AddFramelessWindow(param1->unk_14.unk_10, &v2, 20, 2, 0, 0);
sub_0201D78C(&v2, 0, v0, 0, 0, 0xff, ((u32)(((14 & 0xff) << 16) | ((13 & 0xff) << 8) | ((0 & 0xff) << 0))), NULL);
sub_02012BE0(param0->unk_0C, param0->unk_10, &v2, 102);
@ -1172,7 +1172,7 @@ static void ov62_0223F65C (UnkStruct_0208C06C * param0)
v4 = &v0->unk_14[0];
sub_0201A7A0(v4);
Window_Init(v4);
BGL_AddWindow(param0->unk_14.unk_10, v4, 2, 3, 3, 20, 4, 14, v2);
BGL_FillWindow(v4, 0x0);
@ -1185,7 +1185,7 @@ static void ov62_0223F65C (UnkStruct_0208C06C * param0)
v2 = 256;
v4 = &v0->unk_94[0];
sub_0201A7A0(v4);
Window_Init(v4);
BGL_AddWindow(param0->unk_14.unk_10, v4, 6, 11, 6, 10, 4, 14, v2);
BGL_FillWindow(v4, 0x0);
@ -1766,7 +1766,7 @@ static void ov62_022402FC (UnkStruct_0208C06C * param0, int param1, BOOL param2)
ov62_022302A8(param0, 2, param2);
GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 1);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, 1, 19, 30, 4, 14, 300);
if (param1 == 100) {
@ -2356,7 +2356,7 @@ static void ov62_02240900 (UnkStruct_0208C06C * param0)
v1 = &v0->unk_94[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 8, 3, 16, 2, 14, v2);
ov62_022408A8(param0, 121 + v0->unk_10);
}
@ -2371,7 +2371,7 @@ static void ov62_02240944 (UnkStruct_0208C06C * param0)
v1 = &v0->unk_94[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 4, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);
@ -2385,7 +2385,7 @@ static void ov62_02240944 (UnkStruct_0208C06C * param0)
v3 += (10 * 2);
v1 = &v0->unk_94[1];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 18, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);

View File

@ -633,7 +633,7 @@ static void ov62_022417C0 (UnkStruct_0208C06C * param0, int param1)
for (v7 = 0; v7 < v0->unk_794; v7++) {
v11 = &v0->unk_614[v7];
sub_0201A7A0(v11);
Window_Init(v11);
BGL_AddWindow(param0->unk_14.unk_10, v11, 2, v3[v7][0], v3[v7][1], v3[v7][2], v3[v7][3], 14, v9);
BGL_FillWindow(v11, 0x0);
@ -775,7 +775,7 @@ static void ov62_02241AA4 (UnkStruct_0208C06C * param0, int param1)
for (v7 = 0; v7 < v0->unk_798; v7++) {
v11 = &v0->unk_6D4[v7];
sub_0201A7A0(v11);
Window_Init(v11);
BGL_AddWindow(param0->unk_14.unk_10, v11, 6, v3[v7][0], v3[v7][1], v3[v7][2], v3[v7][3], 14, v9);
BGL_FillWindow(v11, 0x0);
@ -828,7 +828,7 @@ static void ov62_02241C38 (UnkStruct_0208C06C * param0)
Window * v4;
v4 = &v0->unk_614[0];
sub_0201A7A0(v4);
Window_Init(v4);
BGL_AddWindow(param0->unk_14.unk_10, v4, 2, 3, 3, 20, 4, 14, v2);
BGL_FillWindow(v4, 0x0);
@ -839,7 +839,7 @@ static void ov62_02241C38 (UnkStruct_0208C06C * param0)
v2 = 256;
v4 = &v0->unk_6D4[0];
sub_0201A7A0(v4);
Window_Init(v4);
BGL_AddWindow(param0->unk_14.unk_10, v4, 6, 11, 6, 10, 4, 14, v2);
BGL_FillWindow(v4, 0x0);
v3 = MessageLoader_GetNewStrbuf(param0->unk_14.unk_34, 95);
@ -1245,7 +1245,7 @@ asm static void ov62_022422C0 (UnkStruct_0208C06C * param0)
lsl r0, r0, #0x18
lsr r6, r0, #0x18
add r0, r4, #0
bl sub_0201A7A0
bl Window_Init
ldr r0, [sp, #0x20]
add r1, r4, #0
str r0, [sp]
@ -3143,7 +3143,7 @@ static void ov62_022448E0 (UnkStruct_ov62_022312B0 * param0, UnkStruct_0208C06C
sub_0200B3F0(v3);
}
sub_0201A7A0(&v2);
Window_Init(&v2);
BGL_AddFramelessWindow(param1->unk_14.unk_10, &v2, 20, 2, 0, 0);
sub_0201D78C(&v2, 0, v0, 0, 0, 0xff, ((u32)(((14 & 0xff) << 16) | ((13 & 0xff) << 8) | ((0 & 0xff) << 0))), NULL);
sub_02012BE0(param0->unk_0C, param0->unk_10, &v2, 102);
@ -3159,7 +3159,7 @@ static void ov62_022449B8 (UnkStruct_0208C06C * param0, int param1, BOOL param2)
ov62_022302A8(param0, 2, param2);
GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 1);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 2, 1, 19, 30, 4, 14, 300);
if (param1 == 100) {
@ -3724,7 +3724,7 @@ static void ov62_02245640 (UnkStruct_0208C06C * param0)
v1 = &v0->unk_6D4[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 8, 3, 16, 2, 14, v2);
ov62_022455E4(param0, 121 + v0->unk_1CC);
}
@ -3739,7 +3739,7 @@ static void ov62_0224568C (UnkStruct_0208C06C * param0)
v1 = &v0->unk_6D4[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 4, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);
@ -3754,7 +3754,7 @@ static void ov62_0224568C (UnkStruct_0208C06C * param0)
v1 = &v0->unk_6D4[1];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 18, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);

View File

@ -49,7 +49,7 @@ static void ov62_02247D74 (UnkStruct_0208C06C * param0, BOOL param1)
Window * v0 = &param0->unk_8A4;
ov62_022302A8(param0, 2, param1);
sub_0201A7A0(v0);
Window_Init(v0);
BGL_AddWindow(param0->unk_14.unk_10, v0, 2, 1, 19, 30, 4, 14, 300);
}
@ -103,7 +103,7 @@ static void ov62_02247E9C (UnkStruct_0208C06C * param0)
v1 = &v0->unk_10[0];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 4, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);
@ -117,7 +117,7 @@ static void ov62_02247E9C (UnkStruct_0208C06C * param0)
v3 += (10 * 2);
v1 = &v0->unk_10[1];
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(param0->unk_14.unk_10, v1, 6, 18, 6, 10, 2, 14, v3);
BGL_FillWindow(v1, 0x0);

View File

@ -1081,7 +1081,7 @@ static void ov64_0222E620 (UnkStruct_ov64_0222E21C * param0, const UnkStruct_ov6
sub_02002E98(0, 7 * 0x20, param2);
sub_0200DD0C(param0->unk_00, Unk_ov64_02232258[1], (1 + 9), 8, v0, param2);
sub_0200DAA4(param0->unk_00, Unk_ov64_02232258[1], 1, 9, 0, param2);
sub_0201A7A0(&param0->unk_220);
Window_Init(&param0->unk_220);
BGL_AddWindow(param0->unk_00, &param0->unk_220, Unk_ov64_02232258[1], 1, 0, 24, 3, 7, (((1 + 9) + (18 + 12))));
param0->unk_230 = Strbuf_Init(128, param2);
@ -1448,7 +1448,7 @@ asm static void ov64_0222EC94 (UnkStruct_ov64_0222F038 * param0, UnkStruct_ov64_
add r5, r1, #0
str r2, [sp, #0x18]
str r3, [sp, #0x1c]
bl sub_0201A7A0
bl Window_Init
mov r0, #4
str r0, [sp]
mov r0, #0x1a
@ -1468,7 +1468,7 @@ asm static void ov64_0222EC94 (UnkStruct_ov64_0222F038 * param0, UnkStruct_ov64_
bl BGL_AddWindow
ldr r0, [sp, #0x14]
add r0, #0x1c
bl sub_0201A7A0
bl Window_Init
mov r0, #0x13
str r0, [sp]
mov r0, #0x1b
@ -2024,7 +2024,7 @@ asm static void ov64_0222F414 (UnkStruct_ov64_0222F0C4 * param0, UnkStruct_ov64_
bl ov63_0222B02C
ldr r0, [sp, #0x14]
add r0, #0xb8
bl sub_0201A7A0
bl Window_Init
mov r0, #0x15
str r0, [sp]
mov r0, #8
@ -2076,7 +2076,7 @@ asm static void ov64_0222F414 (UnkStruct_ov64_0222F0C4 * param0, UnkStruct_ov64_
bl Strbuf_Free
ldr r0, [sp, #0x14]
add r0, #0xe4
bl sub_0201A7A0
bl Window_Init
mov r0, #9
str r0, [sp]
mov r0, #0xf
@ -2136,7 +2136,7 @@ asm static void ov64_0222F414 (UnkStruct_ov64_0222F0C4 * param0, UnkStruct_ov64_
blt _0222F530
ldr r0, [sp, #0x14]
add r0, #0xc8
bl sub_0201A7A0
bl Window_Init
mov r0, #0x13
str r0, [sp]
mov r0, #0x1b
@ -2699,7 +2699,7 @@ static void ov64_02230074 (UnkStruct_ov64_02230074 * param0, UnkStruct_ov64_0222
{
param0->unk_00 = *param2;
sub_0201A7A0(&param0->unk_08);
Window_Init(&param0->unk_08);
BGL_AddWindow(param1->unk_00, &param0->unk_08, Unk_ov64_02232258[3], 4 + MATH_ABS(param2->unk_00), 4 + MATH_ABS(param2->unk_02), 26, 17, 7, param3);
}
@ -2976,7 +2976,7 @@ asm static void ov64_02230680 (UnkStruct_ov64_02230620 * param0, UnkStruct_ov64_
str r1, [sp, #0x14]
add r4, r2, #0
add r7, r3, #0
bl sub_0201A7A0
bl Window_Init
mov r0, #0xd
str r0, [sp]
mov r0, #0x17
@ -2994,7 +2994,7 @@ asm static void ov64_02230680 (UnkStruct_ov64_02230620 * param0, UnkStruct_ov64_
bl BGL_AddWindow
add r0, r5, #0
add r0, #0x10
bl sub_0201A7A0
bl Window_Init
mov r0, #8
str r0, [sp]
mov r0, #0xf
@ -3540,7 +3540,7 @@ static void ov64_02230F9C (UnkStruct_ov64_02230F98 * param0, UnkStruct_ov64_0222
v1 = param0->unk_08;
for (v0 = 0; v0 < param3; v0++) {
sub_0201A7A0(&param0->unk_0C[param2][v0]);
Window_Init(&param0->unk_0C[param2][v0]);
BGL_AddWindow(param1->unk_00, &param0->unk_0C[param2][v0], Unk_ov64_02232258[3], MATH_ABS(param0->unk_00.unk_00) + param4[v0].unk_00, MATH_ABS(param0->unk_00.unk_02) + param4[v0].unk_01, param4[v0].unk_02, param4[v0].unk_03, 7, v1);
BGL_FillWindow(&param0->unk_0C[param2][v0], 0);
v1 += (param4[v0].unk_02 * param4[v0].unk_03);

View File

@ -5176,13 +5176,13 @@ static void ov65_022332FC (UnkStruct_ov65_0222EBE0 * param0, NARC * param1, u32
v2 = v0 / 4;
v3 = v0 % 4;
sub_0201A7A0(&param0->unk_BE0.unk_7C[v0]);
Window_Init(&param0->unk_BE0.unk_7C[v0]);
BGL_AddWindow(param0->unk_15C, &param0->unk_BE0.unk_7C[v0], 5, 4 + (16 * v2), 1 + (6 * v3), 9, 3, 15, 1 + ((9 * 3) * v0));
BGL_FillWindow(&param0->unk_BE0.unk_7C[v0], 0);
sub_0201A9A4(&param0->unk_BE0.unk_7C[v0]);
for (v1 = 0; v1 < 2; v1++) {
sub_0201A7A0(&param0->unk_BE0.unk_FC[v0][v1]);
Window_Init(&param0->unk_BE0.unk_FC[v0][v1]);
BGL_AddWindow(param0->unk_15C, &param0->unk_BE0.unk_FC[v0][v1], 5, 1 + (16 * v2) + (v1 * 12), 1 + (6 * v3), 2, 3, 13, ((((9 * 3) * 8) + 1) + 1) + ((2 * 3) * ((v0 * 2) + v1)));
BGL_FillWindow(&param0->unk_BE0.unk_FC[v0][v1], 0);
sub_0201A9A4(&param0->unk_BE0.unk_FC[v0][v1]);
@ -6712,7 +6712,7 @@ static void ov65_02234A68 (UnkStruct_ov65_0222EBE0 * param0, NARC * param1, u32
}
sub_02002BB8(2, param2);
sub_0201A7A0(&v3);
Window_Init(&v3);
BGL_AddFramelessWindow(param0->unk_15C, &v3, 8, 2, 0, 0);
v4 = Strbuf_Init(64, param2);

View File

@ -159,7 +159,7 @@ void ov76_0223B98C (UnkStruct_ov76_0223DE00 * param0, int param1, int param2, in
v1 = MessageLoader_GetNewStrbuf(v4, 5 + param1);
{
sub_0201A7A0(&v5);
Window_Init(&v5);
BGL_AddFramelessWindow(param0->unk_D4.unk_10, &v5, 10, 2, 0, 0);
sub_0201D78C(&v5, 2, v1, 0, 0, 0xff, ((u32)(((15 & 0xff) << 16) | ((13 & 0xff) << 8) | ((2 & 0xff) << 0))), NULL);
}
@ -496,7 +496,7 @@ void ov76_0223BF74 (BGL * param0, Window * param1, int param2, UnkStruct_ov76_02
v7 = (v5 / 2);
sub_0201A7A0(param1);
Window_Init(param1);
BGL_AddWindow(param0, param1, param2, v2, v3, v4, v5, 14, v6);
param3->unk_D4.unk_C8 = sub_02013A04(v7, 53);
@ -958,7 +958,7 @@ void ov76_0223CA30 (Window * param0, int param1)
void ov76_0223CA98 (BGL * param0, Window * param1, int param2, int param3, int param4, int param5, int param6, int param7)
{
sub_0201A7A0(param1);
Window_Init(param1);
BGL_AddWindow(param0, param1, param2, param3, param4, param5, param6, 14, param7);
sub_0200E060(param1, 1, 1, 12);
BGL_FillWindow(param1, 15);
@ -967,7 +967,7 @@ void ov76_0223CA98 (BGL * param0, Window * param1, int param2, int param3, int p
static void ov76_0223CAFC (BGL * param0, Window * param1, int param2, int param3, int param4, int param5, int param6, int param7, int param8)
{
sub_0201A7A0(param1);
Window_Init(param1);
BGL_AddWindow(param0, param1, param2, param3, param4, param5, param6, param8, param7);
BGL_FillWindow(param1, 15);
sub_0201A954(param1);

View File

@ -620,7 +620,7 @@ static void ov78_021D1308 (UnkStruct_ov78_021D107C * param0, int param1)
{
param0->unk_98 = sub_0201A778(param1, 1);
sub_0201A7A0(param0->unk_98);
Window_Init(param0->unk_98);
BGL_AddWindow(param0->unk_94, param0->unk_98, 1, 4, 19, 23, 4, 2, (18 + 12) + 1);
BGL_FillWindow(param0->unk_98, 15);
sub_0200DD0C(param0->unk_94, 1, 512, 0, param0->unk_700, param1);
@ -1687,7 +1687,7 @@ static void ov78_021D27CC (UnkStruct_ov78_021D107C * param0, int param1)
for (v0 = 0; v0 < 3; v0++) {
param0->unk_9C[v0] = sub_0201A778(param1, 1);
sub_0201A7A0(param0->unk_9C[v0]);
Window_Init(param0->unk_9C[v0]);
switch (v0) {
case 0:

View File

@ -74,7 +74,7 @@ int ov100_021D0D80 (OverlayManager * param0, int * param1)
Window * v1 = &v0->unk_0C.unk_30;
int v2 = sub_02027B50(v0->unk_D0->unk_04);
sub_0201A7A0(v1);
Window_Init(v1);
BGL_AddWindow(v0->unk_0C.unk_0C, v1, 1, 2, 19, 27, 4, 14, 1);
BGL_FillWindow(v1, 0xFF);
sub_0201A954(v1);

View File

@ -451,7 +451,7 @@ static void ov104_0223E29C (UnkStruct_ov104_0223DD30 * param0, UnkStruct_ov104_0
}
if (param10 == NULL) {
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(v5, &v1, v8, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param3, param2, 0, 0, 0xff, param4, 0, 0, NULL);
} else {

View File

@ -1532,7 +1532,7 @@ static void ov113_0225E15C (UnkStruct_ov113_0225DBCC * param0, UnkStruct_ov113_0
ov113_0225E264(param2, param3, &v7, &v8);
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(v5, &v1, v8, 16 / 8, 0, 0);
PrintStringWithColorAndMargins(&v1, param3, param2, 0, 0, 0xff, param4, 0, 0, NULL);

View File

@ -1464,7 +1464,7 @@ static void ov115_022617E8 (UnkStruct_ov115_022617E8 * param0, UnkStruct_ov115_0
u32 v9;
u32 v10;
sub_0201A7A0(&v5);
Window_Init(&v5);
BGL_AddWindow(param1->unk_00, &v5, 2, 0, 0, 8, 2, 5, 256);
v6 = 256;

View File

@ -391,7 +391,7 @@ void ov116_02261F3C (UnkStruct_ov116_02262A8C * param0)
void ov116_02261F70 (UnkStruct_ov116_02262A8C * param0)
{
sub_0201A7A0(&param0->unk_1FC8);
Window_Init(&param0->unk_1FC8);
BGL_AddWindow(param0->unk_14->unk_10, &param0->unk_1FC8, 7, 2, 19, 28, 4, 14, 256 + (16 * 3));
BGL_FillWindow(&param0->unk_1FC8, 0xFF);
@ -517,7 +517,7 @@ void ov116_022620AC (UnkStruct_ov116_0226139C * param0, UnkStruct_ov116_02262A8C
v3 = &param1->unk_1FD8[v1];
v9 = ov114_0225C7CC(&param0->unk_84, v0);
sub_0201A7A0(v3);
Window_Init(v3);
v5 = v4[param1->unk_04 - 2][v1][0];
v6 = v4[param1->unk_04 - 2][v1][1];

View File

@ -2032,7 +2032,7 @@ void ov117_02265DB8 (BGL * param0, SpriteGfxHandler * param1, UnkStruct_02012744
}
{
sub_0201A7A0(&v1);
Window_Init(&v1);
BGL_AddFramelessWindow(param0, &v1, v6, param14, 0, 0);
PrintStringWithColorAndMargins(&v1, param5, param4, 0, 0, 0xff, param6, v7, 0, NULL);
}

View File

@ -300,7 +300,7 @@ void ov119_021D1068 (BGL * param0, PaletteData * param1, int param2)
void ov119_021D10F0 (BGL * param0, Window * param1, int param2, int param3, int param4, int param5, int param6, int param7, int param8)
{
sub_0201A7A0(param1);
Window_Init(param1);
BGL_AddWindow(param0, param1, param2, param3, param4, param5, param6, param8, param7);
sub_0200E060(param1, 1, 20, 12);
BGL_FillWindow(param1, 15);
@ -341,7 +341,7 @@ void ov119_021D11E4 (UnkStruct_ov119_021D0FD0 * param0, BGL * param1, Window * p
{
UnkStruct_02081CF4 v0;
sub_0201A7A0(param2);
Window_Init(param2);
BGL_AddWindow(param1, param2, param3, param4, param5, param6, param7, param9, param8);
param0->unk_04.unk_44 = sub_02013A04(2, 71);

View File

@ -1613,13 +1613,13 @@ Window * sub_0201A778 (u32 param0, u8 param1)
v0 = (Window *)Heap_AllocFromHeap(param0, sizeof(Window) * param1);
for (v1 = 0; v1 < param1; v1++) {
sub_0201A7A0(&v0[v1]);
Window_Init(&v0[v1]);
}
return v0;
}
void sub_0201A7A0 (Window * param0)
void Window_Init (Window * param0)
{
param0->unk_00 = NULL;
param0->unk_04 = 0xff;

View File

@ -4961,12 +4961,12 @@ static BOOL sub_02042E64 (UnkStruct_0203E724 * param0)
static BOOL sub_02042F04 (UnkStruct_0203E724 * param0)
{
FieldSystem * v0 = param0->unk_34;
u16 v1 = inline_02049538(param0);
u16 commType = inline_02049538(param0);
u16 v2 = inline_02049538(param0);
u16 v3 = inline_02049538(param0);
u16 v4 = sub_0203E838(param0);
ov7_0224B414(v0, v1, v2, v3);
ov7_0224B414(v0, commType, v2, v3);
param0->unk_18[0] = v4;
sub_0203E764(param0, sub_02042F74);
@ -4992,12 +4992,12 @@ static BOOL sub_02042F74 (UnkStruct_0203E724 * param0)
static BOOL sub_02042F9C (UnkStruct_0203E724 * param0)
{
FieldSystem * v0 = param0->unk_34;
u16 v1 = inline_02049538(param0);
u16 commType = inline_02049538(param0);
u16 v2 = inline_02049538(param0);
u16 v3 = inline_02049538(param0);
u16 v4 = sub_0203E838(param0);
ov7_0224B47C(v0, v1, v2, v3);
ov7_0224B47C(v0, commType, v2, v3);
param0->unk_18[0] = v4;
sub_0203E764(param0, sub_0204300C);

View File

@ -262,7 +262,7 @@ static void sub_02052F28 (FieldSystem * param0, UnkStruct_0205300C * param1)
param1->unk_2C = NULL;
param1->unk_30 = NULL;
sub_0201A7A0(&param1->unk_1C);
Window_Init(&param1->unk_1C);
GXLayers_SetBanks(&v0);
GX_SetDispSelect(GX_DISP_SELECT_MAIN_SUB);

View File

@ -644,17 +644,17 @@ static void sub_0205AAA0 (UnkStruct_0205A0D8 * param0, BOOL param1)
}
BGL_DeleteWindow(&param0->unk_14);
sub_0201A7A0(&param0->unk_14);
Window_Init(&param0->unk_14);
}
if (sub_0201A7CC(&(param0->unk_54))) {
BGL_DeleteWindow(&param0->unk_54);
sub_0201A7A0(&param0->unk_54);
Window_Init(&param0->unk_54);
}
if (sub_0201A7CC(&(param0->unk_64))) {
BGL_DeleteWindow(&param0->unk_64);
sub_0201A7A0(&param0->unk_64);
Window_Init(&param0->unk_64);
}
}
@ -678,9 +678,9 @@ void sub_0205AB10 (FieldSystem * param0, UnkFuncPtr_0205AB10 * param1)
v0->unk_0C = Strbuf_Init((100 * 2), 11);
v0->unk_10 = Strbuf_Init((100 * 2), 11);
sub_0201A7A0(&v0->unk_14);
sub_0201A7A0(&v0->unk_54);
sub_0201A7A0(&v0->unk_64);
Window_Init(&v0->unk_14);
Window_Init(&v0->unk_54);
Window_Init(&v0->unk_64);
v0->unk_78 = sub_020149F0(11);
v0->unk_88 = sub_0203895C();

View File

@ -713,7 +713,7 @@ void sub_0208B090 (UnkStruct_02089688 * param0, int param1, int param2, int para
v3 = MessageLoader_GetNewStrbuf(v6, 2 + param1);
{
sub_0201A7A0(&v7);
Window_Init(&v7);
BGL_AddFramelessWindow(param0->unk_2C0.unk_0C, &v7, 10, 2, 0, 0);
sub_0201D78C(&v7, 2, v3, sub_02002EEC(2, v3, 0, 80), 0, 0xff, ((u32)(((15 & 0xff) << 16) | ((13 & 0xff) << 8) | ((2 & 0xff) << 0))), NULL);
}
@ -751,7 +751,7 @@ void sub_0208B090 (UnkStruct_02089688 * param0, int param1, int param2, int para
void sub_0208B1C4 (BGL * param0, Window * param1, int param2, int param3, int param4, int param5, int param6, int param7, int param8)
{
sub_0201A7A0(param1);
Window_Init(param1);
BGL_AddWindow(param0, param1, param2, param3, param4, param5, param6, 12, param7);
sub_0200E060(param1, 1, 1, 11);
BGL_FillWindow(param1, 15);

View File

@ -80,9 +80,9 @@ void sub_0209ACF4 (UnkStruct_020508D4 * param0)
v1->unk_50 = sub_0209747C(2, 0, v1->unk_00->unk_0C, 32);
sub_02097520(v1->unk_50);
sub_0201A7A0(&(v1->unk_18));
sub_0201A7A0(&(v1->unk_28));
sub_0201A7A0(&(v1->unk_38));
Window_Init(&(v1->unk_18));
Window_Init(&(v1->unk_28));
Window_Init(&(v1->unk_38));
v1->unk_54 = 0;
@ -105,17 +105,17 @@ static void sub_0209ADBC (UnkStruct_0209AD84 * param0)
{
if (sub_0201A7CC(&(param0->unk_18))) {
BGL_DeleteWindow(&param0->unk_18);
sub_0201A7A0(&(param0->unk_18));
Window_Init(&(param0->unk_18));
}
if (sub_0201A7CC(&(param0->unk_28))) {
BGL_DeleteWindow(&param0->unk_28);
sub_0201A7A0(&(param0->unk_28));
Window_Init(&(param0->unk_28));
}
if (sub_0201A7CC(&(param0->unk_38))) {
BGL_DeleteWindow(&param0->unk_38);
sub_0201A7A0(&(param0->unk_38));
Window_Init(&(param0->unk_38));
}
}