1 |
active = 1; |
2 |
if (type == 1) |
3 |
{ |
4 |
mypart1 = instance_create(x, y - 4, obj_froghead); |
5 |
mypart2 = instance_create(x, y - 4, obj_froglegs); |
6 |
} |
7 |
if (type == 8) |
8 |
{ |
9 |
sprite_index = spr_lesserdoge; |
10 |
mercymod = 0; |
11 |
depth = 10; |
12 |
tail = instance_create(x, y, obj_lesserdogetail); |
13 |
tail.tailobj = id; |
14 |
head = instance_create(x, y, obj_lesserdogehead); |
15 |
head.tailobj = id; |
16 |
} |
17 |
if (type == 9) |
18 |
{ |
19 |
} |
20 |
if (type == 11) |
21 |
{ |
22 |
part1 = 255; |
23 |
part2 = 256; |
24 |
mypart1 = instance_create(x + 18, y, part1); |
25 |
mypart2 = instance_create(x + 18, y, part2); |
26 |
} |
27 |
if (type == 12) |
28 |
{ |
29 |
part1 = 237; |
30 |
part2 = 238; |
31 |
part3 = 234; |
32 |
mypart1 = instance_create(x, y - 6, part1); |
33 |
mypart2 = instance_create(x, y - 6, part2); |
34 |
gift[0] = floor(random(7)); |
35 |
gift[1] = floor(random(7)); |
36 |
gift[2] = floor(random(7)); |
37 |
if (gift[1] == gift[0]) |
38 |
gift[1] += 1; |
39 |
if (gift[2] == gift[0]) |
40 |
gift[2] += 1; |
41 |
if (gift[2] == gift[1]) |
42 |
gift[2] = 0; |
43 |
if (gift[2] == gift[0]) |
44 |
gift[2] += 1; |
45 |
mypart3 = instance_create(x, y - 6, part3); |
46 |
mypart3.gift = gift[0]; |
47 |
mypart4 = instance_create(x, y - 6, part3); |
48 |
mypart4.gift = gift[1]; |
49 |
mypart8 = instance_create(x, y - 6, part3); |
50 |
mypart8.gift = gift[2]; |
51 |
if (global.flag[138 spared_gyftrot] == 1) |
52 |
{ |
53 |
with (mypart3) |
54 |
visible = false; |
55 |
with (mypart4) |
56 |
visible = false; |
57 |
with (mypart8) |
58 |
visible = false; |
59 |
} |
60 |
} |
61 |
if (type == 13) |
62 |
{ |
63 |
part2 = 252; |
64 |
part3 = 251; |
65 |
part4 = 250; |
66 |
part1 = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (x - 6, y - 12, spr_movedogeheada); |
67 |
part1.image_xscale = 2; |
68 |
part1.image_yscale = 2; |
69 |
part1.image_speed = 0.25; |
70 |
mypart2 = instance_create(x - 6, y - 12, part2); |
71 |
mypart3 = instance_create(x - 6, y - 12, part3); |
72 |
mypart4 = instance_create(x - 6, y - 12, part4); |
73 |
} |
74 |
if (type == 14) |
75 |
{ |
76 |
part1 = 242; |
77 |
part2 = 244; |
78 |
mypart1 = instance_create(x, y, part1); |
79 |
mypart2 = instance_create(x, y, part2); |
80 |
part1 = 243; |
81 |
part2 = 245; |
82 |
mypart1 = instance_create(x, y, part1); |
83 |
mypart2 = instance_create(x, y, part2); |
84 |
} |
85 |
if (type == 15) |
86 |
instance_create(x, y, obj_woshbody); |
87 |
if (type == 16) |
88 |
{ |
89 |
ab = instance_create(x, y, obj_aaronbody); |
90 |
if (global.flag[95 aaron_woshua_event] == 1) |
91 |
ab.sprite_index = spr_aaronbody_bull; |
92 |
} |
93 |
if (type == 17) |
94 |
{ |
95 |
emotion = 0; |
96 |
if (global.flag[81 status_shyren] == 2) |
97 |
emotion = 1; |
98 |
part1 = 261; |
99 |
mypart1 = instance_create(x, y, part1); |
100 |
part1.creator = id; |
101 |
agent = instance_create(x, y + 3, obj_agentbody); |
102 |
} |
103 |
if (type == 18) |
104 |
instance_create(x, y, obj_tembody); |
105 |
if (type == 19) |
106 |
{ |
107 |
msx = instance_create(x, y + 120, obj_moldsmalx_body); |
108 |
global.idealborder[2] = 99999; |
109 |
} |
110 |
if (type == 20) |
111 |
dummy = instance_create(x + 60, y + 50, obj_maddum_drawer); |
112 |
if (type == 21) |
113 |
{ |
114 |
bara1 = instance_create(x, y + 22, obj_barabody); |
115 |
bara1.headpic = spr_barahead1; |
116 |
bara2 = instance_create(x + 210, y + 22, obj_barabody); |
117 |
bara2.headpic = spr_barahead2; |
118 |
bd = 0; |
119 |
} |
120 |
if (type == 22) |
121 |
vulkin = instance_create(x, y - 10, obj_vulkinbody); |
122 |
if (type == 23) |
123 |
{ |
124 |
graze = 0; |
125 |
plane = instance_create(x, y + 10, obj_tsunderplane_body); |
126 |
plane.parent = id; |
127 |
} |
128 |
if (type == 24) |
129 |
{ |
130 |
pyrope = instance_create(x, y + 70, obj_pyropebody); |
131 |
pyrope.parent = id; |
132 |
} |
133 |
if (type == 25) |
134 |
{ |
135 |
spider = instance_create(x + 55, y, obj_spiderb_body); |
136 |
spider.parent = id; |
137 |
} |
138 |
if (type == 26) |
139 |
{ |
140 |
stare1 = 0; |
141 |
stare2 = 0; |
142 |
madjick = instance_create(x + 30, y + 80, obj_wizardbody); |
143 |
madjick.parent = id; |
144 |
} |
145 |
if (type == 27) |
146 |
{ |
147 |
knight = instance_create(x + 50, y, obj_finalknight_body); |
148 |
knight.parent = id; |
149 |
} |
150 |
if (type == 28) |
151 |
{ |
152 |
frog = instance_create(x - 10, y, obj_finalfroggit_body); |
153 |
frog.parent = id; |
154 |
} |
155 |
if (type == 29) |
156 |
{ |
157 |
knight = instance_create(x, y, obj_whimsalot_body); |
158 |
knight.parent = id; |
159 |
} |
160 |
if (type == 30) |
161 |
{ |
162 |
eye = instance_create(x, y, obj_astigmatism_body); |
163 |
eye.parent = id; |
164 |
} |
165 |
if (type == 31) |
166 |
aa = instance_create(x, y, obj_memoryhead_body); |
167 |
if (type == 32) |
168 |
aa = instance_create(x - 10, y - 10, obj_reaperbird_body); |
169 |
if (type == 33) |
170 |
{ |
171 |
aa = instance_create(x - 20, y + 40, obj_endogeny_body); |
172 |
aa.spared = 1; |
173 |
} |
174 |
if (type == 34) |
175 |
aa = instance_create(x, y - 10, obj_lemonbread_body); |