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/Route119/scripts.inc | |
parent | d59f5a8e5649ad09a41b65edcc68f701320ca52e (diff) |
improve checkplayergender calls
clean up constant definitions
make tweaks from review
Diffstat (limited to 'data/maps/Route119/scripts.inc')
-rw-r--r-- | data/maps/Route119/scripts.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/Route119/scripts.inc b/data/maps/Route119/scripts.inc index 229db6da5..978067ddf 100644 --- a/data/maps/Route119/scripts.inc +++ b/data/maps/Route119/scripts.inc @@ -42,9 +42,9 @@ Route119_EventScript_1F4488:: @ 81F4488 lockall addobject 25 checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE call_if_eq Route119_EventScript_1F4501 - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE call_if_eq Route119_EventScript_1F4506 delay 65 compare VAR_TEMP_1, 1 @@ -62,9 +62,9 @@ Route119_EventScript_1F4488:: @ 81F4488 addobject 16 delay 30 checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE goto_if_eq Route119_EventScript_1F450B - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE goto_if_eq Route119_EventScript_1F4585 releaseall end |