1 /**********************************************************************************
2 * Copyright (c) 2008, 2009 Derek Yu and Mossmouth, LLC
3 * Copyright (c) 2018, Ketmar Dark
5 * This file is part of Spelunky.
7 * You can redistribute and/or modify Spelunky, including its source code, under
8 * the terms of the Spelunky User License.
10 * Spelunky is distributed in the hope that it will be entertaining and useful,
11 * but WITHOUT WARRANTY. Please see the Spelunky User License for more details.
13 * The Spelunky User License should be available in "Game Information", which
14 * can be found in the Resource Explorer, or as an external file called COPYING.
15 * If not, please obtain a new copy of Spelunky from <http://spelunkyworld.com/>
17 **********************************************************************************/
18 void createTrans4Room () {
20 levBGImgName = 'bgTemple';
22 setRoomBounds(0, 0, 304, 224);
23 //MakeMapTile(0, 0, 'oTransition');
24 //MakeMapTile(1, 0, 'oBricks');
26 MakeMapTile(0, 0, 'oTemple');
27 MakeMapTile(1, 0, 'oTemple');
28 MakeMapTile(2, 0, 'oTemple');
29 MakeMapTile(3, 0, 'oTemple');
30 MakeMapTile(4, 0, 'oTemple');
31 MakeMapTile(5, 0, 'oTemple');
32 MakeMapTile(6, 0, 'oTemple');
33 MakeMapTile(7, 0, 'oTemple');
34 MakeMapTile(8, 0, 'oTemple');
35 MakeMapTile(9, 0, 'oTemple');
36 MakeMapTile(10, 0, 'oTemple');
37 MakeMapTile(11, 0, 'oTemple');
38 MakeMapTile(12, 0, 'oTemple');
39 MakeMapTile(13, 0, 'oTemple');
40 MakeMapTile(14, 0, 'oTemple');
41 MakeMapTile(15, 0, 'oTemple');
42 MakeMapTile(16, 0, 'oTemple');
43 MakeMapTile(17, 0, 'oTemple');
44 MakeMapTile(18, 0, 'oTemple');
45 MakeMapTile(19, 0, 'oTemple');
46 MakeMapTile(0, 1, 'oTemple');
47 MakeMapTile(1, 1, 'oTemple');
48 MakeMapTile(2, 1, 'oTemple');
49 MakeMapTile(3, 1, 'oTemple');
50 MakeMapTile(4, 1, 'oTemple');
51 MakeMapTile(5, 1, 'oTemple');
52 MakeMapTile(6, 1, 'oTemple');
53 MakeMapTile(7, 1, 'oTemple');
54 MakeMapTile(8, 1, 'oTemple');
55 MakeMapTile(9, 1, 'oTemple');
56 MakeMapTile(10, 1, 'oTemple');
57 MakeMapTile(11, 1, 'oTemple');
58 MakeMapTile(12, 1, 'oTemple');
59 MakeMapTile(13, 1, 'oTemple');
60 MakeMapTile(14, 1, 'oTemple');
61 MakeMapTile(15, 1, 'oTemple');
62 MakeMapTile(16, 1, 'oTemple');
63 MakeMapTile(17, 1, 'oTemple');
64 MakeMapTile(18, 1, 'oTemple');
65 MakeMapTile(19, 1, 'oTemple');
66 MakeMapTile(0, 2, 'oTemple');
67 MakeMapTile(1, 2, 'oMenuUL');
68 MakeMapTile(1, 2, 'oTemple');
69 MakeMapTile(2, 2, 'oMenuTop');
70 MakeMapTile(2, 2, 'oTemple');
71 MakeMapTile(3, 2, 'oMenuTop');
72 MakeMapTile(3, 2, 'oTemple');
73 MakeMapTile(4, 2, 'oMenuTop');
74 MakeMapTile(4, 2, 'oTemple');
75 MakeMapTile(5, 2, 'oMenuTop');
76 MakeMapTile(5, 2, 'oTemple');
77 MakeMapTile(6, 2, 'oMenuTop');
78 MakeMapTile(6, 2, 'oTemple');
79 MakeMapTile(7, 2, 'oMenuTop');
80 MakeMapTile(7, 2, 'oTemple');
81 MakeMapTile(8, 2, 'oTemple');
82 MakeMapTile(8, 2, 'oMenuTop');
83 MakeMapTile(9, 2, 'oTemple');
84 MakeMapTile(9, 2, 'oMenuTop');
85 MakeMapTile(10, 2, 'oTemple');
86 MakeMapTile(10, 2, 'oMenuTop');
87 MakeMapTile(11, 2, 'oTemple');
88 MakeMapTile(11, 2, 'oMenuTop');
89 MakeMapTile(12, 2, 'oTemple');
90 MakeMapTile(12, 2, 'oMenuTop');
91 MakeMapTile(13, 2, 'oTemple');
92 MakeMapTile(13, 2, 'oMenuTop');
93 MakeMapTile(14, 2, 'oTemple');
94 MakeMapTile(14, 2, 'oMenuTop');
95 MakeMapTile(15, 2, 'oTemple');
96 MakeMapTile(15, 2, 'oMenuTop');
97 MakeMapTile(16, 2, 'oTemple');
98 MakeMapTile(16, 2, 'oMenuTop');
99 MakeMapTile(17, 2, 'oTemple');
100 MakeMapTile(17, 2, 'oMenuTop');
101 MakeMapTile(18, 2, 'oTemple');
102 MakeMapTile(18, 2, 'oMenuUR');
103 MakeMapTile(19, 2, 'oTemple');
104 MakeMapTile(0, 3, 'oTemple');
105 MakeMapTile(1, 3, 'oBrick');
106 MakeMapTile(1, 3, 'oMenuLeft');
107 MakeMapTile(2, 3, 'oBlack');
108 MakeMapTile(3, 3, 'oBlack');
109 MakeMapTile(4, 3, 'oBlack');
110 MakeMapTile(5, 3, 'oBlack');
111 MakeMapTile(6, 3, 'oBlack');
112 MakeMapTile(7, 3, 'oBlack');
113 MakeMapTile(8, 3, 'oBlack');
114 MakeMapTile(9, 3, 'oBlack');
115 MakeMapTile(10, 3, 'oBlack');
116 MakeMapTile(11, 3, 'oBlack');
117 MakeMapTile(12, 3, 'oBlack');
118 MakeMapTile(13, 3, 'oBlack');
119 MakeMapTile(14, 3, 'oBlack');
120 MakeMapTile(15, 3, 'oBlack');
121 MakeMapTile(16, 3, 'oBlack');
122 MakeMapTile(17, 3, 'oBlack');
123 MakeMapTile(18, 3, 'oBrick');
124 MakeMapTile(18, 3, 'oMenuRight');
125 MakeMapTile(19, 3, 'oTemple');
126 MakeMapTile(0, 4, 'oTemple');
127 MakeMapTile(1, 4, 'oBrick');
128 MakeMapTile(1, 4, 'oMenuLeft');
129 MakeMapTile(2, 4, 'oBlack');
130 MakeMapTile(3, 4, 'oBlack');
131 MakeMapTile(4, 4, 'oBlack');
132 MakeMapTile(5, 4, 'oBlack');
133 MakeMapTile(6, 4, 'oBlack');
134 MakeMapTile(7, 4, 'oBlack');
135 MakeMapTile(8, 4, 'oBlack');
136 MakeMapTile(9, 4, 'oBlack');
137 MakeMapTile(10, 4, 'oBlack');
138 MakeMapTile(11, 4, 'oBlack');
139 MakeMapTile(12, 4, 'oBlack');
140 MakeMapTile(13, 4, 'oBlack');
141 MakeMapTile(14, 4, 'oBlack');
142 MakeMapTile(15, 4, 'oBlack');
143 MakeMapTile(16, 4, 'oBlack');
144 MakeMapTile(17, 4, 'oBlack');
145 MakeMapTile(18, 4, 'oBrick');
146 MakeMapTile(18, 4, 'oMenuRight');
147 MakeMapTile(19, 4, 'oTemple');
148 MakeMapTile(0, 5, 'oTemple');
149 MakeMapTile(1, 5, 'oMenuLeft');
150 MakeMapTile(1, 5, 'oBrick');
151 MakeMapTile(2, 5, 'oBlack');
152 MakeMapTile(3, 5, 'oBlack');
153 MakeMapTile(4, 5, 'oBlack');
154 MakeMapTile(5, 5, 'oBlack');
155 MakeMapTile(6, 5, 'oBlack');
156 MakeMapTile(7, 5, 'oBlack');
157 MakeMapTile(8, 5, 'oBlack');
158 MakeMapTile(9, 5, 'oBlack');
159 MakeMapTile(10, 5, 'oBlack');
160 MakeMapTile(11, 5, 'oBlack');
161 MakeMapTile(12, 5, 'oBlack');
162 MakeMapTile(13, 5, 'oBlack');
163 MakeMapTile(14, 5, 'oBlack');
164 MakeMapTile(15, 5, 'oBlack');
165 MakeMapTile(16, 5, 'oBlack');
166 MakeMapTile(17, 5, 'oBlack');
167 MakeMapTile(18, 5, 'oMenuRight');
168 MakeMapTile(18, 5, 'oBrick');
169 MakeMapTile(19, 5, 'oTemple');
170 MakeMapTile(0, 6, 'oTemple');
171 MakeMapTile(1, 6, 'oBrick');
172 MakeMapTile(1, 6, 'oMenuLeft');
173 MakeMapTile(2, 6, 'oBlack');
174 MakeMapTile(3, 6, 'oBlack');
175 MakeMapTile(4, 6, 'oBlack');
176 MakeMapTile(5, 6, 'oBlack');
177 MakeMapTile(6, 6, 'oBlack');
178 MakeMapTile(7, 6, 'oBlack');
179 MakeMapTile(8, 6, 'oBlack');
180 MakeMapTile(9, 6, 'oBlack');
181 MakeMapTile(10, 6, 'oBlack');
182 MakeMapTile(11, 6, 'oBlack');
183 MakeMapTile(12, 6, 'oBlack');
184 MakeMapTile(13, 6, 'oBlack');
185 MakeMapTile(14, 6, 'oBlack');
186 MakeMapTile(15, 6, 'oBlack');
187 MakeMapTile(16, 6, 'oBlack');
188 MakeMapTile(17, 6, 'oBlack');
189 MakeMapTile(18, 6, 'oMenuRight');
190 MakeMapTile(18, 6, 'oBrick');
191 MakeMapTile(19, 6, 'oTemple');
192 MakeMapTile(0, 7, 'oTemple');
193 MakeMapTile(1, 7, 'oBrick');
194 MakeMapTile(1, 7, 'oMenuLeft');
195 MakeMapTile(2, 7, 'oBlack');
196 MakeMapTile(3, 7, 'oBlack');
197 MakeMapTile(4, 7, 'oBlack');
198 MakeMapTile(5, 7, 'oBlack');
199 MakeMapTile(6, 7, 'oBlack');
200 MakeMapTile(7, 7, 'oBlack');
201 MakeMapTile(8, 7, 'oBlack');
202 MakeMapTile(9, 7, 'oBlack');
203 MakeMapTile(10, 7, 'oBlack');
204 MakeMapTile(11, 7, 'oBlack');
205 MakeMapTile(12, 7, 'oBlack');
206 MakeMapTile(13, 7, 'oBlack');
207 MakeMapTile(14, 7, 'oBlack');
208 MakeMapTile(15, 7, 'oBlack');
209 MakeMapTile(16, 7, 'oBlack');
210 MakeMapTile(17, 7, 'oBlack');
211 MakeMapTile(18, 7, 'oMenuRight');
212 MakeMapTile(18, 7, 'oBrick');
213 MakeMapTile(19, 7, 'oTemple');
214 MakeMapTile(0, 8, 'oTemple');
215 MakeMapTile(1, 8, 'oMenuLL');
216 MakeMapTile(1, 8, 'oTemple');
217 MakeMapTile(2, 8, 'oMenuBottom');
218 MakeMapTile(2, 8, 'oTemple');
219 MakeMapTile(3, 8, 'oMenuBottom');
220 MakeMapTile(3, 8, 'oTemple');
221 MakeMapTile(4, 8, 'oMenuBottom');
222 MakeMapTile(4, 8, 'oTemple');
223 MakeMapTile(5, 8, 'oMenuBottom');
224 MakeMapTile(5, 8, 'oTemple');
225 MakeMapTile(6, 8, 'oTemple');
226 MakeMapTile(6, 8, 'oMenuBottom');
227 MakeMapTile(7, 8, 'oTemple');
228 MakeMapTile(7, 8, 'oMenuBottom');
229 MakeMapTile(8, 8, 'oTemple');
230 MakeMapTile(8, 8, 'oMenuBottom');
231 MakeMapTile(9, 8, 'oTemple');
232 MakeMapTile(9, 8, 'oMenuBottom');
233 MakeMapTile(10, 8, 'oTemple');
234 MakeMapTile(10, 8, 'oMenuBottom');
235 MakeMapTile(11, 8, 'oTemple');
236 MakeMapTile(11, 8, 'oMenuBottom');
237 MakeMapTile(12, 8, 'oTemple');
238 MakeMapTile(12, 8, 'oMenuBottom');
239 MakeMapTile(13, 8, 'oTemple');
240 MakeMapTile(13, 8, 'oMenuBottom');
241 MakeMapTile(14, 8, 'oTemple');
242 MakeMapTile(14, 8, 'oMenuBottom');
243 MakeMapTile(15, 8, 'oTemple');
244 MakeMapTile(15, 8, 'oMenuBottom');
245 MakeMapTile(16, 8, 'oTemple');
246 MakeMapTile(16, 8, 'oMenuBottom');
247 MakeMapTile(17, 8, 'oTemple');
248 MakeMapTile(17, 8, 'oMenuBottom');
249 MakeMapTile(18, 8, 'oTemple');
250 MakeMapTile(18, 8, 'oMenuLR');
251 MakeMapTile(19, 8, 'oTemple');
252 MakeMapTile(0, 9, 'oTemple');
253 MakeMapTile(1, 9, 'oTemple');
254 MakeMapTile(18, 9, 'oTemple');
255 MakeMapTile(19, 9, 'oTemple');
256 MakeMapTile(0, 10, 'oTemple');
257 MakeMapTile(1, 10, 'oTemple');
258 MakeMapTile(18, 10, 'oTemple');
259 MakeMapTile(19, 10, 'oTemple');
260 MakeMapTile(0, 11, 'oTemple');
261 MakeMapTile(1, 11, 'oTemple');
262 MakeMapTile(2, 11, 'oEntrance');
263 MakeMapTile(17, 11, 'oExit');
264 MakeMapTile(18, 11, 'oTemple');
265 MakeMapTile(19, 11, 'oTemple');
266 MakeMapTile(0, 12, 'oTemple');
267 MakeMapTile(1, 12, 'oTemple');
268 MakeMapTile(2, 12, 'oTemple');
269 MakeMapTile(3, 12, 'oTemple');
270 MakeMapTile(4, 12, 'oTemple');
271 MakeMapTile(5, 12, 'oTemple');
272 MakeMapTile(6, 12, 'oTemple');
273 MakeMapTile(7, 12, 'oTemple');
274 MakeMapTile(8, 12, 'oTemple');
275 MakeMapTile(9, 12, 'oTemple');
276 MakeMapTile(10, 12, 'oTemple');
277 MakeMapTile(11, 12, 'oTemple');
278 MakeMapTile(12, 12, 'oTemple');
279 MakeMapTile(13, 12, 'oTemple');
280 MakeMapTile(14, 12, 'oTemple');
281 MakeMapTile(15, 12, 'oTemple');
282 MakeMapTile(16, 12, 'oTemple');
283 MakeMapTile(17, 12, 'oTemple');
284 MakeMapTile(18, 12, 'oTemple');
285 MakeMapTile(19, 12, 'oTemple');
286 MakeMapTile(0, 13, 'oTemple');
287 MakeMapTile(1, 13, 'oTemple');
288 MakeMapTile(2, 13, 'oTemple');
289 MakeMapTile(3, 13, 'oTemple');
290 MakeMapTile(4, 13, 'oTemple');
291 MakeMapTile(5, 13, 'oTemple');
292 MakeMapTile(6, 13, 'oTemple');
293 MakeMapTile(7, 13, 'oTemple');
294 MakeMapTile(8, 13, 'oTemple');
295 MakeMapTile(9, 13, 'oTemple');
296 MakeMapTile(10, 13, 'oTemple');
297 MakeMapTile(11, 13, 'oTemple');
298 MakeMapTile(12, 13, 'oTemple');
299 MakeMapTile(13, 13, 'oTemple');
300 MakeMapTile(14, 13, 'oTemple');
301 MakeMapTile(15, 13, 'oTemple');
302 MakeMapTile(16, 13, 'oTemple');
303 MakeMapTile(17, 13, 'oTemple');
304 MakeMapTile(18, 13, 'oTemple');
305 MakeMapTile(19, 13, 'oTemple');
306 MakeMapTile(0, 14, 'oTemple');
307 MakeMapTile(1, 14, 'oTemple');
308 MakeMapTile(2, 14, 'oTemple');
309 MakeMapTile(3, 14, 'oTemple');
310 MakeMapTile(4, 14, 'oTemple');
311 MakeMapTile(5, 14, 'oTemple');
312 MakeMapTile(6, 14, 'oTemple');
313 MakeMapTile(7, 14, 'oTemple');
314 MakeMapTile(8, 14, 'oTemple');
315 MakeMapTile(9, 14, 'oTemple');
316 MakeMapTile(10, 14, 'oTemple');
317 MakeMapTile(11, 14, 'oTemple');
318 MakeMapTile(12, 14, 'oTemple');
319 MakeMapTile(13, 14, 'oTemple');
320 MakeMapTile(14, 14, 'oTemple');
321 MakeMapTile(15, 14, 'oTemple');
322 MakeMapTile(16, 14, 'oTemple');
323 MakeMapTile(17, 14, 'oTemple');
324 MakeMapTile(18, 14, 'oTemple');
325 MakeMapTile(19, 14, 'oTemple');
327 //MakeMapTileAtPix(40, 184, 'oPDummy');
328 spawnPlayerAt(40, 184);
329 player.dir = MapEntity::Dir.Right;