Undertale script viewer
← back to main script listing
gml_Object_obj_gunshot_2_Step_0
(view raw script w/o annotations or w/e)
|
1
|
if (form == 0)
|
|
2
|
size += 0.5;
|
|
3
|
if (size > 3.5)
|
|
4
|
form = 1;
|
|
5
|
if (form == 1)
|
|
6
|
{
|
|
7
|
image_alpha -= 0.2;
|
|
8
|
size -= 0.3;
|
|
9
|
if (image_alpha < 0.1)
|
|
10
|
instance_destroy();
|
|
11
|
}
|
|
12
|
image_xscale = size;
|
|
13
|
image_yscale = size;
|