Undertale script viewer

← back to main script listing

gml_Object_obj_asriellamp_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
read = 0;
3
image_xscale = 1;
4
image_yscale = 1;
5
if (global.plot == 0)
6
    instance_destroy();
7
active = 1;
8
if (global.flag[7 true_pacifist] == 1)
9
    active = 0;
10
if (active == 1)
11
{
12
    idealvolume[0] = 1;
13
    idealvolume[1] = 0.001;
14
    curvol1 = caster_get_volume(global.currentsong);
15
    curvol2 = caster_get_volume(global.currentsong2);
16
    crumblebaby = audio_sound_get_track_position(global.currentsong);
17
    audio_sound_set_track_position(global.currentsong2, crumblebaby);
18
}