Undertale script viewer

← back to main script listing

gml_Object_obj_fileerased_part_Alarm_0

(view raw script w/o annotations or w/e)
1
if (image_index == 0)
2
    direction = 180;
3
if (image_index == 1)
4
    direction = 120;
5
if (image_index == 2)
6
    direction = 76;
7
if (image_index == 3)
8
    direction = 0;
9
if (image_index == 4)
10
    direction = 300;
11
if (image_index == 5)
12
    direction = 230;
13
speed = 13;
14
gravity_direction = 270;
15
gravity = 2;
16
friction = 0.05;