mirror of
https://github.com/pret/pokefirered.git
synced 2026-04-25 07:19:36 -05:00
38 lines
898 B
C++
38 lines
898 B
C++
SafariZone_EventScript_OutOfBallsMidBattle::
|
|
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3
|
|
special ExitSafariMode
|
|
setwarp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 4, 1
|
|
end
|
|
|
|
SafariZone_EventScript_Exit::
|
|
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1
|
|
special ExitSafariMode
|
|
warp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 4, 1
|
|
waitstate
|
|
end
|
|
|
|
SafariZone_EventScript_RetirePrompt::
|
|
lockall
|
|
msgbox SafariZone_Text_WouldYouLikeToExit, MSGBOX_YESNO
|
|
compare VAR_RESULT, YES
|
|
goto_if_eq SafariZone_EventScript_Retire
|
|
releaseall
|
|
end
|
|
|
|
SafariZone_EventScript_Retire::
|
|
goto SafariZone_EventScript_Exit
|
|
|
|
SafariZone_EventScript_TimesUp::
|
|
lockall
|
|
playse SE_DING_DONG
|
|
msgbox SafariZone_Text_TimesUp
|
|
goto SafariZone_EventScript_Exit
|
|
end
|
|
|
|
SafariZone_EventScript_OutOfBalls::
|
|
lockall
|
|
playse SE_DING_DONG
|
|
msgbox SafariZone_Text_OutOfBalls
|
|
goto SafariZone_EventScript_Exit
|
|
end
|