1 | alarm[0] = fadespeed |
2 | if (fadein == false) |
3 | fadealpha += 0.05 |
4 | if (fadein == true) |
5 | { |
6 | fadealpha -= 0.05 |
7 | if (fadealpha <= 0) |
8 | instance_destroy() |
9 | } |
10 | if (fadealpha >= 1) |
11 | { |
12 | room_goto(newRoom) |
13 | fadein = true |
14 | } |