summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-24 21:22:56 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-12-28 08:22:21 -0600
commit6d556f8cf77a21b20cdad75de69eaf61a59cf54e (patch)
treea55ada3c41c9ffe7c590d13555bf4318ae05f674 /data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
parentd59f5a8e5649ad09a41b65edcc68f701320ca52e (diff)
improve checkplayergender calls
clean up constant definitions make tweaks from review
Diffstat (limited to 'data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc')
-rw-r--r--data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
index 794dd9d1e..8c22a9bc9 100644
--- a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
@@ -8,9 +8,9 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
setvar VAR_0x8004, 5
special CallFrontierUtilFunc
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9
special CallFrontierUtilFunc