Deltarune script viewer

← back to main script listing

gml_Object_obj_overworld_spade_homing_ch1_Step_0

(view raw script w/o annotations or w/e)
1
timer += 1
2
if (timer >= 2)
3
{
4
    if (image_alpha < 1)
5
        image_alpha += 0.1
6
    if (image_alpha >= 1)
7
        active = 1
8
}
9
if (timer == 2)
10
{
11
    move_towards_point((obj_mainchara_ch1.x + 20), (obj_mainchara_ch1.y + 50), 8)
12
    image_angle = direction
13
}
14
if (x >= ((__view_get((0 << 0), 0)) + 800))
15
    instance_destroy()
16
if (x <= ((__view_get((0 << 0), 0)) - 200))
17
    instance_destroy()
18
if (y > ((__view_get((1 << 0), 0)) + 600))
19
    instance_destroy()
20
if (y < ((__view_get((1 << 0), 0)) - 600))
21
    instance_destroy()