Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_mouse_tile_rotation_init

(view raw script w/o annotations or w/e)
1
function scr_mouse_tile_rotation_init
scr_mouse_tile_rotation_init

function scr_mouse_tile_rotation_init() { __positionmax = 7; __positionmin = 0; __positionmove = 0; __currentposition = 0; __previousposition = 0; __nextposition = 0; __positionframes = 20; __move = 0; __positionspeed = 0; __moving = 0; __movetimer = 0; __movedx = 0; __movedy = 0; __con = 0; __positionx[0] = 0; __positionx[1] = 40; __positionx[2] = 80; __positionx[3] = 80; __positionx[4] = 80; __positionx[5] = 40; __positionx[6] = 0; __positionx[7] = 0; __positiony[0] = 0; __positiony[1] = 0; __positiony[2] = 0; __positiony[3] = 40; __positiony[4] = 80; __positiony[5] = 80; __positiony[6] = 80; __positiony[7] = 40; __init = 0; }
()
2
{
3
    __positionmax = 7;
4
    __positionmin = 0;
5
    __positionmove = 0;
6
    __currentposition = 0;
7
    __previousposition = 0;
8
    __nextposition = 0;
9
    __positionframes = 20;
10
    __move = 0;
11
    __positionspeed = 0;
12
    __moving = 0;
13
    __movetimer = 0;
14
    __movedx = 0;
15
    __movedy = 0;
16
    __con = 0;
17
    __positionx[0] = 0;
18
    __positionx[1] = 40;
19
    __positionx[2] = 80;
20
    __positionx[3] = 80;
21
    __positionx[4] = 80;
22
    __positionx[5] = 40;
23
    __positionx[6] = 0;
24
    __positionx[7] = 0;
25
    __positiony[0] = 0;
26
    __positiony[1] = 0;
27
    __positiony[2] = 0;
28
    __positiony[3] = 40;
29
    __positiony[4] = 80;
30
    __positiony[5] = 80;
31
    __positiony[6] = 80;
32
    __positiony[7] = 40;
33
    __init = 0;
34
}