Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_volumebar_Create_0

(view raw script w/o annotations or w/e)
1
if (instance_number(obj_micmenu) == 0)
2
{
3
    y = cameray() + 40;
4
    x = camerax() - 40;
5
    hspeed = 13;
6
    friction = 1;
7
}
8
else
9
{
10
    y = cameray() + 80;
11
    x = camerax() - 40;
12
    hspeed = 23;
13
    friction = 1;
14
}
15
volume_surf = surface_create(96, 250);