summaryrefslogtreecommitdiff
path: root/data/maps/IndigoPlateau_PokemonCenter_1F
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-07 13:15:34 -0400
committerGitHub <noreply@github.com>2019-10-07 13:15:34 -0400
commit2a7205dec677c98d087cb8ba191370de464c8bf0 (patch)
treebbad1ce5b07b922803f25dfdcb3feee909c513c9 /data/maps/IndigoPlateau_PokemonCenter_1F
parentfb9b695f9a366f662b5262f440d77c770b131d0d (diff)
parent13468377bc85b2daa309b049e3d9f733dadce440 (diff)
Merge pull request #111 from PikalaxALT/link
Port link from Emerald
Diffstat (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F')
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
index 7dae5f353..048ca96d6 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
@@ -5,7 +5,7 @@ IndigoPlateau_PokemonCenter_1F_MapScripts:: @ 816EA5A
IndigoPlateau_PokemonCenter_1F_MapScript1_16EA65:: @ 816EA65
setrespawn SPAWN_INDIGO_PLATEAU
- specialvar VAR_RESULT, sub_806E25C
+ specialvar VAR_RESULT, IsNationalPokedexEnabled
compare_var_to_value VAR_RESULT, 1
call_if 1, EventScript_16EA79
end
@@ -19,7 +19,7 @@ EventScript_16EA79:: @ 816EA79
IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
lock
faceplayer
- specialvar VAR_RESULT, sub_806E25C
+ specialvar VAR_RESULT, IsNationalPokedexEnabled
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_16EAA6
msgbox gUnknown_819A8D8