Skip to content

Commit

Permalink
Merge pull request #286 from ravepossum/fieldsys_renames
Browse files Browse the repository at this point in the history
Mass rename BgConfig and TaskManager in FieldSystem struct
  • Loading branch information
lhearachel authored Oct 28, 2024
2 parents 1914800 + 97ba5d0 commit 4665604
Show file tree
Hide file tree
Showing 70 changed files with 321 additions and 321 deletions.
4 changes: 2 additions & 2 deletions include/field/field_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
typedef struct FieldSystem_t {
FieldSystem_sub1 *unk_00;
FieldSystem_sub2 *unk_04;
BgConfig *unk_08;
BgConfig *bgConfig;
SaveData *saveData;
TaskManager *unk_10;
TaskManager *taskManager;
MapHeaderData *mapHeaderData;
int bottomScreen;
Location *location;
Expand Down
4 changes: 2 additions & 2 deletions src/field_comm_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static void sub_02059B74(void)
for (v0 = 0; v0 < CommSys_ConnectedCount(); v0++) {
if (v0 != CommSys_CurNetId()) {
if (sub_02036564(v0) == 94) {
if (sFieldCommMan->fieldSystem->unk_10 == NULL) {
if (sFieldCommMan->fieldSystem->taskManager == NULL) {
for (v1 = 0; v1 < 4; v1++) {
if (sFieldCommMan->trainerCard[v1]) {
Heap_FreeToHeap(sFieldCommMan->trainerCard[v1]);
Expand All @@ -417,7 +417,7 @@ static void sub_02059B74(void)
}
}

sub_02038A1C(4, sFieldCommMan->fieldSystem->unk_08);
sub_02038A1C(4, sFieldCommMan->fieldSystem->bgConfig);
}

static void sub_02059BF4(void)
Expand Down
8 changes: 4 additions & 4 deletions src/field_map_change.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,16 +1143,16 @@ BOOL FieldTask_MapChangeToUnderground(TaskManager *taskMan)
mapChangeUndergroundData->unk_34 = MessageLoader_GetNewStrbuf(msgLoader, 124);
MessageLoader_Free(msgLoader);

FieldMessage_AddWindow(fieldSystem->unk_08, &mapChangeUndergroundData->unk_24, 3);
FieldMessage_AddWindow(fieldSystem->bgConfig, &mapChangeUndergroundData->unk_24, 3);
FieldMessage_DrawWindow(&mapChangeUndergroundData->unk_24, SaveData_Options(fieldSystem->saveData));
mapChangeUndergroundData->unk_38 = FieldMessage_Print(&mapChangeUndergroundData->unk_24, mapChangeUndergroundData->unk_34, SaveData_Options(fieldSystem->saveData), 1);
mapChangeUndergroundData->state = 1;
break;
case 1:
if (FieldMessage_FinishedPrinting(mapChangeUndergroundData->unk_38) == 1) {
Strbuf_Free(mapChangeUndergroundData->unk_34);
LoadStandardWindowGraphics(fieldSystem->unk_08, 3, 1024 - (18 + 12) - 9, 11, 0, 11);
mapChangeUndergroundData->unk_3C = Menu_MakeYesNoChoice(fieldSystem->unk_08, &Unk_020EC3A0, 1024 - (18 + 12) - 9, 11, 11);
LoadStandardWindowGraphics(fieldSystem->bgConfig, 3, 1024 - (18 + 12) - 9, 11, 0, 11);
mapChangeUndergroundData->unk_3C = Menu_MakeYesNoChoice(fieldSystem->bgConfig, &Unk_020EC3A0, 1024 - (18 + 12) - 9, 11, 11);
mapChangeUndergroundData->state = 2;
}
break;
Expand Down Expand Up @@ -1572,5 +1572,5 @@ void sub_02054864(TaskManager *taskMan)
Location *location = FieldOverworldState_GetSpecialLocation(SaveData_GetFieldOverworldState(fieldSystem->saveData));

fieldSystem->mapLoadType = MAP_LOAD_TYPE_OVERWORLD;
FieldSystem_StartChangeMapTask(fieldSystem->unk_10, location);
FieldSystem_StartChangeMapTask(fieldSystem->taskManager, location);
}
12 changes: 6 additions & 6 deletions src/field_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void sub_0203AB00(FieldSystem *fieldSystem)
menu->unk_224 = sub_0203ABD0(fieldSystem);
}

FieldTask_Change(fieldSystem->unk_10, sub_0203AC44, menu);
FieldTask_Change(fieldSystem->taskManager, sub_0203AC44, menu);
}

static FieldMenu *FieldMenu_Alloc(void)
Expand Down Expand Up @@ -496,7 +496,7 @@ static BOOL sub_0203AC44(TaskManager *taskMan)
Window_EraseStandardFrame(&menu->unk_00, 1);
Window_Remove(&menu->unk_00);
sub_0203B200(taskMan);
Bg_ScheduleTilemapTransfer(fieldSystem->unk_08, 3);
Bg_ScheduleTilemapTransfer(fieldSystem->bgConfig, 3);
Heap_FreeToHeap(menu);
MapObjectMan_UnpauseAllMovement(fieldSystem->mapObjMan);
return TRUE;
Expand Down Expand Up @@ -527,8 +527,8 @@ static void sub_0203ADFC(TaskManager *taskMan)
menu = TaskManager_Environment(taskMan);
v5 = FieldMenu_MakeList(menu, menu->unk_30);

Window_Add(fieldSystem->unk_08, &menu->unk_00, 3, 20, 1, 11, v5 * 3, 12, ((((1024 - (18 + 12) - 9 - (32 * 8)) - (18 + 12 + 24)) - (27 * 4)) - (11 * 22)));
LoadStandardWindowGraphics(fieldSystem->unk_08, 3, 1024 - (18 + 12) - 9, 11, 1, 11);
Window_Add(fieldSystem->bgConfig, &menu->unk_00, 3, 20, 1, 11, v5 * 3, 12, ((((1024 - (18 + 12) - 9 - (32 * 8)) - (18 + 12 + 24)) - (27 * 4)) - (11 * 22)));
LoadStandardWindowGraphics(fieldSystem->bgConfig, 3, 1024 - (18 + 12) - 9, 11, 1, 11);
Window_DrawStandardFrame(&menu->unk_00, 1, 1024 - (18 + 12) - 9, 11);

v2 = MessageLoader_Init(0, 26, 367, 11);
Expand Down Expand Up @@ -668,8 +668,8 @@ static void sub_0203B094(TaskManager *taskMan)
return;
}

Window_Add(fieldSystem->unk_08, &menu->unk_10, 3, 1, 1, 12, 4, 13, (((1024 - (18 + 12) - 9 - (32 * 8)) - (18 + 12 + 24)) - (27 * 4)));
LoadStandardWindowGraphics(fieldSystem->unk_08, 3, 1024 - (18 + 12) - 9, 11, 1, 11);
Window_Add(fieldSystem->bgConfig, &menu->unk_10, 3, 1, 1, 12, 4, 13, (((1024 - (18 + 12) - 9 - (32 * 8)) - (18 + 12 + 24)) - (27 * 4)));
LoadStandardWindowGraphics(fieldSystem->bgConfig, 3, 1024 - (18 + 12) - 9, 11, 1, 11);
Window_DrawStandardFrame(&menu->unk_10, 1, 1024 - (18 + 12) - 9, 11);
Window_FillTilemap(&menu->unk_10, 15);

Expand Down
6 changes: 3 additions & 3 deletions src/field_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static FieldSystem *FieldSystem_Init(OverlayManager *overlayMan)
v0 = OverlayManager_Args(overlayMan);

fieldSystem->saveData = v0->unk_08;
fieldSystem->unk_10 = NULL;
fieldSystem->taskManager = NULL;
fieldSystem->location = sub_0203A720(SaveData_GetFieldOverworldState(fieldSystem->saveData));
fieldSystem->unk_2C = sub_02039D6C();

Expand Down Expand Up @@ -240,7 +240,7 @@ BOOL FieldSystem_Run(FieldSystem *fieldSystem)
sub_0203CECC(&fieldSystem->unk_00->unk_04);
}

if (fieldSystem->unk_00->unk_0C && !fieldSystem->unk_10 && !fieldSystem->unk_00->unk_00 && !fieldSystem->unk_00->unk_04) {
if (fieldSystem->unk_00->unk_0C && !fieldSystem->taskManager && !fieldSystem->unk_00->unk_00 && !fieldSystem->unk_00->unk_04) {
return 1;
}

Expand Down Expand Up @@ -379,7 +379,7 @@ struct PoketchSystem *FieldSystem_GetPoketchSystem(void)
BgConfig *sub_0203D170(void *param0)
{
FieldSystem *fieldSystem = (FieldSystem *)param0;
return fieldSystem->unk_08;
return fieldSystem->bgConfig;
}

SaveData *FieldSystem_SaveData(void *param0)
Expand Down
10 changes: 5 additions & 5 deletions src/overlay005/encounter_effect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ static void ov5_021DF30C(FieldSystem *fieldSystem)
}

{
ov5_021D143C(fieldSystem->unk_08);
ov5_021D143C(fieldSystem->bgConfig);

{
G2_SetBG3ControlDCBmp(GX_BG_SCRSIZE_DCBMP_256x256, GX_BG_AREAOVER_XLU, GX_BG_BMPSCRBASE_0x20000);
Expand Down Expand Up @@ -1616,9 +1616,9 @@ static void ov5_021DF30C(FieldSystem *fieldSystem)
0
};

Bg_InitFromTemplate(fieldSystem->unk_08, 2, &v3, 0);
Bg_InitFromTemplate(fieldSystem->bgConfig, 2, &v3, 0);
Bg_ClearTilesRange(2, 32, 0, 4);
Bg_ClearTilemap(fieldSystem->unk_08, 2);
Bg_ClearTilemap(fieldSystem->bgConfig, 2);
}
}

Expand All @@ -1627,8 +1627,8 @@ static void ov5_021DF30C(FieldSystem *fieldSystem)

static void ov5_021DF3D4(FieldSystem *fieldSystem)
{
Bg_FreeTilemapBuffer(fieldSystem->unk_08, 2);
ov5_021D1434(fieldSystem->unk_08);
Bg_FreeTilemapBuffer(fieldSystem->bgConfig, 2);
ov5_021D1434(fieldSystem->bgConfig);
}

static u32 ov5_021DF3E8(u32 param0, BOOL param1)
Expand Down
24 changes: 12 additions & 12 deletions src/overlay005/encounter_effect_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ void EncounterEffect_Trainer_Water_HigherLevel(SysTask *param0, void *param1)
GXLayers_EngineAToggleLayers(GX_PLANEMASK_OBJ, 1);

v1->unk_270 = Window_New(4, 1);
Window_Add(v0->fieldSystem->unk_08, v1->unk_270, 3, 0, 0, 32, 32, 0, 0);
Window_Add(v0->fieldSystem->bgConfig, v1->unk_270, 3, 0, 0, 32, 32, 0, 0);

{
GXRgb v6 = 0;
Expand Down Expand Up @@ -1311,7 +1311,7 @@ void EncounterEffect_Trainer_Water_HigherLevel(SysTask *param0, void *param1)
Windows_Delete(v1->unk_270, 1);

Bg_ClearTilesRange(3, 32, 0, 4);
Bg_ClearTilemap(v0->fieldSystem->unk_08, 3);
Bg_ClearTilemap(v0->fieldSystem->bgConfig, 3);

EncounterEffect_Finish(v0, param0);
return;
Expand Down Expand Up @@ -1507,7 +1507,7 @@ void EncounterEffect_Trainer_Cave_HigherLevel(SysTask *param0, void *param1)
GXLayers_EngineAToggleLayers(GX_PLANEMASK_OBJ, 1);

v1->unk_264 = Window_New(4, 1);
Window_Add(v0->fieldSystem->unk_08, v1->unk_264, 3, 0, 0, 32, 32, 0, 0);
Window_Add(v0->fieldSystem->bgConfig, v1->unk_264, 3, 0, 0, 32, 32, 0, 0);

{
GXRgb v6 = 0;
Expand Down Expand Up @@ -1658,7 +1658,7 @@ void EncounterEffect_Trainer_Cave_HigherLevel(SysTask *param0, void *param1)
Windows_Delete(v1->unk_264, 1);

Bg_ClearTilesRange(3, 32, 0, 4);
Bg_ClearTilemap(v0->fieldSystem->unk_08, 3);
Bg_ClearTilemap(v0->fieldSystem->bgConfig, 3);

EncounterEffect_Finish(v0, param0);
break;
Expand Down Expand Up @@ -2147,7 +2147,7 @@ void EncounterEffect_GalacticBoss(SysTask *param0, void *param1)
v1->unk_04 = ov5_021DEBEC(4);

v1->unk_00 = Window_New(4, 1);
Window_Add(v0->fieldSystem->unk_08, v1->unk_00, 3, 0, 0, 32, 32, 0, 0);
Window_Add(v0->fieldSystem->bgConfig, v1->unk_00, 3, 0, 0, 32, 32, 0, 0);

{
GXRgb v3 = 0;
Expand Down Expand Up @@ -2235,7 +2235,7 @@ void EncounterEffect_GalacticBoss(SysTask *param0, void *param1)
Windows_Delete(v1->unk_00, 1);

Bg_ClearTilesRange(3, 32, 0, 4);
Bg_ClearTilemap(v0->fieldSystem->unk_08, 3);
Bg_ClearTilemap(v0->fieldSystem->bgConfig, 3);

G2_SetOBJMosaicSize(0, 0);

Expand Down Expand Up @@ -2900,7 +2900,7 @@ static BOOL EncounterEffect_GymLeader(EncounterEffect *encEffect, enum HeapId he
Graphics_LoadPaletteFromOpenNARC(encEffect->narc, 11, 0, 2 * 0x20, 0x20, heapID);

GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 0);
Window_Add(encEffect->fieldSystem->unk_08, &v0->unk_2E0, 2, 0, 10, 16, 2, 2, 1);
Window_Add(encEffect->fieldSystem->bgConfig, &v0->unk_2E0, 2, 0, 10, 16, 2, 2, 1);
Window_FillTilemap(&v0->unk_2E0, 0);
v7 = EncounterEffect_GetGymLeaderName(param->trainerID, heapID);
Text_AddPrinterWithParamsAndColor(&v0->unk_2E0, FONT_SYSTEM, v7, 0, 0, TEXT_SPEED_INSTANT, TEXT_COLOR(1, 2, 0), NULL);
Expand Down Expand Up @@ -2942,7 +2942,7 @@ static BOOL EncounterEffect_GymLeader(EncounterEffect *encEffect, enum HeapId he
case 3:

ov5_021DE3D0(
encEffect->narc, param->unk_12, param->unk_11, param->unk_10, 0, 1, encEffect->fieldSystem->unk_08, 3);
encEffect->narc, param->unk_12, param->unk_11, param->unk_10, 0, 1, encEffect->fieldSystem->bgConfig, 3);
v0->unk_2F0 = 1;

ov5_021DED20(encEffect, v0->unk_40, 6, 8, 16, (GX_WND_PLANEMASK_BG0 | GX_WND_PLANEMASK_BG1 | GX_WND_PLANEMASK_BG2 | GX_WND_PLANEMASK_BG3 | GX_WND_PLANEMASK_OBJ), (GX_WND_PLANEMASK_BG0 | GX_WND_PLANEMASK_BG1 | GX_WND_PLANEMASK_BG2 | GX_WND_PLANEMASK_OBJ));
Expand Down Expand Up @@ -3029,7 +3029,7 @@ static BOOL EncounterEffect_GymLeader(EncounterEffect *encEffect, enum HeapId he

sub_0200AB4C(-14, GX_BLEND_PLANEMASK_BG0 | GX_BLEND_PLANEMASK_BD, 1);

Bg_ScheduleScroll(encEffect->fieldSystem->unk_08, 2, 0, -((v0->unk_00.currentValue >> FX32_SHIFT) + -92));
Bg_ScheduleScroll(encEffect->fieldSystem->bgConfig, 2, 0, -((v0->unk_00.currentValue >> FX32_SHIFT) + -92));
GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 1);
Bg_SetPriority(2, 0);
encEffect->state++;
Expand Down Expand Up @@ -3095,13 +3095,13 @@ static BOOL EncounterEffect_GymLeader(EncounterEffect *encEffect, enum HeapId he

sub_0200AB4C(0, GX_BLEND_PLANEMASK_NONE, 1);

Bg_SetOffset(encEffect->fieldSystem->unk_08, 2, 0, 0);
Bg_SetOffset(encEffect->fieldSystem->bgConfig, 2, 0, 0);

return 1;
}

if (v0->unk_2F0 == 1) {
Bg_ScheduleScroll(encEffect->fieldSystem->unk_08, 3, 0, v0->unk_2F4);
Bg_ScheduleScroll(encEffect->fieldSystem->bgConfig, 3, 0, v0->unk_2F4);

v0->unk_2F4 = (v0->unk_2F4 + 30) % 512;
}
Expand Down Expand Up @@ -3335,7 +3335,7 @@ static BOOL EncounterEffect_EliteFourChampion(EncounterEffect *encEffect, enum H
Graphics_LoadPaletteFromOpenNARC(encEffect->narc, 11, 0, 2 * 0x20, 0x20, heapID);

GXLayers_EngineAToggleLayers(GX_PLANEMASK_BG2, 0);
Window_Add(encEffect->fieldSystem->unk_08, &v0->unk_358, 2, 21, 13, 11, 2, 2, 1);
Window_Add(encEffect->fieldSystem->bgConfig, &v0->unk_358, 2, 21, 13, 11, 2, 2, 1);
Window_FillTilemap(&v0->unk_358, 0);
v9 = EncounterEffect_GetGymLeaderName(param->trainerID, heapID);
Text_AddPrinterWithParamsAndColor(&v0->unk_358, FONT_SYSTEM, v9, 0, 0, TEXT_SPEED_INSTANT, TEXT_COLOR(1, 2, 0), NULL);
Expand Down
12 changes: 6 additions & 6 deletions src/overlay005/fieldmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void ov5_021D0D80(void *param0)
{
FieldSystem *fieldSystem = param0;

Bg_RunScheduledUpdates(fieldSystem->unk_08);
Bg_RunScheduledUpdates(fieldSystem->bgConfig);
sub_0201DCAC();
sub_0200A858();

Expand Down Expand Up @@ -198,8 +198,8 @@ static BOOL FieldMap_Init(OverlayManager *overlayMan, int *param1)
ov5_021D154C();

GXLayers_SwapDisplay();
fieldSystem->unk_08 = BgConfig_New(4);
ov5_021D1444(fieldSystem->unk_08);
fieldSystem->bgConfig = BgConfig_New(4);
ov5_021D1444(fieldSystem->bgConfig);
sub_0205D8CC(0, 1);
sub_0203F5C0(fieldSystem, 4);
break;
Expand Down Expand Up @@ -323,7 +323,7 @@ static BOOL FieldMap_Exit(OverlayManager *overlayMan, int *param1)
ov5_021D57D8(&fieldSystem->unk_48);
ov5_021D5894(&fieldSystem->unk_44);
ov5_021D1570();
ov5_021D1524(fieldSystem->unk_08);
ov5_021D1524(fieldSystem->bgConfig);
ov5_021D5C14(fieldSystem);
(*param1)++;
}
Expand All @@ -336,7 +336,7 @@ static BOOL FieldMap_Exit(OverlayManager *overlayMan, int *param1)
Easy3D_Shutdown();
ov5_021D1AE4(fieldSystem->unk_04->unk_04);
SetMainCallback(NULL, NULL);
Heap_FreeToHeap(fieldSystem->unk_08);
Heap_FreeToHeap(fieldSystem->bgConfig);
Heap_FreeToHeap(fieldSystem->unk_04);

fieldSystem->unk_04 = NULL;
Expand Down Expand Up @@ -922,7 +922,7 @@ static void ov5_021D1968(FieldSystem *fieldSystem)
fieldSystem->unk_04->unk_0C = ov5_021D5EB8(fieldSystem);
}

fieldSystem->unk_04->unk_08 = ov5_021DD98C(fieldSystem->unk_08);
fieldSystem->unk_04->unk_08 = ov5_021DD98C(fieldSystem->bgConfig);
fieldSystem->unk_64 = ov5_021E1B08(4);
fieldSystem->unk_04->unk_10 = ov5_021D5CB0();

Expand Down
4 changes: 2 additions & 2 deletions src/overlay005/ov5_021D431C.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ BOOL ov5_021D453C(FieldSystem *fieldSystem, UnkStruct_ov5_021D432C *param1)
(param1->unk_00)++;
} break;
case 1:
sub_02056B30(fieldSystem->unk_10, 0, 9, 1, 0x0, 6, 1, 11);
sub_02056B30(fieldSystem->taskManager, 0, 9, 1, 0x0, 6, 1, 11);
{
int v9;
int v10;
Expand Down Expand Up @@ -814,7 +814,7 @@ void ov5_021D4D48(FieldSystem *fieldSystem, const u8 param1)
u8 *v0 = Heap_AllocFromHeapAtEnd(4, sizeof(u8));

*v0 = param1;
FieldTask_Start(fieldSystem->unk_10, ov5_021D4BC8, v0);
FieldTask_Start(fieldSystem->taskManager, ov5_021D4BC8, v0);
}

void ov5_021D4D68(FieldSystem *fieldSystem, const u8 param1)
Expand Down
14 changes: 7 additions & 7 deletions src/overlay005/ov5_021D5EB8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ static void ov5_021D6DCC(UnkStruct_ov5_021D6594 *param0, int param1)

NNS_G2dGetUnpackedCharacterData(v0.unk_04, &v0.unk_10);

Bg_LoadTiles(param0->fieldSystem->unk_08, 2, v0.unk_10->pRawData, v0.unk_10->szByte, 0);
Bg_LoadTiles(param0->fieldSystem->bgConfig, 2, v0.unk_10->pRawData, v0.unk_10->szByte, 0);
Heap_FreeToHeap(v0.unk_04);

v0.unk_04 = NULL;
Expand All @@ -1529,10 +1529,10 @@ static void ov5_021D6E20(UnkStruct_ov5_021D6594 *param0, int param1)

NNS_G2dGetUnpackedScreenData(v0.unk_08, &v0.unk_0C);

Bg_CopyTilemapBufferRangeToVRAM(param0->fieldSystem->unk_08, 2, (void *)v0.unk_0C->rawData, v0.unk_0C->szByte, 0);
Bg_LoadTilemapBuffer(param0->fieldSystem->unk_08, 2, (void *)v0.unk_0C->rawData, v0.unk_0C->szByte);
Bg_ChangeTilemapRectPalette(param0->fieldSystem->unk_08, 2, 0, 0, 32, 32, 6);
Bg_CopyTilemapBufferToVRAM(param0->fieldSystem->unk_08, 2);
Bg_CopyTilemapBufferRangeToVRAM(param0->fieldSystem->bgConfig, 2, (void *)v0.unk_0C->rawData, v0.unk_0C->szByte, 0);
Bg_LoadTilemapBuffer(param0->fieldSystem->bgConfig, 2, (void *)v0.unk_0C->rawData, v0.unk_0C->szByte);
Bg_ChangeTilemapRectPalette(param0->fieldSystem->bgConfig, 2, 0, 0, 32, 32, 6);
Bg_CopyTilemapBufferToVRAM(param0->fieldSystem->bgConfig, 2);
Heap_FreeToHeap(v0.unk_08);

v0.unk_08 = NULL;
Expand Down Expand Up @@ -5243,8 +5243,8 @@ static void ov5_021DB144(SysTask *param0, void *param1)

v5 = Unk_ov5_02201D38[v1->unk_B4 / 8];

Bg_ScheduleScroll(v0->unk_00->fieldSystem->unk_08, 2, 0, (v1->unk_AC >> FX32_SHIFT) + v5);
Bg_ScheduleScroll(v0->unk_00->fieldSystem->unk_08, 2, 3, (v1->unk_B0 >> FX32_SHIFT));
Bg_ScheduleScroll(v0->unk_00->fieldSystem->bgConfig, 2, 0, (v1->unk_AC >> FX32_SHIFT) + v5);
Bg_ScheduleScroll(v0->unk_00->fieldSystem->bgConfig, 2, 3, (v1->unk_B0 >> FX32_SHIFT));
}
}

Expand Down
Loading

0 comments on commit 4665604

Please sign in to comment.