improve checkplayergender calls

clean up constant definitions

make tweaks from review
This commit is contained in:
Melody authored and Marcus Huderle committed 2018-12-28 08:22:21 -06:00
1 parent d59f5a8e56
commit 6d556f8cf7
35 files changed
+188 -208

No files matched your search

+4 -4
View File
@@ -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