summaryrefslogtreecommitdiff
path: root/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-22 19:10:49 -0500
committerGitHub <noreply@github.com>2021-11-22 19:10:49 -0500
commite0fae879da1b773bf90fca145e047ccdb7613938 (patch)
treeb1be0ec73e33fccf2fe2deac44d62aa10ae391e4 /data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
parent5cb875b6cb798cf890e156f54a150ff90735ddab (diff)
parent42a83ee50e3364f3f7361dacb3d3616053f4c5bf (diff)
Merge pull request #1558 from GriffinRichards/update-macros
Update event macro comments
Diffstat (limited to 'data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc')
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
index 1244b82fd..ec45732e8 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
@@ -37,12 +37,9 @@ EverGrandeCity_PokemonCenter_1F_EventScript_Scott::
faceplayer
msgbox EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou, MSGBOX_DEFAULT
closemessage
- compare VAR_FACING, DIR_NORTH
- call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
- compare VAR_FACING, DIR_EAST
- call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
- compare VAR_FACING, DIR_WEST
- call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
+ call_if_eq VAR_FACING, DIR_NORTH, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
+ call_if_eq VAR_FACING, DIR_EAST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
+ call_if_eq VAR_FACING, DIR_WEST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
playse SE_EXIT