diff options
Diffstat (limited to 'data/maps/SevenIsland_House_Room2/scripts.inc')
-rw-r--r-- | data/maps/SevenIsland_House_Room2/scripts.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/data/maps/SevenIsland_House_Room2/scripts.inc b/data/maps/SevenIsland_House_Room2/scripts.inc index db52423e4..d77eda077 100644 --- a/data/maps/SevenIsland_House_Room2/scripts.inc +++ b/data/maps/SevenIsland_House_Room2/scripts.inc @@ -16,19 +16,18 @@ EventScript_170A97:: @ 8170A97 applymovement 255, Movement_170B22 waitmovement 0 special sub_80E7538 - loadword 0, gStringVar4 @ 2021D18 - callstd 4 + msgbox gStringVar4 closemessage setvar VAR_0x8004, 2 setvar VAR_0x8005, 0 special sub_80E6900 waitstate compare_var_to_value VAR_RESULT, 3 - call_if 1, EventScript_170AFE + call_if eq, EventScript_170AFE compare_var_to_value VAR_RESULT, 1 - call_if 1, EventScript_170B0C + call_if eq, EventScript_170B0C compare_var_to_value VAR_RESULT, 2 - call_if 1, EventScript_170B17 + call_if eq, EventScript_170B17 closemessage special sp000_heal_pokemon applymovement 255, Movement_170B28 |