Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mauswheel_cursor_memory_Step_0

(view raw script w/o annotations or w/e)
1
if (!recording)
2
    exit;
3
if (global.turntimer <= 0)
4
{
5
    recording = false;
6
    addIndex = 0;
7
    exit;
8
}
9
xpos[addIndex] = obj_heart.x;
10
ypos[addIndex] = obj_heart.y;
11
addIndex++;