diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-08 21:23:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 21:23:21 -0500 |
commit | 1c82571fa04ecad7d4a805e5fbec4691643ac655 (patch) | |
tree | 394ee77362fdda45e808e3362c473d4cfb653dcc /src/pokedex_cry_screen.c | |
parent | 737a5cba552275b43a89d59d6c5595ce4af25146 (diff) | |
parent | c6b83bbb215ad25f533346873286f103c582d906 (diff) |
Merge pull request #1542 from GriffinRichards/doc-menu
Document menu
Diffstat (limited to 'src/pokedex_cry_screen.c')
-rw-r--r-- | src/pokedex_cry_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex_cry_screen.c b/src/pokedex_cry_screen.c index 350946f3b..4c9bfe15c 100644 --- a/src/pokedex_cry_screen.c +++ b/src/pokedex_cry_screen.c @@ -432,7 +432,7 @@ static void DrawWaveformSegment(u8 position, u8 amplitude) static void DrawWaveformWindow(u8 windowId) { - CopyWindowToVram(windowId, 2); + CopyWindowToVram(windowId, COPYWIN_GFX); } // rsVertical is leftover from a very different version of this function in RS @@ -443,7 +443,7 @@ static void ShiftWaveformOver(u8 windowId, s16 offset, bool8 rsVertical) if (!rsVertical) { u8 bg = GetWindowAttribute(windowId, WINDOW_BG); - ChangeBgX(bg, offset << 8, 0); + ChangeBgX(bg, offset << 8, BG_COORD_SET); } } |