summaryrefslogtreecommitdiff
path: root/engine/pokemon
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-03-12 17:34:04 -0600
committerGitHub <noreply@github.com>2022-03-12 18:34:04 -0500
commit31c3c94d64e1ac1e40c95acfda7de8b99b4f302b (patch)
tree274ec3a4fb4cacaa3d0f88c713085cfb5a3c85d1 /engine/pokemon
parent775b5d046c7f42a3bd8034b92da92e25969bdbf7 (diff)
Build the Virtual Console patch with `make crystal11_vc` (#882)
Fixes #813
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/mail_2.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/pokemon/mail_2.asm b/engine/pokemon/mail_2.asm
index e0eb014b8..47b662412 100644
--- a/engine/pokemon/mail_2.asm
+++ b/engine/pokemon/mail_2.asm
@@ -67,7 +67,13 @@ ReadAnyMail:
ldh a, [hJoyPressed]
and A_BUTTON | B_BUTTON | START
jr z, .loop
+ vc_patch print_forbid_4
+if DEF(_CRYSTAL11_VC)
+ and 0
+else
and START
+endc
+ vc_patch_end
jr nz, .pressed_start
ret