1 |
with (other) |
2 |
{ |
3 |
state = 1; |
4 |
if (obj_steamworks_manta.manta_has_passengers == false) |
5 |
{ |
6 |
obj_steamworks_manta.manta_has_passengers = true; |
7 |
__view_set(e__VW.Object, 0, obj_steamworks_manta); |
8 |
} |
9 |
else |
10 |
{ |
11 |
with (obj_steamworks_manta) |
12 |
event_perform(ev_create, 0); |
13 |
__view_set(e__VW.Object, 0, obj_pl); |
14 |
obj_pl.x = dock_x; |
15 |
obj_pl.y = dock_y; |
16 |
if (global.party_member != -4) |
17 |
{ |
18 |
scr_actor_into_followerscr_actor_into_followerfunction scr_actor_into_follower(arg0, arg1)
{
if (!instance_exists(arg0))
return false;
if (arg1 == -4)
return false;
instance_create(arg0.x, arg0.y, arg1);
arg1.x = arg0.x;
arg1.y = arg0.y;
with (arg0)
{
switch (npc_direction)
{
case "up":
arg1.sprite_index = arg1.up_sprite_idle;
break;
case "down":
arg1.sprite_index = arg1.down_sprite_idle;
break;
case "left":
arg1.sprite_index = arg1.left_sprite_idle;
break;
case "right":
arg1.sprite_index = arg1.right_sprite_idle;
break;
}
}
instance_destroy(arg0);
} (1161, 1171); |
19 |
global.party_member.x = dock_x; |
20 |
global.party_member.y = dock_y; |
21 |
} |
22 |
} |
23 |
} |
24 |
|
25 |
enum e__VW |
26 |
{ |
27 |
XView, |
28 |
YView, |
29 |
WView, |
30 |
HView, |
31 |
Angle, |
32 |
HBorder, |
33 |
VBorder, |
34 |
HSpeed, |
35 |
VSpeed, |
36 |
Object, |
37 |
Visible, |
38 |
XPort, |
39 |
YPort, |
40 |
WPort, |
41 |
HPort, |
42 |
Camera, |
43 |
SurfaceID |
44 |
} |