Connecting tilemaps

Understanding the language, error messages, etc.

Re: Connecting tilemaps

Postby naed » Sat Aug 13, 2016 10:54 am

You might need to fix your link, it just takes me to your sever sprite, can't see anything else
User avatar
naed
 
Posts: 140
Joined: Tue May 31, 2016 3:18 pm

Re: Connecting tilemaps

Postby Duhjoker » Sat Aug 13, 2016 8:36 pm

Sorry about that had to do some cleaning. Forgot I had left a copy of my 16-bit Zelda sprites in there.

https://www.dropbox.com/sh/ij4uxeql7aml ... uFnka?dl=0
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Sun Aug 14, 2016 2:06 am

Still copying byte arrays for the maps. Got rows 1 & 2 done. Now gonna rest my eyes a minute I feel like neo every thing is code!

Edit: got to 5-14 out of 8-16.
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Tue Aug 16, 2016 7:39 am

Couldn't get to my pc last night so I finished up today. There were numerous mistakes but after about 30 minutes I got it to compile,

On the tiles that are for walking on, void tile, sand and etc do I need to put return false or leave them without a return?

So after adding all 128 tilemaps it still only uses 48% or 14,942 bytes. that bodes well for the dungeon maps and everything we have to squeeze in.
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Tue Aug 16, 2016 7:49 am

Code: Select all
#include <SPI.h>
#include <Gamebuino.h>
Gamebuino gb;

const byte room_1_1[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,13,20,20,20,20,3,20,20,3,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,20,20,20,20,20,3,20,20,3,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_2[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,20,20,20,11,11,11,11,
11,11,11,13,12,11,11,11,11,11,20,20,20,12,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,13,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_3[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_1_4[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,20,2,20,2,2,20,2,2,
2,2,2,2,2,2,2,20,20,20,2,20,2,2,20,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,2,
2,2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,20,20,20,2,20,20,20,20,20,20,
2,2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_1_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,12,11,11,13,20,20,20,12,11,
13,20,20,20,20,20,20,20,20,12,13,20,20,20,20,20,11,
20,20,20,20,2,20,20,20,20,20,20,20,2,20,20,20,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
20,20,20,20,2,20,20,20,20,20,20,20,2,20,20,20,11,
15,20,20,20,20,20,20,20,20,14,1,520,20,20,20,20,11,
11,15,20,20,20,20,20,20,24,22,22,25,20,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_6[] PROGMEM = {17,11,
8,8,
11,11,11,11,20,22,28,11,11,11,11,11,11,11,11,11,11,
11,11,10,11,20,22,28,12,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,22,28,20,19,20,20,20,19,20,20,20,20,
11,20,20,19,20,22,28,20,19,20,20,20,19,20,20,20,20,
11,20,20,19,20,22,28,20,19,20,20,20,19,20,20,20,20,
11,20,20,20,20,22,28,20,20,20,19,20,20,20,20,20,20,
11,20,20,20,20,22,28,20,19,20,20,20,19,20,20,20,20,
11,15,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,15,22,28,14,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,22,28,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_7[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,13,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,19,20,20,20,20,20,12,
20,20,19,20,20,19,20,20,19,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,19,20,20,20,20,20,14,
20,20,20,20,20,20,20,20,20,19,20,20,20,20,20,14,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};


const byte room_1_8[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,10,13,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,13,20,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,13,20,20,20,20,20,11,11,11,11,11,11,11,
11,11,11,13,20,20,20,20,20,20,11,11,11,11,11,11,11,
11,11,13,20,20,20,20,20,20,20,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,12,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_9[] PROGMEM = {17,11,
8,8,
11,11,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
11,11,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,13,20,20,20,20,2,20,20,20,2,20,2,20,2,20,20,
20,20,2,20,2,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,2,20,20,20,2,20,2,20,2,20,20,
20,20,2,20,2,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,20,20,20,20,2,20,20,20,2,20,2,20,2,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
11,11,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_1_10[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,12,11,11,11,11,20,20,20,20,20,20,20,20,12,11,11,
20,20,12,11,11,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,12,11,11,20,20,20,20,19,20,20,20,20,12,11,
20,20,20,20,12,13,20,20,20,19,20,19,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,19,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,11,
11,11,11,11,11,11,15,14,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_11[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,13,12,11,11,11,11,11,11,11,11,11,
11,11,11,13,12,13,20,20,12,11,11,11,11,11,11,11,11,
11,11,13,20,20,20,20,20,20,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,12,13,12,13,12,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,14,15,14,15,14,11,11,11,
11,11,11,15,14,15,20,20,14,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,15,14,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_1_12[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,20,20,20,20,11,11,
11,11,11,11,11,11,13,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,13,20,20,20,20,20,20,20,20,20,20,20,
11,13,12,11,13,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,23,26,26,26,26,26,26,26,26,26,
11,15,14,11,11,15,20,22,25,25,25,25,25,25,25,25,25,
11,11,11,11,11,11,15,22,25,25,25,25,25,25,25,25,25,
11,11,11,11,11,11,11,22,25,25,25,25,25,25,25,25,25,
11,11,11,11,11,11,11,22,25,25,25,25,25,25,25,25,25,};

const byte room_1_13[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_1_14[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_1_15[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,12,11,13,12,11,11,11,13,12,11,12,11,12,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_1_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,13,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_2_1[] PROGMEM = {17,11,
8,8,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_2[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,2,2,2,2,};

const byte room_2_3[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,20,20,2,2,20,20,20,20,20,2,2,2,
2,2,2,2,2,20,20,2,2,20,20,20,20,20,2,2,2,
2,2,2,2,2,20,20,2,2,20,20,20,20,20,2,2,2,
2,2,2,2,2,20,20,20,2,20,20,20,20,20,2,2,2,
20,20,20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,20,20,20,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,2,};

const byte room_2_4[] PROGMEM = {17,11,
8,8,
2,2,2,2,20,20,2,20,20,20,2,20,2,20,20,2,2,
2,2,2,2,20,20,2,20,20,20,2,20,20,20,20,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
20,20,20,2,20,20,20,20,20,20,2,20,20,20,20,20,2,
20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,
20,20,20,2,20,20,20,20,20,20,2,20,2,20,20,20,20,
20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,
20,20,20,2,20,20,20,20,20,20,2,20,20,20,20,20,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,20,20,20,2,20,2,20,20,2,2,
2,2,2,2,2,2,2,20,20,20,2,20,2,20,20,2,2,};

const byte room_2_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,20,20,11,11,11,11,20,20,11,11,20,11,11,
11,11,11,13,20,20,12,11,10,13,10,10,12,13,10,12,13,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
12,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,2,20,20,20,20,20,20,20,20,20,
14,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_2_6[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,22,28,20,20,20,11,20,11,20,11,11,11,
11,11,20,20,20,22,28,20,20,20,11,20,11,20,11,11,11,
11,11,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
11,13,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,19,20,20,20,20,20,20,
20,20,20,20,20,0,0,20,20,20,19,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,19,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,19,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
11,11,11,15,20,22,28,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,20,22,28,11,11,11,11,11,11,11,11,11,11,};

const byte room_2_7[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,20,19,19,19,19,20,20,20,20,20,20,20,20,20,12,
20,20,20,20,20,20,20,20,19,19,19,20,20,20,20,20,20,
20,20,20,19,19,19,19,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,19,19,19,20,20,20,20,20,20,
20,20,20,19,19,19,19,20,20,20,20,20,20,20,20,20,14,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,15,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,20,20,11,11,};

const byte room_2_8[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,12,13,20,20,20,20,12,11,
13,20,20,19,20,19,20,20,20,20,20,20,19,20,20,20,12,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,19,20,19,20,20,20,20,20,20,19,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
15,20,20,19,20,19,20,20,20,20,20,20,19,20,20,20,14,
11,15,20,20,20,20,20,20,20,14,15,20,20,20,20,14,11,
11,11,11,11,11,11,15,20,20,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,11,11,11,11,11,11,11,11,};

const byte room_2_9[] PROGMEM = {17,11,
8,8,
11,11,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
11,11,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
13,20,20,20,2,20,20,20,20,20,2,20,20,20,2,20,20,
20,20,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,2,20,2,20,20,20,2,20,2,20,2,20,20,
20,20,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
15,20,20,20,2,20,20,20,20,20,2,20,20,20,2,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,2,20,2,20,2,20,2,20,20,20,2,20,2,20,2,
11,11,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,};

const byte room_2_10[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,
2,2,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
2,20,20,20,20,2,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,2,20,20,20,20,20,21,24,24,24,24,24,24,24,
20,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,2,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_11[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,28,20,20,20,20,2,2,2,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,2,2,2,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,
24,24,24,24,24,24,24,27,20,20,20,20,2,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_12[] PROGMEM = {17,11,
8,8,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,2,2,2,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,2,
20,20,2,20,20,20,2,20,2,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,20,
20,20,2,20,20,20,2,20,2,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,20,20,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,20,20,20,20,2,2,};

const byte room_2_13[] PROGMEM = {17,11,
8,8,
2,2,2,20,20,2,2,2,2,2,2,20,20,2,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,20,20,2,2,2,2,
2,2,2,20,20,2,2,20,20,20,20,20,20,20,20,20,20,
2,2,2,20,20,2,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,2,20,20,20,20,20,20,20,2,2,2,2,
20,20,20,20,20,2,20,20,20,20,20,20,20,2,2,2,2,
20,20,20,20,20,2,20,20,20,20,20,20,20,2,2,2,2,
2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_14[] PROGMEM = {17,11,
8,8,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,2,20,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,2,20,20,20,2,2,2,
2,2,20,20,2,2,2,2,2,2,2,2,20,20,20,20,20,
2,2,20,20,2,2,2,2,2,2,2,2,20,20,20,20,20,
2,2,20,20,2,2,2,2,2,2,2,2,20,20,20,20,20,
20,20,20,20,2,2,2,2,2,2,2,2,20,20,20,20,20,
20,20,20,20,2,2,2,2,2,2,2,2,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_15[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,20,2,2,2,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,2,2,2,2,20,20,20,
20,20,20,2,2,2,2,2,2,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,02,20,20,2,2,2,2,20,20,20,
2,20,20,2,2,2,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_2_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
12,11,11,10,13,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
14,11,11,11,15,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,};

const byte room_3_1[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,};

const byte room_3_2[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,20,2,20,2,20,2,20,2,20,20,20,20,20,20,20,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,20,2,20,2,20,2,20,2,20,20,20,20,20,20,20,
2,20,20,20,20,20,20,20,20,20,20,20,20,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,2,2,2,2,
2,2,2,2,2,2,2,2,2,20,20,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,20,20,2,2,2,2,2,};

const byte room_3_3[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,20,20,2,2,20,20,20,20,20,2,2,2,
2,2,2,2,2,20,20,2,2,20,20,20,20,20,2,2,2,};

const byte room_3_4[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,2,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,2,20,20,20,20,20,20,
2,2,20,20,20,20,2,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,20,20,2,20,20,20,2,20,2,20,20,2,2,
2,2,2,2,20,20,2,20,20,20,2,20,2,20,20,2,2,};

const byte room_3_5[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,20,20,20,22,25,25,25,25,25,25,25,
2,2,2,2,2,2,20,20,20,22,25,25,25,25,25,25,25,
2,2,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
2,2,20,20,20,2,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,21,24,24,24,24,24,24,24,
20,20,20,20,20,2,20,20,20,20,20,20,20,20,2,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,2,20,20,20,20,20,20,20,20,20,11,11,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
2,2,2,20,20,2,2,2,2,20,20,20,2,2,20,11,11,
2,2,2,20,20,2,2,2,2,20,20,20,2,2,20,11,11,};

const byte room_3_6[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,28,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,22,28,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,22,28,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,22,28,20,20,20,20,11,20,11,20,11,11,
11,11,20,20,20,22,28,20,20,20,20,11,20,11,20,11,11,};

const byte room_3_7[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,
25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,20,
24,24,24,24,24,24,27,20,20,20,2,2,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,2,20,2,2,20,20,20,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
11,11,11,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_3_8[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,2,20,2,20,20,20,20,2,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,2,20,2,20,2,20,2,20,2,20,20,2,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,2,20,2,20,20,20,20,2,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_3_9[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,2,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
2,2,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,};

const byte room_3_10[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,23,26,26,26,26,26,26,26,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,
2,2,2,2,2,2,2,20,20,22,25,25,25,25,25,25,25,};

const byte room_3_11[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,29,20,20,20,20,20,20,2,20,20,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,28,20,20,20,20,2,2,2,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,2,2,2,20,2,};

const byte room_3_12[] PROGMEM = {17,11,
8,8,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,20,2,2,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,20,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,
20,20,2,20,20,20,20,2,20,2,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,2,2,2,
2,20,2,20,20,20,2,20,2,20,2,2,20,20,2,2,2,};

const byte room_3_13[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,2,
2,2,2,2,2,2,2,2,2,2,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,20,20,20,20,20,20,
20,20,20,20,20,2,2,2,2,2,2,20,20,2,2,2,2,
20,20,20,20,20,2,2,2,2,2,2,20,20,2,2,2,2,
2,2,2,2,20,2,2,2,2,2,2,20,20,2,2,2,2,
2,2,2,2,20,2,2,2,2,2,2,20,20,2,2,2,2,};

const byte room_3_14[] PROGMEM = {17,11,
8,8,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,};

const byte room_3_15[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,13,20,12,10,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,12,11,11,13,20,20,12,11,
13,20,20,20,20,20,20,20,20,20,12,13,20,20,20,20,11,
20,20,20,20,2,20,20,20,20,20,20,20,20,2,20,20,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
20,20,20,20,2,20,20,20,20,20,20,20,20,2,20,20,11,
15,20,20,20,20,20,20,20,20,20,14,15,20,20,20,20,11,
11,15,20,20,20,20,20,20,20,14,11,15,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_3_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,13,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,13,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,13,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,15,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,};

const byte room_4_1[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,9,20,20,9,20,20,9,20,20,9,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,9,20,20,9,20,20,9,20,20,9,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,9,20,20,9,20,20,9,20,20,9,20,20,20,20,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,};

const byte room_4_2[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,20,9,20,20,9,20,20,9,20,9,20,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_4_3[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,20,20,20,20,20,16,16,16,16,16,20,20,20,20,20,11,
11,20,20,20,20,20,16,16,16,16,16,20,20,20,20,20,11,
11,20,20,20,20,20,16,16,16,16,16,20,20,20,20,20,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,};

const byte room_4_4[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,20,20,20,20,23,26,26,26,26,26,26,29,20,20,20,20,11,
11,20,20,20,20,22,25,25,25,25,25,25,28,20,20,20,20,11,
11,20,20,20,20,21,24,24,24,24,24,24,27,20,20,20,20,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,};

const byte room_4_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,10,11,11,20,20,20,22,25,25,25,25,25,25,25,
11,13,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,20,20,2,20,20,2,20,20,22,25,25,25,25,25,25,25,
11,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,20,20,2,20,20,2,20,20,22,25,25,25,25,25,25,25,
11,15,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,11,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,10,11,11,20,20,20,22,25,25,25,25,25,25,25,};

const byte room_4_6[] PROGMEM = {17,11,
8,8,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,5,8,20,20,5,6,8,20,20,5,8,20,11,25,
25,11,20,4,7,20,20,4,10,7,20,20,20,20,20,11,25,
25,11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,25,};

const byte room_4_7[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,
25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,
25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,2,};

const byte room_4_8[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_4_9[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,2,2,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,2,2,2,
24,24,24,24,24,24,24,27,20,20,20,20,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,2,
2,2,2,2,20,20,20,20,20,20,20,20,20,20,2,2,2,
2,2,2,2,20,20,20,20,20,20,20,20,20,20,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,};

const byte room_4_10[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,20,20,20,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,2,2,2,2,2,2,2,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,19,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,2,20,20,20,20,20,20,20,20,2,2,2,2,2,2,2,
2,2,20,20,20,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,};

const byte room_4_11[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,11,11,10,11,11,11,11,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
12,13,20,20,2,20,20,20,20,20,20,2,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,2,20,20,20,20,20,20,2,20,20,20,20,20,
14,15,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,14,11,11,
11,11,11,15,14,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_4_12[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,20,20,2,2,
2,20,20,20,20,20,20,20,20,20,20,2,2,20,20,2,2,
2,20,20,20,20,20,20,2,20,20,20,2,2,20,20,2,2,
20,20,20,20,20,20,20,20,20,2,20,2,2,20,20,2,2,
20,20,2,20,20,20,20,2,20,20,20,2,2,20,20,2,2,
20,20,20,20,20,20,20,20,20,2,20,2,2,20,20,2,2,
2,20,20,20,20,20,20,2,20,20,20,2,2,20,20,2,2,
2,20,20,20,20,20,20,20,20,20,20,2,2,20,20,2,2,
2,20,2,20,20,20,20,2,20,2,20,2,2,20,20,2,2,
2,20,2,20,20,20,20,2,20,2,20,2,2,20,20,2,2,};

const byte room_4_13[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,12,11,12,11,11,18,11,11,11,13,20,20,20,11,11,
11,11,20,20,20,12,11,18,11,11,11,20,20,20,20,11,11,
11,13,20,20,20,20,11,18,11,11,11,20,20,20,20,11,13,
11,20,20,20,20,20,11,18,11,11,11,20,20,20,20,20,20,
11,20,20,20,20,20,12,18,11,11,13,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,14,11,15,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_4_14[] PROGMEM = {17,11,
8,8,
2,20,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
2,20,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,20,20,20,20,20,2,20,20,20,20,20,2,20,20,20,2,
20,20,2,20,2,20,20,20,20,20,2,20,20,20,2,20,20,
20,20,20,20,20,20,2,20,20,20,20,20,2,20,20,20,20,
20,20,2,20,2,20,20,20,20,20,2,20,20,20,2,20,20,
2,20,20,20,20,20,2,20,20,20,20,20,2,20,20,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,
2,2,2,20,20,2,2,2,2,2,2,2,20,20,2,2,2,};

const byte room_4_15[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
20,20,20,20,17,20,20,20,20,20,20,20,17,20,20,20,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,};

const byte room_4_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,13,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,13,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,13,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,15,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,};

const byte room_5_1[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,11,20,20,9,20,20,9,20,20,9,20,20,9,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_5_2[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,9,20,20,9,20,20,9,20,20,9,20,20,11,11,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_5_3[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,13,12,11,11,18,11,11,13,12,11,11,11,11,11,
11,11,13,20,20,11,11,18,11,13,20,20,20,20,12,11,11,
12,13,20,20,20,11,11,18,11,20,20,20,20,20,20,12,11,
20,20,20,20,20,12,11,18,13,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
14,15,20,20,20,20,20,20,20,20,20,20,20,14,11,11,11,
11,11,15,20,20,20,20,20,20,20,20,20,20,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11};

const byte room_5_4[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,18,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,17,20,17,20,17,20,17,20,17,20,17,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,17,20,17,20,17,20,17,20,17,20,17,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_5_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
11,11,17,20,17,20,17,20,20,20,20,20,20,20,20,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,20,17,20,17,20,17,20,20,23,26,26,26,26,26,26,26,
11,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,11,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,11,20,20,20,22,25,25,25,25,25,25,25,};

const byte room_5_6[] PROGMEM = {17,11,
8,8,
11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,18,11,12,11,12,12,11,11,12,11,11,12,11,
11,11,11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_5_7[] PROGMEM = {17,11,
8,8,
11,11,20,20,11,11,11,11,11,11,22,25,25,25,25,25,25,
11,11,20,20,11,11,11,11,11,11,22,25,25,25,25,25,25,
11,11,20,20,12,11,11,13,12,13,22,25,25,25,25,25,25,
12,13,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,
26,26,26,26,26,26,26,26,26,26,22,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_5_8[] PROGMEM = {17,11,
8,8,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,5,8,20,20,5,6,8,20,20,5,8,20,11,25,
25,11,20,4,7,20,20,4,10,7,20,20,20,20,20,0,0,
25,11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,};

const byte room_5_9[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,25,28,20,20,20,2,20,20,20,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,2,20,20,2,
0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,2,20,20,2,
25,25,25,25,25,25,25,28,20,20,20,20,20,20,20,20,2,
25,25,25,25,25,25,25,28,20,20,20,2,20,20,20,20,2,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,25,28,20,20,2,2,2,2,2,2,2,};

const byte room_5_10[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,20,20,20,20,23,26,26,26,26,26,26,29,20,20,20,20,11,
11,20,20,20,20,22,25,25,25,25,25,25,28,20,20,20,20,11,
11,20,20,20,20,21,24,24,24,24,24,24,27,20,20,20,20,11,
11,20,20,2,20,20,20,20,20,20,20,20,2,20,20,12,11,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,};

const byte room_5_11[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,};

const byte room_5_12[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,20,20,11,11,};

const byte room_5_13[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,13,20,20,20,20,20,20,20,20,20,12,11,11,11,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,10,12,11,11,
11,11,20,20,17,20,20,5,6,8,20,20,17,20,20,11,11,
11,11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,11,
11,11,20,20,17,20,20,4,10,7,20,20,17,20,20,11,11,
11,11,11,15,20,20,20,20,20,20,20,20,20,14,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,};

const byte room_5_14[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,20,20,20,2,2,2,2,2,2,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
2,20,2,20,2,20,20,20,20,20,20,20,2,20,20,20,2,
2,20,20,20,20,20,17,20,20,20,17,20,20,20,2,20,2,
2,20,2,20,2,20,20,20,20,20,20,20,2,20,20,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,2,20,2,
2,20,2,20,2,20,20,20,20,20,20,20,2,20,20,20,2,
2,20,2,20,2,20,20,20,20,20,20,20,2,20,20,20,2,
2,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,
2,20,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,
2,20,2,20,2,20,2,20,20,20,2,20,2,20,2,20,2,};

const byte room_5_15[] PROGMEM = {17,11,
8,8,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,21,24,24,24,24,24,24,24,24,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_5_16[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,15,20,20,20,20,22,25,25,25,25,25,25,25,
11,11,11,11,11,20,20,20,20,22,25,25,25,25,25,25,25,}


have to post code in two halves
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Tue Aug 16, 2016 7:50 am

Code: Select all
const byte room_6_1[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,9,20,9,20,9,20,9,20,9,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,9,20,9,20,9,20,9,20,9,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,9,20,9,20,9,20,9,20,9,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_6_2[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,9,20,9,20,9,20,9,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,9,20,9,20,9,20,9,20,9,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,9,20,9,20,9,20,9,20,9,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_6_3[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,13,20,20,20,20,20,20,20,20,20,12,11,11,11,
11,11,13,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,10,12,11,11,
11,11,20,20,17,17,17,5,6,8,17,17,17,20,20,11,11,
11,11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,11,
11,11,20,20,17,17,17,4,10,7,17,17,17,20,20,11,11,
11,11,11,15,20,20,20,20,20,20,20,20,20,14,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,};

const byte room_6_4[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,12,11,11,13,20,20,20,20,20,
11,20,20,20,20,20,20,20,11,11,20,20,20,20,20,20,20,
11,20,20,20,19,20,20,20,11,11,20,20,20,20,20,20,20,
11,20,20,19,20,19,20,20,11,11,20,20,20,20,20,20,20,
11,20,20,20,19,20,20,20,11,11,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,11,11,20,20,20,20,20,20,20,
11,15,20,20,20,20,20,14,11,11,15,20,20,20,20,20,20,
11,11,11,11,11,11,18,11,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,11,18,11,11,11,11,11,11,11,18,11,11,};

const byte room_6_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,
20,20,20,12,11,11,13,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,12,13,20,20,20,20,20,20,20,20,20,20,20,
20,20,17,20,20,20,20,17,20,20,17,20,20,17,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,17,20,20,20,20,17,20,20,17,20,20,17,20,20,20,
20,20,20,20,14,15,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,15,14,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_6_6[] PROGMEM = {17,11,
8,8,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,18,11,11,
11,11,11,18,11,13,12,11,11,11,11,10,11,11,18,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,17,20,20,17,20,20,17,20,20,17,20,20,20,20,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,17,20,20,17,20,20,17,20,20,17,20,20,20,20,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_6_7[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,10,11,11,11,11,11,11,11,11,11,13,11,11,11,
11,13,20,20,20,12,11,11,11,13,12,11,13,20,12,11,11,
11,20,20,20,20,20,12,11,13,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,23,26,26,26,26,26,26,26,
11,20,20,20,20,20,14,15,20,22,25,25,25,25,25,25,25,
11,15,20,20,20,14,11,11,15,22,25,25,25,25,25,25,25,
11,11,20,20,14,11,11,11,11,22,25,25,25,25,25,25,25,
11,11,20,20,11,11,11,11,11,25,25,25,25,25,25,25,25,};

const byte room_6_8[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,22,28,20,20,20,20,11,11,11,11,11,11,
11,11,11,11,11,22,28,20,20,20,20,11,11,11,11,11,11,
11,13,20,20,20,22,28,20,20,20,20,11,11,11,11,10,11,
20,20,20,20,20,22,28,20,20,20,20,11,11,11,11,11,11,
20,20,20,20,20,22,28,20,20,20,20,12,11,11,13,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,};

const byte room_6_9[] PROGMEM = {17,11,
8,8,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,2,20,
20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,2,20,20,20,20,20,
26,26,26,26,26,26,29,20,20,20,20,20,20,2,20,20,20,
25,25,25,25,25,25,29,20,20,20,20,2,20,20,20,20,20,
25,25,25,25,25,25,29,20,20,20,20,20,20,20,20,2,20,
25,25,25,25,25,25,29,20,20,20,2,2,2,2,2,2,2,
25,25,25,25,25,25,29,20,20,20,2,2,2,2,2,2,2,};

const byte room_6_10[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_6_11[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_6_12[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,};

const byte room_6_13[] PROGMEM = {17,11,
8,8,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,11,
20,20,20,20,20,20,14,11,11,15,20,20,20,12,11,11,11,
20,20,20,20,20,14,11,11,11,11,15,20,20,20,20,20,20,
20,20,20,20,20,11,11,11,11,11,11,20,20,20,20,20,20,
20,20,20,20,20,12,11,11,11,10,13,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_6_14[] PROGMEM = {17,11,
8,8,
11,11,18,11,11,11,11,20,20,20,22,25,25,25,25,25,25,
11,11,18,11,11,10,13,20,20,20,22,25,25,25,25,25,25,
11,11,18,11,20,20,20,20,20,20,22,25,25,25,25,25,25,
11,11,18,11,20,20,20,20,20,20,22,25,25,25,25,25,25,
11,11,18,13,20,20,20,20,20,20,21,24,24,24,24,24,24,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,20,20,20,11,11,11,11,11,11,11,11,};

const byte room_6_15[] PROGMEM = {17,11,
8,8,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
21,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
20,20,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,
11,11,20,20,20,20,20,20,22,25,25,25,25,25,25,25,25,};

const byte room_6_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,20,5,8,20,20,5,6,8,20,20,5,8,20,11,11,11,
11,20,4,7,20,20,4,20,7,20,20,4,7,20,11,11,11,
11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,
11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_1[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,19,20,20,20,20,20,20,20,3,3,20,20,20,3,
11,20,20,20,20,19,20,20,20,20,20,3,3,20,20,20,3,
11,20,20,19,20,20,20,19,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,19,20,20,20,20,20,20,20,3,3,20,20,
11,20,20,19,20,20,20,20,20,20,20,20,20,3,3,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_2[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
3,20,20,20,3,3,20,20,20,20,20,20,20,19,20,20,11,
3,20,20,20,3,3,20,20,20,20,20,19,20,20,20,20,20,11,
20,20,20,20,20,20,20,20,20,19,20,20,20,19,20,20,11,
20,20,3,3,20,20,20,20,20,20,20,19,20,20,20,20,11,
20,20,3,3,20,20,20,20,20,20,20,20,20,19,19,19,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_3[] PROGMEM = {17,11,
8,8,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,10,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,13,20,20,20,20,20,20,20,20,20,
11,11,11,18,11,11,13,20,20,20,20,3,3,20,20,20,3,
11,11,11,18,11,13,20,20,20,20,20,3,3,20,20,20,3,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,3,3,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,3,3,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_4[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,11,
11,11,10,11,11,11,11,11,11,11,18,11,11,11,11,11,11,
20,20,20,12,11,11,11,11,11,11,18,11,11,11,13,20,20,
3,3,20,20,12,11,11,11,11,11,18,11,11,13,20,20,20,
3,3,20,20,20,12,11,11,11,11,18,11,13,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,12,11,11,11,11,11,11,11,11,11,11,10,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,17,20,20,20,17,20,20,20,17,20,20,20,17,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,17,20,20,20,17,20,20,20,17,20,20,20,17,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,24,
11,11,15,11,11,11,11,11,11,11,11,18,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,};


const byte room_7_6[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,13,12,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,11,11,10,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,12,13,20,20,12,13,12,13,
20,12,13,20,20,12,13,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,14,15,20,20,14,15,20,20,14,15,20,20,20,20,20,20,
11,11,11,18,11,11,11,15,20,11,11,15,20,20,20,20,20,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,18,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,18,11,11,};

const byte room_7_7[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,13,20,12,11,11,10,11,11,11,11,11,11,
20,12,11,13,20,20,20,20,12,13,20,20,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,11,11,11,11,13,
20,20,20,20,20,20,20,20,20,20,20,20,12,11,11,13,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,14,15,20,
20,14,11,15,20,20,20,14,15,20,20,20,20,20,11,11,15,
14,11,11,11,15,20,14,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_8[] PROGMEM = {17,11,
8,8,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
13,12,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,12,18,11,23,26,26,26,26,26,26,26,26,26,26,26,
20,20,20,20,22,23,26,24,24,24,24,24,24,24,24,24,24,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,22,28,20,20,20,20,11,11,11,11,11,11,
11,11,11,11,11,22,28,20,20,20,20,11,11,11,11,11,11,};

const byte room_7_9[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_10[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_11[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,22,28,11,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,22,28,11,11,11,11,11,11,11,18,11,11,
26,26,26,26,26,25,28,11,11,11,11,11,11,11,18,11,11,
24,24,24,24,24,24,27,11,11,11,11,11,11,11,18,11,11,
0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,20,20,20,20,20,20,20,20,20,11,
11,11,11,11,11,11,11,20,20,20,20,20,20,20,20,20,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_12[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
13,20,20,20,19,20,20,20,20,20,20,20,20,20,20,20,11,
20,20,19,20,20,20,20,20,19,20,20,19,20,20,20,20,20,
20,20,20,20,19,20,20,20,20,20,20,20,20,20,19,20,20,
20,20,19,20,20,20,20,20,19,20,20,19,20,20,20,20,20,
15,20,20,20,19,20,20,20,20,20,20,20,20,20,20,20,14,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,};

const byte room_7_13[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,17,20,17,20,17,20,17,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,17,20,17,20,17,20,17,20,20,20,
15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_14[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,11,
20,20,20,20,12,11,11,11,11,11,13,12,11,11,18,11,11,
20,20,20,20,20,11,11,11,11,11,20,20,20,20,20,20,20,
20,20,20,20,20,11,11,11,13,20,20,20,20,20,20,20,20,
20,20,20,20,20,11,13,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,11,20,20,20,20,23,26,26,26,26,26,26,
20,20,20,20,20,11,20,20,20,20,23,25,25,25,25,25,25,
20,20,20,20,14,11,15,20,20,20,22,25,25,25,25,25,25,
11,11,18,11,11,11,11,20,20,20,22,25,25,25,25,25,25,
11,11,18,11,11,11,11,20,20,20,22,25,25,25,25,25,25,};

const byte room_7_15[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,
11,11,11,11,11,11,11,11,11,13,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,11,11,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
26,26,26,26,26,26,26,11,11,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,11,11,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,11,11,20,20,20,20,20,20,20,20,
25,25,25,25,25,25,25,11,11,11,11,11,11,11,11,11,11,
25,25,25,25,25,25,25,11,11,11,11,11,11,11,11,11,11,};

const byte room_7_16[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
20,20,3,3,20,20,20,20,20,20,20,3,3,20,20,20,11,11,
20,20,3,3,20,20,5,6,8,20,20,3,3,20,20,11,11,
20,20,20,20,20,20,4,10,7,20,20,20,20,20,20,11,11,
20,20,3,3,20,20,4,10,7,20,20,3,3,20,11,11,
20,20,3,3,20,20,20,20,20,20,20,3,3,20,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_1[] = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,18,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,18,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,18,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,18,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,18,20,20,20,20,20,20,20,20,20,};

const byte room_8_2[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,12,11,11,11,11,11,11,10,11,11,11,11,11,11,
11,11,13,20,11,11,11,11,11,11,20,20,12,11,11,11,11,
11,11,20,20,12,13,12,11,11,11,20,20,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,20,20,20,20,20,20,20,20,20,20,20,20,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,15,14,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,};

const byte room_8_3[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,13,12,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,20,20,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,20,20,12,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,20,20,20,12,11,11,11,11,
11,11,11,11,11,11,11,11,13,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_4[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,12,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,20,20,20,20,12,11,11,11,11,11,11,11,11,11,11,11,
13,20,20,20,20,20,12,11,11,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,12,10,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,11,11,11,11,11,11,
20,20,20,20,20,20,20,14,11,11,18,11,11,11,11,11,11,
20,20,20,20,20,20,14,11,11,11,18,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,18,11,11,11,11,11,11,};

const byte room_8_5[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,
11,11,11,11,13,12,11,11,11,11,13,20,20,20,20,20,12,
11,11,11,11,20,20,12,11,11,13,20,20,20,20,20,20,20,
11,13,20,20,20,20,20,12,13,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,20,20,20,14,11,15,20,20,20,20,20,20,20,
11,15,20,20,20,14,11,11,11,15,20,20,20,20,20,20,14,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,};

const byte room_8_6[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,
11,13,12,13,20,20,20,20,20,20,20,20,20,20,20,20,20,
13,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,14,15,20,20,20,20,14,15,20,20,20,
20,20,20,20,20,14,11,11,15,20,20,14,11,11,15,20,20,
20,20,20,20,20,12,11,10,13,20,20,12,11,11,13,20,20,
15,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,15,14,15,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,};

const byte room_8_7[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,13,12,11,11,11,11,11,11,11,11,11,
11,11,11,13,12,13,20,20,12,11,11,11,11,11,11,11,11,
11,11,13,20,20,20,20,20,20,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,12,13,12,13,12,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,14,15,14,15,14,11,11,11,
11,11,11,15,14,15,20,20,14,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,15,14,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_8[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,13,11,11,11,11,13,11,11,11,11,
11,11,11,11,11,11,13,20,11,11,11,13,20,11,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,18,11,11,15,20,11,11,11,15,20,11,11,11,11,
11,11,11,18,11,11,11,15,11,11,11,11,15,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_9[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,13,12,11,11,11,11,11,11,11,11,11,
11,11,11,13,12,13,20,20,12,11,11,11,11,11,11,11,11,
11,11,13,20,20,20,20,20,20,11,11,11,11,11,11,11,11,
20,20,20,20,20,20,20,20,20,12,13,12,13,12,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,15,20,20,20,20,20,20,14,15,14,15,14,11,11,11,
11,11,11,11,14,15,20,20,14,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,15,14,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_10[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,12,13,20,20,20,20,20,20,20,20,20,20,12,11,11,
13,20,20,20,20,20,20,19,20,20,20,20,20,20,20,11,11,
20,20,20,20,20,20,19,20,20,20,20,20,20,20,20,12,11,
20,20,20,20,20,19,20,19,20,19,20,19,20,19,20,20,11,
20,20,20,20,19,20,19,20,20,20,20,20,20,20,20,20,11,
15,20,20,20,20,20,19,20,20,20,20,20,20,20,20,14,11,
11,15,14,15,20,20,20,20,20,20,20,20,20,20,14,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_11[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,20,20,23,26,26,26,26,26,26,26,29,20,20,20,11,
11,20,20,20,22,25,25,25,25,25,25,25,28,20,20,20,11,
11,20,20,20,21,25,25,24,24,24,24,24,27,20,20,20,11,
11,20,20,20,22,28,20,20,20,20,20,20,20,20,20,20,11,
11,15,20,20,22,28,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,22,28,11,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,22,28,11,11,11,11,11,11,11,18,11,11,};

const byte room_8_12[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,13,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
11,20,3,3,20,20,23,26,26,26,29,20,20,3,3,20,11,
11,20,20,20,20,20,21,24,24,27,20,20,20,20,20,11,
11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
11,15,20,20,20,20,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,};

const byte room_8_13[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,13,20,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,20,20,20,12,11,11,13,20,20,20,
11,11,11,11,11,11,11,20,20,20,20,12,13,20,20,20,20,
11,11,11,11,11,11,13,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,20,20,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,18,15,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,18,11,20,20,20,20,20,20,20,20,20,20,
11,11,11,11,11,18,11,20,20,20,20,14,15,20,20,20,20,
11,11,11,11,11,18,11,15,20,20,14,11,11,15,14,11,11,
11,11,11,11,11,18,11,11,15,11,11,11,11,11,11,11,11,};

const byte room_8_14[] PROGMEM = {17,11,
8,8,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,13,12,11,10,11,11,11,11,11,11,
20,20,12,11,11,11,20,20,20,20,20,20,20,12,11,11,11,
20,20,20,12,11,13,20,20,20,20,20,20,20,20,11,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,12,11,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,11,
20,20,20,14,11,15,20,20,20,20,20,20,20,20,20,20,11,
20,20,14,11,11,11,20,20,20,20,20,20,20,20,20,14,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,11,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,18,11,11,};

const byte room_8_15[] PROGMEM = {17,11,
8,8,
22,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
22,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
21,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,
11,11,11,11,11,11,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,10,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,20,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,20,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,20,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,18,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,18,11,11,11,11,22,25,25,25,25,25,25,
11,11,11,11,11,18,11,11,11,11,11,11,11,11,11,11,11,};

const byte room_8_16[] PROGMEM = {17,11,
8,8,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,5,8,20,20,5,6,8,20,20,5,8,20,11,25,
25,11,20,4,7,20,20,4,10,7,20,20,20,20,20,11,25,
25,11,20,20,20,20,20,4,10,7,20,20,20,20,20,11,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,20,20,20,20,20,20,20,20,20,20,20,20,20,20,25,
25,11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,25,
25,11,11,11,11,11,11,11,18,11,11,11,11,11,11,11,25,};

const byte bridge_h[] PROGMEM = {B01110111,B10001000,B10101010,B10001000,B10001000,B10101010,B10001000,B01110111,};
const byte bridge_v[] PROGMEM = {B01111110,B10000001,B10100101,B10000001,B01111110,B10000001,B10100101,B10000001,};
const byte bush[] PROGMEM = {B00101100,B01010010,B10001001,B01000010,B10010001,B01001010,B00100100,B01111110,};
const byte dead_tree[] PROGMEM = {B10101001,B01010110,B01001001,B10101010,B01011010,B00111100,B00011000,B00011000,};
const byte dungeon_left_bottom[] = {B11111111,B10001111,B01001111,B11111111,B10001111,B01001111,B11111111,B10001111,};
const byte dungeon_left_top[] = {B00010001,B00101110,B00101010,B00101110,B01000000,B01000001,B10010010,B10001000,};
const byte dungeon_middle[] = {B10000001,B01000010,B00111100,B00000000,B00000000,B10011001,B00011000,B01000010,};
const byte dungeon_right_bottom[] = {B11111111,B11110001,B11110010,B11111111,B11110001,B11110010,B11111111,B11110001,};
const byte dungeon_right_top[] = {B10001000,B01110100,B01010100,B01110100,B00000010,B10000010,B01001001,B00010001,};
const byte grave_marker[] PROGMEM = {B00011000,B00111100,B01100110,B0100010,B01100110,B01100110,B00111100,B11111111,};
const byte port_noir[] PROGMEM = {B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,};
const byte rock_terrain_master[] PROGMEM = {B01001101,B10100100,B10010001,B01001010,B10010000,B01100101,B10001001,B01011010,};
const byte rock_valley_ne[] PROGMEM = {B10101010,B10010101,B01000100,B00101001,B00110010,B00001010,B00000100,B00000011,};
const byte rock_valley_nw[] PROGMEM = {B01010101,B10101001,B00100010,B10010100,B01001100,B01010000,B00100000,B11000000,};
const byte rock_valley_se[] PROGMEM = {B00000011,B00000100,B0011001,B00010010,B00101001,B01000110,B10110001,B10001010,};
const byte rock_valley_sw[] PROGMEM = {B11000000,B00100000,B10011000,B01001000,B10010100,B01100010,B10001101,B01010001,};
const byte sand[] PROGMEM = {B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,};
const byte statue[] PROGMEM = {B10111010,B11000110,B01101100,B11101110,B11111110,B11111110,B01101100,B01101100,};
const byte steps[] PROGMEM = {B01111110,B10000001,B00000000,B10000001,B01111110,B10000001,B00000000,B10000001,};
const byte turtle_rock[] PROGMEM = {B01101100,B10110010,B11010001,B01010101,B01010010,B10011001,B10000001,B11111110,};
const byte void_tile[] PROGMEM = {B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,};
const byte water_left_bottom[] PROGMEM = {B10001111,B10000000,B11110000,B10000000,B10001111,B10000000,B11110000,B11111111,};
const byte water_left_middle[] PROGMEM = {B10001111,B10000000,B11110000,B10000000,B10001111,B10000000,B11110000,B10000000,};
const byte water_left_top[] PROGMEM = {B11111111,B10000000,B11110000,B10001111,B10000000,B10000000,B11110000,B10000000,};
const byte water_right_bottom[] PROGMEM = {B1110001,B00000001,B0000111,B00000001,B11110001,B00000001,B00001111,B11111111,};
const byte water_right_middle[] PROGMEM = {B11110001,B00000001,B00001111,B00000001,B11110001,B00000001,B00001111,B00000001,};
const byte water_right_top[] PROGMEM = {B11111111,B00000001,B00001111,B00000001,B11110001,B00000001,B00001111,B00000001,};
const byte water_middle_bottom[] PROGMEM = {B11110000,B00000000,B00001111,B00000000,B11110000,B00000000,B00001111,B11111111,};
const byte water_middle_middle[] PROGMEM = {B11110000,B00000000,B00001111,B00000000,B11110000,B00000000,B00001111,B00000000,};
const byte water_middle_top[] PROGMEM = {B11111111,B00000000,B11110000,B00000000,B00001111,B00000000,B11110000,B00000000,};

const byte *spritesheet[] = {bridge_h, bridge_v, bush, dead_tree, dungeon_left_bottom, dungeon_left_top, dungeon_middle,
dungeon_right_bottom, dungeon_right_top, grave_marker, port_noir, rock_terrain_master, rock_valley_ne, rock_valley_nw,
rock_valley_se, rock_valley_sw, sand, statue, steps, turtle_rock, void_tile, water_left_bottom, water_left_middle, water_left_top,
water_middle_bottom, water_middle_middle, water_middle_top, water_right_bottom, water_right_middle, water_right_top};

const byte sever_front_black[] PROGMEM = {8,8,0x39,0x7d,0x01,0x01,0xfe,0x01,0x7c,0x46};
const byte sever_front_grey[] PROGMEM = {8,8,0x82,0x82,0xd6,0x7c,0x01,0xa8,0x00,0x00,};
const byte sever_left_black[] PROGMEM = {8,8,0x9f,0xbe,0x80,0x82,0x7f,0x00,0x3e,0x62,};
const byte sever_left_grey[] PROGMEM = {8,8,0x00,0x00,0x17,0x3c,0x00,0x95,0x00,0x00,};
const byte sever_rear_black[] PROGMEM = {8,8,0x9c,0xbe,0xbe,0x80,0x7f,0x88,0x3e,0x62,};
const byte sever_rear_grey[] PROGMEM = {8,8,0x41,0x41,0x7f,0x3e,0x80,0x15,0x00,0x00,};
const byte sever_right_black[] PROGMEM = {8,8,0xf9,0x7d,0x01,0x41,0xfe,0x00,0x7c,0x46,};
const byte sever_right_grey[] PROGMEM = {8,8,0x00,0x00,0xe8,0x3c,0x00,0xa9,0x00,0x00,};

  int player_x = 70;
  int player_y = 40;
  int player_direction = 0;

int x=0,y=0;

int camerax = -20 ;
int cameray = -10 ;
int xmax = -68;

void setup() {
  gb.begin();
  gb.titleScreen(F("test"));
  gb.setFrameRate(62);
  gb.display.persistence = false;
}

/////////PLAYER_MOVEMENT\\\\\\\\\

void loop() {
  if(gb.update()){
    if (gb.buttons.repeat(BTN_RIGHT,1));//{x--;}
    if (gb.buttons.repeat(BTN_LEFT,1));//{x++;}
    if (gb.buttons.repeat(BTN_DOWN,1));//{y--;}
    if (gb.buttons.repeat(BTN_UP,1));//{y++;}
     
//////camera controls
if(player_x > 59 && camerax <  0 && camerax  > -52){player_x = 59;camerax--;}   
//value 59 equals player position on right when camera will start to follow
//value 0 and -52 equals camera boundary positions
else  if(player_x < 15 && camerax <  0 && camerax  > -52){player_x = 15;camerax++;}
//value 15 equals player position on left when camera will start to follow
//value 0 and -52 equals camera boundary positions
else  if(player_x > 59 && camerax <= 0 && camerax >= -52)camerax--;
else  if(player_x < 15 && camerax <= 0 && camerax >= -52)camerax++;   
 
 
      if(player_y > 28 && cameray < 0 && cameray >  -40){player_y = 28;cameray--;}
//value 28 equals player position on right when camera will start to follow
//value 0 and -40 equals camera boundary positions
else  if(player_y < 15 && cameray < 0 && cameray >  -40){player_y = 15;cameray++;}
//value 15 equals player position on left when camera will start to follow
//value 0 and -40 equals camera boundary positions
else  if(player_y > 28 && cameray <= 0 && cameray >= -40)cameray--;
else  if(player_y < 15 && cameray <= 0 && cameray >= -40)cameray++; 

      if(camerax > 0)camerax= 0;
else  if(camerax < -52) camerax = -52;
//value 0 and -52 equals camera boundary positions
      if(cameray > 0)cameray= 0;   
else  if(cameray < -40) cameray = -40;
//value 0 and -40 equals camera boundary positions
 
 
     gb.display.drawTilemap(camerax,cameray,room_1_8,spritesheet);

 if(gb.buttons.repeat(BTN_UP,1)){
       gb.display.setColor(BLACK);{
    gb.display.drawBitmap(player_x,player_y,sever_rear_black);
       }
    gb.display.setColor(GRAY);{
    gb.display.drawBitmap(player_x,player_y,sever_rear_grey);
    }
      player_direction = 1;
      player_y = player_y - 1;
      if(checkcolision())player_y++;  // ADD by Summoner123 - If have colision on the new position regreat one Pixel
      }

     
    if(player_y <= 0){
      player_y = 0;}



    if(gb.buttons.repeat(BTN_DOWN,1)){
      gb.display.setColor(BLACK);{
    gb.display.drawBitmap(player_x,player_y,sever_front_black);
    }
     gb.display.setColor(GRAY);{
    gb.display.drawBitmap(player_x,player_y,sever_front_grey);
    }
      player_direction = 2;
      player_y = player_y + 1;
      if(checkcolision())player_y--;  // ADD by Summoner123 - If have colision on the new position regreat one Pixel
      }
     
    if(player_y >= 40){
      player_y = 40;}
 


    if(gb.buttons.repeat(BTN_RIGHT,1)){
       gb.display.setColor(BLACK);{
    gb.display.drawBitmap(player_x,player_y,sever_right_black);
    }
     gb.display.setColor(GRAY);{
    gb.display.drawBitmap(player_x,player_y,sever_right_grey);
    }
      player_direction = 3;
      player_x = player_x + 1;
      if(checkcolision())player_x--;  // ADD by Summoner123 - If have colision on the new position regreat one Pixel
      }
     
     
    if(player_x >= 77){
      player_x = 77;}


    if(gb.buttons.repeat(BTN_LEFT,1)){
       gb.display.setColor(BLACK);{
    gb.display.drawBitmap(player_x,player_y,sever_left_black);
    }
    gb.display.setColor(GRAY);{
    gb.display.drawBitmap(player_x,player_y,sever_left_grey);
    }
      player_direction = 4;
      player_x = player_x - 1;
     
      if(checkcolision())player_x++;  // ADD by Summoner123 - If have colision on the new position regreat one Pixel
      }
     
    if(player_x <= -2){
      player_x = -2;}
     
      ////////////PLAYER DIRECTION/////////////

 if (player_direction == 1){
        gb.display.setColor(BLACK);{
        gb.display.drawBitmap(player_x,player_y,sever_rear_black);
      }
        gb.display.setColor(GRAY);{
        gb.display.drawBitmap(player_x,player_y,sever_rear_grey);
        }
 }
     
      else if (player_direction == 2){
        gb.display.setColor(BLACK);{
        gb.display.drawBitmap(player_x,player_y,sever_front_black);
      }
        gb.display.setColor(GRAY);{
        gb.display.drawBitmap(player_x,player_y,sever_front_grey);
        }
      }
else if (player_direction == 3){
        gb.display.setColor(BLACK);{
        gb.display.drawBitmap(player_x,player_y,sever_left_black);
      }
        gb.display.setColor(GRAY);{
        gb.display.drawBitmap(player_x,player_y,sever_left_grey);
        }
}
      else if (player_direction == 4){
        gb.display.setColor(BLACK);{
        gb.display.drawBitmap(player_x,player_y,sever_right_black);
      }
        gb.display.setColor(GRAY);{
        gb.display.drawBitmap(player_x,player_y,sever_right_grey);
        }
      }
      else {  gb.display.setColor(BLACK);{
        gb.display.drawBitmap(player_x,player_y,sever_front_black);
      }
        gb.display.setColor(GRAY);{
        gb.display.drawBitmap(player_x,player_y,sever_front_grey);
        }
      }
}
 
}
     bool checkcolision() // Transformed it into a function
   {
    uint16_t i;
     for(i=0; i < gb.display.numcolision + 1; i++)
   {
    if(gb.collideRectRect(player_x,player_y,8,8,gb.display.solid[i].x,gb.display.solid[i].y,8,8))
    {
          if(gb.display.solid[i].spritecol == void_tile);
          if(gb.display.solid[i].spritecol == bridge_h );
         if(gb.display.solid[i].spritecol == bridge_h );
         if(gb.display.solid[i].spritecol == sand);
         if(gb.display.solid[i].spritecol == steps );
else     if(gb.display.solid[i].spritecol == bush)return true;
else     if(gb.display.solid[i].spritecol == dead_tree)return true;
else     if(gb.display.solid[i].spritecol == dungeon_left_bottom)return true;
else     if(gb.display.solid[i].spritecol == dungeon_left_top)return true;
else     if(gb.display.solid[i].spritecol == dungeon_middle)return true;
else     if(gb.display.solid[i].spritecol == dungeon_right_bottom)return true;
else     if(gb.display.solid[i].spritecol == dungeon_right_top)return true;
else     if(gb.display.solid[i].spritecol == grave_marker)return true;
else      if(gb.display.solid[i].spritecol == port_noir)return true;
else      if(gb.display.solid[i].spritecol == rock_terrain_master)return true;//{gb.popup(F(" ""Rock"" "),1); return true;} //Return True if character have touched the wall
else      if(gb.display.solid[i].spritecol == rock_valley_ne)return true;
else      if(gb.display.solid[i].spritecol == rock_valley_nw)return true;
else      if(gb.display.solid[i].spritecol == rock_valley_se)return true;
else      if(gb.display.solid[i].spritecol == rock_valley_sw)return true;
else      if(gb.display.solid[i].spritecol == turtle_rock)return true;
else      if(gb.display.solid[i].spritecol == water_left_bottom)return true;
else      if(gb.display.solid[i].spritecol == water_left_middle)return true;
else      if(gb.display.solid[i].spritecol == water_left_top)return true;
else      if(gb.display.solid[i].spritecol == water_right_bottom)return true;
else      if(gb.display.solid[i].spritecol == water_right_middle)return true;
else      if(gb.display.solid[i].spritecol == water_right_top)return true;
else      if(gb.display.solid[i].spritecol == water_middle_bottom)return true;
else      if(gb.display.solid[i].spritecol == water_middle_middle)return true;
else      if(gb.display.solid[i].spritecol == water_middle_top)return true;

 
      }
   }
    return false; // Return false if don't touch anything
       
}




User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Tue Aug 16, 2016 8:03 am

Is this part of my RPG
Code: Select all
const byte* mapZip[]={m000,m001,m002,
                      m003,m004,m005,
                      m006,m007,m008,};

Putting the maps in array where 7 would go to 4 and 0 to 1
Last edited by Duhjoker on Thu Aug 18, 2016 4:53 am, edited 1 time in total.
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby Duhjoker » Wed Aug 17, 2016 8:11 am

Looking at the myrpg code and what exactly is the void init_house() be like making caves? Like in the first map room where you get the wood sword?

In case 4 ; would that be the start map?

Sorunome said something about a simple switch? Would it be possible to create a tile with say an arrow on it or 4, 1 for each direction and use those to simply tell the output map to go left,right,up or down one map?

Would the void drawMap work with draw tilemap instead.

Ok here's my plan, I want to do all the map commands and sprites together then a separate file for the player, then monsters and dungeons and then boss.

All right so I hope y'all are still out there. Also was not criticizing summoner123's program, glad he made and it was easier than it could it have been.

Also please look at the previous post.
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

Re: Connecting tilemaps

Postby naed » Wed Aug 17, 2016 8:33 am

As far a I'm aware the following code from MyRPG

Code: Select all
mapZip[]={m000,m001,m002,
                      m003,m004,m005,
                      m006,m007,m008,};


Would simply be read like this by the compiler
Code: Select all
mapZip[]={m000,m001,m002,m003,m004,m005,m006,m007,m008,};


But please someone correct me if I'm wrong
User avatar
naed
 
Posts: 140
Joined: Tue May 31, 2016 3:18 pm

Re: Connecting tilemaps

Postby Duhjoker » Thu Aug 18, 2016 3:09 am

Ok well I kinda understand what most of it does but I can't seem to figure out how it knows which tilemap to go to.

What exactly is map zip?
User avatar
Duhjoker
 
Posts: 446
Joined: Sat Jul 02, 2016 4:57 am
Location: Where Palm trees grow

PreviousNext

Return to Programming Questions

Who is online

Users browsing this forum: No registered users and 17 guests

cron