|
1
|
with (obj_sansb)
|
|
2
|
timer_on = 1;
|
|
3
|
if (a_type == 0)
|
|
4
|
{
|
|
5
|
global.turntimer = 200;
|
|
6
|
for (i = 0; i < 8; i += 1)
|
|
7
|
{
|
|
8
|
scr_sboscr_sbo
bone = 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, 6, 40 + (i * 20), 0);
|
|
9
|
scr_sboscr_sbo
bone = 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, -6, 40 + (i * 20), 0);
|
|
10
|
scr_sboscr_sbo
bone = 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, 6, 40 + (i * 20), 2);
|
|
11
|
scr_sboscr_sbo
bone = 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, -6, 40 + (i * 20), 2);
|
|
12
|
}
|
|
13
|
}
|
|
14
|
if (a_type == 1)
|
|
15
|
{
|
|
16
|
global.turntimer = 190;
|
|
17
|
if (hell == 1)
|
|
18
|
{
|
|
19
|
for (i = 0; i < 8; i += 1)
|
|
20
|
{
|
|
21
|
scr_sboscr_sbo
bone = 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, 40 + (i * 18), 0);
|
|
22
|
scr_sboscr_sbo
bone = 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, 40 + (i * 18), 0);
|
|
23
|
scr_sboscr_sbo
bone = 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, 8, 40 + (i * 18), 2);
|
|
24
|
scr_sboscr_sbo
bone = 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, -8, 40 + (i * 18), 2);
|
|
25
|
}
|
|
26
|
}
|
|
27
|
else
|
|
28
|
{
|
|
29
|
for (i = 0; i < 8; i += 1)
|
|
30
|
{
|
|
31
|
scr_sboscr_sbo
bone = 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, 7, 40 + (i * 19), 0);
|
|
32
|
scr_sboscr_sbo
bone = 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, -7, 40 + (i * 19), 0);
|
|
33
|
scr_sboscr_sbo
bone = 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, 7, 40 + (i * 19), 2);
|
|
34
|
scr_sboscr_sbo
bone = 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, -7, 40 + (i * 19), 2);
|
|
35
|
}
|
|
36
|
}
|
|
37
|
}
|
|
38
|
if (a_type == 2)
|
|
39
|
{
|
|
40
|
global.turntimer = 240;
|
|
41
|
value = 0;
|
|
42
|
for (i = 0; i < 5; i += 1)
|
|
43
|
{
|
|
44
|
ht = choose(20, 30, 40, 60);
|
|
45
|
xx = 0;
|
|
46
|
if (i > 0)
|
|
47
|
xx = choose(-2, 0, 2);
|
|
48
|
if (ht == 60)
|
|
49
|
xx = 0;
|
|
50
|
if (ht == 40)
|
|
51
|
xx *= 0.5;
|
|
52
|
scr_sboscr_sbo
bone = 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, 7 + xx, 40 + (i * 25) + value, 0);
|
|
53
|
scr_sboscr_sbo
bone = 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, -7 + xx, 40 + (i * 25) + value, 0);
|
|
54
|
scr_sboscr_sbo
bone = 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, 7 + xx, 40 + (i * 25) + value, 2);
|
|
55
|
scr_sboscr_sbo
bone = 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, -7 + xx, 40 + (i * 25) + value, 2);
|
|
56
|
if (ht == 30)
|
|
57
|
value += 5;
|
|
58
|
if (ht == 40)
|
|
59
|
value += 10;
|
|
60
|
if (ht == 60)
|
|
61
|
value += 20;
|
|
62
|
}
|
|
63
|
}
|
|
64
|
if (a_type == 3)
|
|
65
|
{
|
|
66
|
global.turntimer = 190;
|
|
67
|
if (hell == 1)
|
|
68
|
{
|
|
69
|
scr_sboscr_sbo
bone = 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, -12, 25, 1);
|
|
70
|
scr_sboscr_sbo
bone = 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, -12, 32, 0);
|
|
71
|
scr_sboscr_sbo
bone = 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, -12, 47, 1);
|
|
72
|
scr_sboscr_sbo
bone = 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, -12, 54, 0);
|
|
73
|
scr_sboscr_sbo
bone = 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, -12, 69, 1);
|
|
74
|
scr_sboscr_sbo
bone = 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, -12, 76, 0);
|
|
75
|
scr_sboscr_sbo
bone = 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, 10, 105, 0);
|
|
76
|
scr_sboscr_sbo
bone = 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, 10, 117, 1);
|
|
77
|
scr_sboscr_sbo
bone = 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, 10, 127, 0);
|
|
78
|
scr_sboscr_sbo
bone = 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, 10, 139, 1);
|
|
79
|
scr_sboscr_sbo
bone = 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, 10, 149, 0);
|
|
80
|
scr_sboscr_sbo
bone = 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, 10, 161, 1);
|
|
81
|
}
|
|
82
|
else
|
|
83
|
{
|
|
84
|
scr_sboscr_sbo
bone = 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, -10, 25, 1);
|
|
85
|
scr_sboscr_sbo
bone = 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, -10, 32, 0);
|
|
86
|
scr_sboscr_sbo
bone = 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, -10, 47, 1);
|
|
87
|
scr_sboscr_sbo
bone = 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, -10, 54, 0);
|
|
88
|
scr_sboscr_sbo
bone = 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, -10, 69, 1);
|
|
89
|
scr_sboscr_sbo
bone = 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, -10, 76, 0);
|
|
90
|
scr_sboscr_sbo
bone = 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, 10, 105, 0);
|
|
91
|
scr_sboscr_sbo
bone = 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, 10, 117, 1);
|
|
92
|
scr_sboscr_sbo
bone = 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, 10, 127, 0);
|
|
93
|
scr_sboscr_sbo
bone = 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, 10, 139, 1);
|
|
94
|
scr_sboscr_sbo
bone = 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, 10, 149, 0);
|
|
95
|
scr_sboscr_sbo
bone = 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, 10, 161, 1);
|
|
96
|
}
|
|
97
|
}
|
|
98
|
if (a_type == 5)
|
|
99
|
{
|
|
100
|
global.turntimer = 230;
|
|
101
|
for (i = 0; i < 8; i += 1)
|
|
102
|
{
|
|
103
|
scr_sboscr_sbo
bone = 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, 65 + (i * 19), 0);
|
|
104
|
scr_sboscr_sbo
bone = 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, 65 + (i * 19), 2);
|
|
105
|
}
|
|
106
|
}
|
|
107
|
if (a_type == 6)
|
|
108
|
{
|
|
109
|
global.turntimer = 250;
|
|
110
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (30, 4, 60, 41);
|
|
111
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (40, 4, 70, 30);
|
|
112
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (40, 5, 120, 30);
|
|
113
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (40, 6, 160, 30);
|
|
114
|
scr_sboscr_sbo
bone = 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; (90, 7, 160, 2);
|
|
115
|
scr_sboscr_sbo
bone = 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; (90, 7, 162, 2);
|
|
116
|
scr_sboscr_sbo
bone = 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; (90, 7, 164, 2);
|
|
117
|
scr_sboscr_sbo
bone = 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, 9, 222, 2);
|
|
118
|
}
|
|
119
|
if (a_type == 7)
|
|
120
|
{
|
|
121
|
global.turntimer = 290;
|
|
122
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (30, -4, 60, 58);
|
|
123
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (40, -5, 70, 25);
|
|
124
|
scr_sboscr_sbo
bone = 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; (70, -5, 90, 0);
|
|
125
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (90, -5, 95, 25);
|
|
126
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (40, -5, 110, 25);
|
|
127
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (60, -5, 150, 25);
|
|
128
|
scr_sboscr_sbo
bone = 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; (90, -5, 148, 2);
|
|
129
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (50, -5, 170, 25);
|
|
130
|
scr_sboscr_sbo
bone = 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; (80, -5, 168, 2);
|
|
131
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (70, -5, 190, 25);
|
|
132
|
scr_sboscr_sbo
bone = 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, -5, 188, 2);
|
|
133
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (90, -2, 230, 15);
|
|
134
|
scr_sboscr_sbo
bone = 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; (110, -8, 240, 0);
|
|
135
|
scr_sboscr_sbo
bone = 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, 3, 260, 2);
|
|
136
|
}
|
|
137
|
if (a_type == 8)
|
|
138
|
{
|
|
139
|
global.turntimer = 240;
|
|
140
|
plat = instance_create(0, 0, obj_3platgen);
|
|
141
|
plat.type = 1;
|
|
142
|
}
|
|
143
|
if (a_type == 9)
|
|
144
|
{
|
|
145
|
global.idealborder[2] -= 200;
|
|
146
|
global.idealborder[0] += 60;
|
|
147
|
global.idealborder[1] -= 60;
|
|
148
|
instance_create(0, 0, obj_vplatgen);
|
|
149
|
}
|
|
150
|
if (a_type == 10)
|
|
151
|
{
|
|
152
|
obj_heart.speed = 0;
|
|
153
|
obj_heart.movement = 1;
|
|
154
|
global.idealborder[2] = global.idealborder[3] - 200;
|
|
155
|
global.idealborder[0] = 220;
|
|
156
|
global.idealborder[1] = 420;
|
|
157
|
if (hell == 1)
|
|
158
|
{
|
|
159
|
b1 = instance_create(-40, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
160
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
161
|
b1.hspeed = 7;
|
|
162
|
b1 = instance_create(720, global.idealborder[2] + 100, obj_bonewall_normal);
|
|
163
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
164
|
b1.hspeed = -8;
|
|
165
|
b1 = instance_create(global.idealborder[0] - 90, -110, obj_bonewall_normal);
|
|
166
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
167
|
b1.vspeed = 7;
|
|
168
|
b1 = instance_create(global.idealborder[0] + 90, 730, obj_bonewall_normal);
|
|
169
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
170
|
b1.vspeed = -7;
|
|
171
|
b1 = instance_create(-190, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
172
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
173
|
b1.hspeed = 5;
|
|
174
|
b1 = instance_create(870, global.idealborder[2] + 95, obj_bonewall_normal);
|
|
175
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
176
|
b1.hspeed = -8;
|
|
177
|
b1 = instance_create(global.idealborder[0] - 90, -310, obj_bonewall_normal);
|
|
178
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
179
|
b1.vspeed = 7;
|
|
180
|
b1 = instance_create(global.idealborder[0] + 90, 900, obj_bonewall_normal);
|
|
181
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
182
|
b1.vspeed = -6;
|
|
183
|
b1 = instance_create(-700, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
184
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
185
|
b1.hspeed = 7;
|
|
186
|
b1 = instance_create(1290, global.idealborder[2] + 95, obj_bonewall_normal);
|
|
187
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
188
|
b1.hspeed = -7;
|
|
189
|
b1 = instance_create(global.idealborder[0] - 90, -650, obj_bonewall_normal);
|
|
190
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
191
|
b1.vspeed = 7;
|
|
192
|
b1 = instance_create(global.idealborder[0] + 90, 1180, obj_bonewall_normal);
|
|
193
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
194
|
b1.vspeed = -7;
|
|
195
|
}
|
|
196
|
if (hell == 0)
|
|
197
|
{
|
|
198
|
b1 = instance_create(-40, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
199
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
200
|
b1.hspeed = 7;
|
|
201
|
b1 = instance_create(720, global.idealborder[2] + 100, obj_bonewall_normal);
|
|
202
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
203
|
b1.hspeed = -8;
|
|
204
|
b1 = instance_create(global.idealborder[0] - 90, -110, obj_bonewall_normal);
|
|
205
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
206
|
b1.vspeed = 7;
|
|
207
|
b1 = instance_create(global.idealborder[0] + 90, 760, obj_bonewall_normal);
|
|
208
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
209
|
b1.vspeed = -7;
|
|
210
|
b1 = instance_create(-190, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
211
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
212
|
b1.hspeed = 5;
|
|
213
|
b1 = instance_create(870, global.idealborder[2] + 95, obj_bonewall_normal);
|
|
214
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
215
|
b1.hspeed = -8;
|
|
216
|
b1 = instance_create(global.idealborder[0] - 90, -310, obj_bonewall_normal);
|
|
217
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
218
|
b1.vspeed = 7;
|
|
219
|
b1 = instance_create(global.idealborder[0] + 90, 900, obj_bonewall_normal);
|
|
220
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
221
|
b1.vspeed = -6;
|
|
222
|
b1 = instance_create(-660, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
223
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
224
|
b1.hspeed = 6;
|
|
225
|
b1 = instance_create(1290, global.idealborder[2] + 95, obj_bonewall_normal);
|
|
226
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
227
|
b1.hspeed = -7;
|
|
228
|
b1 = instance_create(global.idealborder[0] - 90, -650, obj_bonewall_normal);
|
|
229
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
230
|
b1.vspeed = 7;
|
|
231
|
b1 = instance_create(global.idealborder[0] + 90, 1180, obj_bonewall_normal);
|
|
232
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
233
|
b1.vspeed = -7;
|
|
234
|
b1 = instance_create(global.idealborder[0] - 90, -960, obj_bonewall_normal);
|
|
235
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
236
|
b1.vspeed = 7;
|
|
237
|
b1 = instance_create(global.idealborder[0] + 110, 1510, obj_bonewall_normal);
|
|
238
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
239
|
b1.vspeed = -7;
|
|
240
|
}
|
|
241
|
}
|
|
242
|
if (a_type == 11)
|
|
243
|
{
|
|
244
|
obj_heart.speed = 0;
|
|
245
|
obj_heart.movement = 1;
|
|
246
|
global.idealborder[2] = global.idealborder[3] - 200;
|
|
247
|
global.idealborder[0] = 270;
|
|
248
|
global.idealborder[1] = 470;
|
|
249
|
b1 = instance_create(-40, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
250
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
251
|
b1.hspeed = 6;
|
|
252
|
b1 = instance_create(770, global.idealborder[2] + 100, obj_bonewall_normal);
|
|
253
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
254
|
b1.hspeed = -7;
|
|
255
|
b1 = instance_create(global.idealborder[0] + 100, -250, obj_bonewall_normal);
|
|
256
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
257
|
b1.vspeed = 7;
|
|
258
|
b1 = instance_create(global.idealborder[0] - 100, 630, obj_bonewall_normal);
|
|
259
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
260
|
b1.vspeed = -6;
|
|
261
|
b1 = instance_create(-190, global.idealborder[2] - 95, obj_bonewall_normal);
|
|
262
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
263
|
b1.hspeed = 6;
|
|
264
|
b1 = instance_create(1120, global.idealborder[2] + 100, obj_bonewall_normal);
|
|
265
|
b1.sprite_index = spr_s_bonewall_tall;
|
|
266
|
b1.hspeed = -7;
|
|
267
|
b1 = instance_create(global.idealborder[0] + 100, -500, obj_bonewall_normal);
|
|
268
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
269
|
b1.vspeed = 7;
|
|
270
|
b1 = instance_create(global.idealborder[0] - 100, 880, obj_bonewall_normal);
|
|
271
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
272
|
b1.vspeed = -6;
|
|
273
|
}
|
|
274
|
if (a_type == 12)
|
|
275
|
{
|
|
276
|
global.turntimer = 240;
|
|
277
|
obj_heart.speed = 0;
|
|
278
|
obj_heart.movement = 1;
|
|
279
|
global.idealborder[2] = global.idealborder[3] - 200;
|
|
280
|
global.idealborder[0] = 120;
|
|
281
|
global.idealborder[1] = 520;
|
|
282
|
gb = instance_create(0, 0, obj_gasterbl_gen);
|
|
283
|
gb.type = 1;
|
|
284
|
}
|
|
285
|
if (a_type == 13)
|
|
286
|
{
|
|
287
|
global.turntimer = 240;
|
|
288
|
obj_heart.speed = 0;
|
|
289
|
obj_heart.movement = 1;
|
|
290
|
global.idealborder[2] = global.idealborder[3] - 200;
|
|
291
|
global.idealborder[0] = 120;
|
|
292
|
global.idealborder[1] = 520;
|
|
293
|
gb = instance_create(0, 0, obj_gasterbl_gen);
|
|
294
|
gb.type = 2;
|
|
295
|
}
|
|
296
|
if (a_type == 14)
|
|
297
|
fac = 1;
|
|
298
|
if (a_type == 15)
|
|
299
|
{
|
|
300
|
global.turntimer = 250;
|
|
301
|
dplat = instance_create(0, 0, obj_3platgen);
|
|
302
|
dplat.type = 2;
|
|
303
|
}
|
|
304
|
if (a_type == 16)
|
|
305
|
{
|
|
306
|
global.turntimer = 240;
|
|
307
|
dplat = instance_create(0, 0, obj_3platgen);
|
|
308
|
dplat.type = 3;
|
|
309
|
}
|
|
310
|
if (a_type == 17)
|
|
311
|
{
|
|
312
|
global.turntimer = 220;
|
|
313
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (20, 2, 3, 50);
|
|
314
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (20, 2, -5, 20);
|
|
315
|
obj_heart.y = global.idealborder[3] - 70;
|
|
316
|
obj_heart.vspeed = 1;
|
|
317
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (50, 0, 0, 20);
|
|
318
|
bone.jud = 1;
|
|
319
|
bone.x -= 150;
|
|
320
|
obj_heart.x -= 150;
|
|
321
|
lb = instance_create(global.idealborder[1] - 260, global.idealborder[2] + 40, obj_boneloop_v);
|
|
322
|
lb.vspeed = -4;
|
|
323
|
lb = instance_create(global.idealborder[1] - 260, global.idealborder[2] + 125, obj_boneloop_v);
|
|
324
|
lb.vspeed = -4;
|
|
325
|
lb = instance_create(global.idealborder[1] - 180, global.idealborder[2], obj_boneloop_v);
|
|
326
|
lb.vspeed = 5;
|
|
327
|
lb = instance_create(global.idealborder[1] - 180, global.idealborder[2] + 95, obj_boneloop_v);
|
|
328
|
lb.vspeed = 5;
|
|
329
|
lb = instance_create(global.idealborder[1] - 100, global.idealborder[2] + 20, obj_boneloop_v);
|
|
330
|
lb.vspeed = -3;
|
|
331
|
lb = instance_create(global.idealborder[1] - 100, global.idealborder[2] + 105, obj_boneloop_v);
|
|
332
|
lb.vspeed = -3;
|
|
333
|
}
|
|
334
|
if (a_type == 18)
|
|
335
|
{
|
|
336
|
global.turntimer = 220;
|
|
337
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (20, 2, 3, 50);
|
|
338
|
scr_bwallscr_bwall
for (i = 0; i < argument3; i += 1)
{
bone = instance_create(900, 900, obj_bonewall);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
if (bone.x < 320)
bone.x -= i * 15;
if (bone.x > 320)
bone.x += i * 15;
} (20, 2, -5, 20);
|
|
339
|
obj_heart.y = global.idealborder[3] - 70;
|
|
340
|
obj_heart.vspeed = 1;
|
|
341
|
scr_hplatscr_hplat
bone = instance_create(900, 900, obj_boneplat);
bone.y = global.idealborder[3] - argument0;
bone.hspeed = argument1;
bone.x = 320 - (argument2 * argument1);
bone.len = argument3; (50, 0, 0, 15);
|
|
342
|
bone.jud = 1;
|
|
343
|
bone.x -= 150;
|
|
344
|
obj_heart.x -= 150;
|
|
345
|
lb = instance_create(global.idealborder[1] - 260, global.idealborder[2] + 40, obj_boneloop_v);
|
|
346
|
lb.vspeed = -3;
|
|
347
|
lb = instance_create(global.idealborder[1] - 260, global.idealborder[2] + 105, obj_boneloop_v);
|
|
348
|
lb.vspeed = -3;
|
|
349
|
lb = instance_create(global.idealborder[1] - 260, global.idealborder[2] + 170, obj_boneloop_v);
|
|
350
|
lb.vspeed = -3;
|
|
351
|
lb = instance_create(global.idealborder[1] - 180, global.idealborder[2], obj_boneloop_v);
|
|
352
|
lb.vspeed = 4;
|
|
353
|
lb = instance_create(global.idealborder[1] - 180, global.idealborder[2] + 90, obj_boneloop_v);
|
|
354
|
lb.vspeed = 4;
|
|
355
|
lb = instance_create(global.idealborder[1] - 100, global.idealborder[2] + 40, obj_boneloop_v);
|
|
356
|
lb.vspeed = -3;
|
|
357
|
lb = instance_create(global.idealborder[1] - 100, global.idealborder[2] + 105, obj_boneloop_v);
|
|
358
|
lb.vspeed = -3;
|
|
359
|
lb = instance_create(global.idealborder[1] - 100, global.idealborder[2] + 170, obj_boneloop_v);
|
|
360
|
lb.vspeed = -3;
|
|
361
|
}
|
|
362
|
if (a_type == 19)
|
|
363
|
{
|
|
364
|
test_timer = 0;
|
|
365
|
test_timer_on = 1;
|
|
366
|
lac = 4;
|
|
367
|
with (obj_sansb)
|
|
368
|
timer_on = 0;
|
|
369
|
}
|
|
370
|
if (a_type == 20)
|
|
371
|
{
|
|
372
|
obj_heart.speed = 0;
|
|
373
|
with (obj_sansb)
|
|
374
|
timer_on = 0;
|
|
375
|
global.idealborder[0] = 270;
|
|
376
|
global.idealborder[1] = 370;
|
|
377
|
global.idealborder[2] = global.idealborder[3] - 100;
|
|
378
|
obj_heart.x = global.idealborder[0] + 42;
|
|
379
|
obj_heart.y = global.idealborder[2] + 42;
|
|
380
|
obj_heart.movement = 1;
|
|
381
|
obj_heart.sprite_index = spr_heart_battle_pl;
|
|
382
|
mk_c_timer = 0;
|
|
383
|
mk_c = 1;
|
|
384
|
}
|
|
385
|
if (a_type == 21)
|
|
386
|
{
|
|
387
|
global.turntimer = 210;
|
|
388
|
vtotal = 0;
|
|
389
|
while (vtotal < 150)
|
|
390
|
{
|
|
391
|
ht = choose(20, 30, 40, 60);
|
|
392
|
xx = 0;
|
|
393
|
down = 0;
|
|
394
|
if (i > 0)
|
|
395
|
xx = choose(-2, 0, 2);
|
|
396
|
if (ht == 60)
|
|
397
|
{
|
|
398
|
xx = 0;
|
|
399
|
down = 1;
|
|
400
|
}
|
|
401
|
if (ht == 40)
|
|
402
|
xx = 0;
|
|
403
|
if (i > 0)
|
|
404
|
{
|
|
405
|
if (ht == 20)
|
|
406
|
vtotal += 7;
|
|
407
|
if (ht == 30)
|
|
408
|
vtotal += 9;
|
|
409
|
if (ht == 40)
|
|
410
|
vtotal += 16;
|
|
411
|
if (ht == 60)
|
|
412
|
vtotal += 22;
|
|
413
|
}
|
|
414
|
if (down == 1)
|
|
415
|
xx = -1;
|
|
416
|
scr_sboscr_sbo
bone = 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, 8 + xx, 32 + vtotal, 0);
|
|
417
|
if (down == 1)
|
|
418
|
xx = 1;
|
|
419
|
scr_sboscr_sbo
bone = 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, -8 + xx, 32 + vtotal, 0);
|
|
420
|
if (down == 1)
|
|
421
|
xx = -1;
|
|
422
|
scr_sboscr_sbo
bone = 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, 8 + xx, 32 + vtotal, 2);
|
|
423
|
if (down == 1)
|
|
424
|
xx = 1;
|
|
425
|
scr_sboscr_sbo
bone = 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, -8 + xx, 32 + vtotal, 2);
|
|
426
|
if (ht == 20)
|
|
427
|
vtotal += 12;
|
|
428
|
if (ht == 30)
|
|
429
|
vtotal += 13;
|
|
430
|
if (ht == 40)
|
|
431
|
vtotal += 16;
|
|
432
|
if (ht == 60)
|
|
433
|
vtotal += 22;
|
|
434
|
}
|
|
435
|
}
|
|
436
|
if (a_type == 22)
|
|
437
|
{
|
|
438
|
global.turntimer = 180;
|
|
439
|
obj_heart.speed = 0;
|
|
440
|
obj_heart.movement = 1;
|
|
441
|
global.idealborder[2] = global.idealborder[3] - 160;
|
|
442
|
global.idealborder[0] = 240;
|
|
443
|
global.idealborder[1] = 400;
|
|
444
|
obj_heart.x = global.idealborder[0] + 76;
|
|
445
|
obj_heart.y = global.idealborder[2] + 76;
|
|
446
|
for (i = 0; i < 7; i += 1)
|
|
447
|
{
|
|
448
|
b1 = instance_create(global.idealborder[0] - 110, global.idealborder[2] - 300 - (i * (216 - (i * 3))), obj_bonewall_normal);
|
|
449
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
450
|
b1.vspeed = 10;
|
|
451
|
b1 = instance_create(global.idealborder[1] - 70, global.idealborder[3] + 300 + (i * (216 - (i * 3))), obj_bonewall_normal);
|
|
452
|
b1.sprite_index = spr_s_bonewall_wide;
|
|
453
|
b1.vspeed = -10;
|
|
454
|
}
|
|
455
|
}
|
|
456
|
if (a_type == 23)
|
|
457
|
{
|
|
458
|
global.turntimer = 210;
|
|
459
|
vtotal = 0;
|
|
460
|
while (vtotal < 150)
|
|
461
|
{
|
|
462
|
ht = choose(20, 30, 40, 60);
|
|
463
|
xx = 0;
|
|
464
|
down = 0;
|
|
465
|
if (i > 0)
|
|
466
|
xx = choose(-2, 0, 2);
|
|
467
|
if (ht == 60)
|
|
468
|
{
|
|
469
|
xx = 0;
|
|
470
|
down = 1;
|
|
471
|
}
|
|
472
|
if (ht == 40)
|
|
473
|
xx = 0;
|
|
474
|
if (i > 0)
|
|
475
|
{
|
|
476
|
if (ht == 20)
|
|
477
|
vtotal += 9;
|
|
478
|
if (ht == 30)
|
|
479
|
vtotal += 11;
|
|
480
|
if (ht == 40)
|
|
481
|
vtotal += 19;
|
|
482
|
if (ht == 60)
|
|
483
|
vtotal += 25;
|
|
484
|
}
|
|
485
|
if (down == 1)
|
|
486
|
xx = -1;
|
|
487
|
scr_sboscr_sbo
bone = 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, 8 + xx, 32 + vtotal, 0);
|
|
488
|
if (down == 1)
|
|
489
|
xx = 1;
|
|
490
|
scr_sboscr_sbo
bone = 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, -8 + xx, 32 + vtotal, 0);
|
|
491
|
if (down == 1)
|
|
492
|
xx = -1;
|
|
493
|
scr_sboscr_sbo
bone = 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, 8 + xx, 32 + vtotal, 2);
|
|
494
|
if (down == 1)
|
|
495
|
xx = 1;
|
|
496
|
scr_sboscr_sbo
bone = 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, -8 + xx, 32 + vtotal, 2);
|
|
497
|
if (ht == 20)
|
|
498
|
vtotal += 15;
|
|
499
|
if (ht == 30)
|
|
500
|
vtotal += 17;
|
|
501
|
if (ht == 40)
|
|
502
|
vtotal += 19;
|
|
503
|
if (ht == 60)
|
|
504
|
vtotal += 25;
|
|
505
|
}
|
|
506
|
}
|