2021-07-20 19:18:31 +00:00
|
|
|
EventScript_FieldPoison::
|
2019-10-05 14:52:48 +00:00
|
|
|
lockall
|
2019-10-07 00:04:30 +00:00
|
|
|
special TryFieldPoisonWhiteOut
|
2019-10-05 14:52:48 +00:00
|
|
|
waitstate
|
2021-11-19 04:06:30 +00:00
|
|
|
goto_if_eq VAR_RESULT, FLDPSN_WHITEOUT, EventScript_FieldWhiteOut
|
|
|
|
goto_if_eq VAR_RESULT, FLDPSN_FRONTIER_WHITEOUT, EventScript_FrontierFieldWhiteOut
|
2019-10-05 14:52:48 +00:00
|
|
|
releaseall
|
|
|
|
end
|
2019-09-28 06:37:01 +00:00
|
|
|
|
2021-07-20 19:18:31 +00:00
|
|
|
EventScript_FieldWhiteOut::
|
2019-10-05 14:52:48 +00:00
|
|
|
message gText_PlayerWhitedOut
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2019-10-07 00:04:30 +00:00
|
|
|
special Script_FadeOutMapMusic
|
2019-10-05 14:52:48 +00:00
|
|
|
waitstate
|
2019-12-15 16:42:50 +00:00
|
|
|
fadescreen FADE_TO_BLACK
|
2019-11-07 20:21:32 +00:00
|
|
|
call_if_set FLAG_WHITEOUT_TO_LAVARIDGE, EventScript_SetRespawnLavaridgePkmnCenter
|
2019-10-07 00:04:30 +00:00
|
|
|
special SetCB2WhiteOut
|
2019-10-05 14:52:48 +00:00
|
|
|
waitstate
|
|
|
|
end
|
2019-09-28 06:37:01 +00:00
|
|
|
|
2021-07-20 19:18:31 +00:00
|
|
|
EventScript_SetRespawnLavaridgePkmnCenter::
|
2019-10-05 14:52:48 +00:00
|
|
|
setrespawn HEAL_LOCATION_LAVARIDGE_TOWN
|
|
|
|
return
|
2019-09-28 06:37:01 +00:00
|
|
|
|
2021-07-20 19:18:31 +00:00
|
|
|
EventScript_FrontierFieldWhiteOut::
|
2019-10-05 14:52:48 +00:00
|
|
|
message gText_PlayerWhitedOut
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2019-11-29 07:00:19 +00:00
|
|
|
pike_inchallenge
|
2021-11-19 04:06:30 +00:00
|
|
|
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePike_EventScript_Retire
|
2019-12-02 14:52:16 +00:00
|
|
|
pyramid_inchallenge
|
2021-11-19 04:06:30 +00:00
|
|
|
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost @ On Pyramid floor
|
|
|
|
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost @ On Pyramid peak
|
2019-11-23 21:08:50 +00:00
|
|
|
trainerhill_inchallenge
|
2021-11-19 04:06:30 +00:00
|
|
|
goto_if_eq VAR_RESULT, TRUE, TrainerHill_1F_EventScript_Lost
|
2019-10-07 00:04:30 +00:00
|
|
|
special Script_FadeOutMapMusic
|
2019-10-05 14:52:48 +00:00
|
|
|
waitstate
|
2019-12-15 16:42:50 +00:00
|
|
|
fadescreen FADE_TO_BLACK
|
2019-10-07 00:04:30 +00:00
|
|
|
special SetCB2WhiteOut
|
2019-10-05 14:52:48 +00:00
|
|
|
waitstate
|
|
|
|
end
|