diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-09-24 14:30:15 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-09-24 17:14:20 -0400 |
commit | a66d7e1b438f84bc04eb3f7d3da286882ba55019 (patch) | |
tree | 32a565c9b3cf10f1165b83bc24d3d90262c5d1a2 /src/pokemon_storage_system.c | |
parent | 09fd4fc4c57796036905cdc5caaa53fb96c436f8 (diff) |
Document some single-remaining symbols
Diffstat (limited to 'src/pokemon_storage_system.c')
-rw-r--r-- | src/pokemon_storage_system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokemon_storage_system.c b/src/pokemon_storage_system.c index a58187d8b..801041c53 100644 --- a/src/pokemon_storage_system.c +++ b/src/pokemon_storage_system.c @@ -9822,13 +9822,13 @@ struct u16 height; } static const sTilemapDimensions[][4] = { - { + [BG_TYPE_NORMAL] = { { 256, 256}, { 512, 256}, { 256, 512}, { 512, 512}, }, - { + [BG_TYPE_AFFINE] = { { 128, 128}, { 256, 256}, { 512, 512}, @@ -9853,7 +9853,7 @@ static void TilemapUtil_SetMap(u8 id, u8 bg, const void *tilemap, u16 width, u16 bgType = GetBgAttribute(bg, BG_ATTR_TYPE); sTilemapUtil[id].altWidth = sTilemapDimensions[bgType][bgScreenSize].width; sTilemapUtil[id].altHeight = sTilemapDimensions[bgType][bgScreenSize].height; - if (bgType != 0) + if (bgType != BG_TYPE_NORMAL) sTilemapUtil[id].tileSize = 1; else sTilemapUtil[id].tileSize = 2; |