Undertale script viewer
← back to main script listing
gml_Object_obj_asriel_swordmaster_Other_12
(view raw script w/o annotations or w/e)
1 |
if (x > (thisx - 80)) |
2 |
{ |
3 |
x -= 1; |
4 |
if (x > (thisx - 35)) |
5 |
king.torsorot += 1; |
6 |
} |
7 |
if (x > (thisx - 70)) |
8 |
{ |
9 |
x -= 2; |
10 |
if (x > (thisx - 35)) |
11 |
king.torsorot += 2; |
12 |
} |
13 |
if (x > (thisx - 60)) |
14 |
{ |
15 |
x -= 2; |
16 |
if (x > (thisx - 35)) |
17 |
king.torsorot += 3; |
18 |
} |
19 |
if (x > (thisx - 40)) |
20 |
{ |
21 |
x -= 3; |
22 |
if (x > (thisx - 35)) |
23 |
king.torsorot += 4; |
24 |
} |
25 |
if (x > (thisx - 20)) |
26 |
x -= 3; |
27 |
if (x > thisx) |
28 |
x -= 4; |
29 |
if (x > (thisx + 10)) |
30 |
x -= 4; |