-
Notifications
You must be signed in to change notification settings - Fork 11
/
[clientscript,script1713].cs2
39 lines (39 loc) · 1.34 KB
/
[clientscript,script1713].cs2
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
// 1713
[clientscript,script1713](maparea $maparea0, component $component1, int $comsubid2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
def_coord $coord9 = %varcint189;
%varcint189 = null;
if (worldmap_getcurrentmap ! $maparea0) {
~worldmap_maplist_close($component1, $component3);
if (worldmap_isloaded = false) {
return;
}
if (cc_find($component1, $comsubid2) = ^true) {
~worldmap_loadmap(worldmap_getcurrentmap, null, $component1, $component3, $component4, $component5, $component6, $component7, $component8);
}
return;
}
if ($coord9 = null) {
return;
}
~worldmap_maplist_close($component1, $component3);
if (worldmap_isloaded = false) {
return;
}
def_coord $coord10 = null;
def_int $int11 = 0;
def_maparea $maparea12 = enum(int, maparea, enum_1697, $int11);
while ($maparea12 ! null) {
$coord10 = ~worldmap_findcoordinmap($maparea12, $coord9);
if ($coord10 ! null) {
if (worldmap_getcurrentmap ! $maparea12) {
if (cc_find($component1, $comsubid2) = ^true) {
~worldmap_loadmap($maparea12, $coord10, $component1, $component3, $component4, $component5, $component6, $component7, $component8);
}
} else {
worldmap_jumptosourcecoord($coord10);
}
return;
}
$int11 = calc($int11 + 1);
$maparea12 = enum(int, maparea, enum_1697, $int11);
}