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((9 << 0), 0, 2053) |
8 |
} |
9 |
else |
10 |
{ |
11 |
with (obj_steamworks_manta) |
12 |
event_perform(ev_create, 0) |
13 |
__view_set((9 << 0), 0, 1031) |
14 |
obj_pl.x = dock_x |
15 |
obj_pl.y = dock_y |
16 |
if (global.party_member != noone) |
17 |
{ |
18 |
scr_actor_into_followerscr_actor_into_followerfunction scr_actor_into_follower(argument0, argument1) //gml_Script_scr_actor_into_follower
{
if (!instance_exists(argument0))
return false;
if (argument1 == noone)
return false;
instance_create(argument0.x, argument0.y, argument1)
argument1.x = argument0.x
argument1.y = argument0.y
with (argument0)
{
switch npc_direction
{
case "up":
argument1.sprite_index = argument1.up_sprite_idle
break
case "down":
argument1.sprite_index = argument1.down_sprite_idle
break
case "left":
argument1.sprite_index = argument1.left_sprite_idle
break
case "right":
argument1.sprite_index = argument1.right_sprite_idle
break
}
}
instance_destroy(argument0)
} (obj_ceroba_npc, obj_ceroba_follower) |
19 |
global.party_member.x = dock_x |
20 |
global.party_member.y = dock_y |
21 |
} |
22 |
} |
23 |
} |