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