Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_bigcat_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
meowsnd = 0;
3
act = 0;
4
action = 0;
5
xscale = 1;
6
xscale2 = 1;
7
yscale = 1;
8
timer = 0;
9
xx = 0;
10
yy = 0;
11
pet = 0;
12
pet_max = 7;
13
if (x > (camerax() + (camerawidth() / 2)))
14
    image_xscale = -1;
15
happiness = 100;
16
happiness_speed = 0.1;
17
if (x < (camerax() + (camerawidth() / 2)))
18
    x = camerax() - 100;
19
else
20
    x = camerax() + camerawidth() + 100;
21
oldx = x;