Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_check_snowdin_14b_overworld_yellow_Create_0

(view raw script w/o annotations or w/e)
1
if global.geno_complete[2]
2
{
3
    obj_rodney_snowdin_14b_overworld_yellow.sprite_index = spr_piano
4
    instance_destroy(obj_rodney_head_snowdin_14b_overworld_yellow)
5
    obj_noteblock_snowdin_14b_overworld_yellow.sprite_index = spr_drums
6
    instance_destroy(obj_noteblock_head_snowdin_14b_overworld_yellow)
7
    obj_soundtrack_snowdin_14b_overworld_yellow.sprite_index = spr_violin
8
    instance_destroy(obj_soundtrack_head_snowdin_14b_overworld_yellow)
9
    instance_destroy(obj_couchbear_snowdin_14b_overworld_yellow)
10
    instance_destroy(obj_barnpc_snowdin14b)
11
    instance_destroy(obj_tablenpc_snowdin_14b)
12
    obj_shopkeeper_snowdin_14b_overworld_yellow.image_alpha = 0
13
}
14
if (global.snowdin_flag[13] != 0)
15
{
16
    instance_destroy(obj_rodney_snowdin_14b_overworld_yellow)
17
    instance_destroy(obj_rodney_head_snowdin_14b_overworld_yellow)
18
    instance_destroy(obj_noteblock_snowdin_14b_overworld_yellow)
19
    instance_destroy(obj_noteblock_head_snowdin_14b_overworld_yellow)
20
    instance_destroy(obj_soundtrack_snowdin_14b_overworld_yellow)
21
    instance_destroy(obj_soundtrack_head_snowdin_14b_overworld_yellow)
22
    instance_destroy(obj_tablenpc_snowdin_14b)
23
    instance_create_depth(212, 116, -100, obj_chair_man_snowdin)
24
}