Use more constants in scripts

This commit is contained in:
Remy Oukaour
2018-01-12 01:40:20 -05:00
parent b23085f526
commit d83aefb30a
120 changed files with 828 additions and 732 deletions

View File

@@ -26,8 +26,8 @@ Oak:
setevent EVENT_TALKED_TO_OAK_IN_KANTO
.CheckBadges:
checkcode VAR_BADGES
if_equal 16, .OpenMtSilver
if_equal 8, .Complain
if_equal NUM_BADGES, .OpenMtSilver
if_equal NUM_JOHTO_BADGES, .Complain
jump .AhGood
.CheckPokedex: