improve checkplayergender calls
clean up constant definitions make tweaks from review
This commit is contained in:
@@ -53,16 +53,16 @@ EverGrandeCity_ChampionsRoom_EventScript_228A61:: @ 8228A61
|
||||
closemessage
|
||||
playse SE_DOOR
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228ABC
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AC1
|
||||
addobject 2
|
||||
call EverGrandeCity_ChampionsRoom_EventScript_228BFD
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AC6
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_228AFB
|
||||
end
|
||||
|
||||
@@ -128,9 +128,9 @@ EverGrandeCity_ChampionsRoom_EventScript_228B30:: @ 8228B30
|
||||
waitmovement 0
|
||||
msgbox EverGrandeCity_ChampionsRoom_Text_2293EB, MSGBOX_DEFAULT
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228BEB
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq EverGrandeCity_ChampionsRoom_EventScript_228BF4
|
||||
closemessage
|
||||
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_228C3F
|
||||
|
||||
Reference in New Issue
Block a user