Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_final_overworld_cutscene_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
cutscene_music = 0
6
draw_alpha = 1
7
global.cutscene = true
8
obj_pl.image_alpha = 0
9
var chujin = instance_create_depth(277, 149, -100, obj_chujin_npc)
10
with (chujin)
11
{
12
    up_sprite = 3089
13
    right_sprite = 3089
14
    down_sprite = 3089
15
    left_sprite = 3089
16
    up_sprite_idle = 3089
17
    right_sprite_idle = 3089
18
    down_sprite_idle = 3089
19
    left_sprite_idle = 3089
20
    action_sprite = false
21
}
22
var martlet = instance_create_depth(246, -15, -100, obj_martlet_npc)
23
with (martlet)
24
{
25
    up_sprite = 3709
26
    right_sprite = 3709
27
    down_sprite = 3709
28
    left_sprite = 3709
29
    up_sprite_idle = 3709
30
    right_sprite_idle = 3709
31
    down_sprite_idle = 3709
32
    left_sprite_idle = 3709
33
    action_sprite = true
34
    sprite_index = spr_martlet_landing
35
    image_index = 0
36
    image_speed = 0
37
}