mirror of https://github.com/pret/pokecrystal.git
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.
This commit is contained in:
parent
5e8c7c8f78
commit
5e983d32aa
|
@ -76,7 +76,7 @@ _UnownPrinter:
|
||||||
ldh a, [hJoyPressed]
|
ldh a, [hJoyPressed]
|
||||||
vc_patch Forbid_printing_Unown
|
vc_patch Forbid_printing_Unown
|
||||||
if DEF(_CRYSTAL11_VC)
|
if DEF(_CRYSTAL11_VC)
|
||||||
and 0
|
and NO_INPUT
|
||||||
else
|
else
|
||||||
and A_BUTTON
|
and A_BUTTON
|
||||||
endc
|
endc
|
||||||
|
|
|
@ -69,7 +69,7 @@ ReadAnyMail:
|
||||||
jr z, .loop
|
jr z, .loop
|
||||||
vc_patch Forbid_printing_mail
|
vc_patch Forbid_printing_mail
|
||||||
if DEF(_CRYSTAL11_VC)
|
if DEF(_CRYSTAL11_VC)
|
||||||
and 0
|
and NO_INPUT
|
||||||
else
|
else
|
||||||
and START
|
and START
|
||||||
endc
|
endc
|
||||||
|
|
Loading…
Reference in New Issue