1 |
persistent = false |
2 |
if (room == rm_steamworks_17 && point_in_rectangle(obj_pl.x, obj_pl.y, 190, 768, 290, 830)) |
3 |
{ |
4 |
x = 550 |
5 |
y = 670 |
6 |
manta_dir = 270 |
7 |
} |
8 |
if manta_has_passengers |
9 |
{ |
10 |
if (global.party_member != -4) |
11 |
actor_follower.persistent = false |
12 |
__view_set((9 << 0), 0, id) |
13 |
manta_dir = obj_pl.direction |
14 |
x = obj_transition.xx |
15 |
y = obj_transition.yy |
16 |
switch manta_dir |
17 |
{ |
18 |
case 0: |
19 |
if (global.party_member != -4) |
20 |
{ |
21 |
actor_follower.x = x - 10 |
22 |
actor_follower.y = y - 15 |
23 |
actor_follower.npc_direction = "right" |
24 |
} |
25 |
obj_pl.x = x + 5 |
26 |
obj_pl.y = y - 15 |
27 |
obj_pl.direction = 0 |
28 |
break |
29 |
case 180: |
30 |
if (global.party_member != -4) |
31 |
{ |
32 |
actor_follower.x = x + 10 |
33 |
actor_follower.y = y - 15 |
34 |
actor_follower.npc_direction = "left" |
35 |
} |
36 |
obj_pl.x = x - 5 |
37 |
obj_pl.y = y - 15 |
38 |
obj_pl.direction = 180 |
39 |
break |
40 |
case 90: |
41 |
if (global.party_member != -4) |
42 |
{ |
43 |
actor_follower.x = x |
44 |
actor_follower.y = y - 5 |
45 |
actor_follower.npc_direction = "up" |
46 |
} |
47 |
obj_pl.x = x |
48 |
obj_pl.y = y - 10 |
49 |
obj_pl.direction = 90 |
50 |
break |
51 |
case 270: |
52 |
if (global.party_member != -4) |
53 |
{ |
54 |
actor_follower.x = x |
55 |
actor_follower.y = y - 10 |
56 |
actor_follower.npc_direction = "down" |
57 |
} |
58 |
obj_pl.x = x |
59 |
obj_pl.y = y |
60 |
obj_pl.direction = 270 |
61 |
break |
62 |
} |
63 |
|
64 |
} |