improve checkplayergender calls
clean up constant definitions make tweaks from review
This commit is contained in:
@@ -17,9 +17,9 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
|
||||
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE:: @ 82574AE
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574C6
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_2574CC
|
||||
return
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC
|
||||
BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA
|
||||
return
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,9 +12,9 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
|
||||
return
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -44,9 +44,9 @@ EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
|
||||
setvar VAR_TEMP_1, 1
|
||||
call EverGrandeCity_HallOfFame_EventScript_2717C1
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298E9
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298F5
|
||||
end
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ FallarborTown_BattleTentBattleRoom_MapScript1_2008A9: @ 82008A9
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
|
||||
return
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@ InsideOfTruck_EventScript_23BF04:: @ 823BF04
|
||||
lockall
|
||||
setflag FLAG_SPECIAL_FLAG_0x4000
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq InsideOfTruck_EventScript_23BF20
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq InsideOfTruck_EventScript_23BF46
|
||||
end
|
||||
|
||||
|
||||
@@ -53,18 +53,18 @@ LavaridgeTown_EventScript_1EA551:: @ 81EA551
|
||||
call_if_ne LavaridgeTown_EventScript_1EA65C
|
||||
delay 20
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LavaridgeTown_EventScript_1EA630
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LavaridgeTown_EventScript_1EA635
|
||||
compare VAR_0x8008, 9
|
||||
call_if_eq LavaridgeTown_EventScript_1EA6A1
|
||||
compare VAR_0x8008, 9
|
||||
call_if_ne LavaridgeTown_EventScript_1EA6AC
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LavaridgeTown_EventScript_1EA5B5
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LavaridgeTown_EventScript_1EA5DA
|
||||
end
|
||||
|
||||
|
||||
@@ -231,9 +231,9 @@ LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
|
||||
lock
|
||||
faceplayer
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LilycoveCity_EventScript_1E2DF8
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LilycoveCity_EventScript_1E2E6B
|
||||
end
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@ LittlerootTown_EventScript_1E7E92:: @ 81E7E92
|
||||
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE
|
||||
setobjectmovementtype 4, 8
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E7EB1
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E7EB9
|
||||
return
|
||||
|
||||
@@ -381,9 +381,9 @@ LittlerootTown_EventScript_1E815A:: @ 81E815A
|
||||
LittlerootTown_EventScript_1E8163:: @ 81E8163
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E817D
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8186
|
||||
releaseall
|
||||
end
|
||||
@@ -399,9 +399,9 @@ LittlerootTown_EventScript_1E8186:: @ 81E8186
|
||||
LittlerootTown_EventScript_1E818F:: @ 81E818F
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E81A9
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E81B2
|
||||
releaseall
|
||||
end
|
||||
@@ -454,27 +454,27 @@ LittlerootTown_EventScript_1E8205:: @ 81E8205
|
||||
|
||||
LittlerootTown_EventScript_1E8211:: @ 81E8211
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8297
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E82A2
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8281
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E828C
|
||||
msgbox LittlerootTown_Text_1E87E1, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E82AD
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E82F0
|
||||
call LittlerootTown_EventScript_1E8693
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8405
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8448
|
||||
goto LittlerootTown_EventScript_1E8686
|
||||
end
|
||||
@@ -889,9 +889,9 @@ LittlerootTown_EventScript_1E863D:: @ 81E863D
|
||||
lock
|
||||
faceplayer
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_EventScript_1E8281
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_EventScript_1E828C
|
||||
call LittlerootTown_EventScript_1E8693
|
||||
applymovement 4, LittlerootTown_Movement_2725A6
|
||||
|
||||
@@ -247,9 +247,9 @@ LittlerootTown_BrendansHouse_2F_Movement_1F8609: @ 81F8609
|
||||
EventScript_PlayerPCMale:: @ 81F860D
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8626
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F864C
|
||||
end
|
||||
|
||||
|
||||
@@ -251,9 +251,9 @@ LittlerootTown_MaysHouse_2F_EventScript_1F94C1:: @ 81F94C1
|
||||
lockall
|
||||
goto_if_set FLAG_0x124, LittlerootTown_BrendansHouse_2F_EventScript_1F94F7
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94E3
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94ED
|
||||
end
|
||||
|
||||
@@ -271,9 +271,9 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F94F7:: @ 81F94F7
|
||||
applymovement VAR_LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_27259E
|
||||
waitmovement 0
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F951D
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F952F
|
||||
setflag FLAG_0x125
|
||||
releaseall
|
||||
@@ -300,9 +300,9 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F954A:: @ 81F954A
|
||||
EventScript_PlayerPCFemale:: @ 81F9553
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F956C
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9576
|
||||
end
|
||||
|
||||
|
||||
@@ -171,9 +171,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9E80:: @ 81F9E80
|
||||
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_ProfessorBirchsLab_Movement_2725A4
|
||||
waitmovement 0
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9F32
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9F3C
|
||||
playse SE_PC_ON
|
||||
waitse
|
||||
@@ -533,9 +533,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA2F8:: @ 81FA2F8
|
||||
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_ProfessorBirchsLab_Movement_2725A8
|
||||
waitmovement 0
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA352
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA37F
|
||||
setvar VAR_0x4084, 5
|
||||
setflag FLAG_0x074
|
||||
@@ -605,9 +605,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA3EC:: @ 81FA3EC
|
||||
compare VAR_0x40D3, 2
|
||||
goto_if_ge LittlerootTown_ProfessorBirchsLab_EventScript_1FA490
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA428
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA431
|
||||
release
|
||||
end
|
||||
@@ -622,9 +622,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA431:: @ 81FA431
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA43A:: @ 81FA43A
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA453
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA45C
|
||||
release
|
||||
end
|
||||
@@ -639,9 +639,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA45C:: @ 81FA45C
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA465:: @ 81FA465
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA47E
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA487
|
||||
release
|
||||
end
|
||||
@@ -656,9 +656,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA487:: @ 81FA487
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA490:: @ 81FA490
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA4A9
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA4B2
|
||||
release
|
||||
end
|
||||
|
||||
@@ -349,9 +349,9 @@ MossdeepCity_SpaceCenter_2F_EventScript_224166:: @ 8224166
|
||||
MossdeepCity_SpaceCenter_2F_EventScript_224175:: @ 8224175
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_224193
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_22419A
|
||||
closemessage
|
||||
clearflag FLAG_0x075
|
||||
|
||||
@@ -255,9 +255,9 @@ OldaleTown_EventScript_1E90C6:: @ 81E90C6
|
||||
|
||||
OldaleTown_EventScript_1E90E6:: @ 81E90E6
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq OldaleTown_EventScript_1E90FE
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq OldaleTown_EventScript_1E910C
|
||||
end
|
||||
|
||||
|
||||
@@ -238,9 +238,9 @@ Route101_EventScript_1EBE16:: @ 81EBE16
|
||||
setvar VAR_0x4060, 3
|
||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq Route101_EventScript_1EBE85
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq Route101_EventScript_1EBE89
|
||||
warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 255, 6, 5
|
||||
waitstate
|
||||
|
||||
@@ -20,9 +20,9 @@ Route103_EventScript_1EC3AE:: @ 81EC3AE
|
||||
Route103_EventScript_1EC3C1:: @ 81EC3C1
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq Route103_EventScript_1EC3DA
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq Route103_EventScript_1EC434
|
||||
end
|
||||
|
||||
|
||||
@@ -72,9 +72,9 @@ Route104_EventScript_1ECCB3:: @ 81ECCB3
|
||||
|
||||
Route104_EventScript_1ECD11:: @ 81ECD11
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq Route104_EventScript_1ECD29
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq Route104_EventScript_1ECD2E
|
||||
return
|
||||
|
||||
@@ -88,9 +88,9 @@ Route104_EventScript_1ECD2E:: @ 81ECD2E
|
||||
|
||||
Route104_EventScript_1ECD33:: @ 81ECD33
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq Route104_EventScript_1ECD4B
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq Route104_EventScript_1ECE6F
|
||||
end
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -53,9 +53,9 @@ Route111_MapScript1_1F0D87: @ 81F0D87
|
||||
|
||||
Route111_EventScript_1F0DC2:: @ 81F0DC2
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq Route111_EventScript_1F0DDA
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq Route111_EventScript_1F0DE0
|
||||
return
|
||||
|
||||
|
||||
@@ -42,9 +42,9 @@ Route119_EventScript_1F4488:: @ 81F4488
|
||||
lockall
|
||||
addobject 25
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq Route119_EventScript_1F4501
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq Route119_EventScript_1F4506
|
||||
delay 65
|
||||
compare VAR_TEMP_1, 1
|
||||
@@ -62,9 +62,9 @@ Route119_EventScript_1F4488:: @ 81F4488
|
||||
addobject 16
|
||||
delay 30
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq Route119_EventScript_1F450B
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq Route119_EventScript_1F4585
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -677,9 +677,9 @@ RustboroCity_EventScript_1E0DB8:: @ 81E0DB8
|
||||
Route104_EventScript_1E0DD1:: @ 81E0DD1
|
||||
RustboroCity_EventScript_1E0DD1:: @ 81E0DD1
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq RustboroCity_EventScript_1E0DE9
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq RustboroCity_EventScript_1E0DEE
|
||||
return
|
||||
|
||||
@@ -821,9 +821,9 @@ RustboroCity_EventScript_1E0FB3:: @ 81E0FB3
|
||||
|
||||
RustboroCity_EventScript_1E0FF3:: @ 81E0FF3
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq RustboroCity_EventScript_1E100B
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq RustboroCity_EventScript_1E1114
|
||||
end
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ SlateportCity_BattleTentBattleRoom_MapScript1_209970: @ 8209970
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209976:: @ 8209976
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_20998E
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_209994
|
||||
return
|
||||
|
||||
|
||||
@@ -34,9 +34,9 @@ SouthernIsland_Interior_EventScript_242A95:: @ 8242A95
|
||||
|
||||
SouthernIsland_Interior_EventScript_242AA0:: @ 8242AA0
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq SouthernIsland_Interior_EventScript_242AB8
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq SouthernIsland_Interior_EventScript_242ABE
|
||||
end
|
||||
|
||||
|
||||
@@ -442,9 +442,9 @@ LinkContestRoom1_EventScript_23BEAC:: @ 823BEAC
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_23BEB6:: @ 823BEB6
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LilycoveCity_ContestLobby_EventScript_23BECE
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq LilycoveCity_ContestLobby_EventScript_23BED4
|
||||
return
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ VerdanturfTown_BattleTentBattleRoom_MapScript1_20230A: @ 820230A
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202310:: @ 8202310
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_202328
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_202333
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user