aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menus/pokedex.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-03-26 21:05:06 -0500
committerGitHub <noreply@github.com>2022-03-26 22:05:06 -0400
commitfbaa5c9d4b48c000a52860a8392fc423c4e312f9 (patch)
tree80c5d8b0458ab6a2c2f1995ed0addd1f6cb5570f /engine/menus/pokedex.asm
parentRefactor pkmncompress.c to use common.h (diff)
downloadpokeyellow-fbaa5c9d4b48c000a52860a8392fc423c4e312f9.tar.gz
pokeyellow-fbaa5c9d4b48c000a52860a8392fc423c4e312f9.tar.xz
pokeyellow-fbaa5c9d4b48c000a52860a8392fc423c4e312f9.zip
Build the Virtual Console patch with `make yellow_vc` (#80)
Diffstat (limited to 'engine/menus/pokedex.asm')
-rw-r--r--engine/menus/pokedex.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/menus/pokedex.asm b/engine/menus/pokedex.asm
index 7b1a204a..d0e8cf2b 100644
--- a/engine/menus/pokedex.asm
+++ b/engine/menus/pokedex.asm
@@ -111,7 +111,13 @@ HandlePokedexSideMenu:
dec a
jr z, .choseArea
dec a
+ vc_patch disable_print
+IF DEF (_YELLOW_VC)
+ jr z, .handleMenuInput
+ELSE
jr z, .chosePrint
+ENDC
+ vc_patch_end
.choseQuit
ld b, 1
.exitSideMenu