1 |
timer += 1; |
2 |
if (timer >= 2) |
3 |
{ |
4 |
if (image_alpha < 1) |
5 |
image_alpha += 0.1; |
6 |
if (image_alpha == 1) |
7 |
active = 1; |
8 |
} |
9 |
if (room == room_dark_chase2) |
10 |
{ |
11 |
if (x > 680) |
12 |
instance_destroy(); |
13 |
if (x < -40) |
14 |
instance_destroy(); |
15 |
} |
16 |
else |
17 |
{ |
18 |
if (room == room_dark_chase1) |
19 |
{ |
20 |
if (x >= (__view_get(e__VW.XView, 0) + 800)) |
21 |
x -= 900; |
22 |
if (x <= (__view_get(e__VW.XView, 0) - 200)) |
23 |
x += 900; |
24 |
} |
25 |
if (y > (__view_get(e__VW.YView, 0) + 600)) |
26 |
instance_destroy(); |
27 |
if (y < (__view_get(e__VW.YView, 0) - 800)) |
28 |
instance_destroy(); |
29 |
} |
30 |
|
31 |
enum e__VW |
32 |
{ |
33 |
XView, |
34 |
YView, |
35 |
WView, |
36 |
HView, |
37 |
Angle, |
38 |
HBorder, |
39 |
VBorder, |
40 |
HSpeed, |
41 |
VSpeed, |
42 |
Object, |
43 |
Visible, |
44 |
XPort, |
45 |
YPort, |
46 |
WPort, |
47 |
HPort, |
48 |
Camera, |
49 |
SurfaceID |
50 |
} |