1 | alarm[0] = fadespeed |
2 | if (fadein == false) |
3 | fadealpha += 0.007 |
4 | if (fadein == true) |
5 | { |
6 | fadealpha -= 0.1 |
7 | if (fadealpha <= 0) |
8 | { |
9 | instance_destroy() |
10 | if (instance_exists(obj_pl) && global.route != 2) |
11 | obj_pl.alarm[0] = 5 |
12 | } |
13 | } |