mirror of
https://github.com/pret/pokegold.git
synced 2026-09-12 10:35:37 -05:00
Use NO_INPUT instead of magic number (pret/pokecrystal#1051)
This is for the Virtual Console builds, where it disables the print functions of Unown and Mail.
This commit is contained in:
@@ -76,7 +76,7 @@ _UnownPrinter:
|
||||
ldh a, [hJoyPressed]
|
||||
vc_patch Forbid_printing_Unown
|
||||
if DEF(_GOLD_VC) || DEF(_SILVER_VC)
|
||||
and 0
|
||||
and NO_INPUT
|
||||
else
|
||||
and A_BUTTON
|
||||
endc
|
||||
|
||||
@@ -50,7 +50,7 @@ ReadAnyMail:
|
||||
jr z, .loop
|
||||
vc_patch Forbid_printing_mail
|
||||
if DEF(_GOLD_VC) || DEF(_SILVER_VC)
|
||||
and 0
|
||||
and NO_INPUT
|
||||
else
|
||||
and START
|
||||
endc
|
||||
|
||||
Reference in New Issue
Block a user