diff options
author | Melody <melody@pallet.town> | 2018-12-24 21:22:56 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-12-28 08:22:21 -0600 |
commit | 6d556f8cf77a21b20cdad75de69eaf61a59cf54e (patch) | |
tree | a55ada3c41c9ffe7c590d13555bf4318ae05f674 /data/maps/Route110/scripts.inc | |
parent | d59f5a8e5649ad09a41b65edcc68f701320ca52e (diff) |
improve checkplayergender calls
clean up constant definitions
make tweaks from review
Diffstat (limited to 'data/maps/Route110/scripts.inc')
-rw-r--r-- | data/maps/Route110/scripts.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/Route110/scripts.inc b/data/maps/Route110/scripts.inc index ba7bced21..4e96a592c 100644 --- a/data/maps/Route110/scripts.inc +++ b/data/maps/Route110/scripts.inc @@ -379,9 +379,9 @@ Route110_EventScript_1EF763:: @ 81EF763 Route110_EventScript_1EF76E:: @ 81EF76E lockall checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE call_if_eq Route110_EventScript_1EF7E1 - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE call_if_eq Route110_EventScript_1EF7E6 applymovement 28, Route110_Movement_2725AA waitmovement 0 @@ -397,9 +397,9 @@ Route110_EventScript_1EF76E:: @ 81EF76E compare VAR_0x8008, 3 call_if_eq Route110_EventScript_1EF964 checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE goto_if_eq Route110_EventScript_1EF7EB - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE goto_if_eq Route110_EventScript_1EF865 releaseall end |