summaryrefslogtreecommitdiff
path: root/data/maps/Route25_SeaCottage
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-10 03:19:11 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-10 03:50:11 -0500
commit9fafa122851dc4eecdefde2b36b88be6572656f0 (patch)
tree7b74f475c0a2b01169c9aec62d04a85cc1103ad3 /data/maps/Route25_SeaCottage
parent29e4446a03b83a822f5dd8b11b60728cadbcb0f6 (diff)
More basic script constants
Diffstat (limited to 'data/maps/Route25_SeaCottage')
-rw-r--r--data/maps/Route25_SeaCottage/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/Route25_SeaCottage/scripts.inc b/data/maps/Route25_SeaCottage/scripts.inc
index 725728930..ed5aca2c8 100644
--- a/data/maps/Route25_SeaCottage/scripts.inc
+++ b/data/maps/Route25_SeaCottage/scripts.inc
@@ -23,9 +23,9 @@ Route25_SeaCottage_EventScript_17054B:: @ 817054B
goto_if_set FLAG_GOT_SS_TICKET, EventScript_170640
goto_if_set FLAG_HELPED_BILL_IN_SEA_COTTAGE, EventScript_17064A
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
goto_if_eq EventScript_170580
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
goto_if_eq EventScript_17058E
end
@@ -67,9 +67,9 @@ EventScript_17059C:: @ 817059C
EventScript_170600:: @ 8170600
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq EventScript_170618
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq EventScript_170621
return
@@ -99,12 +99,12 @@ EventScript_170640:: @ 8170640
EventScript_17064A:: @ 817064A
famechecker FAMECHECKER_BILL, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq EventScript_1706AC
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq EventScript_1706B5
checkitemspace ITEM_SS_TICKET, 1
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq EventScript_1706BE
giveitem_msg gUnknown_81A028E, ITEM_SS_TICKET, 1, MUS_FAN5
setflag FLAG_GOT_SS_TICKET_DUP