summaryrefslogtreecommitdiff
path: root/data/scripts/safari_zone.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-20 00:59:48 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-20 00:59:48 -0500
commitc99c454c3a36e0ccb0b9d568571f96f6da5130a6 (patch)
tree8edf8ea5f5b3bbe9476fecb893d27d1fd68c304c /data/scripts/safari_zone.inc
parent2cd1460cc5910a78cd25929692cf12646fd7d4b7 (diff)
Split unused Hoenn scripts
Diffstat (limited to 'data/scripts/safari_zone.inc')
-rw-r--r--data/scripts/safari_zone.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/data/scripts/safari_zone.inc b/data/scripts/safari_zone.inc
new file mode 100644
index 000000000..15c735821
--- /dev/null
+++ b/data/scripts/safari_zone.inc
@@ -0,0 +1,37 @@
+SafariZone_EventScript_OutOfBallsMidBattle:: @ 81BFB87
+ setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3
+ special ExitSafariMode
+ setwarp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
+ end
+
+SafariZone_EventScript_Exit:: @ 81BFB98
+ setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1
+ special ExitSafariMode
+ warp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
+ waitstate
+ end
+
+SafariZone_EventScript_RetirePrompt:: @ 81BFBAA
+ lockall
+ msgbox SafariZone_Text_WouldYouLikeToExit, MSGBOX_YESNO
+ compare VAR_RESULT, YES
+ goto_if_eq SafariZone_EventScript_Retire
+ releaseall
+ end
+
+SafariZone_EventScript_Retire:: @ 81BFBC0
+ goto SafariZone_EventScript_Exit
+
+SafariZone_EventScript_TimesUp:: @ 81BFBC5
+ lockall
+ playse SE_PINPON
+ msgbox SafariZone_Text_TimesUp
+ goto SafariZone_EventScript_Exit
+ end
+
+SafariZone_EventScript_OutOfBalls:: @ 81BFBD7
+ lockall
+ playse SE_PINPON
+ msgbox SafariZone_Text_OutOfBalls
+ goto SafariZone_EventScript_Exit
+ end