1 |
with (obj_borderparent) |
2 |
visible = true; |
3 |
snd_play(snd_noise); |
4 |
caster_resume(global.batmusic); |
5 |
shadow = 0; |
6 |
global.idealborder[3] = 385; |
7 |
if (level == 0) |
8 |
{ |
9 |
s_type = choose(0, 1, 2, 3, 4); |
10 |
if (prev_s == s_type) |
11 |
s_type = choose(0, 1, 2, 3, 4); |
12 |
if (prev_s == s_type) |
13 |
s_type = choose(0, 1, 2, 3, 4); |
14 |
} |
15 |
if (level == 1) |
16 |
{ |
17 |
s_type = choose(5, 6, 7, 8); |
18 |
if (prev_s == s_type) |
19 |
s_type = choose(5, 6, 7, 8); |
20 |
if (prev_s == s_type) |
21 |
s_type = choose(5, 6, 7, 8); |
22 |
} |
23 |
if (level == 2) |
24 |
{ |
25 |
s_type = choose(0, 1, 2, 3, 4, 5, 6, 7, 8); |
26 |
if (prev_s == s_type) |
27 |
s_type = choose(0, 1, 2, 3, 4, 5, 6, 7, 8); |
28 |
if (prev_s == s_type) |
29 |
s_type = choose(0, 1, 2, 3, 4, 5, 6, 7, 8); |
30 |
} |
31 |
if (level == 3) |
32 |
{ |
33 |
s_type = 50; |
34 |
if (prev_s == 50) |
35 |
s_type = 51; |
36 |
if (prev_s == 51) |
37 |
s_type = 52; |
38 |
if (prev_s == 52) |
39 |
s_type = 53; |
40 |
if (prev_s == 53) |
41 |
s_type = 54; |
42 |
} |
43 |
prev_s = s_type; |
44 |
if (shadow_num >= shadow_max) |
45 |
{ |
46 |
if (level < 3) |
47 |
{ |
48 |
if (!instance_exists(obj_menubone_maker)) |
49 |
instance_create(0, 0, obj_menubone_maker); |
50 |
} |
51 |
obj_sansb_body.x = 320; |
52 |
with (obj_sansb) |
53 |
attacked = 0; |
54 |
with (obj_borderparent) |
55 |
instaborder = 0; |
56 |
s_type = -1; |
57 |
global.mnfight = 3; |
58 |
with (obj_heart) |
59 |
movement = 1; |
60 |
with (obj_heart) |
61 |
jumpstage = 0; |
62 |
with (obj_heart) |
63 |
sprite_index = spr_heart; |
64 |
with (obj_heart) |
65 |
speed = 0; |
66 |
instance_destroy(); |
67 |
exit; |
68 |
} |
69 |
else if (level < 3) |
70 |
{ |
71 |
obj_sansb_body.x = 100 + random(440); |
72 |
} |
73 |
shadow_num += 1; |
74 |
if (s_type == 0) |
75 |
{ |
76 |
obj_heart.movement = 2; |
77 |
with (obj_heart) |
78 |
jumpstage = 2; |
79 |
obj_heart.sprite_index = spr_heartblue; |
80 |
obj_heart.speed = 0; |
81 |
global.idealborder[0] = 120; |
82 |
global.idealborder[1] = 520; |
83 |
global.idealborder[2] = global.idealborder[3] - 110; |
84 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 5; |
85 |
obj_heart.y = global.idealborder[3] - 15; |
86 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, 8, 25, 0); |
87 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, -8, 25, 0); |
88 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, 8, 27, 0); |
89 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, -8, 27, 0); |
90 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, 8, 29, 0); |
91 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, -8, 29, 0); |
92 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, 8, 31, 0); |
93 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (45, -8, 31, 0); |
94 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, 8, 33, 0); |
95 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, -8, 33, 0); |
96 |
alarm[1] = 28; |
97 |
} |
98 |
if (s_type == 1) |
99 |
{ |
100 |
obj_heart.movement = 2; |
101 |
with (obj_heart) |
102 |
jumpstage = 2; |
103 |
obj_heart.sprite_index = spr_heartblue; |
104 |
obj_heart.speed = 0; |
105 |
global.idealborder[0] = 120; |
106 |
global.idealborder[1] = 520; |
107 |
global.idealborder[2] = global.idealborder[3] - 110; |
108 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 5; |
109 |
obj_heart.y = global.idealborder[3] - 15; |
110 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, 8, 25, 1); |
111 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, -8, 25, 1); |
112 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (20, 8, 34, 0); |
113 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (20, -8, 34, 0); |
114 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, 8, 38, 0); |
115 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (100, -8, 38, 0); |
116 |
alarm[1] = 35; |
117 |
} |
118 |
if (s_type == 2) |
119 |
{ |
120 |
obj_heart.movement = 2; |
121 |
with (obj_heart) |
122 |
jumpstage = 2; |
123 |
obj_heart.sprite_index = spr_heartblue; |
124 |
obj_heart.speed = 0; |
125 |
global.idealborder[0] = 170; |
126 |
global.idealborder[1] = 470; |
127 |
global.idealborder[2] = global.idealborder[3] - 110; |
128 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 5; |
129 |
obj_heart.y = global.idealborder[3] - 15; |
130 |
value = 0; |
131 |
for (i = 0; i < 7; i += 1) |
132 |
{ |
133 |
ht = choose(20, 30, 40); |
134 |
xx = 0; |
135 |
if (i > 0) |
136 |
xx = choose(-2, 0, 2); |
137 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (ht, 6 + xx, 25 + (i * 22) + value, 0); |
138 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (ht, -6 + xx, 25 + (i * 22) + value, 0); |
139 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (ht + 24, 6 + xx, 25 + (i * 22) + value, 2); |
140 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (ht + 24, -6 + xx, 25 + (i * 22) + value, 2); |
141 |
if (ht == 30) |
142 |
value += 5; |
143 |
if (ht == 40) |
144 |
value += 10; |
145 |
if (ht == 60) |
146 |
value += 20; |
147 |
} |
148 |
alarm[1] = 58; |
149 |
} |
150 |
if (s_type == 3) |
151 |
{ |
152 |
obj_heart.movement = 2; |
153 |
with (obj_heart) |
154 |
jumpstage = 2; |
155 |
obj_heart.sprite_index = spr_heartblue; |
156 |
obj_heart.speed = 0; |
157 |
global.idealborder[0] = 170; |
158 |
global.idealborder[1] = 470; |
159 |
global.idealborder[2] = global.idealborder[3] - 110; |
160 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 5; |
161 |
obj_heart.y = global.idealborder[3] - 15; |
162 |
for (i = 0; i < 8; i += 1) |
163 |
{ |
164 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, 5, 25 + (i * 25), 0); |
165 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -5, 25 + (i * 25), 0); |
166 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (40, 5, 25 + (i * 25), 2); |
167 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (40, -5, 25 + (i * 25), 2); |
168 |
} |
169 |
alarm[1] = 52; |
170 |
} |
171 |
if (s_type == 4) |
172 |
{ |
173 |
obj_heart.movement = 2; |
174 |
with (obj_heart) |
175 |
jumpstage = 2; |
176 |
obj_heart.sprite_index = spr_heartblue; |
177 |
obj_heart.speed = 0; |
178 |
global.idealborder[0] = 120; |
179 |
global.idealborder[1] = 520; |
180 |
sd = choose(1, -1); |
181 |
if (sd == 1) |
182 |
obj_heart.x = global.idealborder[0] + 20; |
183 |
else |
184 |
obj_heart.x = global.idealborder[1] - 20; |
185 |
obj_heart.y = global.idealborder[3] - 15; |
186 |
global.idealborder[2] = global.idealborder[3] - 110; |
187 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 11, 0); |
188 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 13, 0); |
189 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 15, 0); |
190 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 17, 0); |
191 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 19, 0); |
192 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 21, 0); |
193 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 23, 0); |
194 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 25, 0); |
195 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 27, 0); |
196 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 29, 0); |
197 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (55, -12 * sd, 31, 0); |
198 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 33, 0); |
199 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 35, 0); |
200 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 37, 0); |
201 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 39, 0); |
202 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 41, 0); |
203 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 43, 0); |
204 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 45, 0); |
205 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 47, 0); |
206 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 49, 0); |
207 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (15, -12 * sd, 51, 0); |
208 |
alarm[1] = 47; |
209 |
} |
210 |
if (s_type == 5) |
211 |
{ |
212 |
obj_heart.movement = 2; |
213 |
with (obj_heart) |
214 |
jumpstage = 2; |
215 |
obj_heart.sprite_index = spr_heartblue; |
216 |
obj_heart.speed = 0; |
217 |
obj_heart.vspeed = 1; |
218 |
global.idealborder[0] = 120; |
219 |
global.idealborder[1] = 520; |
220 |
global.idealborder[2] = global.idealborder[3] - 110; |
221 |
obj_heart.x = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
222 |
obj_heart.y = global.idealborder[3] - 90; |
223 |
d = choose(1, -1); |
224 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (75, 8 * d, 27, 2); |
225 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (65, -8 * d, 42, 0); |
226 |
scr_hplatscr_hplatbone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (70, 0, 0, 20); |
227 |
bone.x += 8; |
228 |
scr_hplatscr_hplatbone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (30, 0, 0, 20); |
229 |
bone.x += 8; |
230 |
for (i = 0; i < 30; i += 1) |
231 |
instance_create(global.idealborder[0] + (i * 16), global.idealborder[3] - 20, obj_bonewall); |
232 |
alarm[1] = 45; |
233 |
} |
234 |
if (s_type == 6) |
235 |
{ |
236 |
obj_heart.movement = 1; |
237 |
obj_heart.sprite_index = spr_heart_battle_pl; |
238 |
obj_heart.speed = 0; |
239 |
global.idealborder[0] = 240; |
240 |
global.idealborder[1] = 400; |
241 |
global.idealborder[2] = global.idealborder[3] - 160; |
242 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
243 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
244 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 8; |
245 |
obj_heart.y = (global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2)) - 8; |
246 |
chance = choose(0, 1); |
247 |
if (chance == 0) |
248 |
{ |
249 |
gb = instance_create(0, 0, obj_gasterblaster); |
250 |
gb.idealrot = 90; |
251 |
gb.idealx = global.idealborder[0] - 50; |
252 |
gb.idealy = hht; |
253 |
gb.image_xscale = 2; |
254 |
gb.image_yscale = 2; |
255 |
gb = instance_create(640, 480, obj_gasterblaster); |
256 |
gb.idealrot = -90; |
257 |
gb.idealx = global.idealborder[1] + 50; |
258 |
gb.idealy = hht; |
259 |
gb.image_xscale = 2; |
260 |
gb.image_yscale = 2; |
261 |
gb = instance_create(0, 0, obj_gasterblaster); |
262 |
gb.idealrot = 0; |
263 |
gb.idealx = hwd; |
264 |
gb.idealy = global.idealborder[2] - 60; |
265 |
gb.image_xscale = 2; |
266 |
gb.image_yscale = 2; |
267 |
gb = instance_create(640, 480, obj_gasterblaster); |
268 |
gb.idealrot = 180; |
269 |
gb.idealx = hwd; |
270 |
gb.idealy = global.idealborder[3] + 60; |
271 |
gb.image_xscale = 2; |
272 |
gb.image_yscale = 2; |
273 |
obj_gasterblaster.pause = 18 - laser_d; |
274 |
obj_gasterblaster.terminal = 8; |
275 |
with (obj_gasterblaster) |
276 |
x = idealx; |
277 |
with (obj_gasterblaster) |
278 |
y = idealy; |
279 |
with (obj_gasterblaster) |
280 |
image_angle = idealrot; |
281 |
} |
282 |
if (chance == 1) |
283 |
{ |
284 |
gb = instance_create(0, 0, obj_gasterblaster); |
285 |
gb.idealrot = 45; |
286 |
gb.idealx = global.idealborder[0] - 50; |
287 |
gb.idealy = global.idealborder[2] - 50; |
288 |
gb.image_xscale = 2; |
289 |
gb.image_yscale = 2; |
290 |
gb = instance_create(640, 0, obj_gasterblaster); |
291 |
gb.idealrot = -45; |
292 |
gb.idealx = global.idealborder[1] + 50; |
293 |
gb.idealy = global.idealborder[2] - 50; |
294 |
gb.image_xscale = 2; |
295 |
gb.image_yscale = 2; |
296 |
gb = instance_create(0, 480, obj_gasterblaster); |
297 |
gb.idealrot = 135; |
298 |
gb.idealx = global.idealborder[0] - 50; |
299 |
gb.idealy = global.idealborder[3] + 50; |
300 |
gb.image_xscale = 2; |
301 |
gb.image_yscale = 2; |
302 |
gb = instance_create(640, 480, obj_gasterblaster); |
303 |
gb.idealrot = -135; |
304 |
gb.idealx = global.idealborder[1] + 50; |
305 |
gb.idealy = global.idealborder[3] + 50; |
306 |
gb.image_xscale = 2; |
307 |
gb.image_yscale = 2; |
308 |
obj_gasterblaster.pause = 20 - laser_d; |
309 |
obj_gasterblaster.terminal = 8; |
310 |
with (obj_gasterblaster) |
311 |
x = idealx; |
312 |
with (obj_gasterblaster) |
313 |
y = idealy; |
314 |
with (obj_gasterblaster) |
315 |
image_angle = idealrot; |
316 |
} |
317 |
alarm[1] = 37 - laser_d; |
318 |
} |
319 |
if (s_type == 7) |
320 |
{ |
321 |
obj_heart.movement = 1; |
322 |
obj_heart.sprite_index = spr_heart_battle_pl; |
323 |
obj_heart.speed = 0; |
324 |
global.idealborder[0] = 240; |
325 |
global.idealborder[1] = 400; |
326 |
global.idealborder[2] = global.idealborder[3] - 160; |
327 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
328 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
329 |
obj_heart.x = (global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2)) - 8; |
330 |
obj_heart.y = (global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2)) - 8; |
331 |
dd = choose(-1, 1); |
332 |
if (dd == -1) |
333 |
{ |
334 |
obj_heart.x = global.idealborder[0] + 20; |
335 |
global.idealborder[1] += 60; |
336 |
} |
337 |
if (dd == 1) |
338 |
{ |
339 |
obj_heart.x = global.idealborder[1] - 20; |
340 |
global.idealborder[0] -= 60; |
341 |
} |
342 |
rr = choose(-1, 1); |
343 |
for (i = 0; i < 16; i += 1) |
344 |
{ |
345 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (105 - (sin(i / 3) * 28 * rr), 10 * dd, 16 + (i * 2), 2); |
346 |
bone.siner = i * 3; |
347 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (60 - (sin(i / 3) * 28 * rr), 10 * dd, 16 + (i * 2), 0); |
348 |
bone.siner = i * 3; |
349 |
} |
350 |
alarm[1] = 52; |
351 |
} |
352 |
if (s_type == 8) |
353 |
{ |
354 |
obj_heart.movement = 2; |
355 |
with (obj_heart) |
356 |
jumpstage = 2; |
357 |
obj_heart.sprite_index = spr_heartblue; |
358 |
obj_heart.speed = 0; |
359 |
global.idealborder[0] = 120; |
360 |
global.idealborder[1] = 520; |
361 |
global.idealborder[2] = global.idealborder[3] - 110; |
362 |
sd = choose(1, -1); |
363 |
if (sd == 1) |
364 |
obj_heart.x = global.idealborder[1] - 40; |
365 |
else |
366 |
obj_heart.x = global.idealborder[0] + 40; |
367 |
obj_heart.y = global.idealborder[3] - 15; |
368 |
for (i = 0; i < 10; i += 1) |
369 |
{ |
370 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (20, 4 * sd, -5 + (i * 19), 0); |
371 |
scr_sboscr_sbobone = instance_create(900, 900, obj_sans_bonebul);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.type = argument3;
bone.x = 320 - (argument1 * argument2);
bone.yinit = bone.y; (28, -4 * sd, -5 + (i * 19), 2); |
372 |
} |
373 |
alarm[1] = 57; |
374 |
} |
375 |
if (s_type == 50) |
376 |
{ |
377 |
obj_heart.movement = 2; |
378 |
with (obj_heart) |
379 |
jumpstage = 2; |
380 |
obj_heart.sprite_index = spr_heartblue; |
381 |
obj_heart.speed = 0; |
382 |
obj_heart.vspeed = 1; |
383 |
global.idealborder[0] = 240; |
384 |
global.idealborder[1] = 400; |
385 |
global.idealborder[2] = global.idealborder[3] - 160; |
386 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
387 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
388 |
obj_heart.x = hwd - 8; |
389 |
obj_heart.y = global.idealborder[3] - 15; |
390 |
bs = instance_create(0, 0, obj_bonestab); |
391 |
bs.dir = 0; |
392 |
bs.warning = 18; |
393 |
bs.height = 50; |
394 |
bs = instance_create(0, 0, obj_bonestab); |
395 |
bs.dir = 2; |
396 |
bs.warning = 18; |
397 |
bs.height = 50; |
398 |
alarm[1] = 27; |
399 |
} |
400 |
if (s_type == 51) |
401 |
{ |
402 |
obj_heart.movement = 12; |
403 |
obj_heart.sprite_index = spr_heartblue_u; |
404 |
obj_heart.speed = 0; |
405 |
obj_heart.vspeed = -2; |
406 |
global.idealborder[0] = 240; |
407 |
global.idealborder[1] = 400; |
408 |
global.idealborder[2] = global.idealborder[3] - 160; |
409 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
410 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
411 |
obj_heart.x = global.idealborder[0] + 15; |
412 |
obj_heart.y = global.idealborder[2] + 10; |
413 |
bs = instance_create(0, 0, obj_bonestab); |
414 |
bs.dir = 2; |
415 |
bs.warning = 19; |
416 |
bs.height = 50; |
417 |
bs = instance_create(0, 0, obj_bonestab); |
418 |
bs.dir = 3; |
419 |
bs.warning = 19; |
420 |
bs.height = 50; |
421 |
alarm[1] = 27; |
422 |
} |
423 |
if (s_type == 52) |
424 |
{ |
425 |
obj_heart.speed = 0; |
426 |
obj_heart.movement = 11; |
427 |
obj_heart.sprite_index = spr_heartblue_r; |
428 |
obj_heart.hspeed = 2; |
429 |
global.idealborder[0] = 240; |
430 |
global.idealborder[1] = 400; |
431 |
global.idealborder[2] = global.idealborder[3] - 160; |
432 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
433 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
434 |
obj_heart.x = global.idealborder[1] - 15; |
435 |
obj_heart.y = global.idealborder[3] - 15; |
436 |
bs = instance_create(0, 0, obj_bonestab); |
437 |
bs.dir = 0; |
438 |
bs.warning = 19; |
439 |
bs.height = 50; |
440 |
bs = instance_create(0, 0, obj_bonestab); |
441 |
bs.dir = 1; |
442 |
bs.warning = 19; |
443 |
bs.height = 50; |
444 |
alarm[1] = 27; |
445 |
} |
446 |
if (s_type == 53) |
447 |
{ |
448 |
obj_heart.speed = 0; |
449 |
obj_heart.movement = 13; |
450 |
obj_heart.sprite_index = spr_heartblue_l; |
451 |
obj_heart.hspeed = -2; |
452 |
global.idealborder[0] = 240; |
453 |
global.idealborder[1] = 400; |
454 |
global.idealborder[2] = global.idealborder[3] - 160; |
455 |
hwd = global.idealborder[0] + ((global.idealborder[1] - global.idealborder[0]) / 2); |
456 |
hht = global.idealborder[2] + ((global.idealborder[3] - global.idealborder[2]) / 2); |
457 |
obj_heart.x = global.idealborder[0] + 10; |
458 |
obj_heart.y = global.idealborder[2] == (hht - 8); |
459 |
bs = instance_create(0, 0, obj_bonestab); |
460 |
bs.dir = 3; |
461 |
bs.warning = 19; |
462 |
bs.retain = 10; |
463 |
bs.height = 50; |
464 |
alarm[1] = 22; |
465 |
with (obj_sansb_body) |
466 |
{ |
467 |
x = 320; |
468 |
lac = 49; |
469 |
alarm[5] |
470 |
} |
471 |
instance_destroy(); |
472 |
exit; |
473 |
} |