summaryrefslogtreecommitdiff
path: root/src/pokedex.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-09 11:33:37 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-09 11:34:51 -0400
commit28de627913f04e059f995169299e41ce4c2544f0 (patch)
treebaba21a14ae6c2d0a7464851346e6217ac8a34be /src/pokedex.c
parente26f9d10d7bebee5ea512fc4729ce6adafec66a0 (diff)
Add TRACKS_ALL, remove BGCntrlBitfield
Diffstat (limited to 'src/pokedex.c')
-rw-r--r--src/pokedex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex.c b/src/pokedex.c
index 98fa40dbf..fa64b155c 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -1637,7 +1637,7 @@ void CB2_OpenPokedex(void)
SetVBlankCallback(VBlankCB_Pokedex);
SetMainCallback2(CB2_Pokedex);
CreatePokedexList(sPokedexView->dexMode, sPokedexView->dexOrder);
- m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 0x80);
+ m4aMPlayVolumeControl(&gMPlayInfo_BGM, TRACKS_ALL, 0x80);
break;
}
}
@@ -1847,7 +1847,7 @@ static void Task_ClosePokedex(u8 taskId)
FreeWindowAndBgBuffers();
DestroyTask(taskId);
SetMainCallback2(CB2_ReturnToFieldWithOpenMenu);
- m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 0x100);
+ m4aMPlayVolumeControl(&gMPlayInfo_BGM, TRACKS_ALL, 0x100);
Free(sPokedexView);
}
}