summaryrefslogtreecommitdiff
path: root/data/scripts/safari_zone.inc
blob: 385f93d228999d9b32306e5c973deb0eeb972322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
gUnknown_081C340A:: @ 81C340A
	setvar 0x40a4, 1
	special ExitSafariMode
	setwarp MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5
	end

EventScript_1C341B: @ 81C341B
	setvar 0x40a4, 1
	special ExitSafariMode
	warp MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5
	waitstate
	end

gUnknown_081C342D:: @ 81C342D
	lockall
	msgbox UnknownString_81C34B2, 5
	compare RESULT, 1
	goto_if_eq EventScript_1C3443
	releaseall
	end

EventScript_1C3443:
	goto EventScript_1C341B

gUnknown_081C3448:: @ 81C3448
	lockall
	playse 73
	message UnknownString_81C34E4
	waitmessage
	waitbutton
	releaseall
	goto EventScript_1C341B

gUnknown_081C3459:: @ 81C3459
	lockall
	playse 73
	message UnknownString_81C3514
	waitmessage
	waitbutton
	releaseall
	goto EventScript_1C341B

gUnknown_081C346A:: @ 81C346A
	lockall
	special SafariZoneGetPokeblockNameInFeeder
	compare RESULT, 0xFFFF
	goto_if 5, EventScript_1C34A9
	msgbox UnknownString_81C354E, 5
	compare RESULT, 1
	goto_if_eq EventScript_1C348E
	releaseall
	end

EventScript_1C348E:
	fadescreen 1
	special sub_810BAF4
	waitstate
	compare RESULT, 0xFFFF
	goto_if 5, EventScript_1C34A0
	end

EventScript_1C34A0:
	message UnknownString_81C35A9
	waitmessage
	waitbutton
	releaseall
	end

EventScript_1C34A9:
	message UnknownString_81C3583
	waitmessage
	waitbutton
	releaseall
	end