summaryrefslogtreecommitdiff
path: root/data/scripts/safari_zone.inc
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
committerscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
commita6d2bfaebd16940fc0ac1be3ca29caf0888296ca (patch)
tree7ec979bc8481b2c2d55874aef3e9004ddb715781 /data/scripts/safari_zone.inc
parent96ebc5d46287e33df7bda74a6fb340281cdaa4c5 (diff)
parent7d657ef56716fd01bacf4a47df50ad0ec3d03b10 (diff)
Merge branch 'master' into secret_base
Diffstat (limited to 'data/scripts/safari_zone.inc')
-rw-r--r--data/scripts/safari_zone.inc40
1 files changed, 20 insertions, 20 deletions
diff --git a/data/scripts/safari_zone.inc b/data/scripts/safari_zone.inc
index c8d519038..d0283f072 100644
--- a/data/scripts/safari_zone.inc
+++ b/data/scripts/safari_zone.inc
@@ -1,12 +1,12 @@
gUnknown_081C340A:: @ 81C340A
setvar 0x40a4, 1
- special 206
- warp3 Route121_SafariZoneEntrance, 255, 2, 5
+ special ExitSafariMode
+ setwarp Route121_SafariZoneEntrance, 255, 2, 5
end
EventScript_1C341B: @ 81C341B
setvar 0x40a4, 1
- special 206
+ special ExitSafariMode
warp Route121_SafariZoneEntrance, 255, 2, 5
waitstate
end
@@ -15,60 +15,60 @@ gUnknown_081C342D:: @ 81C342D
lockall
msgbox UnknownString_81C34B2, 5
compare RESULT, 1
- jumpeq EventScript_1C3443
+ goto_if_eq EventScript_1C3443
releaseall
end
EventScript_1C3443:
- jump EventScript_1C341B
+ goto EventScript_1C341B
gUnknown_081C3448:: @ 81C3448
lockall
- playsfx 73
+ playse 73
message UnknownString_81C34E4
- waittext
+ waitmessage
waitbutton
releaseall
- jump EventScript_1C341B
+ goto EventScript_1C341B
gUnknown_081C3459:: @ 81C3459
lockall
- playsfx 73
+ playse 73
message UnknownString_81C3514
- waittext
+ waitmessage
waitbutton
releaseall
- jump EventScript_1C341B
+ goto EventScript_1C341B
gUnknown_081C346A:: @ 81C346A
lockall
- special 207
- compare RESULT, -1
- jumpif 5, EventScript_1C34A9
+ special SafariZoneGetPokeblockNameInFeeder
+ compare RESULT, 0xFFFF
+ goto_if 5, EventScript_1C34A9
msgbox UnknownString_81C354E, 5
compare RESULT, 1
- jumpeq EventScript_1C348E
+ goto_if_eq EventScript_1C348E
releaseall
end
EventScript_1C348E:
fadescreen 1
- special 208
+ special sub_810BAF4
waitstate
- compare RESULT, -1
- jumpif 5, EventScript_1C34A0
+ compare RESULT, 0xFFFF
+ goto_if 5, EventScript_1C34A0
end
EventScript_1C34A0:
message UnknownString_81C35A9
- waittext
+ waitmessage
waitbutton
releaseall
end
EventScript_1C34A9:
message UnknownString_81C3583
- waittext
+ waitmessage
waitbutton
releaseall
end