diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-09 16:09:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 16:09:48 -0500 |
commit | 8e424b69850eb90abd0d7a65be423f8621dc1c2e (patch) | |
tree | 1308176f28fbc134c5e7cf19bf5788d7f93103fe /src/pokeblock.c | |
parent | adf773f1ed272f31ae34e2613d20ec796b651bf8 (diff) | |
parent | 1c82571fa04ecad7d4a805e5fbec4691643ac655 (diff) |
Merge branch 'master' into doc-binterface
Diffstat (limited to 'src/pokeblock.c')
-rw-r--r-- | src/pokeblock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokeblock.c b/src/pokeblock.c index 44893b283..58348e1cc 100644 --- a/src/pokeblock.c +++ b/src/pokeblock.c @@ -802,7 +802,7 @@ static void DrawPokeblockInfo(s32 pkblId) for (i = 0; i < FLAVOR_COUNT; i++) CopyToBgTilemapBufferRect(2, rectTilemapSrc, (i / 3 * 6) + 1, (i % 3 * 2) + 13, 1, 2); - CopyWindowToVram(7, 2); + CopyWindowToVram(7, COPYWIN_GFX); } ScheduleBgCopyTilemapToVram(0); @@ -1149,8 +1149,8 @@ static void ShowPokeblockActionsWindow(u8 taskId) DestroyScrollArrows(); DrawStdFrameWithCustomTileAndPalette(tWindowId, 0, 1, 0xE); - sub_81995E4(tWindowId, sPokeblockMenu->numActions, sPokeblockMenuActions, sPokeblockMenu->pokeblockActionIds); - InitMenuInUpperLeftCornerPlaySoundWhenAPressed(tWindowId, sPokeblockMenu->numActions, 0); + PrintMenuActionTextsInUpperLeftCorner(tWindowId, sPokeblockMenu->numActions, sPokeblockMenuActions, sPokeblockMenu->pokeblockActionIds); + InitMenuInUpperLeftCornerNormal(tWindowId, sPokeblockMenu->numActions, 0); PutWindowTilemap(tWindowId); ScheduleBgCopyTilemapToVram(1); |