summaryrefslogtreecommitdiff
path: root/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc')
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
index 048ca96d6..f3c9c7c3f 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
@@ -7,12 +7,12 @@ IndigoPlateau_PokemonCenter_1F_MapScript1_16EA65:: @ 816EA65
setrespawn SPAWN_INDIGO_PLATEAU
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare_var_to_value VAR_RESULT, 1
- call_if 1, EventScript_16EA79
+ call_if eq, EventScript_16EA79
end
EventScript_16EA79:: @ 816EA79
- checkflag FLAG_0x844
- goto_if_eq EventScript_1A77A9
+ checkflag FLAG_SYS_CAN_LINK_WITH_RS
+ goto_if TRUE, EventScript_1A77A9
setobjectxyperm 4, 4, 2
return
@@ -21,14 +21,14 @@ IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
faceplayer
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare_var_to_value VAR_RESULT, 1
- goto_if_eq EventScript_16EAA6
+ goto_if eq, EventScript_16EAA6
msgbox gUnknown_819A8D8
release
end
EventScript_16EAA6:: @ 816EAA6
- checkflag FLAG_0x844
- goto_if_eq EventScript_16EAB9
+ checkflag FLAG_SYS_CAN_LINK_WITH_RS
+ goto_if TRUE, EventScript_16EAB9
msgbox gUnknown_819A943
release
end
@@ -45,7 +45,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3:: @ 816EAC3
IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211