summaryrefslogtreecommitdiff
path: root/data/maps/Route101/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route101/scripts.inc')
-rw-r--r--data/maps/Route101/scripts.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/data/maps/Route101/scripts.inc b/data/maps/Route101/scripts.inc
index a41bc2fcb..dd0ef5dce 100644
--- a/data/maps/Route101/scripts.inc
+++ b/data/maps/Route101/scripts.inc
@@ -241,11 +241,9 @@ Route101_EventScript_BirchsBag::
setvar VAR_ROUTE101_STATE, 3
clearflag FLAG_HIDE_MAP_NAME_POPUP
checkplayergender
- compare VAR_RESULT, MALE
- call_if_eq Route101_EventScript_HideMayInBedroom
- compare VAR_RESULT, FEMALE
- call_if_eq Route101_EventScript_HideBrendanInBedroom
- warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 255, 6, 5
+ call_if_eq VAR_RESULT, MALE, Route101_EventScript_HideMayInBedroom
+ call_if_eq VAR_RESULT, FEMALE, Route101_EventScript_HideBrendanInBedroom
+ warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 6, 5
waitstate
release
end