#include "defines.txt"

// item #0
if (index == 0)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 1;
  return();
}

// item #1
if (index == 1)
{
  room_up = 255;
  room_down = 7;
  room_left = 0;
  room_right = 2;
  return();
}

// item #2
if (index == 2)
{
  room_up = 255;
  room_down = 255;
  room_left = 1;
  room_right = 255;
  return();
}

// item #3
if (index == 3)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 4;
  return();
}

// item #4
if (index == 4)
{
  room_up = 255;
  room_down = 255;
  room_left = 3;
  room_right = 5;
  return();
}

// item #5
if (index == 5)
{
  room_up = 255;
  room_down = 11;
  room_left = 4;
  room_right = 255;
  return();
}

// item #6
if (index == 6)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 7;
  return();
}

// item #7
if (index == 7)
{
  room_up = 1;
  room_down = 255;
  room_left = 6;
  room_right = 8;
  return();
}

// item #8
if (index == 8)
{
  room_up = 255;
  room_down = 14;
  room_left = 7;
  room_right = 9;
  return();
}

// item #9
if (index == 9)
{
  room_up = 255;
  room_down = 255;
  room_left = 8;
  room_right = 255;
  return();
}

// item #10
if (index == 10)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 11;
  return();
}

// item #11
if (index == 11)
{
  room_up = 5;
  room_down = 17;
  room_left = 10;
  room_right = 255;
  return();
}

// item #12
if (index == 12)
{
  room_up = 255;
  room_down = 18;
  room_left = 255;
  room_right = 13;
  return();
}

// item #13
if (index == 13)
{
  room_up = 255;
  room_down = 255;
  room_left = 12;
  room_right = 14;
  return();
}

// item #14
if (index == 14)
{
  room_up = 8;
  room_down = 255;
  room_left = 13;
  room_right = 15;
  return();
}

// item #15
if (index == 15)
{
  room_up = 255;
  room_down = 21;
  room_left = 14;
  room_right = 16;
  return();
}

// item #16
if (index == 16)
{
  room_up = 255;
  room_down = 255;
  room_left = 15;
  room_right = 17;
  return();
}

// item #17
if (index == 17)
{
  room_up = 11;
  room_down = 23;
  room_left = 16;
  room_right = 255;
  return();
}

// item #18
if (index == 18)
{
  room_up = 12;
  room_down = 24;
  room_left = 255;
  room_right = 255;
  return();
}

// item #19
if (index == 19)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 20;
  return();
}

// item #20
if (index == 20)
{
  room_up = 255;
  room_down = 26;
  room_left = 19;
  room_right = 21;
  return();
}

// item #21
if (index == 21)
{
  room_up = 15;
  room_down = 27;
  room_left = 20;
  room_right = 22;
  return();
}

// item #22
if (index == 22)
{
  room_up = 255;
  room_down = 255;
  room_left = 21;
  room_right = 255;
  return();
}

// item #23
if (index == 23)
{
  room_up = 17;
  room_down = 255;
  room_left = 255;
  room_right = 255;
  return();
}

// item #24
if (index == 24)
{
  room_up = 18;
  room_down = 255;
  room_left = 255;
  room_right = 255;
  return();
}

// item #25
if (index == 25)
{
  room_up = 255;
  room_down = 31;
  room_left = 255;
  room_right = 26;
  return();
}

// item #26
if (index == 26)
{
  room_up = 20;
  room_down = 32;
  room_left = 25;
  room_right = 255;
  return();
}

// item #27
if (index == 27)
{
  room_up = 21;
  room_down = 255;
  room_left = 255;
  room_right = 28;
  return();
}

// item #28
if (index == 28)
{
  room_up = 255;
  room_down = 255;
  room_left = 27;
  room_right = 29;
  return();
}

// item #29
if (index == 29)
{
  room_up = 255;
  room_down = 35;
  room_left = 28;
  room_right = 255;
  return();
}

// item #30
if (index == 30)
{
  room_up = 255;
  room_down = 255;
  room_left = 255;
  room_right = 31;
  return();
}

// item #31
if (index == 31)
{
  room_up = 25;
  room_down = 255;
  room_left = 30;
  room_right = 255;
  return();
}

// item #32
if (index == 32)
{
  room_up = 26;
  room_down = 255;
  room_left = 255;
  room_right = 33;
  return();
}

// item #33
if (index == 33)
{
  room_up = 255;
  room_down = 255;
  room_left = 32;
  room_right = 34;
  return();
}

// item #34
if (index == 34)
{
  room_up = 255;
  room_down = 255;
  room_left = 33;
  room_right = 255;
  return();
}

// item #35
if (index == 35)
{
  room_up = 29;
  room_down = 255;
  room_left = 255;
  room_right = 255;
  return();
}

// remove this error message if you don't want to handle it
print("ERROR!  Data not found!");
return();

