summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduardo Quezada <eduardo602002@gmail.com>2020-07-18 23:10:37 -0400
committerEduardo Quezada <eduardo602002@gmail.com>2020-07-18 23:10:37 -0400
commit551334b20bb2a5457902efab53e8f67133f25469 (patch)
treea23f71d4d3bb722a25b77324dd4a18388bf53496 /src
parent3bec84041989144847cb0efd76946bf48d803602 (diff)
Fixed missing lowercase field name.
Diffstat (limited to 'src')
-rw-r--r--src/pokemon_storage_system.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pokemon_storage_system.c b/src/pokemon_storage_system.c
index 293468d3d..703371ba9 100644
--- a/src/pokemon_storage_system.c
+++ b/src/pokemon_storage_system.c
@@ -167,7 +167,7 @@ struct PokemonStorageSystemData
u16 field_792[360];
u8 wallpaperChangeState;
u8 field_A63;
- u8 BoxScrollDestination;
+ u8 boxScrollDestination;
s8 field_A65;
u8 *wallpaperTiles;
struct Sprite *movingMonSprite;
@@ -5288,7 +5288,7 @@ static void SetUpScrollToBox(u8 boxId)
sPSSData->field_2DC = (direction <= 0) ? 5 : 0;
sPSSData->field_2DE = 0;
sPSSData->field_2E0 = 2;
- sPSSData->BoxScrollDestination = boxId;
+ sPSSData->boxScrollDestination = boxId;
sPSSData->field_A65 = direction;
sPSSData->field_A63 = 0;
}
@@ -5300,14 +5300,14 @@ static bool8 ScrollToBox(void)
switch (sPSSData->field_A63)
{
case 0:
- LoadWallpaperGfx(sPSSData->BoxScrollDestination, sPSSData->field_A65);
+ LoadWallpaperGfx(sPSSData->boxScrollDestination, sPSSData->field_A65);
sPSSData->field_A63++;
case 1:
if (!WaitForWallpaperGfxLoad())
return TRUE;
- sub_80CB4CC(sPSSData->BoxScrollDestination, sPSSData->field_A65);
- sub_80CCCFC(sPSSData->BoxScrollDestination, sPSSData->field_A65);
+ sub_80CB4CC(sPSSData->boxScrollDestination, sPSSData->field_A65);
+ sub_80CCCFC(sPSSData->boxScrollDestination, sPSSData->field_A65);
sub_80CD0B8(sPSSData->field_A65);
break;
case 2: