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/scripts | |
parent | d59f5a8e5649ad09a41b65edcc68f701320ca52e (diff) |
improve checkplayergender calls
clean up constant definitions
make tweaks from review
Diffstat (limited to 'data/scripts')
-rw-r--r-- | data/scripts/players_house.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/players_house.inc b/data/scripts/players_house.inc index f9c6cf24e..166134abf 100644 --- a/data/scripts/players_house.inc +++ b/data/scripts/players_house.inc @@ -68,9 +68,9 @@ LittlerootTown_MaysHouse_2F_EventScript_292799:: @ 8292799 setflag FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1 setflag FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2 checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2927DF - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_29280F playse SE_KAIDAN removeobject VAR_0x8008 @@ -438,9 +438,9 @@ LittlerootTown_BrendansHouse_1F_EventScript_292AF2:: @ 8292AF2 LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2 lockall checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292C76 - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292C86 compare VAR_0x8008, 0 call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D08 |