summaryrefslogtreecommitdiff
path: root/data/maps/MossdeepCity_House2/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/MossdeepCity_House2/scripts.inc')
-rw-r--r--data/maps/MossdeepCity_House2/scripts.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/maps/MossdeepCity_House2/scripts.inc b/data/maps/MossdeepCity_House2/scripts.inc
index 5f568ac77..56a838196 100644
--- a/data/maps/MossdeepCity_House2/scripts.inc
+++ b/data/maps/MossdeepCity_House2/scripts.inc
@@ -21,10 +21,8 @@ MossdeepCity_House2_EventScript_Wingull::
closemessage
setflag FLAG_WINGULL_DELIVERED_MAIL
clearflag FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL
- compare VAR_FACING, DIR_NORTH
- call_if_eq MossdeepCity_House2_EventScript_WingullExitNorth
- compare VAR_FACING, DIR_WEST
- call_if_eq MossdeepCity_House2_EventScript_WingullExitWest
+ call_if_eq VAR_FACING, DIR_NORTH, MossdeepCity_House2_EventScript_WingullExitNorth
+ call_if_eq VAR_FACING, DIR_WEST, MossdeepCity_House2_EventScript_WingullExitWest
removeobject LOCALID_WINGULL
release
end