1 |
if (memory == 0) |
2 |
{ |
3 |
if (rounded == 0) |
4 |
{ |
5 |
cb = instance_create(100, choose(40), obj_creditboss); |
6 |
cb.type = choose(1); |
7 |
} |
8 |
if (rounded == 1) |
9 |
{ |
10 |
cb = instance_create(100, choose(260), obj_creditboss); |
11 |
cb.type = choose(1); |
12 |
} |
13 |
if (rounded == 2) |
14 |
{ |
15 |
cb = instance_create(100, choose(40), obj_creditboss); |
16 |
cb.type = choose(0); |
17 |
} |
18 |
if (rounded == 3) |
19 |
{ |
20 |
cb = instance_create(100, choose(260), obj_creditboss); |
21 |
cb.type = choose(0); |
22 |
} |
23 |
alarm[5] = 35;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
24 |
rounded += 1; |
25 |
if (rounded == 4) |
26 |
rounded = 0; |
27 |
} |
28 |
if (memory == 1) |
29 |
{ |
30 |
i = 0; |
31 |
xx = 10 + (floor(random(6)) * 20); |
32 |
repeat (4) |
33 |
{ |
34 |
event_user(0); |
35 |
cb.x = xx; |
36 |
xx += 90; |
37 |
cb.y = -40; |
38 |
cb.vspeed = 0.5; |
39 |
cb.gravity = 0.1; |
40 |
i += 1; |
41 |
} |
42 |
alarm[5] = 15;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
43 |
} |
44 |
if (memory == 2) |
45 |
{ |
46 |
for (i = 0; i < 12; i += 1) |
47 |
{ |
48 |
event_user(0); |
49 |
cb.x = -200; |
50 |
cb.y = 10 + (i * 40); |
51 |
cb.hspeed = 9; |
52 |
} |
53 |
for (i = 0; i < 12; i += 1) |
54 |
{ |
55 |
event_user(0); |
56 |
cb.x = room_width + 200; |
57 |
cb.y = 30 + (i * 40); |
58 |
cb.hspeed = -9; |
59 |
} |
60 |
alarm[5] = 50;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
61 |
} |
62 |
if (memory == 4) |
63 |
{ |
64 |
if (memswitch == 0) |
65 |
{ |
66 |
for (i = 0; i < 12; i += 1) |
67 |
{ |
68 |
event_user(0); |
69 |
cb.x = 10 + (i * 60); |
70 |
with (cb) |
71 |
width = string_width(text); |
72 |
cb.y = -300 + cb.width; |
73 |
cb.image_angle = 90; |
74 |
cb.hspeed = 2; |
75 |
cb.action = 3; |
76 |
cb.vspeed = 6; |
77 |
} |
78 |
for (i = 0; i < 12; i += 1) |
79 |
{ |
80 |
event_user(0); |
81 |
with (cb) |
82 |
width = string_width(text); |
83 |
cb.image_angle = 90; |
84 |
cb.x = 40 + (i * 60); |
85 |
cb.y = -300 - cb.width; |
86 |
cb.hspeed = -2; |
87 |
cb.action = 3; |
88 |
cb.vspeed = 6; |
89 |
} |
90 |
} |
91 |
if (memswitch == 1) |
92 |
{ |
93 |
for (i = 0; i < 12; i += 1) |
94 |
{ |
95 |
event_user(0); |
96 |
cb.x = 10 + (i * 60); |
97 |
with (cb) |
98 |
width = string_width(text); |
99 |
cb.y = -300 + cb.width; |
100 |
cb.image_angle = -90; |
101 |
cb.hspeed = -2; |
102 |
cb.action = 3; |
103 |
cb.vspeed = 6; |
104 |
} |
105 |
for (i = 0; i < 12; i += 1) |
106 |
{ |
107 |
event_user(0); |
108 |
with (cb) |
109 |
width = string_width(text); |
110 |
cb.image_angle = -90; |
111 |
cb.x = 40 + (i * 60); |
112 |
cb.y = -300 - cb.width; |
113 |
cb.hspeed = 2; |
114 |
cb.action = 3; |
115 |
cb.vspeed = 6; |
116 |
} |
117 |
} |
118 |
memory = 4; |
119 |
if (memswitch == 1) |
120 |
memswitch = 0; |
121 |
else |
122 |
memswitch = 1; |
123 |
alarm[5] = 78;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
124 |
} |
125 |
if (memory == 6) |
126 |
{ |
127 |
if (rounded == 0) |
128 |
{ |
129 |
cb = instance_create(100, choose(40), obj_creditboss); |
130 |
cb.type = choose(1); |
131 |
} |
132 |
if (rounded == 1) |
133 |
{ |
134 |
cb = instance_create(100, choose(260), obj_creditboss); |
135 |
cb.type = choose(1); |
136 |
} |
137 |
if (rounded == 2) |
138 |
{ |
139 |
cb = instance_create(100, choose(40), obj_creditboss); |
140 |
cb.type = choose(0); |
141 |
} |
142 |
if (rounded == 3) |
143 |
{ |
144 |
cb = instance_create(100, choose(260), obj_creditboss); |
145 |
cb.type = choose(0); |
146 |
} |
147 |
alarm[5] = 25;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
148 |
rounded += 1; |
149 |
if (rounded == 4) |
150 |
rounded = 0; |
151 |
} |
152 |
if (memory == 7) |
153 |
{ |
154 |
cb = instance_create(-300, 360, obj_creditboss); |
155 |
cb.hspeed = 4; |
156 |
cb.type = 3; |
157 |
cb = instance_create(950, 120, obj_creditboss); |
158 |
cb.hspeed = -4; |
159 |
cb.type = 3; |
160 |
alarm[5] = 75;gml_Object_obj_creditsloader_Alarm_5.gmlif (memory == 0)
{
if (rounded == 0)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 1)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(1);
}
if (rounded == 2)
{
cb = instance_create(100, choose(40), obj_creditboss);
cb.type = choose(0);
}
if (rounded == 3)
{
cb = instance_create(100, choose(260), obj_creditboss);
cb.type = choose(0);
}
alarm[5] = 35;
rounded += 1;
if (rounded == 4)
rounded = 0;
}
if (memory == 1)
{
i = 0;
xx = 10 + (floor(random(6)) * 20);
repeat (4)
{
event_user(0);
cb.x = xx;
xx += 90;
cb.y = -40;
cb.vspeed = 0.5;
cb.gravity = 0.1;
i += 1;
}
alarm[5] = 15;
}
if (memory == 2)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = -200;
cb.y = 10 + (i * 40);
cb.hspeed = 9;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = room_width + 200;
cb.y = 30 + (i * 40);
cb.hspeed = -9;
}
alarm[5] = 50;
}
if (memory == 4)
{
if (memswitch == 0)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = 90;
cb.hspeed = 2;
cb.action = 3;
cb.vspeed = 6;
}
for (i = 0; i < 12; i += 1)
{
event_user(0);
with (cb)
width = string_width(text);
cb.image_angle = 90;
cb.x = 40 + (i * 60);
cb.y = -300 - cb.width;
cb.hspeed = -2;
cb.action = 3;
cb.vspeed = 6;
}
}
if (memswitch == 1)
{
for (i = 0; i < 12; i += 1)
{
event_user(0);
cb.x = 10 + (i * 60);
with (cb)
width = string_width(text);
cb.y = -300 + cb.width;
cb.image_angle = -90;
cb.hspeed = -2;
... |
161 |
} |