Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cutscene_steamworks_18_post_froggit_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
scene = 0;
4
cutscene_timer = 0;
5
if (global.sworks_flag[46] != 2)
6
{
7
    instance_destroy();
8
    exit;
9
}
10
obj_pl.x = 448;
11
obj_pl.y = 180;
12
obj_pl.image_alpha = 0;
13
instance_create_depth(obj_pl.x, obj_pl.y, obj_pl.depth, obj_player_npc);
14
obj_player_npc.action_sprite = true;
15
obj_player_npc.sprite_index = spr_pl_lying;
16
if (global.sworks_flag[50] == 1)
17
{
18
    instance_create_depth(obj_player_npc.x - 30, obj_player_npc.y, -100, obj_ceroba_npc);
19
    obj_ceroba_npc.npc_direction = "right";
20
    global.party_member = 1171;
21
}
22
var fade = instance_create(0, 0, obj_screen_fade_effect);
23
fade.fade_stage = 1;
24
fade.fade_alpha = 1;
25
fade.fade_color = 16777215;