From 5e983d32aac373d1530696605d2cd76e3b9c8e80 Mon Sep 17 00:00:00 2001 From: Idain Date: Sun, 28 May 2023 10:12:33 -0400 Subject: [PATCH] Use NO_INPUT instead of magic number (#1051) This is for the Virtual Console builds, where it disables the print functions of Unown and Mail. --- engine/events/print_unown.asm | 2 +- engine/pokemon/mail_2.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/events/print_unown.asm b/engine/events/print_unown.asm index c9ba2a8ee..d9b99e807 100644 --- a/engine/events/print_unown.asm +++ b/engine/events/print_unown.asm @@ -76,7 +76,7 @@ _UnownPrinter: ldh a, [hJoyPressed] vc_patch Forbid_printing_Unown if DEF(_CRYSTAL11_VC) - and 0 + and NO_INPUT else and A_BUTTON endc diff --git a/engine/pokemon/mail_2.asm b/engine/pokemon/mail_2.asm index f0b870130..022411535 100644 --- a/engine/pokemon/mail_2.asm +++ b/engine/pokemon/mail_2.asm @@ -69,7 +69,7 @@ ReadAnyMail: jr z, .loop vc_patch Forbid_printing_mail if DEF(_CRYSTAL11_VC) - and 0 + and NO_INPUT else and START endc