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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
SouthernIsland_Interior_MapScripts:: @ 8160B53
map_script 5, SouthernIsland_Interior_MapScript1_160B5E
map_script 3, SouthernIsland_Interior_MapScript1_160B6C
.byte 0
SouthernIsland_Interior_MapScript1_160B5E:: @ 8160B5E
checkflag 2145
callif 1, SouthernIsland_Interior_EventScript_160B68
end
SouthernIsland_Interior_EventScript_160B68:: @ 8160B68
disappear 2
return
SouthernIsland_Interior_MapScript1_160B6C:: @ 8160B6C
.ifdef SAPPHIRE
setvar 0x4011, 188
.else
setvar 0x4011, 187
.endif
call SouthernIsland_Interior_EventScript_160B77
end
SouthernIsland_Interior_EventScript_160B77:: @ 8160B77
checkgender
compare RESULT, 0
jumpeq SouthernIsland_Interior_EventScript_160B8F
compare RESULT, 1
jumpeq SouthernIsland_Interior_EventScript_160B95
end
SouthernIsland_Interior_EventScript_160B8F:: @ 8160B8F
setvar 0x4010, 100
return
SouthernIsland_Interior_EventScript_160B95:: @ 8160B95
setvar 0x4010, 105
return
SouthernIsland_Interior_EventScript_160B9B:: @ 8160B9B
lockall
setvar 0x8008, 12
jump SouthernIsland_Interior_EventScript_160BA7
end
SouthernIsland_Interior_EventScript_160BA7:: @ 8160BA7
checkflag 206
jumpeq SouthernIsland_Interior_EventScript_160C08
checkflag 2131
jumpif 0, SouthernIsland_Interior_EventScript_160C08
setflag 206
special 275
move 127, SouthernIsland_Interior_Movement_160C12
waitmove 0
pause 50
checksound
pokecry SPECIES_LATIAS_OR_LATIOS, 0
pause 30
waitpokecry
reappear 2
pause 30
move 127, SouthernIsland_Interior_Movement_160C16
move 2, SouthernIsland_Interior_Movement_160C22
waitmove 0
pause 50
special 276
setwildbattle SPECIES_LATIAS_OR_LATIOS, 50, ITEM_SOUL_DEW
setflag 911
setflag 2145
special 323
waitstate
clearflag 2145
releaseall
end
SouthernIsland_Interior_EventScript_160C08:: @ 8160C08
msgbox SouthernIsland_Interior_Text_1C52C5, 4
releaseall
end
SouthernIsland_Interior_Movement_160C12:: @ 8160C12
step_up
step_up
step_up
step_end
SouthernIsland_Interior_Movement_160C16:: @ 8160C16
step_14
step_14
step_14
step_14
step_14
step_14
step_14
step_down
step_down
step_down
step_26
step_end
SouthernIsland_Interior_Movement_160C22:: @ 8160C22
step_down
step_down
step_down
step_down
step_down
step_14
step_14
step_down
step_down
step_down
step_down
step_end
|