function render_building_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,50,3,51,3,52,4,0,4,1,4,2,4,3,4,4,4,5,4,24,4,25,4,26,4,27,4,28,4,29,4,30,4,31,4,32,4,33,4,34,4,35,4,36,4,37,4,38,4,39,4,45,4,46,4,47,4,48,5,0,5,1,5,7,5,8,5,9,5,10,5,11,5,20,5,21,5,22,5,23,5,41,5,42,5,46,5,47,5,48,5,49,5,50,5,51,6,3,6,4,6,5,6,6,6,7,6,8,6,9,6,10,6,20,6,21,6,22,6,23,6,24,6,25,6,26,6,29,6,30,6,31,6,32,6,41,6,42,6,43,6,44,6,46,6,47,6,48,7,2,7,3,7,4,7,5,7,6,7,7,7,8,7,9,7,10,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,29,7,30,7,31,7,32,7,51,8,5,8,6,8,7,8,8,8,9,8,10,8,21,8,22,8,23,8,24,8,25,8,26,8,41,8,42,8,43,8,51,9,21,9,22,9,23,9,24,9,33,9,34,9,35,9,36,9,37,9,38,9,40,9,41,9,42,9,43,9,44,9,51,10,8,10,9,10,10,10,11,10,33,10,34,10,35,10,36,10,37,10,39,10,40,10,41,10,42,10,43,10,44,10,45,10,51,11,7,11,8,11,9,11,10,11,11,11,12,11,13,11,16,11,17,11,18,11,19,11,21,11,22,11,23,11,24,11,32,11,33,11,34,11,35,11,36,11,37,11,39,11,40,11,41,11,42,11,43,11,44,11,51,12,6,12,7,12,8,12,9,12,10,12,11,12,12,12,15,12,16,12,17,12,18,12,19,12,21,12,22,12,23,12,32,12,33,12,34,12,35,12,36,12,39,12,40,12,51,13,6,13,7,13,8,13,9,13,10,13,14,13,15,13,16,13,22,13,23,13,42,13,43,13,44,13,50,13,51,14,5,14,6,14,7,14,8,14,18,14,19,14,20,14,31,14,32,14,33,14,36,14,37,14,38,14,41,14,42,14,46,15,1,15,12,15,13,15,14,15,18,15,19,15,20,15,21,15,22,15,23,15,27,15,28,15,29,15,30,15,31,15,34,15,35,15,36,15,37,15,40,15,41,15,44,15,45,15,46,15,47,15,48,15,49,15,50,16,1,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,12,16,13,16,14,16,16,16,17,16,18,16,19,16,20,16,25,16,26,16,27,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,37,16,39,16,40,16,41,16,43,16,44,16,45,16,46,16,47,16,48,16,49,17,1,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,11,17,12,17,13,17,16,17,17,17,18,17,25,17,26,17,27,17,28,17,29,17,32,17,33,17,34,17,35,17,36,17,37,17,39,17,40,17,43,17,44,17,45,17,46,17,47,17,48,17,51,18,1,18,2,18,38,18,50,18,51,19,4,19,5,19,16,19,17,19,25,19,26,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,44,19,45,19,50,19,51,20,1,20,2,20,3,20,4,20,5,20,16,20,17,20,24,20,25,20,26,20,27,20,28,20,29,20,33,20,34,20,35,20,36,20,46,20,47,20,48,20,51,21,1,21,2,21,3,21,4,21,5,21,20,21,21,21,22,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,34,21,46,21,47,21,48,21,49,22,1,22,2,22,3,22,4,22,5,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,27,22,28,22,29,22,30,22,31,22,32,22,36,22,37,22,48,22,49,22,50,23,11,23,12,23,13,23,14,23,38,23,39,23,40,23,44,23,45,23,46,24,2,24,3,24,4,24,5,24,9,24,10,24,11,24,12,24,16,24,29,24,30,24,31,24,33,24,34,24,35,24,42,24,46,24,47,24,48,24,49,25,1,25,2,25,3,25,4,25,7,25,8,25,9,25,10,25,11,25,14,25,15,25,16,25,17,25,18,25,30,25,33,25,34,25,35,25,37,25,38,25,39,25,40,25,43,25,44,25,49,25,50,25,51,26,1,26,2,26,3,26,4,26,6,26,7,26,8,26,9,26,10,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,30,26,32,26,33,26,34,26,37,26,38,26,44,26,45,26,46,26,47,26,50,26,51,27,1,27,2,27,3,27,6,27,7,27,16,27,17,27,18,27,19,27,20,27,21,27,32,27,33,27,34,27,36,27,37,27,44,27,45,27,46,27,47,27,48,27,51,28,1,28,2,28,3,28,9,28,10,28,12,28,13,28,14,28,18,28,19,28,20,28,21,28,31,28,32,28,33,28,34,28,36,28,44,28,45,28,46,28,47,28,48,28,49,28,51,29,7,29,8,29,9,29,11,29,12,29,13,29,14,29,15,29,16,29,23,29,24,29,25,29,26,29,27,29,28,29,44,29,45,29,46,29,47,29,51,30,5,30,6,30,7,30,8,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,51,31,4,31,5,31,6,31,7,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,28,31,29,31,30,31,34,31,37,31,38,31,39,31,40,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,51,32,3,32,4,32,5,32,6,32,7,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,32,32,36,32,37,32,38,32,39,32,40,32,41,32,46,32,47,32,48,32,49,33,2,33,3,33,4,33,5,33,6,33,7,33,28,33,29,33,30,33,31,33,32,33,33,33,34,34,2,34,3,34,13,34,14,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,38,34,39,34,40,34,41,34,42,34,48,34,49,35,5,35,14,35,15,35,16,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,36,35,37,35,38,35,39,35,40,35,43,35,44,35,45,35,46,35,47,35,48,35,49,35,50,36,1,36,2,36,3,36,4,36,5,36,6,36,14,36,15,36,18,36,19,36,20,36,21,36,22,36,30,36,31,36,32,36,34,36,35,36,36,36,37,36,38,36,39,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,37,1,37,2,37,3,37,4,37,5,37,6,37,7,37,14,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,36,37,37,37,38,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,51,38,1,38,2,38,3,38,4,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,33,38,34,38,50,38,51,39,10,39,11,39,12,39,15,39,16,39,17,39,18,39,19,39,20,39,32,39,33,39,34,39,35,39,36,39,45,39,47,39,48,39,51,40,1,40,2,40,11,40,12,40,14,40,15,40,16,40,17,40,18,40,44,40,45,40,47,40,48,40,49,40,51,41,1,41,11,41,12,41,14,41,17,41,20,41,31,41,32,41,33,41,43,41,44,41,45,41,47,41,51,42,1,42,11,42,24,42,25,42,26,42,27,42,28,42,29,42,30,42,31,42,32,42,33,42,42,42,43,42,44,42,51,43,13,43,14,43,15,43,18,43,19,43,20,43,49,43,50,43,51,44,1,44,4,44,5,44,6,44,7,44,10,44,11,44,12,44,13,44,14,44,17,44,18,44,19,44,20,44,21,44,22,44,23,44,24,44,33,44,34,44,35,44,36,44,37,44,38,44,45,44,46,44,47,45,3,45,4,45,5,45,6,45,7,45,9,45,10,45,11,45,12,45,13,45,16,45,17,45,18,45,19,45,20,45,21,45,32,45,33,45,34,45,35,45,36,45,37,45,46,45,47,45,48,45,49,46,1,46,2,46,3,46,4,46,5,46,6,46,8,46,9,46,10,46,11,46,12,46,16,46,17,46,18,46,19,46,20,46,31,46,32,46,33,46,36,46,37,46,46,46,47,47,1,47,2,47,5,47,6,47,8,47,19,48,15,48,16,48,17,48,32,48,33,48,34,48,35,48,36,48,37,48,47,48,48,48,49,49,1,49,2,49,3,49,4,49,5,49,6,49,17,49,18,49,19,49,34,49,35,49,36,49,37,49,38,49,39,49,43,49,46,49,47,49,48,49,49,49,51,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,17,50,18,50,19,50,20,50,21,50,22,50,29,50,30,50,31,50,32,50,36,50,37,50,38,50,39,50,40,50,43,50,45,50,46,50,47,50,48,50,51,51,1,51,2,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,37,51,38,51,39,51,40,51,41,51,43,51,45,51,46,51,50,51,51}; for i=1,2423,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0002(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {1,1,1,2,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,37,1,38,1,39,1,40,1,41,1,43,1,45,1,46,1,50,1,51,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,17,2,18,2,19,2,20,2,21,2,22,2,29,2,30,2,31,2,32,2,36,2,37,2,38,2,39,2,40,2,43,2,45,2,46,2,47,2,48,2,51,3,1,3,2,3,3,3,4,3,5,3,6,3,17,3,18,3,19,3,34,3,35,3,36,3,37,3,38,3,39,3,43,3,46,3,47,3,48,3,49,3,51,4,15,4,16,4,17,4,32,4,33,4,34,4,35,4,36,4,37,4,47,4,48,4,49,5,1,5,2,5,5,5,6,5,8,5,19,6,1,6,2,6,3,6,4,6,5,6,6,6,8,6,9,6,10,6,11,6,12,6,16,6,17,6,18,6,19,6,20,6,31,6,32,6,33,6,36,6,37,6,46,6,47,7,3,7,4,7,5,7,6,7,7,7,9,7,10,7,11,7,12,7,13,7,16,7,17,7,18,7,19,7,20,7,21,7,32,7,33,7,34,7,35,7,36,7,37,7,46,7,47,7,48,7,49,8,1,8,4,8,5,8,6,8,7,8,10,8,11,8,12,8,13,8,14,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,33,8,34,8,35,8,36,8,37,8,38,8,45,8,46,8,47,9,13,9,14,9,15,9,18,9,19,9,20,9,49,9,50,9,51,10,1,10,11,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,42,10,43,10,44,10,51,11,1,11,11,11,12,11,14,11,17,11,20,11,31,11,32,11,33,11,43,11,44,11,45,11,47,11,51,12,1,12,2,12,11,12,12,12,14,12,15,12,16,12,17,12,18,12,44,12,45,12,47,12,48,12,49,12,51,13,10,13,11,13,12,13,15,13,16,13,17,13,18,13,19,13,20,13,32,13,33,13,34,13,35,13,36,13,45,13,47,13,48,13,51,14,1,14,2,14,3,14,4,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,33,14,34,14,50,14,51,15,1,15,2,15,3,15,4,15,5,15,6,15,7,15,14,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,36,15,37,15,38,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,51,16,1,16,2,16,3,16,4,16,5,16,6,16,14,16,15,16,18,16,19,16,20,16,21,16,22,16,30,16,31,16,32,16,34,16,35,16,36,16,37,16,38,16,39,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,17,5,17,14,17,15,17,16,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,36,17,37,17,38,17,39,17,40,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,18,2,18,3,18,13,18,14,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,38,18,39,18,40,18,41,18,42,18,48,18,49,19,2,19,3,19,4,19,5,19,6,19,7,19,28,19,29,19,30,19,31,19,32,19,33,19,34,20,3,20,4,20,5,20,6,20,7,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,32,20,36,20,37,20,38,20,39,20,40,20,41,20,46,20,47,20,48,20,49,21,4,21,5,21,6,21,7,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,28,21,29,21,30,21,34,21,37,21,38,21,39,21,40,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,51,22,5,22,6,22,7,22,8,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,51,23,7,23,8,23,9,23,11,23,12,23,13,23,14,23,15,23,16,23,23,23,24,23,25,23,26,23,27,23,28,23,44,23,45,23,46,23,47,23,51,24,1,24,2,24,3,24,9,24,10,24,12,24,13,24,14,24,18,24,19,24,20,24,21,24,31,24,32,24,33,24,34,24,36,24,44,24,45,24,46,24,47,24,48,24,49,24,51,25,1,25,2,25,3,25,6,25,7,25,16,25,17,25,18,25,19,25,20,25,21,25,32,25,33,25,34,25,36,25,37,25,44,25,45,25,46,25,47,25,48,25,51,26,1,26,2,26,3,26,4,26,6,26,7,26,8,26,9,26,10,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,30,26,32,26,33,26,34,26,37,26,38,26,44,26,45,26,46,26,47,26,50,26,51,27,1,27,2,27,3,27,4,27,7,27,8,27,9,27,10,27,11,27,14,27,15,27,16,27,17,27,18,27,30,27,33,27,34,27,35,27,37,27,38,27,39,27,40,27,43,27,44,27,49,27,50,27,51,28,2,28,3,28,4,28,5,28,9,28,10,28,11,28,12,28,16,28,29,28,30,28,31,28,33,28,34,28,35,28,42,28,46,28,47,28,48,28,49,29,11,29,12,29,13,29,14,29,38,29,39,29,40,29,44,29,45,29,46,30,1,30,2,30,3,30,4,30,5,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,27,30,28,30,29,30,30,30,31,30,32,30,36,30,37,30,48,30,49,30,50,31,1,31,2,31,3,31,4,31,5,31,20,31,21,31,22,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,34,31,46,31,47,31,48,31,49,32,1,32,2,32,3,32,4,32,5,32,16,32,17,32,24,32,25,32,26,32,27,32,28,32,29,32,33,32,34,32,35,32,36,32,46,32,47,32,48,32,51,33,4,33,5,33,16,33,17,33,25,33,26,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,44,33,45,33,50,33,51,34,1,34,2,34,38,34,50,34,51,35,1,35,2,35,3,35,4,35,5,35,6,35,7,35,8,35,11,35,12,35,13,35,16,35,17,35,18,35,25,35,26,35,27,35,28,35,29,35,32,35,33,35,34,35,35,35,36,35,37,35,39,35,40,35,43,35,44,35,45,35,46,35,47,35,48,35,51,36,1,36,2,36,3,36,4,36,5,36,6,36,7,36,8,36,9,36,12,36,13,36,14,36,16,36,17,36,18,36,19,36,20,36,25,36,26,36,27,36,28,36,29,36,30,36,33,36,34,36,35,36,36,36,37,36,39,36,40,36,41,36,43,36,44,36,45,36,46,36,47,36,48,36,49,37,1,37,12,37,13,37,14,37,18,37,19,37,20,37,21,37,22,37,23,37,27,37,28,37,29,37,30,37,31,37,34,37,35,37,36,37,37,37,40,37,41,37,44,37,45,37,46,37,47,37,48,37,49,37,50,38,5,38,6,38,7,38,8,38,18,38,19,38,20,38,31,38,32,38,33,38,36,38,37,38,38,38,41,38,42,38,46,39,6,39,7,39,8,39,9,39,10,39,14,39,15,39,16,39,22,39,23,39,42,39,43,39,44,39,50,39,51,40,6,40,7,40,8,40,9,40,10,40,11,40,12,40,15,40,16,40,17,40,18,40,19,40,21,40,22,40,23,40,32,40,33,40,34,40,35,40,36,40,39,40,40,40,51,41,7,41,8,41,9,41,10,41,11,41,12,41,13,41,16,41,17,41,18,41,19,41,21,41,22,41,23,41,24,41,32,41,33,41,34,41,35,41,36,41,37,41,39,41,40,41,41,41,42,41,43,41,44,41,51,42,8,42,9,42,10,42,11,42,33,42,34,42,35,42,36,42,37,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,51,43,21,43,22,43,23,43,24,43,33,43,34,43,35,43,36,43,37,43,38,43,40,43,41,43,42,43,43,43,44,43,51,44,5,44,6,44,7,44,8,44,9,44,10,44,21,44,22,44,23,44,24,44,25,44,26,44,41,44,42,44,43,44,51,45,2,45,3,45,4,45,5,45,6,45,7,45,8,45,9,45,10,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,29,45,30,45,31,45,32,45,51,46,3,46,4,46,5,46,6,46,7,46,8,46,9,46,10,46,20,46,21,46,22,46,23,46,24,46,25,46,26,46,29,46,30,46,31,46,32,46,41,46,42,46,43,46,44,46,46,46,47,46,48,47,0,47,1,47,7,47,8,47,9,47,10,47,11,47,20,47,21,47,22,47,23,47,41,47,42,47,46,47,47,47,48,47,49,47,50,47,51,48,0,48,1,48,2,48,3,48,4,48,5,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,39,48,45,48,46,48,47,48,48,49,0,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,19,49,20,49,21,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,29,49,30,49,31,49,32,49,33,49,34,49,35,49,36,49,37,49,38,49,39,49,40,49,41,49,42,49,43,49,50,49,51,49,52,50,0,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35,50,36,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,2423,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0004(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,43,12,44,12,45,12,46,12,47,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,49,0,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,19,49,20,49,21,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,29,49,30,49,31,49,32,49,33,49,34,49,35,49,36,49,37,49,38,49,39,49,40,49,41,49,42,49,43,49,44,49,45,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,0,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35,50,36,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,2087,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0005(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,8,14,8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,8,37,9,14,9,15,9,16,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,10,14,10,15,10,36,10,37,11,14,11,15,11,36,11,37,12,14,12,15,12,19,12,20,12,30,12,31,12,36,12,37,13,14,13,15,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,36,13,37,14,14,14,15,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,36,14,37,15,14,15,15,15,19,15,20,15,30,15,31,15,36,15,37,16,14,16,15,16,19,16,20,16,30,16,31,16,36,16,37,17,14,17,15,17,36,17,37,18,14,18,15,18,36,18,37,19,14,19,15,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,36,19,37,20,14,20,15,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,36,20,37,21,14,21,15,21,19,21,20,21,21,21,22,21,36,21,37,22,14,22,15,22,21,22,22,22,23,22,24,22,36,22,37,23,14,23,15,23,22,23,23,23,24,23,25,23,26,23,36,23,37,24,14,24,15,24,24,24,25,24,26,24,27,24,28,24,36,24,37,25,14,25,15,25,26,25,27,25,28,25,29,25,36,25,37,26,14,26,15,26,28,26,29,26,30,26,31,26,36,26,37,27,14,27,15,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,36,27,37,28,14,28,15,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,36,28,37,29,14,29,15,29,36,29,37,30,14,30,15,30,36,30,37,31,14,31,15,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,36,31,37,32,14,32,15,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,36,32,37,33,14,33,15,33,19,33,20,33,21,33,22,33,36,33,37,34,14,34,15,34,21,34,22,34,23,34,24,34,36,34,37,35,14,35,15,35,22,35,23,35,24,35,25,35,26,35,36,35,37,36,14,36,15,36,24,36,25,36,26,36,27,36,28,36,36,36,37,37,14,37,15,37,26,37,27,37,28,37,29,37,36,37,37,38,14,38,15,38,28,38,29,38,30,38,31,38,36,38,37,39,14,39,15,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,36,39,37,40,14,40,15,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,36,40,37,41,14,41,15,41,36,41,37,42,14,42,15,42,36,42,37,43,14,43,15,43,36,43,37,44,14,44,15,44,16,44,17,44,18,44,19,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,34,44,35,44,36,44,37,45,14,45,15,45,16,45,17,45,18,45,19,45,20,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,33,45,34,45,35,45,36,45,37}; for i=1,1275,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0006(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {1,8,1,9,1,10,1,11,1,12,1,13,1,25,1,26,1,27,1,39,1,40,1,41,1,45,1,46,1,47,1,48,2,7,2,8,2,9,2,10,2,11,2,12,2,24,2,25,2,26,2,37,2,38,2,39,2,40,2,41,2,42,2,43,3,6,3,7,3,8,3,9,3,10,3,11,3,23,3,24,3,25,3,26,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,4,6,4,7,4,8,4,9,4,10,4,11,4,22,4,23,4,24,4,25,4,26,4,35,4,36,4,37,4,38,4,39,4,40,4,41,4,42,4,43,4,44,5,34,5,35,5,36,5,37,5,38,5,39,5,40,5,41,5,42,5,46,5,47,5,48,5,49,6,7,6,10,6,11,6,20,6,21,6,22,6,23,6,33,6,34,6,35,6,36,6,37,6,38,6,39,6,40,6,44,6,46,6,47,6,48,6,49,7,1,7,2,7,3,7,6,7,7,7,8,7,11,7,12,7,13,7,14,7,15,7,16,7,20,7,21,7,22,7,23,7,24,7,42,7,43,7,44,7,46,7,47,7,48,7,49,7,51,8,1,8,2,8,3,8,6,8,7,8,8,8,9,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,21,8,22,8,23,8,24,8,25,8,40,8,41,8,42,8,43,8,44,8,46,8,47,8,51,9,1,9,2,9,3,9,5,9,6,9,7,9,8,9,9,9,10,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,21,9,22,9,23,9,24,9,25,9,26,9,38,9,39,9,40,9,41,9,42,9,43,9,44,9,49,9,50,9,51,10,1,10,2,10,3,10,5,10,6,10,7,10,8,10,9,10,10,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,37,10,38,10,39,10,40,10,41,10,42,10,43,10,47,10,48,10,49,10,50,10,51,11,1,11,2,11,3,11,5,11,13,11,14,11,15,11,16,11,17,11,18,11,19,11,20,11,23,11,24,11,25,11,26,11,27,11,38,11,39,11,40,11,41,11,45,11,46,11,47,11,48,11,49,11,50,11,51,12,1,12,2,12,3,12,14,12,15,12,16,12,17,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,33,12,34,12,35,12,36,12,37,12,46,12,47,12,48,12,49,12,50,12,51,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,39,13,40,13,41,13,42,13,51,14,1,14,2,14,3,14,4,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,39,14,40,14,41,14,42,14,43,15,1,15,2,15,3,15,4,15,5,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,38,15,39,15,40,15,41,15,42,15,43,16,1,16,2,16,3,16,4,16,5,16,6,16,21,16,22,16,23,16,24,16,25,16,26,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,38,16,39,16,40,16,41,16,42,16,43,16,44,17,1,17,2,17,3,17,4,17,5,17,21,17,22,17,23,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,18,1,18,2,18,3,18,6,18,7,18,25,18,26,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,44,18,50,18,51,19,1,19,2,19,5,19,6,19,7,19,8,19,14,19,24,19,25,19,26,19,27,19,28,19,32,19,33,19,34,19,47,19,48,19,49,19,50,19,51,20,4,20,5,20,6,20,7,20,8,20,9,20,12,20,13,20,14,20,15,20,26,20,27,20,28,20,29,20,30,20,36,20,37,20,38,20,39,20,48,20,49,20,50,21,5,21,6,21,7,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,23,21,24,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,45,21,46,21,49,22,1,22,2,22,3,22,14,22,15,22,16,22,17,22,18,22,19,22,22,22,23,22,24,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,44,22,45,22,46,22,47,22,48,22,51,23,1,23,2,23,3,23,4,23,5,23,14,23,15,23,16,23,17,23,18,23,19,23,21,23,22,23,23,23,24,23,31,23,32,23,33,23,34,23,35,23,36,23,44,23,45,23,46,23,47,23,48,23,51,24,1,24,2,24,3,24,4,24,5,24,6,24,15,24,16,24,17,24,18,24,19,24,21,24,22,24,23,24,24,24,31,24,32,24,33,24,34,24,35,24,43,24,44,24,45,24,46,24,47,24,48,24,51,25,1,25,2,25,3,25,4,25,5,25,6,25,19,25,21,25,22,25,23,25,24,25,43,25,44,25,45,25,46,25,47,25,48,25,51,26,1,26,2,26,3,26,4,26,5,26,6,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,29,26,30,26,33,26,34,26,42,26,43,26,44,26,45,26,46,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,28,27,29,27,30,27,31,27,33,27,34,27,42,27,43,27,48,27,49,27,50,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,27,28,28,28,29,28,30,28,31,28,33,28,34,28,45,28,46,28,47,28,48,28,49,28,50,29,12,29,13,29,14,29,15,29,16,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,27,29,28,29,29,29,30,29,31,29,34,29,44,29,45,29,46,29,47,29,48,29,49,29,50,30,1,30,2,30,4,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,27,30,28,30,40,30,41,30,42,30,45,30,46,30,47,30,48,30,49,30,50,31,1,31,2,31,4,31,5,31,30,31,31,31,32,31,33,31,34,31,35,31,38,31,39,31,40,31,41,31,42,31,43,31,45,31,46,31,47,31,48,31,49,31,50,32,1,32,2,32,4,32,5,32,6,32,19,32,20,32,21,32,22,32,23,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,38,32,39,32,40,32,41,32,42,32,43,32,46,32,47,32,48,32,49,33,1,33,2,33,4,33,5,33,6,33,7,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,39,33,40,33,41,33,42,33,43,33,44,33,46,33,47,34,1,34,2,34,4,34,5,34,6,34,7,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,35,1,35,2,35,4,35,5,35,6,35,7,35,8,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,32,35,33,35,34,35,35,35,36,36,15,36,16,36,20,36,21,36,22,36,23,37,14,37,15,37,16,37,17,37,18,37,34,37,35,37,38,37,41,37,42,37,43,37,44,37,45,37,46,38,8,38,9,38,10,38,11,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,34,38,35,38,37,38,38,38,39,38,42,38,43,38,44,38,45,38,46,38,47,38,48,39,7,39,8,39,9,39,10,39,11,39,12,39,13,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,33,39,34,39,35,39,37,39,38,39,39,39,40,39,43,39,44,39,45,39,46,39,47,39,48,39,49,40,7,40,8,40,9,40,10,40,11,40,12,40,13,40,14,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,32,40,33,40,34,40,37,40,38,40,39,40,40,40,41,40,43,40,44,40,45,40,46,40,47,40,48,40,49,41,6,41,7,41,8,41,9,41,10,41,11,41,12,41,13,41,14,41,17,41,18,41,19,41,20,41,21,41,22,41,23,41,31,41,32,41,33,41,34,41,36,41,37,41,38,41,39,41,40,41,41,41,51,42,6,42,7,42,8,42,9,42,10,42,11,42,12,42,13,42,14,42,15,42,19,42,20,42,21,42,22,42,23,42,32,42,33,42,34,42,36,42,37,42,38,42,39,42,49,42,50,42,51,43,49,43,50,43,51,44,1,44,2,44,3,44,4,44,8,44,9,44,10,44,11,44,12,44,13,44,14,44,29,44,30,44,31,44,33,44,34,44,35,44,36,44,37,44,38,44,40,44,41,44,42,44,48,44,49,44,50,44,51,45,1,45,2,45,3,45,4,45,5,45,6,45,9,45,10,45,11,45,12,45,13,45,23,45,24,45,25,45,26,45,28,45,29,45,30,45,35,45,36,45,37,45,38,45,40,45,41,45,42,45,43,45,44,45,51,46,1,46,2,46,3,46,4,46,5,46,6,46,7,46,9,46,10,46,11,46,12,46,13,46,22,46,23,46,24,46,25,46,26,46,40,46,41,46,42,46,43,46,44,46,46,46,47,46,48,46,49,47,2,47,3,47,4,47,5,47,7,47,8,47,10,47,11,47,12,47,21,47,22,47,23,47,42,47,43,47,44,47,46,47,47,47,48,47,49,47,50,48,7,48,8,48,11,48,12,48,25,48,26,48,27,48,39,48,40,48,41,48,46,48,47,48,48,48,49,48,50,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,40,49,41,49,42,49,43,49,44,49,45,50,6,50,7,50,8,50,9,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,20,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,40,50,41,50,42,50,43,50,44,51,6,51,7,51,8,51,9,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,21,51,24,51,25,51,26,51,27,51,28,51,29,51,41,51,42,51,43,51,44}; for i=1,2363,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0007(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {1,1,1,2,1,3,1,4,1,5,1,21,1,22,1,23,1,24,1,33,1,34,1,35,1,36,1,37,2,1,2,2,2,3,2,4,2,5,2,6,2,20,2,21,2,22,2,23,2,24,2,33,2,34,2,35,2,36,2,37,2,38,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,3,1,3,2,3,3,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,4,4,4,5,4,6,4,7,4,8,4,19,4,20,4,21,4,22,4,23,4,37,4,38,4,39,4,40,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,50,4,51,5,1,5,2,5,3,5,4,5,5,5,6,5,7,5,8,5,9,5,16,5,17,5,19,5,20,5,21,5,22,5,23,5,43,5,44,5,45,5,46,5,47,5,48,5,49,5,50,6,1,6,2,6,3,6,4,6,5,6,15,6,16,6,17,6,18,6,20,6,21,6,22,6,29,6,37,6,38,6,39,6,40,6,48,7,1,7,2,7,3,7,10,7,15,7,16,7,17,7,18,7,19,7,22,7,26,7,27,7,28,7,29,7,37,7,38,7,39,7,40,7,41,7,51,8,9,8,10,8,11,8,12,8,15,8,16,8,17,8,18,8,19,8,20,8,25,8,26,8,27,8,28,8,29,8,36,8,37,8,38,8,39,8,40,8,41,9,9,9,10,9,11,9,12,9,13,9,17,9,25,9,26,9,27,9,28,9,29,9,37,9,38,9,39,9,40,9,41,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,25,10,26,10,27,10,28,10,29,10,34,10,35,10,39,10,40,10,41,10,42,11,8,11,9,11,10,11,11,11,12,11,13,11,14,11,15,11,31,11,32,11,33,11,34,11,35,11,36,11,37,11,49,11,50,11,51,12,8,12,9,12,10,12,11,12,12,12,25,12,26,12,27,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,45,12,46,12,47,12,50,12,51,13,16,13,17,13,18,13,19,13,20,13,22,13,23,13,24,13,25,13,26,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,46,13,47,13,48,13,50,13,51,14,9,14,10,14,11,14,12,14,13,14,14,14,17,14,18,14,19,14,20,14,22,14,23,14,24,14,25,14,26,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,47,14,48,14,50,14,51,15,5,15,6,15,7,15,10,15,11,15,12,15,13,15,14,15,15,15,17,15,18,15,19,15,20,15,22,15,23,15,24,15,25,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,47,15,50,15,51,16,1,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,10,16,11,16,12,16,13,16,14,16,15,16,17,16,18,16,19,16,21,16,22,16,23,16,24,16,25,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,49,16,50,16,51,17,1,17,11,17,12,17,13,17,14,17,15,17,18,17,19,17,21,17,22,17,23,17,24,17,25,17,40,17,41,17,42,17,47,17,48,17,49,17,50,17,51,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,11,18,12,18,13,18,14,18,15,18,16,18,18,18,19,18,21,18,22,18,23,18,24,18,51,19,1,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,11,19,12,19,13,19,14,19,15,19,16,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,36,19,37,19,38,19,39,19,40,19,41,19,42,20,19,20,20,20,21,20,22,20,23,20,24,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,36,20,37,20,38,20,39,20,40,20,41,21,1,21,2,21,3,21,4,21,5,21,6,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,37,21,38,21,39,21,40,22,1,22,2,22,3,22,4,22,5,22,6,22,20,22,21,22,22,22,23,22,24,22,25,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,37,22,38,22,39,22,50,23,1,23,2,23,3,23,4,23,5,23,6,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,48,23,49,23,50,24,20,24,21,24,22,24,33,24,34,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,25,1,25,2,25,3,25,4,25,13,25,14,25,17,25,18,25,24,25,25,25,26,25,27,25,28,25,29,25,39,25,40,25,41,25,46,25,47,25,48,25,49,26,1,26,2,26,3,26,4,26,5,26,8,26,9,26,10,26,11,26,12,26,13,26,16,26,17,26,18,26,19,26,20,26,21,26,24,26,25,26,26,26,27,26,28,26,39,26,40,26,41,26,42,26,43,26,44,26,48,26,49,26,51,27,1,27,2,27,3,27,4,27,5,27,6,27,8,27,9,27,10,27,11,27,12,27,15,27,16,27,17,27,18,27,19,27,20,27,23,27,24,27,25,27,26,27,27,27,38,27,39,27,40,27,41,27,42,27,43,27,49,27,51,28,9,28,10,28,11,28,12,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,22,28,23,28,24,28,25,28,26,28,27,28,37,28,38,28,39,28,40,28,41,28,42,28,45,28,46,28,47,28,51,29,10,29,11,29,14,29,15,29,16,29,17,29,18,29,19,29,22,29,23,29,24,29,25,29,26,29,36,29,37,29,38,29,39,29,40,29,41,29,44,29,45,29,46,29,47,29,48,29,51,30,10,30,11,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,21,30,22,30,28,30,29,30,30,30,31,30,34,30,37,30,38,30,39,30,40,30,43,30,44,30,45,30,46,30,47,30,48,30,51,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,33,31,34,31,35,31,39,31,40,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,51,32,1,32,2,32,3,32,4,32,6,32,7,32,8,32,9,32,10,32,11,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,32,32,33,32,34,32,35,32,36,32,37,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,51,33,1,33,2,33,3,33,4,33,7,33,8,33,9,33,10,33,11,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,43,33,44,33,45,33,46,33,49,34,1,34,2,34,3,34,4,34,5,34,8,34,9,34,10,34,23,34,24,34,25,34,26,34,27,34,28,34,31,34,32,34,33,34,34,34,35,34,39,34,40,34,41,34,48,34,49,34,50,35,1,35,2,35,3,35,4,35,5,35,6,35,8,35,9,35,10,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,30,35,31,35,32,35,33,35,34,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,46,35,47,35,48,35,49,36,1,36,2,36,3,36,4,36,5,36,6,36,7,36,25,36,26,36,27,36,28,36,30,36,31,36,39,36,40,36,41,36,42,36,43,36,46,36,47,36,48,36,49,36,51,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,21,37,22,37,23,37,41,37,42,37,43,37,45,37,46,37,47,37,50,37,51,38,1,38,2,38,3,38,4,38,5,38,6,38,9,38,10,38,11,38,12,38,13,38,14,38,15,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,28,38,29,38,30,38,31,38,50,38,51,39,1,39,2,39,3,39,4,39,5,39,6,39,7,39,8,39,10,39,11,39,12,39,13,39,14,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,26,39,27,39,28,39,29,39,30,39,31,39,41,39,42,39,46,39,47,39,48,39,51,40,1,40,2,40,3,40,4,40,5,40,6,40,7,40,8,40,11,40,12,40,13,40,14,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,40,40,41,40,42,40,43,40,44,40,46,40,47,40,48,40,49,40,51,41,7,41,8,41,11,41,12,41,13,41,16,41,17,41,18,41,19,41,20,41,21,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,39,41,40,41,41,41,42,41,43,41,44,41,46,41,47,41,51,42,15,42,16,42,17,42,18,42,19,42,20,42,21,42,38,42,39,42,40,42,41,42,42,42,43,42,44,42,51,43,8,43,9,43,10,43,11,43,16,43,17,43,18,43,19,43,20,43,28,43,29,43,30,43,31,43,37,43,38,43,39,43,40,43,41,43,51,44,6,44,7,44,8,44,9,44,10,44,13,44,14,44,15,44,27,44,28,44,29,44,30,44,31,44,32,44,51,45,4,45,5,45,6,45,7,45,8,45,9,45,12,45,13,45,14,45,15,45,16,45,17,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,34,45,35,45,36,45,37,45,38,45,39,45,40,45,41,45,50,45,51,46,4,46,5,46,6,46,7,46,8,46,9,46,11,46,12,46,13,46,14,46,15,46,16,46,17,46,25,46,26,46,27,46,28,46,29,46,30,46,31,46,32,46,34,46,35,46,36,46,37,46,38,46,39,46,40,46,41,46,48,46,49,46,50,46,51,47,1,47,2,47,3,47,4,47,5,47,6,47,7,47,8,47,9,47,15,47,16,47,17,47,31,47,32,47,34,47,35,47,36,47,37,47,38,47,39,47,40,47,45,47,46,47,47,47,48,47,49,47,50,47,51,48,1,48,2,48,3,48,4,48,5,48,11,48,12,48,13,48,23,48,24,48,27,48,28,48,29,48,30,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,21,49,22,49,23,49,24,49,25,49,28,49,29,49,30,49,31,49,32,49,33,49,42,49,43,49,44,49,45,49,46,49,47,49,48,49,51,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,22,50,23,50,24,50,25,50,26,50,28,50,29,50,30,50,31,50,32,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,50,50,51,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,22,51,23,51,24,51,25,51,26,51,29,51,30,51,31,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,49,51,50,51,51}; for i=1,2457,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0009(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,14,12,14,25,14,38,15,12,15,25,15,38,16,12,16,25,16,38,17,12,17,25,17,38,18,12,18,25,18,38,19,12,19,25,19,38,20,12,20,25,20,38,21,12,21,25,21,38,22,12,22,25,22,38,23,12,23,25,23,38,24,12,24,25,24,38,25,12,25,25,25,38,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,27,12,27,25,27,38,28,12,28,25,28,38,29,12,29,25,29,38,30,12,30,25,30,38,31,12,31,25,31,38,32,12,32,25,32,38,33,12,33,25,33,38,34,12,34,25,34,38,35,12,35,25,35,38,36,12,36,25,36,38,37,12,37,25,37,38,38,12,38,25,38,38,39,12,39,13,39,14,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38}; for i=1,305,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0010(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52}; for i=1,423,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_building_0011(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,14,12,14,25,14,38,15,12,15,25,15,38,16,12,16,25,16,38,17,12,17,25,17,38,18,12,18,25,18,38,19,12,19,25,19,38,20,12,20,25,20,38,21,12,21,25,21,38,22,12,22,25,22,38,23,12,23,25,23,38,24,12,24,25,24,38,25,12,25,25,25,38,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,27,12,27,25,27,38,28,12,28,25,28,38,29,12,29,25,29,38,30,12,30,25,30,38,31,12,31,25,31,38,32,12,32,25,32,38,33,12,33,25,33,38,34,12,34,25,34,38,35,12,35,25,35,38,36,12,36,25,36,38,37,12,37,25,37,38,38,12,38,25,38,38,39,12,39,13,39,14,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38}; for i=1,729,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_cave_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,4,0,4,1,4,2,4,3,4,4,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,50,4,51,4,52,5,0,5,1,5,2,5,3,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,49,5,50,5,51,5,52,6,0,6,1,6,2,6,3,6,4,6,5,6,6,6,7,6,8,6,9,6,43,6,44,6,45,6,46,6,47,6,48,6,49,6,50,6,51,6,52,7,0,7,1,7,2,7,3,7,4,7,5,7,6,7,7,7,8,7,44,7,45,7,46,7,47,7,48,7,49,7,50,7,51,7,52,8,0,8,1,8,2,8,3,8,4,8,5,8,6,8,7,8,45,8,46,8,47,8,48,8,49,8,50,8,51,8,52,9,0,9,1,9,2,9,3,9,4,9,5,9,6,9,46,9,47,9,48,9,49,9,50,9,51,9,52,10,0,10,1,10,2,10,3,10,4,10,5,10,47,10,48,10,49,10,50,10,51,10,52,11,0,11,1,11,2,11,3,11,4,11,48,11,49,11,50,11,51,11,52,12,0,12,1,12,2,12,3,12,49,12,50,12,51,12,52,13,0,13,1,13,2,13,3,13,49,13,50,13,51,13,52,14,0,14,1,14,2,14,50,14,51,14,52,15,0,15,1,15,2,15,50,15,51,15,52,16,0,16,1,16,51,16,52,17,0,17,1,17,51,17,52,18,0,18,1,18,51,18,52,19,0,19,52,20,0,20,52,21,0,21,52,22,0,22,52,23,0,23,52,24,0,24,52,25,0,25,52,26,0,26,52,27,0,27,52,28,0,28,52,29,0,29,52,30,0,30,52,31,0,31,52,32,0,32,52,33,0,33,52,34,0,34,1,34,51,34,52,35,0,35,1,35,51,35,52,36,0,36,1,36,51,36,52,37,0,37,1,37,2,37,50,37,51,37,52,38,0,38,1,38,2,38,50,38,51,38,52,39,0,39,1,39,2,39,3,39,49,39,50,39,51,39,52,40,0,40,1,40,2,40,3,40,49,40,50,40,51,40,52,41,0,41,1,41,2,41,3,41,4,41,48,41,49,41,50,41,51,41,52,42,0,42,1,42,2,42,3,42,4,42,5,42,47,42,48,42,49,42,50,42,51,42,52,43,0,43,1,43,2,43,3,43,4,43,5,43,6,43,46,43,47,43,48,43,49,43,50,43,51,43,52,44,0,44,1,44,2,44,3,44,4,44,5,44,6,44,7,44,45,44,46,44,47,44,48,44,49,44,50,44,51,44,52,45,0,45,1,45,2,45,3,45,4,45,5,45,6,45,7,45,8,45,44,45,45,45,46,45,47,45,48,45,49,45,50,45,51,45,52,46,0,46,1,46,2,46,3,46,4,46,5,46,6,46,7,46,8,46,9,46,43,46,44,46,45,46,46,46,47,46,48,46,49,46,50,46,51,46,52,47,0,47,1,47,2,47,3,47,4,47,5,47,6,47,7,47,8,47,9,47,10,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,47,50,47,51,47,52,48,0,48,1,48,2,48,3,48,4,48,5,48,6,48,7,48,8,48,9,48,10,48,11,48,41,48,42,48,43,48,44,48,45,48,46,48,47,48,48,48,49,48,50,48,51,48,52,49,0,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,39,49,40,49,41,49,42,49,43,49,44,49,45,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,0,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,1367,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_cave_0002(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {2,49,3,3,3,13,3,18,3,29,3,38,7,41,8,26,9,21,10,13,11,33,11,45,13,5,15,18,15,51,17,2,17,24,17,38,19,52,20,16,20,27,20,44,21,34,22,5,22,10,23,17,24,21,27,0,27,39,27,49,28,22,28,32,30,17,31,10,33,5,33,50,34,35,34,45,35,16,35,24,37,28,38,16,39,6,39,20,39,31,39,50,40,9,40,43,43,23,43,37,45,4,45,15,46,29,47,47,48,33,48,40,49,6,49,23,51,13}; for i=1,117,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_cave_0003(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,2,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,3,21,4,21,6,21,7,21,9,21,10,21,12,21,13,21,16,21,17,21,19,21,20,21,22,21,23,21,25,21,26,21,28,21,29,21,31,21,32,21,34,21,35,21,37,21,38,21,41,21,42,21,44,21,45,21,47,21,48,21,50,21,51,22,3,22,4,22,6,22,7,22,9,22,10,22,12,22,13,22,16,22,17,22,19,22,20,22,22,22,23,22,25,22,26,22,28,22,29,22,31,22,32,22,34,22,35,22,37,22,38,22,41,22,42,22,44,22,45,22,47,22,48,22,50,22,51,23,3,23,4,23,6,23,7,23,9,23,10,23,12,23,13,23,16,23,17,23,19,23,20,23,22,23,23,23,25,23,26,23,28,23,29,23,31,23,32,23,34,23,35,23,37,23,38,23,41,23,42,23,44,23,45,23,47,23,48,23,50,23,51,24,3,24,4,24,6,24,7,24,9,24,10,24,12,24,13,24,16,24,17,24,19,24,20,24,22,24,23,24,25,24,26,24,28,24,29,24,31,24,32,24,34,24,35,24,37,24,38,24,41,24,42,24,44,24,45,24,47,24,48,24,50,24,51,25,3,25,4,25,6,25,7,25,9,25,10,25,12,25,13,25,16,25,17,25,19,25,20,25,22,25,23,25,25,25,26,25,28,25,29,25,31,25,32,25,34,25,35,25,37,25,38,25,41,25,42,25,44,25,45,25,47,25,48,25,50,25,51,26,3,26,4,26,6,26,7,26,9,26,10,26,12,26,13,26,16,26,17,26,19,26,20,26,22,26,23,26,25,26,26,26,28,26,29,26,31,26,32,26,34,26,35,26,37,26,38,26,41,26,42,26,44,26,45,26,47,26,48,26,50,26,51,27,3,27,4,27,6,27,7,27,9,27,10,27,12,27,13,27,16,27,17,27,19,27,20,27,22,27,23,27,25,27,26,27,28,27,29,27,31,27,32,27,34,27,35,27,37,27,38,27,41,27,42,27,44,27,45,27,47,27,48,27,50,27,51,28,3,28,4,28,6,28,7,28,9,28,10,28,12,28,13,28,16,28,17,28,19,28,20,28,22,28,23,28,25,28,26,28,28,28,29,28,31,28,32,28,34,28,35,28,37,28,38,28,41,28,42,28,44,28,45,28,47,28,48,28,50,28,51,29,3,29,4,29,6,29,7,29,9,29,10,29,12,29,13,29,16,29,17,29,19,29,20,29,22,29,23,29,25,29,26,29,28,29,29,29,31,29,32,29,34,29,35,29,37,29,38,29,41,29,42,29,44,29,45,29,47,29,48,29,50,29,51,30,3,30,4,30,6,30,7,30,9,30,10,30,12,30,13,30,16,30,17,30,19,30,20,30,22,30,23,30,25,30,26,30,28,30,29,30,31,30,32,30,34,30,35,30,37,30,38,30,41,30,42,30,44,30,45,30,47,30,48,30,50,30,51,31,3,31,4,31,6,31,7,31,9,31,10,31,12,31,13,31,16,31,17,31,19,31,20,31,22,31,23,31,25,31,26,31,28,31,29,31,31,31,32,31,34,31,35,31,37,31,38,31,41,31,42,31,44,31,45,31,47,31,48,31,50,31,51,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,2,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,2,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,36,2,36,3,36,4,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,36,50,36,51,36,52}; for i=1,1723,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_common_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); if true == true then return; end for i=1,-1,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_common_0002(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); if true == true then return; end for i=1,-1,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_common_0003(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,20,5,21,5,22,5,23,5,24,5,25,5,26,5,27,5,28,5,29,5,30,5,31,5,32,5,33,5,34,5,35,5,36,5,37,5,38,5,39,5,40,5,41,5,42,5,43,6,8,6,27,6,28,6,29,6,30,6,31,6,32,6,33,6,34,6,35,6,36,6,37,6,38,6,39,6,40,6,42,6,43,7,8,7,11,7,12,7,13,7,14,7,15,7,16,7,17,7,18,7,19,7,20,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,42,7,43,8,8,8,11,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,8,37,8,38,8,39,8,40,8,42,8,43,9,8,9,11,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,42,9,43,10,8,10,11,10,12,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,27,10,39,10,40,10,42,10,43,11,8,11,9,11,10,11,11,11,12,11,14,11,15,11,17,11,18,11,20,11,21,11,22,11,23,11,24,11,25,11,26,11,27,11,39,11,40,11,42,11,43,12,8,12,9,12,10,12,11,12,12,12,14,12,15,12,17,12,18,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,39,12,40,12,42,12,43,13,8,13,9,13,10,13,11,13,12,13,14,13,15,13,17,13,18,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,39,13,40,13,42,13,43,14,8,14,9,14,10,14,11,14,12,14,14,14,15,14,17,14,18,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,39,14,40,14,42,14,43,15,8,15,9,15,10,15,11,15,12,15,39,15,40,15,42,15,43,16,8,16,9,16,10,16,11,16,12,16,14,16,15,16,17,16,18,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,39,16,40,16,42,16,43,17,8,17,9,17,10,17,11,17,12,17,14,17,15,17,17,17,18,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,39,17,40,17,42,17,43,18,8,18,9,18,10,18,11,18,12,18,14,18,15,18,17,18,18,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,39,18,40,18,42,18,43,19,8,19,9,19,10,19,11,19,12,19,14,19,15,19,17,19,18,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,39,19,40,19,42,19,43,20,8,20,9,20,10,20,11,20,12,20,14,20,15,20,17,20,18,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,39,20,40,20,42,20,43,21,8,21,9,21,10,21,11,21,12,21,14,21,15,21,17,21,18,21,20,21,21,21,22,21,23,21,24,21,25,21,39,21,40,21,42,21,43,22,8,22,9,22,10,22,11,22,12,22,14,22,15,22,17,22,18,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,39,22,40,22,42,22,43,23,8,23,9,23,10,23,11,23,12,23,14,23,15,23,17,23,18,23,20,23,21,23,22,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,39,23,40,23,42,23,43,24,8,24,9,24,10,24,11,24,12,24,14,24,15,24,17,24,18,24,20,24,21,24,22,24,33,24,34,24,39,24,40,24,42,24,43,25,8,25,9,25,10,25,11,25,12,25,14,25,15,25,17,25,18,25,20,25,21,25,22,25,28,25,33,25,34,25,39,25,40,25,42,25,43,26,8,26,9,26,10,26,11,26,12,26,14,26,15,26,17,26,18,26,20,26,21,26,22,26,26,26,27,26,28,26,33,26,34,26,39,26,40,26,42,26,43,27,8,27,9,27,10,27,11,27,12,27,14,27,15,27,17,27,18,27,20,27,21,27,22,27,28,27,33,27,34,27,39,27,40,27,42,27,43,28,8,28,9,28,10,28,11,28,12,28,14,28,15,28,17,28,18,28,20,28,21,28,22,28,33,28,34,28,39,28,40,28,42,28,43,29,8,29,9,29,10,29,11,29,12,29,14,29,15,29,17,29,18,29,20,29,21,29,22,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,39,29,40,29,42,29,43,30,8,30,9,30,10,30,11,30,12,30,14,30,15,30,17,30,18,30,20,30,21,30,22,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,39,30,40,30,42,30,43,31,8,31,9,31,10,31,11,31,12,31,14,31,15,31,17,31,18,31,20,31,21,31,22,31,23,31,24,31,39,31,40,31,42,31,43,32,8,32,9,32,10,32,11,32,12,32,14,32,15,32,17,32,18,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,39,32,40,32,42,32,43,33,8,33,9,33,10,33,11,33,12,33,14,33,15,33,17,33,18,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,39,33,40,33,42,33,43,34,8,34,9,34,10,34,11,34,12,34,14,34,15,34,17,34,18,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,39,34,40,34,42,34,43,35,8,35,9,35,10,35,11,35,12,35,14,35,15,35,17,35,18,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,39,35,40,35,42,35,43,36,8,36,9,36,10,36,11,36,12,36,14,36,15,36,17,36,18,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,39,36,40,36,42,36,43,37,8,37,9,37,10,37,11,37,12,37,14,37,15,37,17,37,18,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,39,37,40,37,42,37,43,38,8,38,9,38,10,38,11,38,12,38,39,38,40,38,42,38,43,39,8,39,9,39,10,39,11,39,12,39,14,39,15,39,17,39,18,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,39,39,40,39,42,39,43,40,8,40,9,40,10,40,11,40,12,40,14,40,15,40,17,40,18,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,39,40,40,40,42,40,43,41,8,41,9,41,10,41,11,41,12,41,14,41,15,41,17,41,18,41,20,41,21,41,22,41,23,41,24,41,25,41,26,41,27,41,39,41,40,41,42,41,43,42,8,42,9,42,10,42,11,42,12,42,14,42,15,42,17,42,18,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,39,42,40,42,42,42,43,43,8,43,11,43,12,43,13,43,14,43,15,43,16,43,17,43,18,43,19,43,20,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,31,43,32,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,42,43,43,44,8,44,11,44,12,44,13,44,14,44,15,44,16,44,17,44,18,44,19,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,34,44,35,44,36,44,37,44,38,44,39,44,40,44,42,44,43,45,8,45,11,45,12,45,13,45,14,45,15,45,16,45,17,45,18,45,19,45,20,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,33,45,34,45,35,45,36,45,37,45,38,45,39,45,40,45,42,45,43,46,8,46,27,46,28,46,29,46,30,46,31,46,32,46,33,46,34,46,35,46,36,46,37,46,38,46,39,46,40,46,42,46,43,47,8,47,27,47,28,47,29,47,30,47,31,47,32,47,33,47,34,47,35,47,36,47,37,47,38,47,39,47,40,47,42,47,43,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,16,48,17,48,18,48,19,48,20,48,21,48,22,48,23,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,39,48,40,48,41,48,42,48,43}; for i=1,1977,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_common_0004(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {6,8,6,9,6,10,6,11,6,12,6,13,6,14,6,15,6,16,6,17,6,18,6,19,6,20,6,21,6,22,6,23,6,24,6,25,6,26,6,27,6,28,6,29,7,8,7,9,7,10,7,11,7,12,7,13,7,14,7,15,7,16,7,17,7,18,7,19,7,20,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,28,7,29,8,8,8,9,8,28,8,29,9,8,9,9,9,28,9,29,10,8,10,9,10,12,10,21,10,28,10,29,11,8,11,9,11,12,11,20,11,21,11,28,11,29,12,8,12,9,12,13,12,20,12,28,12,29,13,8,13,9,13,13,13,20,13,21,13,28,13,29,14,8,14,9,14,14,14,21,14,28,14,29,15,8,15,9,15,14,15,21,15,28,15,29,16,8,16,9,16,14,16,21,16,28,16,29,17,8,17,9,17,28,17,29,18,8,18,9,18,28,18,29,19,8,19,9,19,17,19,28,19,29,20,8,20,9,20,17,20,18,20,28,20,29,21,8,21,9,21,18,21,22,21,28,21,29,22,8,22,9,22,18,22,23,22,28,22,29,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,18,23,19,23,23,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,19,24,23,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,23,25,24,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,25,52,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,24,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,27,8,27,9,27,24,27,28,27,29,28,8,28,9,28,15,28,24,28,28,28,29,29,8,29,9,29,15,29,28,29,29,30,8,30,9,30,15,30,21,30,28,30,29,31,8,31,9,31,15,31,21,31,28,31,29,32,8,32,9,32,14,32,15,32,21,32,28,32,29,33,8,33,9,33,14,33,21,33,28,33,29,34,8,34,9,34,13,34,14,34,20,34,21,34,28,34,29,35,8,35,9,35,19,35,20,35,28,35,29,36,8,36,9,36,18,36,19,36,28,36,29,37,8,37,9,37,28,37,29,38,8,38,9,38,28,38,29,39,8,39,9,39,28,39,29,40,8,40,9,40,28,40,29,41,8,41,9,41,28,41,29,42,8,42,9,42,10,42,11,42,12,42,13,42,14,42,15,42,16,42,17,42,18,42,19,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,43,8,43,9,43,10,43,11,43,12,43,13,43,14,43,15,43,16,43,17,43,18,43,19,43,20,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29}; for i=1,771,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_desert1(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {11,40,11,41,11,42,12,14,12,38,12,40,12,41,12,42,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,40,13,41,13,42,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,14,39,14,40,14,41,14,42,15,7,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,39,15,40,15,41,15,42,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,39,16,40,16,41,16,42,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,38,17,39,17,40,17,41,17,42,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,38,18,39,18,40,18,41,18,42,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,37,19,38,19,39,19,40,19,41,19,42,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,37,20,38,20,39,20,40,20,41,20,42,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,37,21,38,21,39,21,40,21,41,21,42,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,37,22,38,22,39,22,40,22,41,22,42,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,38,23,39,23,40,23,41,23,42,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,39,24,40,24,41,24,42,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,40,25,41,25,42,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,42,26,43,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,43,28,4,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,29,11,29,12,29,13,29,14,29,15,29,16,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,30,17,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,45,32,16,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,25,38,26,38,27,38,28,38,29,39,16,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,40,18,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39,40,40,41,19,41,20,41,21,41,22,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,38,41,39,41,40,41,41,41,42,41,43,42,19,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,42,30,42,31,42,32,42,33,42,34,42,35,42,36,42,37,42,38,42,39,42,40,42,41,42,42,42,43,43,20,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,31,43,32,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,41,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,34,44,35,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,33,46,34}; for i=1,1875,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_desert2(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {13,19,13,20,14,15,14,16,14,17,14,18,14,19,14,20,14,21,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,44,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,42,19,43,19,44,19,45,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,40,20,41,20,42,20,43,20,44,20,45,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,28,23,29,23,30,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,27,29,28,29,29,29,30,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,42,31,43,31,44,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,41,32,43,32,44,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,42,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,36,13,36,14,36,15,36,16,36,17,36,18,36,19,37,13,37,14,37,15,37,16,37,17,37,18,37,19,38,14,38,15,38,16,38,17,38,18,39,16,39,17,39,18}; for i=1,959,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0006(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,4,1,5,1,6,1,7,1,8,1,9,1,14,1,15,1,16,1,17,1,18,1,19,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,40,1,41,1,42,1,43,1,44,1,49,1,50,1,51,1,52,2,0,2,5,2,6,2,7,2,8,2,9,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,33,2,34,2,35,2,36,2,41,2,42,2,43,2,44,2,48,2,49,2,50,2,51,2,52,3,0,3,5,3,6,3,7,3,8,3,9,3,10,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,26,3,27,3,28,3,29,3,30,3,34,3,35,3,36,3,41,3,42,3,43,3,44,3,45,3,47,3,48,3,49,3,50,3,51,3,52,4,0,4,1,4,4,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,12,4,13,4,14,4,15,4,16,4,17,4,18,4,19,4,20,4,21,4,22,4,27,4,28,4,29,4,30,4,34,4,35,4,36,4,37,4,40,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,52,5,0,5,1,5,2,5,3,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,20,5,21,5,22,5,27,5,28,5,29,5,30,5,33,5,34,5,35,5,36,5,37,5,38,5,39,5,40,5,41,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,52,6,0,6,1,6,2,6,3,6,4,6,5,6,47,6,48,6,52,7,0,7,1,7,2,7,3,7,4,7,5,7,47,7,48,7,49,7,52,8,0,8,1,8,2,8,3,8,4,8,5,8,47,8,48,8,49,8,50,8,51,8,52,9,0,9,1,9,4,9,5,9,47,9,48,9,49,9,50,9,51,9,52,10,0,10,5,10,48,10,49,10,50,10,51,10,52,11,0,11,5,11,47,11,48,11,49,11,50,11,51,11,52,12,0,12,1,12,4,12,5,12,47,12,48,12,49,12,50,12,51,12,52,13,0,13,1,13,2,13,3,13,4,13,5,13,47,13,48,13,49,13,50,13,51,13,52,14,0,14,1,14,2,14,3,14,4,14,5,14,47,14,48,14,49,14,50,14,52,15,0,15,1,15,2,15,3,15,4,15,5,15,47,15,48,15,49,15,50,15,52,16,0,16,1,16,2,16,3,16,4,16,5,16,47,16,48,16,49,16,50,16,51,16,52,17,0,17,2,17,3,17,4,17,5,17,48,17,49,17,50,17,51,17,52,18,0,18,2,18,3,18,4,18,5,18,49,18,50,18,51,18,52,19,0,19,1,19,2,19,3,19,4,19,5,19,49,19,50,19,51,19,52,20,0,20,1,20,2,20,3,20,4,20,5,20,26,20,27,20,28,20,48,20,49,20,50,20,51,20,52,21,0,21,1,21,2,21,3,21,4,21,5,21,25,21,26,21,27,21,28,21,29,21,47,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,4,22,5,22,25,22,26,22,27,22,28,22,29,22,47,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,4,23,5,23,25,23,26,23,27,23,28,23,29,23,47,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,4,24,5,24,26,24,27,24,28,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,2,25,3,25,4,25,5,25,47,25,48,25,49,25,50,25,51,25,52,26,0,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,0,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,50,27,51,27,52,28,0,28,2,28,3,28,4,28,5,28,51,28,52,29,0,29,1,29,2,29,3,29,4,29,5,29,26,29,27,29,28,29,51,29,52,30,0,30,1,30,2,30,3,30,4,30,5,30,25,30,26,30,27,30,28,30,29,30,47,30,48,30,49,30,50,30,51,30,52,31,0,31,1,31,2,31,3,31,4,31,5,31,25,31,26,31,27,31,28,31,29,31,47,31,48,31,49,31,50,31,51,31,52,32,0,32,1,32,2,32,3,32,4,32,5,32,25,32,26,32,27,32,28,32,29,32,47,32,48,32,49,32,50,32,51,32,52,33,0,33,2,33,3,33,4,33,5,33,26,33,27,33,28,33,47,33,48,33,51,33,52,34,0,34,2,34,3,34,4,34,5,34,47,34,52,35,0,35,1,35,2,35,3,35,4,35,5,35,47,35,52,36,0,36,1,36,2,36,3,36,4,36,5,36,47,36,48,36,51,36,52,37,0,37,1,37,2,37,3,37,4,37,5,37,47,37,48,37,49,37,50,37,51,37,52,38,0,38,1,38,2,38,3,38,4,38,5,38,47,38,48,38,49,38,50,38,51,38,52,39,0,39,1,39,2,39,3,39,4,39,5,39,47,39,48,39,49,39,50,39,51,39,52,40,0,40,1,40,2,40,3,40,4,40,5,40,47,40,48,40,49,40,50,40,51,40,52,41,0,41,1,41,4,41,5,41,47,41,48,41,49,41,50,41,51,41,52,42,0,42,5,42,47,42,48,42,51,42,52,43,0,43,5,43,47,43,52,44,0,44,1,44,4,44,5,44,47,44,52,45,0,45,1,45,2,45,3,45,4,45,5,45,47,45,48,45,51,45,52,46,0,46,1,46,2,46,3,46,4,46,5,46,47,46,48,46,49,46,50,46,51,46,52,47,0,47,1,47,2,47,3,47,4,47,5,47,6,47,7,47,8,47,9,47,10,47,11,47,12,47,13,47,14,47,15,47,16,47,17,47,18,47,19,47,20,47,21,47,22,47,25,47,26,47,27,47,28,47,29,47,30,47,31,47,32,47,33,47,34,47,35,47,36,47,37,47,38,47,39,47,40,47,41,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,47,50,47,51,47,52,48,0,48,1,48,2,48,5,48,6,48,7,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,18,48,19,48,20,48,21,48,22,48,23,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,39,48,40,48,41,48,42,48,43,48,44,48,46,48,47,48,48,48,49,48,50,48,51,48,52,49,0,49,1,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,19,49,20,49,21,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,29,49,32,49,33,49,34,49,35,49,40,49,41,49,42,49,43,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,0,50,1,50,6,50,7,50,8,50,9,50,12,50,13,50,14,50,15,50,16,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,33,50,34,50,35,50,40,50,41,50,42,50,43,50,46,50,47,50,48,50,52,51,0,51,1,51,2,51,5,51,6,51,7,51,8,51,13,51,14,51,15,51,16,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,33,51,34,51,35,51,36,51,39,51,40,51,41,51,42,51,43,51,44,51,46,51,47,51,48,51,49,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,2085,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0008(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,11,10,12,10,50,10,51,11,7,11,8,11,9,11,10,11,11,11,12,11,46,11,47,11,48,11,49,11,50,11,51,12,5,12,6,12,7,12,8,12,9,12,10,12,44,12,45,12,46,12,47,12,48,12,49,13,5,13,6,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,16,6,16,7,16,8,16,17,16,45,16,46,16,47,17,6,17,7,17,8,17,12,17,13,17,14,17,17,17,45,17,46,17,47,18,6,18,7,18,8,18,11,18,15,18,17,18,23,18,31,18,37,18,45,18,46,18,47,19,6,19,7,19,8,19,11,19,15,19,17,19,23,19,31,19,37,19,45,19,46,19,47,20,6,20,7,20,8,20,11,20,15,20,17,20,23,20,31,20,37,20,45,20,46,20,47,21,6,21,7,21,8,21,11,21,15,21,17,21,23,21,31,21,37,21,45,21,46,21,47,22,6,22,7,22,8,22,11,22,15,22,17,22,23,22,24,22,31,22,32,22,37,22,45,22,46,22,47,23,6,23,7,23,8,23,11,23,15,23,17,23,25,23,32,23,37,23,38,23,45,23,46,23,47,24,6,24,7,24,8,24,11,24,15,24,17,24,25,24,32,24,38,24,39,24,45,24,46,24,47,25,6,25,7,25,8,25,11,25,15,25,17,25,25,25,32,25,39,25,45,25,46,25,47,26,6,26,7,26,8,26,11,26,15,26,17,26,25,26,32,26,39,26,45,26,46,26,47,27,6,27,7,27,8,27,11,27,15,27,17,27,24,27,25,27,32,27,39,27,45,27,46,27,47,28,6,28,7,28,8,28,11,28,15,28,17,28,24,28,32,28,39,28,45,28,46,28,47,29,6,29,7,29,8,29,11,29,15,29,17,29,24,29,31,29,32,29,38,29,39,29,45,29,46,29,47,30,6,30,7,30,8,30,11,30,15,30,17,30,24,30,31,30,38,30,45,30,46,30,47,31,6,31,7,31,8,31,11,31,15,31,17,31,24,31,31,31,45,31,46,31,47,32,6,32,7,32,8,32,11,32,15,32,17,32,24,32,31,32,45,32,46,32,47,33,6,33,7,33,8,33,12,33,13,33,14,33,17,33,45,33,46,33,47,34,6,34,7,34,8,34,17,34,45,34,46,34,47,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,37,5,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,38,5,38,6,38,7,38,8,38,9,38,10,38,44,38,45,38,46,38,47,38,48,38,49,39,7,39,8,39,9,39,10,39,11,39,12,39,46,39,47,39,48,39,49,39,50,39,51,40,11,40,12,40,50,40,51}; for i=1,1057,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0009(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,26,2,39,2,40,2,41,3,2,3,3,3,4,3,5,3,6,3,7,3,9,3,10,3,11,3,12,3,13,3,14,3,15,4,32,4,33,4,34,4,35,4,36,4,38,4,40,4,42,4,43,4,44,4,45,4,46,5,21,5,26,5,29,5,32,5,34,5,35,5,36,5,39,5,40,5,41,6,4,6,13,6,14,6,15,6,21,6,22,6,23,6,24,6,28,6,29,6,30,7,27,7,28,7,29,8,4,8,5,8,6,8,7,8,8,8,9,8,10,8,11,8,12,8,16,8,17,8,18,8,19,8,30,8,31,8,32,8,33,8,35,8,36,8,37,8,38,8,39,9,4,9,5,9,6,9,7,9,8,9,15,9,17,9,18,9,20,9,22,9,27,9,28,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,9,44,9,45,9,46,10,28,10,30,10,31,10,32,10,34,10,36,10,37,10,40,10,41,10,42,10,43,10,44,11,4,12,1,12,2,14,14,14,15,14,16,14,19,14,20,14,21,14,22,14,23,14,39,14,41,14,42,14,43,14,44,14,45,14,47,14,48,14,49,16,49,16,50,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,42,20,18,20,21,20,24,20,26,20,27,20,28,20,29,20,30,20,31,20,40,20,41,20,42,20,43,20,44,20,46,20,47,20,48,20,49,20,50,23,7,23,9,23,10,23,43,23,44,24,7,24,9,25,32,25,33,25,34,25,36,25,37,25,38,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,10,29,16,29,22,29,23,29,25,31,39,31,40,31,41,31,42,31,43,31,46,31,47,31,48,31,49,31,50,31,51,32,18,32,20,32,31,32,32,32,33,32,34,33,32,33,33,33,34,34,22,34,23,35,47,35,48,35,49,35,50,35,51,37,8,37,9,37,10,37,11,37,12,37,13,37,29,37,30,40,16,41,49,41,50,41,51,42,20,42,21,42,22,42,28,42,29,42,30,42,32,42,33,42,34,42,35,42,36,42,38,42,47,42,48,42,49,42,50,42,51,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,33,43,35,43,36,43,37,43,47,43,48,43,49,44,18,44,19,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,28,44,29,44,31,44,32,44,34,44,35,44,36,44,37,44,38,44,39,44,40,44,42,44,44,44,45,46,14,46,15,46,18,46,19,46,20,46,23,46,24,46,25,46,27,46,28,46,29,46,30,46,31,46,32,46,34,46,36,46,51,47,8,47,9,47,15,47,16,47,18,47,19,50,33,50,34,50,38,50,39,50,41,50,42,50,43,50,44,51,39,51,40,51,42,51,43,51,45,51,46,51,48,51,49,51,50}; for i=1,667,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0011(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {1,2,1,3,1,4,1,6,1,7,1,9,1,10,1,12,1,13,2,8,2,9,2,10,2,11,2,13,2,14,2,18,2,19,5,33,5,34,5,36,5,37,5,43,5,44,6,1,6,16,6,18,6,20,6,21,6,22,6,23,6,24,6,25,6,27,6,28,6,29,6,32,6,33,6,37,6,38,8,7,8,8,8,10,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,20,8,21,8,23,8,24,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,9,3,9,4,9,5,9,15,9,16,9,17,9,19,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,10,1,10,2,10,3,10,4,10,5,10,14,10,16,10,17,10,18,10,19,10,20,10,22,10,23,10,24,10,30,10,31,10,32,11,1,11,2,11,3,12,36,15,22,15,23,15,39,15,40,15,41,15,42,15,43,15,44,17,1,17,2,17,3,17,4,17,5,18,29,18,30,19,18,19,19,19,20,20,18,20,19,20,20,20,21,20,32,20,34,21,1,21,2,21,3,21,4,21,5,21,6,21,9,21,10,21,11,21,12,21,13,23,27,23,29,23,30,23,36,25,42,25,44,25,45,25,46,25,47,25,48,25,49,25,50,27,14,27,15,27,16,27,18,27,19,27,20,28,43,28,45,29,8,29,9,29,42,29,43,29,45,32,2,32,3,32,4,32,5,32,6,32,8,32,9,32,10,32,11,32,12,32,21,32,22,32,23,32,24,32,25,32,26,32,28,32,31,32,34,33,10,33,15,33,16,33,17,33,18,33,19,33,20,33,21,36,2,36,3,38,3,38,4,38,5,38,7,38,8,38,9,38,10,38,11,38,13,38,29,38,30,38,31,38,32,38,33,38,36,38,37,38,38,40,50,40,51,41,48,42,8,42,9,42,10,42,11,42,12,42,15,42,16,42,18,42,20,42,21,42,22,42,24,43,6,43,7,43,8,43,9,43,10,43,11,43,12,43,13,43,14,43,15,43,16,43,17,43,18,43,19,43,20,43,21,43,22,43,24,43,25,43,30,43,32,43,34,43,35,43,37,43,44,43,45,43,46,43,47,43,48,44,13,44,14,44,15,44,16,44,17,44,19,44,20,44,21,44,22,44,33,44,34,44,35,44,36,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,44,48,45,23,45,24,45,25,46,22,46,23,46,24,46,28,46,29,46,30,46,31,46,36,46,37,46,38,46,39,46,48,47,11,47,12,47,13,47,16,47,17,47,18,47,20,47,23,47,26,47,31,48,6,48,7,48,8,48,9,48,10,48,12,48,14,48,16,48,17,48,18,48,19,48,20,49,37,49,38,49,39,49,40,49,41,49,42,49,43,49,45,49,46,49,47,49,48,49,49,49,50,50,11,50,12,50,13,50,26,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35}; for i=1,665,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0014(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {7,22,7,23,7,24,7,25,7,26,7,27,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,10,16,10,17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,11,15,11,16,11,17,11,18,11,19,11,20,11,21,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,35,11,36,11,37,11,38,11,39,11,40,11,41,11,42,11,43,11,44,11,45,11,46,11,47,11,48,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,13,48,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,23,10,23,11,23,12,23,13,23,14,23,15,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,24,10,24,11,24,12,24,13,24,14,24,17,24,18,24,19,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,25,10,25,11,25,12,25,13,25,16,25,17,25,18,25,19,25,20,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,26,10,26,11,26,12,26,13,26,15,26,16,26,17,26,18,26,19,26,20,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,27,10,27,11,27,12,27,13,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,28,10,28,11,28,12,28,13,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,29,10,29,11,29,12,29,13,29,16,29,17,29,18,29,19,29,20,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,30,10,30,11,30,12,30,13,30,14,30,17,30,18,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,31,11,31,12,31,13,31,14,31,15,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,38,13,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,25,38,26,38,27,38,28,38,29,38,30,38,31,38,32,38,33,38,34,38,35,38,36,39,14,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,39,48,40,15,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,47,40,48,41,15,41,16,41,17,41,18,41,19,41,20,41,21,41,22,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,38,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,42,16,42,17,42,18,42,19,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,42,30,42,31,42,32,42,33,43,18,43,19,43,20,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,31,44,19,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,45,22,45,23,45,24,45,25,45,26,45,27}; for i=1,1819,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_indoors_asset_0019(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,4,0,4,1,4,2,4,3,4,4,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,12,4,13,4,14,4,15,4,16,4,17,4,18,4,19,4,20,4,21,4,22,4,23,4,24,4,25,4,26,4,27,4,28,4,29,4,30,4,31,4,32,4,33,4,34,4,35,4,36,4,37,4,38,4,39,4,40,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,50,4,51,4,52,5,0,5,1,5,2,5,3,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,20,5,21,5,22,5,23,5,24,5,25,5,26,5,27,5,28,5,29,5,30,5,31,5,32,5,33,5,34,5,35,5,36,5,37,5,38,5,39,5,40,5,41,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,49,5,50,5,51,5,52,6,0,6,1,6,39,6,40,6,41,6,42,6,43,6,44,6,45,6,46,6,47,6,48,6,49,6,50,6,51,6,52,7,0,7,1,7,39,7,40,7,41,7,42,7,43,7,44,7,45,7,46,7,47,7,48,7,49,7,50,7,51,7,52,8,0,8,1,8,39,8,40,8,41,8,42,8,43,8,44,8,45,8,46,8,47,8,48,8,49,8,50,8,51,8,52,9,0,9,1,9,39,9,40,9,41,9,42,9,43,9,44,9,45,9,46,9,47,9,48,9,49,9,50,9,51,9,52,10,0,10,1,10,39,10,40,10,41,10,42,10,43,10,44,10,45,10,46,10,47,10,48,10,49,10,50,10,51,10,52,11,0,11,1,11,39,11,40,11,41,11,42,11,43,11,44,11,45,11,46,11,47,11,48,11,49,11,50,11,51,11,52,12,0,12,1,12,39,12,40,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,12,50,12,51,12,52,13,0,13,1,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,13,48,13,49,13,50,13,51,13,52,14,0,14,1,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,48,14,49,14,50,14,51,14,52,15,0,15,1,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,15,51,15,52,16,0,16,1,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,0,17,1,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,0,18,1,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,0,19,1,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,0,20,1,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,0,21,1,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,25,52,26,0,26,1,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,0,27,1,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,0,29,1,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,0,30,1,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,0,31,1,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,0,32,1,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,0,33,1,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,0,34,1,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,0,35,1,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,36,0,36,1,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,36,50,36,51,36,52,37,0,37,1,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,48,37,49,37,50,37,51,37,52,38,0,38,1,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,38,48,38,49,38,50,38,51,38,52,39,0,39,1,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,39,48,39,49,39,50,39,51,39,52,40,0,40,1,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,47,40,48,40,49,40,50,40,51,40,52,41,0,41,1,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,41,49,41,50,41,51,41,52,42,0,42,1,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,42,47,42,48,42,49,42,50,42,51,42,52,43,0,43,1,43,39,43,40,43,41,43,42,43,43,43,44,43,45,43,46,43,47,43,48,43,49,43,50,43,51,43,52,44,0,44,1,44,39,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,44,48,44,49,44,50,44,51,44,52,45,0,45,1,45,39,45,40,45,41,45,42,45,43,45,44,45,45,45,46,45,47,45,48,45,49,45,50,45,51,45,52,46,0,46,1,46,39,46,40,46,41,46,42,46,43,46,44,46,45,46,46,46,47,46,48,46,49,46,50,46,51,46,52,47,0,47,1,47,39,47,40,47,41,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,47,50,47,51,47,52,48,0,48,1,48,2,48,3,48,4,48,5,48,6,48,7,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,16,48,17,48,18,48,19,48,20,48,21,48,22,48,23,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,39,48,40,48,41,48,42,48,43,48,44,48,45,48,46,48,47,48,48,48,49,48,50,48,51,48,52,49,0,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,19,49,20,49,21,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,29,49,30,49,31,49,32,49,33,49,34,49,35,49,36,49,37,49,38,49,39,49,40,49,41,49,42,49,43,49,44,49,45,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,0,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35,50,36,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,2509,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,37,1,37,1,40,1,41,1,44,2,14,2,20,2,30,2,37,2,41,2,44,2,48,3,14,3,20,3,29,3,37,3,38,3,41,3,44,3,47,3,48,4,13,4,14,4,19,4,29,4,38,4,41,4,42,4,44,4,47,5,13,5,19,5,29,5,38,5,42,5,43,5,44,5,46,5,47,6,3,6,12,6,13,6,19,6,29,6,38,6,44,6,45,6,46,7,3,7,4,7,12,7,19,7,29,7,30,7,38,7,45,7,46,7,47,8,4,8,12,8,18,8,19,8,30,8,38,8,45,8,46,8,47,9,4,9,12,9,18,9,38,9,46,9,47,10,3,10,4,10,12,10,17,10,18,10,38,10,39,10,47,11,3,11,12,11,17,11,38,11,39,11,47,12,3,12,12,12,17,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,48,13,2,13,12,13,13,13,17,13,18,13,21,13,48,13,49,14,2,14,13,14,18,14,21,14,45,14,49,15,1,15,2,15,14,15,18,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,45,15,49,15,50,16,14,16,15,16,39,16,45,16,50,17,15,17,39,17,45,17,50,18,15,18,21,18,39,18,40,18,45,18,50,19,15,19,21,19,40,19,41,19,45,19,50,20,14,20,21,20,41,20,50,21,14,21,21,21,33,21,41,21,42,21,45,21,51,22,14,22,21,22,33,22,42,22,51,23,13,23,21,23,33,23,42,23,45,23,47,23,51,24,13,24,21,24,33,24,42,24,51,25,12,25,21,25,33,25,42,25,45,25,47,25,51,26,12,26,21,26,22,26,33,26,42,26,51,27,12,27,22,27,23,27,34,27,42,27,45,27,51,28,13,28,23,28,24,28,25,28,34,28,42,28,51,29,14,29,25,29,34,29,42,29,45,29,51,30,15,30,25,30,33,30,42,30,51,30,52,31,15,31,25,31,32,31,33,31,42,31,45,31,51,31,52,32,16,32,24,32,25,32,32,32,42,32,51,32,52,33,2,33,16,33,24,33,31,33,32,33,42,33,45,33,47,33,51,34,2,34,16,34,23,34,24,34,31,34,42,34,51,35,2,35,16,35,23,35,31,35,32,35,41,35,42,35,45,35,47,35,51,36,2,36,15,36,16,36,23,36,41,36,51,37,2,37,15,37,22,37,39,37,40,37,41,37,45,37,47,37,51,38,2,38,14,38,15,38,23,38,38,38,39,38,51,39,2,39,13,39,14,39,23,39,24,39,38,39,51,40,3,40,13,40,24,40,25,40,38,40,52,41,4,41,12,41,13,41,25,41,38,41,52,42,4,42,12,42,25,42,38,42,41,42,52,43,4,43,11,43,37,43,38,43,52,44,4,44,11,44,37,44,41,44,51,44,52,45,4,45,11,45,12,45,37,45,51,46,4,46,12,46,13,46,37,46,41,46,49,46,50,46,51,47,13,47,37,47,47,47,48,47,49,47,50,48,36,48,37,48,46,49,36,49,37,49,45,49,46,50,37,50,42,50,43,50,44,50,45,51,37,51,38,51,39,51,40,51,41,51,42,52,38,52,39,52,40,52,41}; for i=1,755,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0002(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,0,0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,2,0,2,1,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,3,0,3,1,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,4,0,4,1,4,2,4,3,4,4,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,12,4,13,4,14,4,15,4,16,4,17,5,0,5,1,5,2,5,3,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,45,6,0,6,1,6,2,6,3,6,4,6,5,6,6,6,7,6,8,6,9,6,10,6,11,6,12,6,13,6,14,6,45,7,0,7,1,7,2,7,3,7,4,7,5,7,6,7,7,7,8,7,9,7,10,7,11,7,12,7,13,7,27,7,45,8,0,8,1,8,2,8,3,8,4,8,5,8,6,8,7,8,8,8,9,8,10,8,11,8,12,8,18,8,27,8,45,9,0,9,1,9,2,9,3,9,4,9,5,9,6,9,7,9,8,9,9,9,10,9,11,9,18,9,27,9,45,10,0,10,1,10,2,10,3,10,4,10,5,10,6,10,7,10,8,10,9,10,10,10,11,10,17,10,18,10,27,10,43,10,44,10,45,11,0,11,1,11,2,11,3,11,4,11,5,11,6,11,7,11,8,11,9,11,10,11,11,11,17,11,28,11,42,12,0,12,1,12,2,12,3,12,4,12,5,12,6,12,7,12,8,12,9,12,10,12,11,12,17,12,28,12,42,13,0,13,1,13,2,13,3,13,4,13,5,13,6,13,7,13,8,13,9,13,10,13,11,13,28,13,29,13,42,14,0,14,1,14,2,14,3,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,29,14,42,15,0,15,1,15,2,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,29,15,30,15,42,16,0,16,1,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,30,16,31,16,42,17,0,17,1,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,30,17,31,17,42,18,0,18,1,18,2,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,30,18,42,19,0,19,1,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,29,19,42,20,0,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,28,20,29,20,42,21,0,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,28,22,0,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,28,23,0,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,28,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,28,25,0,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,28,25,29,26,0,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,27,0,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,47,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,47,29,0,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,47,30,0,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,47,30,48,31,0,31,1,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,48,32,0,32,1,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,38,32,48,33,0,33,1,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,38,33,48,34,0,34,1,34,2,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,38,35,0,35,1,35,2,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,38,36,0,36,1,36,2,36,3,36,4,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,38,36,39,37,0,37,1,37,2,37,3,37,4,37,5,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,20,37,39,37,40,38,0,38,1,38,2,38,3,38,4,38,5,38,6,38,7,38,8,38,9,38,10,38,11,38,12,38,13,38,14,38,15,38,20,38,40,39,0,39,1,39,2,39,3,39,4,39,5,39,6,39,7,39,8,39,9,39,10,39,11,39,12,39,13,39,14,39,15,39,20,39,39,40,0,40,1,40,2,40,3,40,4,40,5,40,6,40,7,40,8,40,9,40,10,40,11,40,12,40,13,40,14,40,15,40,16,40,19,40,39,41,0,41,1,41,2,41,3,41,4,41,5,41,6,41,7,41,8,41,9,41,10,41,11,41,12,41,13,41,14,41,15,41,16,41,19,41,39,42,0,42,1,42,2,42,3,42,4,42,5,42,6,42,7,42,8,42,9,42,10,42,11,42,12,42,13,42,14,42,15,42,16,42,19,42,39,43,0,43,1,43,2,43,3,43,4,43,5,43,6,43,7,43,8,43,9,43,10,43,11,43,12,43,13,43,14,43,15,43,16,43,19,43,39,44,0,44,1,44,2,44,3,44,4,44,5,44,6,44,7,44,8,44,9,44,10,44,11,44,12,44,13,44,14,44,15,44,16,44,39,44,40,45,0,45,1,45,2,45,3,45,4,45,5,45,6,45,7,45,8,45,9,45,10,45,11,45,12,45,13,45,14,45,15,45,16,45,40,46,0,46,1,46,2,46,3,46,4,46,5,46,6,46,7,46,8,46,9,46,10,46,11,46,12,46,13,46,14,46,15,46,16,47,0,47,1,47,2,47,3,47,4,47,5,47,6,47,7,47,8,47,9,47,10,47,11,47,12,47,13,47,14,47,15,47,16,47,17,48,0,48,1,48,2,48,3,48,4,48,5,48,6,48,7,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,16,48,17,48,18,49,0,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,19,50,0,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21}; for i=1,1795,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0003(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,50,4,51,4,52,5,41,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,49,5,50,5,51,5,52,6,10,6,40,6,41,6,42,6,43,6,44,6,45,6,46,6,47,6,48,6,49,6,50,6,51,6,52,7,10,7,28,7,40,7,41,7,42,7,43,7,44,7,45,7,46,7,47,7,48,7,49,7,50,7,51,7,52,8,10,8,28,8,29,8,40,8,41,8,42,8,43,8,44,8,45,8,46,8,47,8,48,8,49,8,50,8,51,8,52,9,9,9,28,9,29,9,41,9,42,9,43,9,44,9,45,9,46,9,47,9,48,9,49,9,50,9,51,9,52,10,9,10,26,10,27,10,28,10,42,10,43,10,44,10,45,10,46,10,47,10,48,10,49,10,50,10,51,10,52,11,9,11,25,11,26,11,42,11,43,11,44,11,45,11,46,11,47,11,48,11,49,11,50,11,51,11,52,12,10,12,25,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,12,50,12,51,12,52,13,10,13,11,13,12,13,25,13,42,13,43,13,44,13,45,13,46,13,47,13,48,13,49,13,50,13,51,13,52,14,12,14,25,14,42,14,43,14,44,14,45,14,46,14,47,14,48,14,49,14,50,14,51,14,52,15,12,15,13,15,25,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,15,51,15,52,16,13,16,25,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,13,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,28,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,28,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,28,23,29,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,29,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,25,52,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,17,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,17,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,3,30,15,30,16,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,3,31,14,31,15,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,3,32,13,32,14,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,3,33,12,33,13,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,2,34,13,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,3,35,13,35,14,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,36,3,36,4,36,14,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,36,50,36,51,36,52,37,14,37,15,37,26,37,27,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,48,37,49,37,50,37,51,37,52,38,14,38,26,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,38,48,38,49,38,50,38,51,38,52,39,13,39,14,39,26,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,39,48,39,49,39,50,39,51,39,52,40,13,40,25,40,26,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,47,40,48,40,49,40,50,40,51,40,52,41,13,41,25,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,41,49,41,50,41,51,41,52,42,13,42,24,42,25,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,42,47,42,48,42,49,42,50,42,51,42,52,43,24,43,25,43,26,43,39,43,40,43,41,43,42,43,43,43,44,43,45,43,46,43,47,43,48,43,49,43,50,43,51,43,52,44,27,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,44,48,44,49,44,50,44,51,44,52,45,27,45,40,45,41,45,42,45,43,45,44,45,45,45,46,45,47,45,48,45,49,45,50,45,51,45,52,46,41,46,42,46,43,46,44,46,45,46,46,46,47,46,48,46,49,46,50,46,51,46,52,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,47,50,47,51,47,52,48,43,48,44,48,45,48,46,48,47,48,48,48,49,48,50,48,51,48,52,49,43,49,44,49,45,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,1611,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0004(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {1,39,2,38,3,38,4,5,4,38,5,5,5,38,6,5,6,38,7,5,7,28,7,29,7,38,8,5,8,28,9,4,9,5,9,28,10,4,10,27,10,28,11,3,11,26,11,27,12,3,12,26,13,26,14,26,15,26,16,27,16,41,17,6,17,27,17,41,18,7,18,8,18,28,18,41,19,8,19,9,19,28,19,41,20,10,20,11,20,12,20,13,20,28,20,41,21,13,21,14,21,28,21,41,22,14,22,28,22,41,22,42,23,15,23,28,23,42,23,43,23,44,24,16,24,17,24,18,24,27,24,44,24,45,25,27,25,45,25,46,26,27,26,46,27,27,27,46,28,28,32,8,32,9,33,7,33,8,34,5,34,6,34,7,35,5,35,34,36,33,36,34,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,42,37,43,37,44,37,45,37,46,38,41,38,42,38,43,38,44,38,45,38,46,39,9,39,10,39,11,39,12,39,19,39,41,39,42,39,43,39,44,39,45,39,46,39,47,40,8,40,9,40,10,40,11,40,12,40,13,40,14,40,18,40,19,40,20,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,47,41,8,41,9,41,10,41,11,41,12,41,13,41,14,41,15,41,16,41,17,41,18,41,19,41,20,41,21,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,42,7,42,8,42,9,42,10,42,11,42,12,42,13,42,14,42,15,42,16,42,17,42,18,42,19,42,20,42,21,42,22,42,34,42,35,42,36,42,37,42,38,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,42,47,42,48,43,5,43,6,43,7,43,8,43,9,43,10,43,11,43,12,43,13,43,14,43,15,43,16,43,17,43,18,43,19,43,20,43,21,43,22,43,32,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,41,43,42,43,43,43,44,43,45,43,46,43,47,43,48,43,49,44,5,44,6,44,7,44,8,44,9,44,10,44,11,44,12,44,13,44,14,44,15,44,16,44,17,44,18,44,19,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,34,44,35,44,36,44,37,44,38,44,39,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,44,48,44,49,45,4,45,5,45,6,45,7,45,8,45,9,45,10,45,11,45,12,45,13,45,14,45,15,45,16,45,17,45,18,45,19,45,20,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,33,45,34,45,35,45,36,45,37,45,38,45,39,45,40,45,41,45,42,45,43,45,44,45,45,45,46,45,47,45,48,45,49,45,50,46,3,46,4,46,5,46,6,46,7,46,8,46,9,46,10,46,11,46,12,46,13,46,14,46,15,46,16,46,17,46,18,46,19,46,20,46,21,46,22,46,23,46,24,46,25,46,26,46,27,46,28,46,29,46,30,46,31,46,32,46,33,46,34,46,35,46,36,46,37,46,38,46,39,46,40,46,41,46,42,46,43,46,44,46,45,46,46,46,47,46,48,46,49,46,50,46,51,46,52,47,2,47,3,47,4,47,5,47,6,47,7,47,8,47,9,47,10,47,11,47,12,47,13,47,14,47,15,47,16,47,17,47,18,47,19,47,20,47,21,47,22,47,23,47,24,47,25,47,26,47,27,47,28,47,29,47,30,47,31,47,32,47,33,47,34,47,35,47,36,47,37,47,38,47,39,47,40,47,41,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,47,50,47,51,47,52,48,2,48,3,48,4,48,5,48,6,48,7,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,16,48,17,48,18,48,19,48,20,48,21,48,22,48,23,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,39,48,40,48,41,48,42,48,43,48,44,48,45,48,46,48,47,48,48,48,49,48,50,48,51,48,52,49,1,49,2,49,3,49,4,49,5,49,6,49,7,49,8,49,9,49,10,49,11,49,12,49,13,49,14,49,15,49,16,49,17,49,18,49,19,49,20,49,21,49,22,49,23,49,24,49,25,49,26,49,27,49,28,49,29,49,30,49,31,49,32,49,33,49,34,49,35,49,36,49,37,49,38,49,39,49,40,49,41,49,42,49,43,49,44,49,45,49,46,49,47,49,48,49,49,49,50,49,51,49,52,50,1,50,2,50,3,50,4,50,5,50,6,50,7,50,8,50,9,50,10,50,11,50,12,50,13,50,14,50,15,50,16,50,17,50,18,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35,50,36,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,1,51,2,51,3,51,4,51,5,51,6,51,7,51,8,51,9,51,10,51,11,51,12,51,13,51,14,51,15,51,16,51,17,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,1,52,2,52,3,52,4,52,5,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,13,52,14,52,15,52,16,52,17,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,1357,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0005(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,2,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,2,3,3,3,4,3,5,3,6,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,4,3,4,4,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,12,4,13,4,14,4,15,4,16,4,17,4,18,4,19,4,20,4,21,4,22,4,23,4,24,4,25,4,26,4,27,4,28,4,29,4,30,4,31,4,32,4,33,4,34,4,35,4,36,4,37,4,38,4,39,4,40,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,4,50,4,51,4,52,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,20,5,21,5,22,5,23,5,24,5,25,5,26,5,27,5,28,5,29,5,30,5,31,5,32,5,33,5,34,5,35,5,36,5,37,5,38,5,39,5,40,5,41,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,49,5,50,5,51,5,52,6,5,6,6,6,7,6,8,6,9,6,10,6,11,6,12,6,13,6,14,6,15,6,16,6,17,6,18,6,19,6,20,6,21,6,22,6,23,6,24,6,25,6,26,6,27,6,28,6,29,6,30,6,31,6,32,6,33,6,34,6,35,6,36,6,37,6,38,6,39,6,40,6,41,6,42,6,43,6,44,6,45,6,46,6,47,6,48,6,49,6,50,6,51,6,52,7,6,7,7,7,8,7,9,7,10,7,11,7,12,7,13,7,14,7,15,7,16,7,17,7,18,7,19,7,20,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,41,7,42,7,43,7,44,7,45,7,46,7,47,7,48,7,49,7,50,7,51,7,52,8,7,8,8,8,9,8,10,8,11,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,8,37,8,38,8,39,8,40,8,41,8,42,8,43,8,44,8,45,8,46,8,47,8,48,8,49,8,50,8,51,8,52,9,8,9,9,9,10,9,11,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,9,44,9,45,9,46,9,47,9,48,9,49,9,50,9,51,9,52,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,40,10,41,10,42,10,43,10,44,10,45,10,46,10,47,10,48,10,49,10,50,10,51,10,52,11,18,11,19,11,20,11,21,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,35,11,43,11,44,11,45,11,46,11,47,11,48,11,49,11,50,11,51,11,52,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,15,22,15,23,15,24,15,25,15,26,15,27,16,25,16,45,17,45,18,8,18,45,19,8,19,45,19,46,20,8,20,9,20,47,20,48,21,8,21,31,21,48,21,49,22,8,22,30,22,48,22,49,23,8,23,30,23,48,24,7,24,8,24,30,24,48,25,7,25,29,25,30,26,6,26,18,26,29,27,6,27,18,27,29,28,6,28,18,28,30,28,31,28,43,29,6,29,18,29,32,29,33,29,43,30,6,30,7,30,17,30,18,30,33,30,34,30,42,31,7,31,17,31,34,31,42,32,7,32,8,32,17,32,34,32,42,33,8,33,16,33,17,33,34,33,42,34,16,34,34,34,42,35,16,35,34,35,43,36,15,36,44,37,15,37,16,37,44,38,16,38,17,38,44,39,17,39,18,39,44,40,18,40,19,40,44,41,19,41,44,41,45,42,18,42,19,42,45,43,28,43,45,43,46,44,28,45,1,45,28,45,29,46,1,46,29,47,2,48,2,48,3}; for i=1,1417,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0006(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,37,1,37,1,40,1,41,1,44,2,14,2,20,2,37,2,41,2,44,2,48,3,14,3,20,3,29,3,37,3,38,3,41,3,44,3,47,3,48,4,13,4,14,4,19,4,29,4,38,4,41,4,42,4,44,4,47,5,13,5,19,5,29,5,38,5,42,5,43,5,44,5,46,5,47,6,3,6,12,6,13,6,19,6,29,6,44,6,45,6,46,7,3,7,4,7,12,7,19,7,30,7,38,7,45,7,46,7,47,8,4,8,12,8,18,8,19,8,30,8,38,8,45,8,46,8,47,9,4,9,12,9,18,9,38,9,46,9,47,10,3,10,4,10,12,10,17,10,18,10,38,10,39,10,47,11,3,11,12,11,17,11,38,11,39,11,42,11,47,12,3,12,12,12,17,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,42,12,43,12,48,13,2,13,12,13,13,13,17,13,18,13,21,13,43,13,48,13,49,14,2,14,13,14,18,14,21,14,43,14,49,15,1,15,2,15,14,15,18,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,42,15,43,15,50,16,14,16,15,16,39,16,50,17,15,17,39,17,50,18,15,18,21,18,39,18,40,18,50,19,15,19,21,19,40,19,41,19,50,20,14,20,21,20,41,21,14,21,21,21,33,21,41,21,42,21,51,22,14,22,21,22,33,22,42,22,51,23,13,23,21,23,33,23,42,23,44,23,45,23,51,24,13,24,21,24,33,24,42,24,51,25,12,25,21,25,33,25,42,25,44,25,45,25,51,26,12,26,21,26,22,26,33,26,42,26,51,27,12,27,22,27,23,27,34,27,42,27,44,27,45,27,51,28,13,28,23,28,24,28,25,28,34,28,42,28,51,29,14,29,25,29,34,29,42,29,44,29,45,29,51,30,15,30,25,30,33,30,42,30,51,31,15,31,25,31,32,31,33,31,42,31,44,31,45,31,51,32,16,32,24,32,25,32,32,32,42,32,51,33,2,33,16,33,24,33,31,33,32,33,42,33,44,33,45,33,51,34,2,34,16,34,23,34,24,34,31,34,42,34,51,35,2,35,16,35,23,35,31,35,32,35,41,35,42,35,44,35,45,35,51,36,2,36,15,36,16,36,23,36,41,36,51,37,2,37,15,37,22,37,39,37,40,37,41,37,44,37,45,37,51,38,2,38,14,38,15,38,23,38,38,38,39,38,51,39,2,39,13,39,14,39,23,39,24,39,38,39,51,40,3,40,13,40,24,40,25,40,38,40,52,41,4,41,12,41,13,41,25,41,38,41,52,42,4,42,12,42,25,42,38,42,41,42,43,42,52,43,4,43,11,43,37,43,38,43,52,44,4,44,11,44,37,44,41,44,43,44,51,44,52,45,4,45,11,45,12,45,37,45,51,46,4,46,12,46,13,46,37,46,41,46,43,46,51,47,13,47,37,47,47,47,48,47,49,47,50,48,36,48,37,48,46,49,36,49,37,49,45,49,46,50,36,50,42,50,43,50,44,50,45,51,37,51,38,51,39,51,40,51,41,51,42,52,38,52,39,52,40,52,41}; for i=1,747,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0008(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {6,8,7,8,7,41,8,8,8,41,9,8,9,37,9,38,9,39,9,40,9,41,10,8,10,36,10,37,11,8,11,24,11,36,12,8,12,24,12,36,13,7,13,24,13,36,14,7,14,25,14,36,15,6,15,25,15,36,16,6,16,25,16,36,17,6,17,7,17,25,17,26,17,36,18,8,18,9,18,26,18,36,19,10,19,27,19,36,20,11,20,28,21,12,21,27,21,28,22,13,22,27,23,13,23,26,24,13,24,26,25,13,25,25,25,46,26,13,26,25,26,46,27,13,27,46,28,14,28,45,29,14,29,45,30,15,30,35,30,45,31,15,31,16,31,34,31,45,32,16,32,17,32,34,32,46,33,33,33,46,34,32,34,33,34,46,35,31,35,32,35,46,36,31,36,45,36,46,37,31,37,45,38,31,38,44,39,32,39,33,39,44,39,45,40,34,40,45,41,8,41,9,41,10,41,35,41,45,41,46,42,6,42,7,42,35,42,46,43,5,43,6,43,34,43,46,44,5,44,46,45,4,45,5,45,46,46,4,46,46,47,4,47,46,47,47,48,47,48,48}; for i=1,249,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0009(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {6,8,6,34,6,36,6,37,6,38,6,39,6,40,7,1,7,2,7,3,7,4,7,8,7,32,7,33,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,41,7,42,8,0,8,1,8,2,8,3,8,4,8,5,8,8,8,25,8,26,8,31,8,32,8,33,8,34,8,35,8,36,8,37,8,38,8,39,8,40,8,41,8,42,8,44,8,45,8,46,8,47,8,48,9,0,9,1,9,2,9,3,9,4,9,5,9,8,9,14,9,15,9,24,9,25,9,26,9,27,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,9,44,9,45,9,46,9,47,9,48,10,0,10,1,10,2,10,3,10,4,10,5,10,8,10,9,10,10,10,11,10,14,10,15,10,23,10,24,10,25,10,26,10,27,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,39,10,40,10,41,10,42,10,43,10,44,10,45,10,46,10,47,10,48,11,0,11,1,11,2,11,3,11,4,11,5,11,7,11,8,11,9,11,10,11,11,11,13,11,14,11,15,11,16,11,19,11,20,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,35,11,36,11,37,11,38,11,42,11,43,11,44,11,45,11,46,11,47,11,48,12,0,12,1,12,2,12,3,12,4,12,5,12,7,12,8,12,9,12,10,12,11,12,13,12,14,12,15,12,16,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,43,12,44,12,45,12,46,12,47,12,48,13,0,13,1,13,3,13,4,13,5,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,44,13,45,13,46,13,47,13,48,14,0,14,3,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,44,14,45,14,46,14,47,14,48,14,49,14,50,14,51,15,0,15,2,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,44,15,45,15,46,15,47,15,48,15,49,15,50,15,51,16,0,16,2,16,3,16,4,16,5,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,44,16,45,16,46,16,47,16,48,16,49,16,50,17,0,17,2,17,3,17,4,17,5,17,7,17,8,17,9,17,15,17,16,17,17,17,18,17,19,17,20,17,22,17,23,17,24,17,25,17,26,17,27,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,39,17,40,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,18,1,18,2,18,3,18,4,18,5,18,7,18,8,18,11,18,12,18,13,18,15,18,16,18,17,18,18,18,19,18,20,18,22,18,23,18,24,18,25,18,26,18,27,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,39,18,40,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,19,1,19,2,19,3,19,4,19,5,19,7,19,8,19,10,19,11,19,12,19,13,19,15,19,16,19,17,19,18,19,19,19,20,19,22,19,23,19,24,19,25,19,26,19,27,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,39,19,40,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,20,1,20,2,20,3,20,4,20,5,20,7,20,8,20,10,20,11,20,12,20,13,20,15,20,16,20,17,20,18,20,19,20,22,20,23,20,24,20,25,20,26,20,27,20,29,20,31,20,32,20,33,20,34,20,35,20,36,20,38,20,39,20,40,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,2,21,3,21,4,21,5,21,7,21,8,21,10,21,11,21,12,21,13,21,15,21,16,21,17,21,18,21,19,21,22,21,23,21,24,21,25,21,26,21,27,21,29,21,31,21,32,21,33,21,34,21,35,21,36,21,38,21,39,21,40,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,22,0,22,2,22,3,22,4,22,5,22,7,22,8,22,9,22,11,22,12,22,13,22,15,22,16,22,17,22,18,22,19,22,21,22,23,22,24,22,25,22,26,22,27,22,29,22,31,22,32,22,33,22,34,22,35,22,36,22,38,22,39,22,40,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,23,0,23,3,23,4,23,5,23,7,23,8,23,9,23,12,23,13,23,15,23,16,23,17,23,18,23,19,23,21,23,23,23,24,23,25,23,26,23,27,23,29,23,32,23,33,23,34,23,35,23,38,23,39,23,40,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,24,0,24,1,24,3,24,4,24,5,24,7,24,8,24,9,24,10,24,12,24,13,24,15,24,16,24,17,24,18,24,20,24,21,24,23,24,24,24,25,24,26,24,27,24,29,24,30,24,32,24,33,24,34,24,35,24,38,24,39,24,40,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,25,1,25,3,25,4,25,5,25,7,25,8,25,9,25,10,25,12,25,13,25,15,25,16,25,17,25,18,25,20,25,21,25,22,25,24,25,25,25,26,25,27,25,29,25,30,25,32,25,33,25,34,25,35,25,38,25,39,25,40,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,25,52,26,1,26,3,26,4,26,5,26,8,26,9,26,10,26,12,26,13,26,15,26,16,26,17,26,18,26,20,26,21,26,22,26,24,26,25,26,26,26,27,26,29,26,30,26,31,26,33,26,34,26,35,26,38,26,39,26,40,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,1,27,2,27,4,27,5,27,6,27,8,27,9,27,10,27,12,27,13,27,14,27,16,27,17,27,20,27,21,27,22,27,24,27,25,27,26,27,28,27,29,27,30,27,31,27,34,27,38,27,39,27,40,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,1,28,2,28,4,28,5,28,6,28,7,28,12,28,13,28,14,28,16,28,17,28,19,28,20,28,21,28,22,28,23,28,25,28,26,28,28,28,29,28,30,28,31,28,32,28,36,28,39,28,40,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,29,0,29,1,29,2,29,3,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,18,29,19,29,20,29,21,29,22,29,23,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,39,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,30,0,30,1,30,2,30,3,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,0,31,1,31,2,31,3,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,32,0,32,1,32,2,32,3,32,4,32,7,32,8,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,33,0,33,1,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,22,33,23,33,24,33,25,33,26,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,34,1,34,2,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,28,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,35,1,35,2,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,36,1,36,2,36,3,36,4,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,37,2,37,3,37,4,37,5,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,38,2,38,3,38,4,38,5,38,6,38,7,38,8,38,21,38,22,38,23,38,24,38,25,38,26,38,27,38,28,38,29,38,30,38,31,38,32,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,39,2,39,3,39,4,39,5,39,6,39,7,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38,39,40,39,41,39,42,39,43,39,44,39,45,40,3,40,4,40,5,40,6,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,30,40,31,40,32,40,33,40,34,40,35,40,36,40,37,40,40,40,41,40,42,40,43,40,44,40,45,41,3,41,4,41,5,41,8,41,9,41,10,41,21,41,22,41,23,41,24,41,25,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,41,41,42,41,43,41,45,41,46,42,6,42,7,42,31,42,32,42,33,42,34,42,35,42,46,43,5,43,6,43,32,43,33,43,34,43,35,43,46,44,5,44,32,44,33,44,34,44,46,45,4,45,5,45,46,46,4,46,46,47,4,47,46,47,47,48,47,48,48}; for i=1,2789,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_ocean_0010(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {0,38,0,39,0,40,0,41,1,37,1,38,1,39,1,40,1,41,1,42,2,37,2,42,2,43,2,44,2,45,3,36,3,37,3,45,3,46,4,36,4,37,4,46,5,13,5,37,5,47,5,48,5,49,5,50,6,4,6,12,6,13,6,37,6,41,6,49,6,50,6,51,7,4,7,11,7,12,7,37,7,51,8,4,8,11,8,37,8,41,8,51,8,52,9,4,9,11,9,37,9,38,9,52,10,4,10,12,10,25,10,38,10,41,10,52,11,4,11,12,11,13,11,25,11,38,11,52,12,3,12,13,12,24,12,25,12,38,12,52,13,2,13,13,13,14,13,23,13,24,13,38,13,51,14,2,14,14,14,15,14,23,14,38,14,39,14,51,15,2,15,15,15,22,15,39,15,40,15,41,15,45,15,47,15,51,16,2,16,15,16,16,16,23,16,41,16,51,17,2,17,16,17,23,17,31,17,32,17,41,17,42,17,45,17,47,17,51,18,2,18,16,18,23,18,24,18,31,18,42,18,51,19,2,19,16,19,24,19,31,19,32,19,42,19,45,19,47,19,51,20,16,20,24,20,25,20,32,20,42,20,51,20,52,21,15,21,25,21,32,21,33,21,42,21,45,21,51,21,52,22,15,22,25,22,33,22,42,22,51,22,52,23,14,23,25,23,34,23,42,23,45,23,51,24,13,24,23,24,24,24,25,24,34,24,42,24,51,25,12,25,22,25,23,25,34,25,42,25,45,25,51,26,12,26,21,26,22,26,33,26,42,26,51,27,12,27,21,27,33,27,42,27,45,27,47,27,51,28,13,28,21,28,33,28,42,28,51,29,13,29,21,29,33,29,42,29,45,29,47,29,51,30,14,30,21,30,33,30,42,30,51,31,14,31,21,31,33,31,41,31,42,31,45,31,51,32,14,32,21,32,41,32,50,33,15,33,21,33,40,33,41,33,45,33,50,34,15,34,21,34,39,34,40,34,45,34,50,35,15,35,39,35,45,35,50,36,14,36,15,36,39,36,45,36,50,37,1,37,2,37,14,37,18,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,45,37,49,37,50,38,2,38,13,38,18,38,21,38,45,38,49,39,2,39,12,39,13,39,17,39,18,39,21,39,48,39,49,40,3,40,12,40,17,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39,40,48,41,3,41,12,41,17,41,38,41,39,41,47,42,3,42,4,42,12,42,17,42,18,42,38,42,39,42,47,43,4,43,12,43,18,43,38,43,46,43,47,44,4,44,12,44,18,44,19,44,30,44,38,44,45,44,46,44,47,45,3,45,4,45,12,45,19,45,29,45,30,45,38,45,45,45,46,45,47,46,3,46,12,46,13,46,19,46,29,46,38,46,44,46,45,46,46,47,13,47,19,47,29,47,38,47,42,47,43,47,44,47,46,47,47,48,13,48,14,48,19,48,29,48,38,48,41,48,42,48,44,48,47,49,14,49,20,49,29,49,37,49,38,49,41,49,44,49,47,49,48,50,14,50,20,50,30,50,37,50,41,50,44,50,48,51,37,51,40,51,41,51,44,52,37}; for i=1,755,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); local render_coords = {2,17,2,19,2,28,3,3,3,10,3,16,3,19,3,21,3,23,3,39,3,40,3,47,4,17,4,22,4,25,4,30,4,31,4,32,4,36,4,37,4,39,5,10,5,34,5,38,5,47,6,6,6,19,6,21,6,29,6,33,6,35,6,39,6,44,7,4,7,7,7,11,7,23,7,28,7,29,7,35,8,3,8,11,8,13,8,17,8,19,8,22,8,46,8,47,9,17,9,35,9,38,9,43,9,45,9,47,9,48,10,6,10,37,10,42,10,43,10,44,10,45,10,49,11,9,11,30,11,32,11,48,12,3,12,13,12,19,12,39,12,40,12,47,13,6,13,7,13,15,13,20,13,35,13,40,13,42,13,47,14,13,14,24,14,25,14,32,14,35,15,10,15,17,15,19,15,23,15,34,15,41,16,6,16,8,16,15,16,20,16,21,16,23,16,25,16,29,16,34,16,44,17,4,17,7,17,15,17,29,17,33,17,38,17,40,17,43,18,7,18,14,18,18,18,20,18,24,18,28,18,37,18,40,18,47,19,2,19,9,19,10,19,19,19,21,19,23,19,29,19,39,19,44,20,4,20,8,20,13,20,38,20,47,20,48,20,49,21,7,21,14,21,15,21,24,21,26,21,28,21,34,21,39,21,41,22,2,22,4,22,7,22,9,22,11,22,12,22,13,22,19,22,21,22,24,22,26,22,28,22,29,22,38,23,5,23,7,23,21,23,33,23,39,24,2,24,3,24,4,24,14,24,20,24,30,24,37,24,43,24,44,24,47,25,2,25,11,25,12,25,14,25,19,25,22,25,23,25,28,25,43,25,45,26,7,26,9,26,10,26,16,26,18,26,19,26,24,26,31,26,36,26,40,26,42,26,49,27,6,27,7,27,11,27,13,27,21,27,24,27,34,27,44,28,6,28,7,28,9,28,18,28,20,28,23,28,41,28,43,28,45,29,5,29,8,29,15,29,24,29,33,29,36,29,43,29,48,30,4,30,6,30,12,30,16,30,27,30,29,30,48,31,13,31,17,31,24,31,26,31,28,31,38,31,41,31,42,31,46,31,47,31,48,32,2,32,3,32,8,32,9,32,26,32,42,33,2,33,6,33,8,33,12,33,14,33,21,33,37,33,41,33,43,33,44,33,47,34,6,34,8,34,22,34,26,34,29,34,33,35,2,35,4,35,10,35,17,35,22,35,24,35,31,35,36,35,38,36,1,36,2,36,7,36,9,36,17,36,20,36,26,36,28,36,29,36,30,36,31,36,39,36,42,36,45,36,48,37,6,37,11,37,26,37,29,37,32,37,34,37,44,37,48,38,6,38,8,38,10,38,16,38,20,38,24,38,25,38,29,38,31,38,38,38,46,39,9,39,10,39,12,39,28,39,33,39,35,39,44,39,46,40,5,40,10,40,14,40,25,40,29,40,31,40,41,40,42,40,46,40,49,41,2,41,4,41,17,41,25,41,29,41,35,41,37,41,45,42,2,42,5,42,8,42,19,42,26,42,28,42,37,42,38,42,49,43,5,43,10,43,16,43,22,43,25,43,28,43,29,43,34,43,49,44,4,44,7,44,12,44,14,44,16,45,4,45,5,45,11,45,12,45,16,45,21,45,27,45,28,45,40,45,42,45,43,45,45,45,47,46,6,46,7,46,14,46,16,46,18,46,19,46,33,46,34,46,41,47,3,47,8,47,11,47,21,47,24,47,33,47,37,48,5,48,13,48,21,48,36,48,37,48,38,49,3,49,15,49,46,49,48}; for i=1,781,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0006(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {2,28,3,27,3,28,3,29,3,32,3,33,3,34,3,35,4,27,4,28,4,29,4,30,4,31,4,32,4,33,4,34,4,35,5,18,5,20,5,21,5,27,5,28,5,29,5,30,5,31,5,32,5,33,5,34,5,35,5,36,6,15,6,16,6,17,6,18,6,19,6,20,6,21,6,22,6,23,6,24,6,27,6,28,6,29,6,30,6,31,6,33,6,34,6,35,6,36,7,14,7,15,7,16,7,17,7,18,7,19,7,20,7,21,7,22,7,23,7,24,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,8,37,9,15,9,16,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,10,14,10,15,10,16,10,17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,37,11,13,11,14,11,15,11,16,11,17,11,19,11,20,11,21,11,22,11,23,11,25,11,26,11,27,11,28,11,29,11,31,11,32,11,33,11,34,11,35,11,36,11,37,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,25,12,26,12,27,12,28,12,29,12,31,12,32,12,34,12,35,12,36,12,37,13,11,13,12,13,13,13,14,13,15,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,14,10,14,11,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,29,17,30,17,31,17,32,17,33,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,26,18,27,18,29,18,30,18,33,18,34,19,0,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,26,19,27,19,28,19,33,19,34,19,35,20,0,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,34,20,35,21,0,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,28,21,29,21,30,21,31,21,35,21,36,22,0,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,10,22,11,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,30,22,31,22,32,22,35,22,36,22,37,23,0,23,1,23,2,23,3,23,4,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,25,52,26,0,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,13,26,14,26,15,26,16,26,17,26,20,26,21,26,22,26,23,26,24,26,32,26,33,26,34,26,35,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,31,27,32,27,33,27,36,27,37,27,38,27,39,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,22,28,23,28,30,28,31,28,32,28,35,28,36,28,37,29,0,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,35,29,36,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,14,30,15,30,16,30,17,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,34,30,35,30,36,31,1,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,21,31,22,31,26,31,27,31,29,31,30,31,34,31,35,32,1,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,29,32,30,32,33,32,34,32,35,32,36,32,38,32,39,32,40,33,1,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,20,34,21,34,22,34,23,34,24,34,25,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,36,34,37,34,38,34,39,34,40,34,41,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,36,35,37,35,38,35,40,35,41,36,3,36,4,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,36,36,37,36,38,36,39,36,40,36,41,36,42,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,38,10,38,11,38,12,38,13,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,25,38,27,38,28,38,29,38,30,38,31,38,32,38,33,38,34,38,35,38,36,38,37,38,38,38,39,39,11,39,12,39,13,39,14,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38,39,39,39,40,40,15,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,32,40,34,40,35,40,36,40,37,40,38,40,39,40,40,41,12,41,13,41,14,41,15,41,16,41,17,41,18,41,19,41,20,41,21,41,22,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,38,42,12,42,13,42,14,42,15,42,16,42,17,42,18,42,19,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,42,30,42,31,42,32,42,33,42,34,42,35,42,36,42,37,42,38,43,14,43,15,43,17,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,31,43,32,43,33,43,35,43,36,43,38,44,14,44,15,44,16,44,20,44,21,44,22,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,35,45,20,45,21,45,22,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,34,45,35,46,21,46,22,46,23,46,24,46,25,46,26,46,27,46,29,46,30,46,31,46,32,46,35,46,36,47,23,47,24,47,25,47,26,47,27,47,29,47,30,47,31,47,32,48,24,48,25,48,29,48,30,48,31,48,33,48,34,49,25}; for i=1,2517,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0009(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {6,38,6,39,6,40,6,41,6,42,6,43,6,44,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,41,7,42,7,43,7,44,7,45,8,33,8,34,8,36,8,37,8,38,8,39,8,40,8,41,8,42,8,43,8,44,8,45,8,46,9,32,9,33,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,9,44,9,46,9,47,10,30,10,31,10,32,10,34,10,35,10,36,10,37,10,38,10,39,10,40,10,41,10,42,10,43,10,44,10,47,10,48,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,34,11,35,11,36,11,37,11,38,11,39,11,40,11,41,11,45,11,46,11,47,11,48,11,49,12,21,12,22,12,23,12,24,12,25,12,26,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,42,12,43,12,44,12,45,12,46,12,47,12,48,13,19,13,20,13,21,13,22,13,23,13,24,13,28,13,29,13,30,13,33,13,34,13,35,13,36,13,37,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,13,48,14,19,14,20,14,21,14,25,14,26,14,27,14,28,14,29,14,32,14,33,14,34,14,35,14,36,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,48,15,17,15,18,15,19,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,31,15,32,15,33,15,34,15,35,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,16,15,16,16,16,17,16,18,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,31,16,32,16,33,16,34,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,17,14,17,15,17,16,17,17,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,32,17,33,17,34,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,18,13,18,14,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,33,18,34,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,19,12,19,13,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,20,11,20,12,20,14,20,15,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,47,20,48,21,10,21,11,21,13,21,14,21,15,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,45,21,46,21,47,21,48,21,49,22,9,22,10,22,12,22,13,22,14,22,15,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,23,9,23,11,23,12,23,13,23,14,23,15,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,24,8,24,9,24,11,24,12,24,13,24,14,24,15,24,16,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,25,8,25,9,25,11,25,12,25,13,25,14,25,15,25,16,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,26,8,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,19,26,20,26,21,26,22,26,23,26,24,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,8,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,20,27,21,27,22,27,23,27,24,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,28,8,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,20,28,21,28,22,28,23,28,24,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,29,8,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,21,29,22,29,23,29,24,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,30,8,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,22,30,23,30,24,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,8,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,24,31,25,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,32,8,32,9,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,25,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,33,8,33,9,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,34,9,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,35,9,35,10,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,40,35,41,35,42,35,43,35,44,35,45,35,50,36,10,36,11,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,47,36,48,36,49,37,11,37,12,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,49,38,12,38,13,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,25,38,26,38,27,38,28,38,29,38,32,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,38,48,38,49,39,14,39,15,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,32,39,33,39,34,39,35,39,48,39,49,40,15,40,16,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,33,40,37,40,38,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,48,40,49,41,17,41,18,41,22,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,32,41,33,41,34,41,35,41,36,41,37,41,38,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,48,41,49,42,18,42,19,42,20,42,21,42,32,42,33,42,34,42,35,42,36,42,37,42,38,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,42,47,42,48,42,49,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,32,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,41,43,42,43,43,43,44,43,45,43,46,43,47,43,48,44,26,44,27,44,28,44,30,44,31,44,32,44,33,44,34,44,35,44,36,44,37,44,38,44,39,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,45,28,45,29,45,30,45,31,45,34,45,35,45,36,45,37,45,38,45,39,45,40,45,41,45,42,45,43,45,44,45,45,45,46,45,47,46,35,46,36,46,37,46,38,46,39,46,40,46,41,46,42,46,43,46,44,46,45,46,46,47,35,47,36,47,37,47,38,47,39,47,40,47,41,47,42,47,43,47,44,47,45,47,46,48,38,48,39,48,40,48,41,48,42,48,43,48,44,48,45,48,46,49,41,49,42,49,43,49,44,49,45}; for i=1,2343,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0010(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {0,18,0,19,0,20,0,21,0,22,0,23,0,38,0,39,0,40,0,41,0,42,1,17,1,18,1,19,1,23,1,37,1,38,1,39,1,40,1,41,1,42,1,43,2,16,2,17,2,18,2,19,2,23,2,37,2,40,2,41,2,42,2,43,2,44,3,7,3,8,3,9,3,10,3,11,3,12,3,13,3,14,3,15,3,16,3,17,3,18,3,19,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,4,5,4,6,4,7,4,8,4,9,4,10,4,11,4,12,4,13,4,14,4,15,4,16,4,17,4,18,4,19,4,23,4,24,4,25,4,26,4,27,4,28,4,29,4,30,4,31,4,32,4,33,4,34,4,35,4,36,4,37,4,40,4,41,4,42,4,43,4,44,4,45,4,46,4,47,4,48,4,49,5,4,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,23,5,24,5,25,5,26,5,27,5,28,5,29,5,30,5,31,5,32,5,33,5,34,5,35,5,36,5,37,5,40,5,41,5,42,5,43,5,44,5,45,5,46,5,47,5,48,5,49,6,4,6,5,6,6,6,7,6,8,6,9,6,10,6,11,6,12,6,13,6,14,6,15,6,16,6,17,6,18,6,19,6,23,6,24,6,25,6,26,6,27,6,28,6,29,6,30,6,31,6,32,6,33,6,34,6,35,6,36,6,37,6,40,6,41,6,42,6,43,6,44,6,45,6,46,6,47,6,48,6,49,7,4,7,5,7,6,7,7,7,8,7,9,7,10,7,11,7,12,7,13,7,14,7,15,7,16,7,17,7,18,7,19,7,23,7,24,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,7,37,7,40,7,41,7,42,7,43,7,44,7,45,7,46,7,47,7,48,7,49,8,5,8,6,8,16,8,17,8,18,8,19,8,23,8,37,8,40,8,41,8,42,8,43,8,49,9,6,9,7,9,16,9,17,9,18,9,19,9,23,9,37,9,40,9,41,9,42,9,43,9,49,10,7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,37,10,40,10,41,10,42,10,43,10,48,10,49,11,16,11,17,11,18,11,19,11,23,11,37,11,40,11,41,11,42,11,43,11,44,11,45,11,46,11,47,11,48,12,16,12,17,12,18,12,19,12,23,12,37,12,40,12,41,12,42,12,43,13,16,13,17,13,18,13,19,13,23,13,37,13,40,13,41,13,42,13,43,14,16,14,17,14,18,14,19,14,23,14,37,14,40,14,41,14,42,14,43,15,16,15,17,15,18,15,19,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,40,15,41,15,42,15,43,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,23,16,37,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,17,5,17,6,17,7,17,16,17,17,17,18,17,19,17,23,17,37,17,40,17,41,17,42,17,43,17,48,17,49,18,4,18,5,18,16,18,17,18,18,18,19,18,23,18,37,18,40,18,41,18,42,18,43,18,49,19,4,19,16,19,17,19,18,19,19,19,23,19,37,19,40,19,41,19,42,19,43,19,49,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,24,16,24,17,24,18,24,19,24,23,24,37,24,40,24,41,24,42,24,43,25,16,25,17,25,18,25,19,25,23,25,37,25,40,25,41,25,42,25,43,26,16,26,17,26,18,26,19,26,23,26,37,26,40,26,41,26,42,26,43,27,16,27,17,27,18,27,19,27,23,27,37,27,40,27,41,27,42,27,43,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,33,4,33,5,33,16,33,17,33,18,33,19,33,23,33,37,33,40,33,41,33,42,33,43,33,49,34,5,34,6,34,16,34,17,34,18,34,19,34,23,34,37,34,40,34,41,34,42,34,43,34,48,34,49,35,6,35,7,35,16,35,17,35,18,35,19,35,23,35,37,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,40,36,41,36,42,36,43,37,16,37,17,37,18,37,19,37,23,37,37,37,40,37,41,37,42,37,43,38,16,38,17,38,18,38,19,38,23,38,37,38,40,38,41,38,42,38,43,39,16,39,17,39,18,39,19,39,23,39,37,39,40,39,41,39,42,39,43,40,16,40,17,40,18,40,19,40,23,40,37,40,40,40,41,40,42,40,43,41,7,41,8,41,9,41,10,41,11,41,12,41,13,41,14,41,15,41,16,41,17,41,18,41,19,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,42,6,42,7,42,16,42,17,42,18,42,19,42,23,42,37,42,40,42,41,42,42,42,43,42,48,42,49,43,5,43,6,43,16,43,17,43,18,43,19,43,23,43,37,43,40,43,41,43,42,43,43,43,49,44,5,44,6,44,7,44,8,44,9,44,10,44,11,44,12,44,13,44,14,44,15,44,16,44,17,44,18,44,19,44,23,44,24,44,25,44,26,44,27,44,28,44,29,44,30,44,31,44,32,44,33,44,34,44,35,44,36,44,37,44,40,44,41,44,42,44,43,44,44,44,45,44,46,44,47,44,48,44,49,45,5,45,6,45,7,45,8,45,9,45,10,45,11,45,12,45,13,45,14,45,15,45,16,45,17,45,18,45,19,45,23,45,24,45,25,45,26,45,27,45,28,45,29,45,30,45,31,45,32,45,33,45,34,45,35,45,36,45,37,45,40,45,41,45,42,45,43,45,44,45,45,45,46,45,47,45,48,45,49,46,5,46,6,46,7,46,8,46,9,46,10,46,11,46,12,46,13,46,14,46,15,46,16,46,17,46,18,46,19,46,23,46,24,46,25,46,26,46,27,46,28,46,29,46,30,46,31,46,32,46,33,46,34,46,35,46,36,46,37,46,40,46,41,46,42,46,43,46,44,46,45,46,46,46,47,46,48,46,49,47,6,47,7,47,8,47,9,47,10,47,11,47,12,47,13,47,14,47,15,47,16,47,17,47,18,47,19,47,23,47,24,47,25,47,26,47,27,47,28,47,29,47,30,47,31,47,32,47,33,47,34,47,35,47,36,47,37,47,40,47,41,47,42,47,43,47,44,47,45,47,46,47,47,47,48,47,49,48,7,48,8,48,9,48,10,48,11,48,12,48,13,48,14,48,15,48,16,48,17,48,18,48,19,48,23,48,24,48,25,48,26,48,27,48,28,48,29,48,30,48,31,48,32,48,33,48,34,48,35,48,36,48,37,48,38,48,40,48,41,48,42,48,43,48,44,48,45,48,46,48,47,48,48,48,49,49,16,49,17,49,18,49,19,49,23,49,38,49,40,49,41,49,42,49,43,50,17,50,18,50,19,50,23,50,38,50,39,50,40,50,41,51,18,51,19,51,20,51,21,51,22}; for i=1,2437,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0011(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {0,0,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,1,0,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,2,0,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50,2,51,2,52,3,0,3,18,3,19,3,20,3,21,3,22,3,23,3,24,3,25,3,26,3,27,3,28,3,29,3,30,3,31,3,32,3,33,3,34,3,35,3,36,3,37,3,38,3,39,3,40,3,41,3,42,3,43,3,44,3,45,3,46,3,47,3,48,3,49,3,50,3,51,3,52,4,0,4,18,4,19,4,51,4,52,5,0,5,18,5,19,5,51,5,52,6,0,6,2,6,3,6,4,6,5,6,6,6,7,6,8,6,9,6,10,6,11,6,12,6,13,6,14,6,15,6,16,6,17,6,18,6,19,6,51,6,52,7,0,7,2,7,3,7,4,7,5,7,6,7,7,7,8,7,9,7,10,7,11,7,12,7,13,7,14,7,15,7,16,7,17,7,18,7,19,7,51,7,52,8,0,8,2,8,3,8,4,8,5,8,6,8,7,8,8,8,9,8,10,8,11,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,19,8,51,8,52,9,0,9,2,9,3,9,4,9,5,9,6,9,7,9,8,9,9,9,10,9,11,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,51,9,52,10,0,10,2,10,3,10,4,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,37,10,38,10,39,10,40,10,41,10,42,10,43,10,44,10,45,10,46,10,47,10,48,10,49,10,50,10,51,10,52,11,0,11,2,11,3,11,4,11,18,11,19,11,20,11,21,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,35,11,36,11,37,11,38,11,39,11,40,11,41,11,42,11,43,11,44,11,45,11,46,11,47,11,48,11,49,11,50,11,51,11,52,12,0,12,2,12,3,12,4,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,12,50,12,51,12,52,13,0,13,2,13,3,13,4,13,5,13,6,13,7,13,8,13,9,13,10,13,11,13,25,13,26,13,27,13,51,13,52,14,0,14,2,14,3,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,25,14,26,14,27,14,51,14,52,15,0,15,2,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,25,15,26,15,27,15,51,15,52,16,0,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,51,16,52,17,0,17,9,17,10,17,11,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,51,17,52,18,0,18,9,18,10,18,11,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,51,18,52,19,0,19,9,19,10,19,11,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,0,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,0,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,0,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,0,23,2,23,3,23,4,23,21,23,22,23,23,23,24,23,51,23,52,24,0,24,2,24,3,24,4,24,21,24,22,24,23,24,24,24,51,24,52,25,0,25,2,25,3,25,4,25,21,25,22,25,23,25,24,25,51,25,52,26,0,26,2,26,3,26,4,26,21,26,22,26,23,26,24,26,51,26,52,27,0,27,2,27,3,27,4,27,21,27,22,27,23,27,24,27,51,27,52,28,0,28,2,28,3,28,4,28,21,28,22,28,23,28,24,28,51,28,52,29,0,29,2,29,3,29,4,29,21,29,22,29,23,29,24,29,51,29,52,30,0,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,0,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,0,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,0,33,9,33,10,33,11,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,0,34,9,34,10,34,11,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,51,34,52,35,0,35,9,35,10,35,11,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,51,35,52,36,0,36,3,36,4,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,51,36,52,37,0,37,2,37,3,37,4,37,5,37,6,37,7,37,8,37,9,37,10,37,11,37,25,37,26,37,27,37,51,37,52,38,0,38,2,38,3,38,4,38,5,38,6,38,7,38,8,38,9,38,10,38,11,38,25,38,26,38,27,38,51,38,52,39,0,39,2,39,3,39,4,39,5,39,6,39,7,39,8,39,9,39,10,39,11,39,25,39,26,39,27,39,51,39,52,40,0,40,2,40,3,40,4,40,5,40,6,40,7,40,8,40,9,40,10,40,11,40,18,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,51,40,52,41,0,41,2,41,3,41,4,41,18,41,19,41,20,41,21,41,22,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,38,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,41,49,41,50,41,51,41,52,42,0,42,2,42,3,42,4,42,18,42,19,42,20,42,21,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,42,30,42,31,42,32,42,33,42,34,42,35,42,36,42,37,42,38,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,42,47,42,48,42,49,42,50,42,51,42,52,43,0,43,2,43,3,43,4,43,5,43,6,43,7,43,8,43,9,43,10,43,11,43,12,43,13,43,14,43,15,43,16,43,17,43,18,43,19,43,20,43,21,43,22,43,23,43,24,43,25,43,26,43,27,43,28,43,29,43,30,43,31,43,32,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,41,43,42,43,43,43,44,43,45,43,46,43,47,43,48,43,49,43,50,43,51,43,52,44,0,44,2,44,3,44,4,44,5,44,6,44,7,44,8,44,9,44,10,44,11,44,12,44,13,44,14,44,15,44,16,44,17,44,18,44,19,44,20,44,21,44,51,44,52,45,0,45,2,45,3,45,4,45,5,45,6,45,7,45,8,45,9,45,10,45,11,45,12,45,13,45,14,45,15,45,16,45,17,45,18,45,19,45,20,45,21,45,51,45,52,46,0,46,2,46,3,46,4,46,5,46,6,46,7,46,8,46,9,46,10,46,11,46,12,46,13,46,14,46,15,46,16,46,17,46,18,46,19,46,20,46,21,46,51,46,52,47,0,47,18,47,19,47,20,47,21,47,51,47,52,48,0,48,18,48,19,48,20,48,21,48,51,48,52,49,0,49,18,49,19,49,20,49,21,49,51,49,52,50,0,50,18,50,19,50,20,50,21,50,22,50,23,50,24,50,25,50,26,50,27,50,28,50,29,50,30,50,31,50,32,50,33,50,34,50,35,50,36,50,37,50,38,50,39,50,40,50,41,50,42,50,43,50,44,50,45,50,46,50,47,50,48,50,49,50,50,50,51,50,52,51,0,51,18,51,19,51,20,51,21,51,22,51,23,51,24,51,25,51,26,51,27,51,28,51,29,51,30,51,31,51,32,51,33,51,34,51,35,51,36,51,37,51,38,51,39,51,40,51,41,51,42,51,43,51,44,51,45,51,46,51,47,51,48,51,49,51,50,51,51,51,52,52,0,52,18,52,19,52,20,52,21,52,22,52,23,52,24,52,25,52,26,52,27,52,28,52,29,52,30,52,31,52,32,52,33,52,34,52,35,52,36,52,37,52,38,52,39,52,40,52,41,52,42,52,43,52,44,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52}; for i=1,2751,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0012(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {13,15,13,16,14,9,14,10,14,11,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,15,9,15,10,15,11,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,17,4,17,5,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,18,3,18,4,18,5,18,6,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,52,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,51,21,52,22,5,22,6,22,7,22,8,22,9,22,10,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,50,22,51,22,52,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,49,23,50,23,51,23,52,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,23,25,24,25,26,25,27,25,29,25,30,25,32,25,33,25,35,25,36,25,38,25,39,25,40,25,42,25,43,25,45,25,47,25,49,25,50,25,51,25,52,26,4,26,5,26,6,26,10,26,11,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,23,26,24,26,26,26,27,26,29,26,30,26,32,26,35,26,36,26,39,26,40,26,42,26,43,26,45,26,47,26,49,26,50,26,51,26,52,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,23,27,24,27,26,27,27,27,29,27,30,27,32,27,35,27,36,27,38,27,39,27,40,27,42,27,43,27,45,27,47,27,49,27,50,27,51,27,52,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,50,30,51,30,52,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,51,31,52,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,14,33,15,33,16,33,17,33,18,33,19,33,20,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,35,3,35,4,35,5,35,6,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,36,3,36,4,36,5,36,6,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,38,9,38,10,38,11,38,12,38,13,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,39,10,39,11,39,12,39,14,39,15,39,21,39,22,39,23,40,11,40,12}; for i=1,1147,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0013(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,39,10,40,10,41,10,42,10,43,11,34,11,35,11,36,11,37,11,38,11,39,11,40,11,41,11,42,11,43,11,44,12,34,12,35,12,37,12,38,12,39,12,41,12,42,12,43,12,44,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,14,34,14,35,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,15,34,15,35,15,36,15,37,15,38,15,40,15,41,15,43,15,44,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,17,40,17,41,17,42,17,43,17,44,18,40,18,42,18,43,18,44,19,40,19,41,19,42,19,43,19,44,20,40,20,41,20,42,20,44,21,40,21,41,21,42,21,43,21,44,21,45,21,46,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,25,23,26,23,27,23,28,23,29,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,10,25,11,25,12,25,13,25,14,25,16,25,17,25,18,25,19,25,20,25,21,25,23,25,24,25,25,25,26,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,52,26,2,26,3,26,4,26,5,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,40,26,41,26,42,26,43,26,44,26,45,26,47,26,49,26,50,26,51,26,52,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,1,28,2,28,3,28,4,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,38,29,39,29,40,29,41,29,42,29,44,29,45,29,46,29,47,29,49,29,50,29,51,29,52,30,2,30,3,30,4,30,5,30,6,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,31,4,31,5,31,6,31,7,31,8,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,19,31,20,31,21,31,22,31,23,31,24,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,39,32,40,32,41,32,43,32,44,32,45,32,46,32,47,32,49,32,50,32,51,32,52,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,28,35,29,35,30,35,31,35,32,35,33,35,34,36,27,36,28,36,29,36,30,36,32,36,33,37,22,37,23,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32,37,33,38,22,38,23,38,25,38,26,38,27,38,29,38,30,38,31,38,32,38,33,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,41,21,41,22,41,23,41,25,41,26,41,27,41,29,41,30,42,22,42,23,42,24,42,25,42,26,42,27,42,28,42,29,42,30}; for i=1,1501,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_outdoors_0014(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {2,3,2,4,2,9,2,10,2,19,2,20,2,25,2,26,2,48,3,44,3,48,4,16,4,29,4,30,4,44,5,6,5,16,5,35,6,6,6,35,6,39,6,40,7,22,7,23,8,12,9,12,9,30,9,31,9,45,9,46,10,35,11,23,11,24,11,35,11,49,12,3,12,7,12,8,12,16,12,17,12,27,12,49,13,3,13,27,14,30,14,36,14,37,14,43,14,44,15,21,15,22,15,30,16,12,16,17,17,7,17,12,17,17,17,50,17,51,18,7,18,35,18,36,19,24,19,25,20,2,20,3,20,30,21,20,21,30,21,44,22,7,22,8,22,14,22,15,22,20,22,39,22,44,22,49,23,39,23,49,24,23,24,51,25,8,25,23,25,51,26,4,26,5,26,8,26,29,26,40,26,41,26,47,26,48,27,12,27,13,27,18,27,19,27,29,27,34,27,35,28,50,29,25,29,26,29,50,30,29,30,30,30,39,30,40,31,2,31,22,31,44,31,45,31,48,31,49,32,2,32,11,32,12,32,22,33,32,34,7,34,17,34,18,34,27,34,32,34,49,34,50,35,7,35,22,35,23,35,27,35,38,36,38,36,45,36,46,37,10,38,10,38,32,39,3,39,4,39,32,39,36,39,46,40,16,40,36,40,46,41,16,41,41,42,24,42,41,43,24,43,30,43,31,43,50,44,3,44,4,44,46,44,50,45,15,45,16,45,46,46,9,46,10,46,24,46,25,46,34,47,28,47,29,47,34,47,38,47,39,48,44,48,45,49,4,49,5,49,12,49,18,49,19,49,49,50,2,50,12,50,25,50,49,51,2,51,25,51,33,51,34,51,41,51,42}; for i=1,375,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,25,10,26,10,27,10,28,10,29,10,30,11,23,11,24,11,25,11,31,11,32,11,33,12,9,12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,34,12,35,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,36,13,37,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,37,14,38,14,39,14,40,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,16,3,16,4,16,5,16,6,16,7,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,2,17,3,17,4,17,5,17,6,17,7,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,47,17,48,17,49,17,50,17,51,17,52,18,1,18,2,18,3,18,4,18,5,18,6,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,48,18,49,18,50,18,51,18,52,19,1,19,2,19,3,19,4,19,5,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,49,19,50,19,51,19,52,20,0,20,1,20,2,20,3,20,4,20,9,20,10,20,15,20,16,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,48,20,49,20,50,20,51,20,52,21,0,21,1,21,2,21,3,21,4,21,9,21,10,21,16,21,17,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,4,22,9,22,10,22,17,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,44,22,45,22,46,22,47,22,48,22,49,23,0,23,1,23,2,23,3,23,4,23,17,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,24,0,24,1,24,2,24,3,24,4,24,12,24,13,24,17,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,25,0,25,1,25,2,25,3,25,4,25,17,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,26,0,26,1,26,2,26,3,26,4,26,9,26,10,26,17,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,45,26,46,26,47,26,48,26,49,26,50,27,0,27,1,27,2,27,3,27,4,27,9,27,10,27,16,27,17,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,48,27,49,27,50,27,51,27,52,28,1,28,2,28,3,28,4,28,9,28,10,28,15,28,16,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,50,29,51,29,52,30,2,30,3,30,4,30,5,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,49,30,50,30,51,30,52,31,2,31,3,31,4,31,5,31,6,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,48,31,49,31,50,31,51,31,52,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,48,32,49,32,50,32,51,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,35,34,36,34,37,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,34,35,35,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,26,36,27,36,33,36,34,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,27,37,28,37,29,37,30,37,32,37,33,38,30,38,31,38,32}; for i=1,1663,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0002(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,10,32,10,33,10,34,10,35,10,36,10,37,10,38,10,39,10,40,10,41,10,42,10,43,10,44,11,31,11,32,11,33,11,34,11,35,11,36,11,37,11,38,11,39,11,40,11,41,11,43,11,44,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,44,12,45,12,46,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,44,13,45,13,46,13,47,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,47,14,48,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,47,15,48,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,0,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,27,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,27,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,22,30,23,30,27,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,22,31,23,31,27,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,22,32,23,32,27,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,27,33,29,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,28,34,29,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,25,35,26,35,27,35,28,35,29,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,50,35,51,35,52,36,15,36,16,36,17,36,18,36,20,36,21,36,25,36,26,36,27,36,28,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,37,21,37,22,37,23,37,24,37,25,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,42,38,43,38,44,39,34,39,35,39,36,39,37,39,38,39,39,39,42,39,43,39,44,40,36,40,37,40,38,40,39,40,44,41,39,41,40,41,41,41,44,42,39,42,40,42,41,42,44,43,41,43,42,43,43,43,44}; for i=1,2051,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0003(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {7,32,7,33,8,30,8,31,8,32,8,33,8,34,8,35,8,36,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,37,10,38,10,39,11,28,11,29,11,30,11,35,11,36,11,37,11,38,11,39,11,40,11,41,12,27,12,28,12,29,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,43,12,44,12,45,13,12,13,13,13,14,13,15,13,27,13,28,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,13,45,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,25,14,26,14,27,14,28,14,33,14,34,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,48,14,49,14,50,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,25,15,26,15,27,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,15,51,15,52,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,24,16,25,16,26,16,27,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,1,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,36,50,36,51,36,52,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,25,37,26,37,27,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,48,37,49,37,50,37,51,37,52,38,8,38,9,38,10,38,11,38,12,38,13,38,14,38,15,38,25,38,26,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,38,48,38,49,38,50,38,51,38,52,39,10,39,11,39,12,39,13,39,14,39,15,39,26,39,33,39,34,39,35,39,36,39,37,39,38,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,39,48,40,26,40,27,40,35,40,36,40,37,40,38,40,39,40,40,40,41,40,42,41,27,41,28,41,29,41,34,41,35,41,36,41,37,42,27,42,28,42,29,42,30,42,31,42,32,42,33,42,34,42,35,42,36,42,37,43,30,43,31,43,32,43,33,43,34}; for i=1,2509,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0004(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {2,4,2,5,2,6,3,3,3,4,3,5,3,6,3,7,3,8,4,3,4,4,4,5,4,6,4,7,4,8,5,3,5,5,5,6,5,7,5,8,5,9,5,10,5,11,5,12,5,13,5,14,5,15,5,16,5,17,5,18,5,19,5,20,5,21,5,22,5,23,5,24,5,25,5,26,5,27,6,3,6,4,6,5,6,6,6,7,6,8,6,25,6,26,6,27,6,28,6,29,7,3,7,4,7,5,7,6,7,7,7,8,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,7,33,7,34,7,35,7,36,7,37,7,38,7,39,7,40,7,41,7,42,8,4,8,5,8,6,8,7,8,8,8,9,8,10,8,11,8,12,8,13,8,14,8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,8,37,8,38,8,39,8,40,8,41,8,42,9,5,9,6,9,7,9,16,9,17,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,9,43,10,15,10,16,10,17,10,18,10,19,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,10,33,10,34,10,35,10,36,10,37,10,42,10,43,11,14,11,15,11,16,11,17,11,18,11,19,11,20,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,41,11,42,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,23,12,24,12,39,12,40,12,41,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,45,17,46,17,47,17,48,17,49,17,52,18,7,18,8,18,9,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,52,19,6,19,7,19,8,19,9,19,11,19,12,19,13,19,14,19,15,19,16,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,52,20,5,20,6,20,7,20,8,20,9,20,11,20,12,20,13,20,14,20,15,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,52,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,11,21,12,21,13,21,14,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,52,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,11,22,12,22,13,22,14,22,17,22,18,22,19,22,20,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,52,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,11,23,12,23,13,23,14,23,17,23,18,23,19,23,20,23,25,23,26,23,27,23,28,23,29,23,30,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,52,24,3,24,5,24,6,24,7,24,9,24,11,24,12,24,13,24,14,24,25,24,26,24,27,24,28,24,29,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,11,25,12,25,13,25,14,25,22,25,25,25,26,25,27,25,28,25,29,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,26,3,26,4,26,5,26,7,26,8,26,9,26,11,26,12,26,13,26,14,26,25,26,26,26,27,26,28,26,29,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,11,27,12,27,13,27,14,27,17,27,18,27,19,27,20,27,25,27,26,27,27,27,28,27,29,27,30,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,28,3,28,5,28,6,28,7,28,8,28,9,28,11,28,12,28,13,28,14,28,17,28,18,28,19,28,20,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,29,3,29,4,29,5,29,6,29,7,29,9,29,11,29,12,29,13,29,14,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,30,4,30,5,30,6,30,7,30,8,30,9,30,11,30,12,30,13,30,14,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,49,31,5,31,6,31,7,31,8,31,9,31,11,31,12,31,13,31,14,31,15,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,40,31,41,31,42,31,43,31,44,31,45,31,49,32,6,32,7,32,8,32,9,32,11,32,12,32,13,32,14,32,15,32,16,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,45,32,49,33,7,33,8,33,9,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,24,33,25,33,26,33,27,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,49,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,34,43,34,44,34,45,34,49,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,49,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,27,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,27,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,35,37,36,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,28,38,29,38,30,38,31,38,32,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,29,39,30,39,31,39,32,39,34,39,35,39,36,39,37,39,38,39,39,39,40,39,41,39,42,39,43,40,15,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,30,40,31,40,32,40,35,40,37,40,38,40,39,40,40,40,41,40,42,40,43,41,16,41,17,41,18,41,19,41,20,41,21,41,22,41,31,41,35,41,38,41,39,41,40,41,41,41,42,42,18,42,19,42,20,42,21,42,31,42,32,42,33,42,34,42,35,42,39,42,40,43,19,43,20}; for i=1,2227,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0005(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {13,34,13,35,13,36,13,37,13,38,13,39,14,11,14,12,14,13,14,14,14,31,14,32,14,33,14,34,14,39,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,29,15,30,15,31,15,33,15,34,15,38,15,39,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,26,16,27,16,28,16,29,16,33,16,37,16,38,16,41,16,42,16,43,16,44,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,24,17,25,17,26,17,33,17,36,17,37,17,40,17,41,17,42,17,43,17,44,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,23,18,24,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,23,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,18,21,19,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,44,21,45,21,46,21,47,21,48,21,49,21,50,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,12,22,19,22,20,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,44,22,45,22,46,22,47,22,48,22,49,22,50,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,12,23,16,23,17,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,44,23,45,23,46,23,47,23,48,23,49,23,50,24,2,24,3,24,5,24,6,24,7,24,8,24,12,24,17,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,25,2,25,3,25,5,25,6,25,7,25,8,25,9,25,10,25,14,25,15,25,17,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,26,2,26,3,26,6,26,7,26,8,26,9,26,15,26,17,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,27,2,27,3,27,4,27,6,27,7,27,8,27,9,27,17,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,40,27,41,27,42,27,43,27,44,27,45,27,46,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,12,28,17,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,45,28,46,28,47,28,48,28,49,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,12,29,16,29,17,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,45,29,46,29,47,29,48,29,49,29,50,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,12,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,44,31,45,31,46,31,47,31,48,31,49,31,50,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,17,32,18,32,19,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,46,33,47,33,48,33,49,34,4,34,5,34,6,34,7,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,23,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,40,34,41,34,42,35,4,35,5,35,6,35,7,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,23,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,35,42,35,43,36,5,36,6,36,7,36,8,36,9,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,23,36,34,36,35,36,36,36,37,36,38,36,39,36,40,36,41,36,42,36,43,37,5,37,6,37,7,37,8,37,9,37,10,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,23,37,24,37,25,37,26,37,34,37,37,37,38,37,39,37,41,37,42,37,43,38,7,38,8,38,9,38,10,38,11,38,12,38,13,38,14,38,15,38,16,38,17,38,18,38,26,38,27,38,28,38,29,38,34,38,35,38,39,39,8,39,9,39,10,39,11,39,12,39,13,39,14,39,15,39,29,39,30,39,31,39,32,39,33,39,34,39,35,39,39,40,10,40,11,40,12,40,13,40,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39}; for i=1,1607,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0006(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {12,34,12,35,13,25,13,33,13,34,13,35,13,36,14,24,14,25,14,26,14,32,14,35,14,36,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,31,15,32,15,35,16,17,16,18,16,19,16,27,16,28,16,30,16,31,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,17,12,17,13,17,14,17,17,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,29,18,30,18,31,18,38,18,39,18,40,18,41,18,42,18,43,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,21,19,24,19,25,19,26,19,30,19,39,19,40,19,41,19,42,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,21,20,24,20,25,20,26,20,30,20,40,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,21,21,28,21,30,21,40,21,41,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,16,22,28,22,30,22,33,22,34,22,39,22,40,22,41,22,42,22,43,22,48,22,49,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,16,23,28,23,30,23,33,23,34,23,38,23,39,23,40,23,41,23,42,23,43,23,46,23,47,23,48,23,49,23,50,24,4,24,5,24,6,24,7,24,8,24,9,24,13,24,16,24,30,24,37,24,38,24,39,24,40,24,41,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,25,4,25,5,25,6,25,7,25,8,25,13,25,15,25,16,25,24,25,25,25,26,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,25,51,26,4,26,5,26,6,26,7,26,8,26,13,26,15,26,16,26,17,26,21,26,24,26,25,26,26,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,4,27,5,27,6,27,7,27,8,27,13,27,15,27,16,27,17,27,18,27,21,27,28,27,29,27,30,27,31,27,32,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,28,4,28,5,28,6,28,7,28,8,28,18,28,19,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,29,4,29,5,29,6,29,7,29,8,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,30,4,30,5,30,6,30,7,30,8,30,9,30,13,30,22,30,24,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,4,31,5,31,6,31,7,31,8,31,9,31,13,31,15,31,16,31,17,31,24,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,45,31,46,31,47,31,48,31,49,31,50,31,51,32,5,32,6,32,7,32,8,32,9,32,10,32,13,32,15,32,16,32,17,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,46,32,47,32,48,32,49,32,50,32,51,33,5,33,6,33,7,33,8,33,9,33,10,33,13,33,15,33,16,33,17,33,22,33,23,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,47,33,48,33,49,33,50,33,51,34,6,34,7,34,8,34,9,34,10,34,11,34,21,34,22,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,34,39,34,48,34,49,34,50,34,51,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,23,35,24,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,35,36,35,37,35,38,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,22,36,23,36,28,36,29,36,30,36,31,36,32,36,33,36,34,36,35,36,36,36,37,36,38,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23,37,24,37,28,37,29,37,30,37,31,37,32,37,33,37,34,37,38,37,39,37,40,37,41,37,42,38,10,38,11,38,12,38,13,38,14,38,15,38,16,38,17,38,18,38,19,38,20,38,21,38,22,38,23,38,24,38,25,38,26,38,27,38,31,38,32,38,33,38,34,38,42,38,43,39,11,39,12,39,13,39,14,39,15,39,16,39,17,39,18,39,19,39,20,39,21,39,22,39,23,39,24,39,25,39,26,39,27,39,28,39,29,39,30,39,31,39,32,39,33,39,39,39,40,39,41,39,42,39,44,39,45,40,15,40,16,40,17,40,18,40,19,40,20,40,21,40,22,40,23,40,24,40,25,40,26,40,27,40,28,40,29,40,30,40,31,40,33,40,34,40,35,40,36,40,37,40,41,40,42,40,44,40,45,41,20,41,21,41,22,41,23,41,24,41,25,41,26,41,27,41,28,41,29,41,30,41,37,41,38,41,39,41,40,41,41,41,42,41,43}; for i=1,1391,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0007(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {6,15,6,16,6,17,6,18,6,19,6,20,6,21,6,22,7,8,7,9,7,10,7,11,7,12,7,13,7,14,7,15,7,19,7,20,7,21,7,22,7,23,7,24,7,25,7,26,7,27,7,28,7,29,7,30,7,31,7,32,8,5,8,6,8,7,8,8,8,17,8,18,8,19,8,20,8,21,8,22,8,23,8,24,8,25,8,26,8,27,8,28,8,29,8,30,8,31,8,32,8,33,8,34,8,35,8,36,9,7,9,8,9,9,9,10,9,11,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,9,25,9,26,9,27,9,28,9,29,9,30,9,31,9,32,9,33,9,34,9,35,9,36,9,37,9,38,9,39,9,40,9,41,9,42,10,11,10,12,10,13,10,19,10,20,10,21,10,31,10,32,10,33,10,34,10,35,10,36,10,37,10,38,10,40,10,41,10,42,10,43,11,13,11,14,11,15,11,20,11,21,11,34,11,35,11,36,11,37,11,40,11,41,11,42,11,43,11,44,11,45,11,46,11,47,11,48,11,49,12,15,12,16,12,17,12,18,12,19,12,35,12,36,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,12,50,12,51,12,52,13,35,13,41,13,42,13,49,13,50,13,51,14,34,14,39,14,40,14,41,15,33,15,34,15,37,15,38,15,39,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,33,16,36,16,37,16,50,16,51,16,52,17,10,17,11,17,12,17,13,17,14,17,21,17,22,17,23,17,30,17,31,17,32,17,33,17,35,17,36,17,48,17,49,17,50,17,51,17,52,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,23,18,24,18,29,18,30,18,34,18,35,18,47,18,48,18,49,18,50,18,51,18,52,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,24,19,25,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,17,20,18,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,17,21,18,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,40,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,17,22,18,22,24,22,27,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,24,23,27,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,41,23,42,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,24,24,27,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,40,24,42,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,20,25,21,25,24,25,27,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,42,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,24,26,27,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,41,26,42,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,17,27,18,27,24,27,27,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,42,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,17,28,18,28,27,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,40,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,17,29,18,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,7,30,8,30,9,30,10,30,11,30,12,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,8,31,9,31,10,31,11,31,12,31,13,31,21,31,22,31,23,31,28,31,29,31,30,31,31,31,35,31,36,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,9,32,10,32,11,32,12,32,13,32,19,32,20,32,21,32,29,32,30,32,37,32,38,32,48,32,49,32,50,32,51,32,52,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,30,33,31,33,32,33,33,33,34,33,38,33,39,33,49,33,50,33,51,33,52,34,34,34,35,34,39,34,40,35,35,35,36,35,40,36,36,36,37,36,39,36,40,36,41,37,36,37,37,37,38,37,39,37,40,37,41,38,31,38,32,38,33,38,34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,39,30,39,31,39,32,39,33,39,34,39,35,39,36,39,37,39,38,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,39,48,40,30,40,31,40,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,40,47,40,48,41,30,41,31,41,32,41,33,41,34,41,35,41,36,41,37,41,38,41,39,41,40,41,41,41,42,41,43,41,44,41,45,41,46,41,47,41,48,42,30,42,31,42,32,42,33,42,34,42,35,42,36,42,37,42,38,42,39,42,40,42,41,42,42,42,43,42,44,42,45,42,46,43,33,43,34,43,35,43,36,43,37,43,38,43,39,43,40,43,41,43,42,43,43,44,36,44,37,44,38,44,39,44,40,44,41}; for i=1,1473,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0008(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,22,10,23,10,24,10,25,10,26,10,27,11,20,11,21,11,22,11,27,11,28,11,29,12,18,12,19,12,20,12,29,12,30,13,17,13,18,13,19,13,20,13,21,13,30,13,31,13,32,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,23,14,24,14,25,14,26,14,27,14,32,14,33,15,14,15,15,15,18,15,19,15,20,15,21,15,22,15,23,15,27,15,28,15,33,16,14,16,19,16,20,16,21,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,17,14,17,18,17,19,17,20,17,21,17,22,17,30,17,31,17,32,17,33,17,34,17,35,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,18,5,18,6,18,7,18,8,18,9,18,10,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,31,18,32,18,33,18,34,18,35,18,36,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,47,19,48,19,49,19,50,19,51,19,52,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,47,20,48,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,6,22,7,22,12,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,8,23,10,23,12,23,15,23,16,23,18,23,19,23,20,23,21,23,22,23,23,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,10,24,13,24,19,24,20,24,21,24,22,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,10,25,13,25,18,25,19,25,20,25,21,25,28,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,26,0,26,1,26,2,26,3,26,4,26,6,26,7,26,9,26,12,26,19,26,20,26,21,26,22,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,0,27,1,27,2,27,3,27,4,27,5,27,11,27,12,27,15,27,16,27,18,27,19,27,20,27,21,27,22,27,23,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,5,31,6,31,7,31,8,31,9,31,10,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,30,31,31,31,32,31,33,31,34,31,35,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,14,32,15,32,18,32,19,32,20,32,21,32,31,32,32,32,34,32,35,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,33,14,33,15,33,19,33,20,33,21,33,31,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,34,14,34,15,34,19,34,20,34,21,34,29,34,30,34,31,34,35,35,15,35,16,35,18,35,19,35,20,35,21,35,22,35,23,35,27,35,28,35,29,35,34,35,35,36,16,36,18,36,19,36,20,36,21,36,23,36,24,36,25,36,26,36,27,36,33,36,34,37,16,37,17,37,18,37,19,37,20,37,21,37,31,37,32,37,33,38,17,38,18,38,19,38,20,38,30,38,31,39,20,39,21,39,22,39,27,39,28,39,29,39,30,40,22,40,23,40,24,40,25,40,26,40,27}; for i=1,1307,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0009(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,22,10,23,10,24,10,25,10,26,10,27,11,20,11,21,11,22,11,27,11,28,11,29,12,18,12,19,12,20,12,29,12,30,13,17,13,18,13,19,13,20,13,21,13,30,13,31,13,32,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,23,14,24,14,25,14,26,14,27,14,32,14,33,15,14,15,15,15,18,15,19,15,20,15,21,15,22,15,23,15,27,15,28,15,33,16,14,16,19,16,20,16,21,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,17,14,17,18,17,19,17,20,17,21,17,22,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,18,5,18,6,18,7,18,8,18,9,18,10,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,52,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,6,22,7,22,12,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,8,23,10,23,12,23,15,23,16,23,18,23,19,23,20,23,21,23,22,23,23,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,10,24,13,24,19,24,20,24,21,24,22,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,10,25,13,25,18,25,19,25,20,25,21,25,28,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,26,0,26,1,26,2,26,3,26,4,26,6,26,7,26,9,26,12,26,19,26,20,26,21,26,22,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,0,27,1,27,2,27,3,27,4,27,5,27,11,27,12,27,15,27,16,27,18,27,19,27,20,27,21,27,22,27,23,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,5,31,6,31,7,31,8,31,9,31,10,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,14,32,15,32,18,32,19,32,20,32,21,32,31,32,32,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,33,14,33,15,33,19,33,20,33,21,33,31,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,34,14,34,15,34,19,34,20,34,21,34,29,34,30,34,31,34,35,35,15,35,16,35,18,35,19,35,20,35,21,35,22,35,23,35,27,35,28,35,29,35,34,35,35,36,16,36,18,36,19,36,20,36,21,36,23,36,24,36,25,36,26,36,27,36,33,36,34,37,16,37,17,37,18,37,19,37,20,37,21,37,31,37,32,37,33,38,17,38,18,38,19,38,20,38,30,38,31,39,20,39,21,39,22,39,27,39,28,39,29,39,30,40,22,40,23,40,24,40,25,40,26,40,27}; for i=1,1481,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0010(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {9,31,9,32,9,33,9,34,9,35,9,36,10,29,10,30,10,31,10,32,10,35,10,36,11,28,11,29,11,30,11,31,11,32,11,34,11,35,11,36,12,27,12,28,12,29,12,30,12,31,12,33,12,34,12,35,12,36,12,37,13,26,13,27,13,28,13,29,13,30,13,33,13,34,13,35,13,36,13,37,14,25,14,26,14,27,14,28,14,29,14,32,14,33,14,34,14,35,14,36,14,37,15,24,15,25,15,26,15,27,15,28,15,31,15,32,15,33,15,34,15,35,15,36,15,38,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,30,16,31,16,32,16,33,16,34,16,35,16,38,16,39,17,4,17,5,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,30,17,31,17,32,17,33,17,34,17,39,17,40,17,41,17,42,17,43,17,44,17,45,18,3,18,4,18,5,18,6,18,7,18,8,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,29,18,30,18,31,18,32,18,33,18,41,18,42,18,43,18,44,18,45,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,28,19,29,19,30,19,31,19,32,19,41,19,42,19,43,19,44,19,45,19,46,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,27,20,28,20,29,20,30,20,31,20,40,20,41,20,42,20,43,20,44,20,45,20,46,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,27,21,28,21,29,21,30,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,26,22,27,22,28,22,29,22,30,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,49,22,50,22,51,22,52,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,50,23,51,23,52,24,2,24,3,24,4,24,5,24,6,24,7,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,50,24,51,24,52,25,2,25,3,25,4,25,5,25,6,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,25,50,26,2,26,3,26,4,26,5,26,6,26,8,26,9,26,10,26,13,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,44,27,2,27,3,27,4,27,5,27,8,27,9,27,13,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,42,27,43,27,44,28,2,28,3,28,4,28,5,28,11,28,13,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,29,2,29,3,29,4,29,5,29,8,29,9,29,11,29,13,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,47,29,48,29,49,29,50,30,2,30,3,30,4,30,5,30,6,30,8,30,9,30,10,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,50,30,51,31,3,31,4,31,5,31,6,31,7,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,51,31,52,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,46,32,47,32,48,32,51,32,52,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,48,33,49,33,50,33,51,33,52,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,27,34,28,34,29,34,30,34,31,34,32,34,33,34,34,34,35,34,36,34,37,34,38,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,28,35,29,35,30,35,31,35,32,35,33,35,34,35,35,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,37,20,37,21,37,22,37,23,37,24,37,25,37,26,37,27,37,28}; for i=1,1571,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0011(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,48,19,49,19,50,19,51,19,52,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,46,20,47,20,48,20,51,20,52,21,3,21,4,21,5,21,6,21,7,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,51,21,52,22,2,22,3,22,4,22,5,22,6,22,8,22,9,22,10,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,50,22,51,23,2,23,3,23,4,23,5,23,8,23,9,23,11,23,13,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,47,23,48,23,49,23,50,24,2,24,3,24,4,24,5,24,11,24,13,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,25,2,25,3,25,4,25,5,25,8,25,9,25,13,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,42,25,43,25,44,26,2,26,3,26,4,26,5,26,6,26,8,26,9,26,10,26,13,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,44,27,2,27,3,27,4,27,5,27,6,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,24,27,25,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,28,2,28,3,28,4,28,5,28,6,28,7,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,50,28,51,28,52,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,41,29,42,29,43,29,44,29,45,29,50,29,51,29,52,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,26,30,27,30,28,30,29,30,30,30,35,30,36,30,37,30,38,30,39,30,40,30,41,30,42,30,43,30,44,30,45,30,46,30,49,30,50,30,51,30,52,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,27,31,28,31,29,31,30,31,37,31,38,31,39,31,40,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,27,32,28,32,29,32,30,32,31,32,40,32,41,32,42,32,43,32,44,32,45,32,46,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,28,33,29,33,30,33,31,33,32,33,41,33,42,33,43,33,44,33,45,33,46,34,3,34,4,34,5,34,6,34,7,34,8,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,26,34,29,34,30,34,31,34,32,34,33,34,41,34,42,34,43,34,44,34,45,35,4,35,5,35,20,35,21,35,22,35,23,35,24,35,25,35,26,35,27,35,30,35,31,35,32,35,33,35,34,35,39,35,40,35,41,35,42,35,43,35,44,35,45,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,30,36,31,36,32,36,33,36,34,36,35,36,38,36,39,37,24,37,25,37,26,37,27,37,28,37,31,37,32,37,33,37,34,37,35,37,36,37,38,38,25,38,26,38,27,38,28,38,29,38,32,38,33,38,34,38,35,38,36,38,37,39,26,39,27,39,28,39,29,39,30,39,33,39,34,39,35,39,36,39,37,40,27,40,28,40,29,40,30,40,31,40,33,40,34,40,35,40,36,40,37,41,28,41,29,41,30,41,31,41,32,41,34,41,35,41,36,42,29,42,30,42,31,42,32,42,35,42,36,43,31,43,32,43,33,43,34,43,35,43,36}; for i=1,1571,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0012(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {10,22,10,23,10,24,10,25,10,26,10,27,11,20,11,21,11,22,11,27,11,28,11,29,12,18,12,19,12,20,12,29,12,30,13,17,13,18,13,19,13,20,13,21,13,30,13,31,13,32,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,23,14,24,14,25,14,26,14,27,14,32,14,33,15,14,15,15,15,18,15,19,15,20,15,21,15,22,15,23,15,27,15,28,15,33,16,14,16,19,16,20,16,21,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,17,14,17,18,17,19,17,20,17,21,17,22,17,30,17,31,17,32,17,33,17,34,17,35,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,18,5,18,6,18,7,18,8,18,9,18,10,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,31,18,32,18,33,18,34,18,35,18,36,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,47,19,48,19,49,19,50,19,51,19,52,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,47,20,48,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,6,22,7,22,12,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,8,23,10,23,12,23,15,23,16,23,18,23,19,23,20,23,21,23,22,23,23,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,10,24,13,24,19,24,20,24,21,24,22,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,10,25,13,25,18,25,19,25,20,25,21,25,28,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,26,0,26,1,26,2,26,3,26,4,26,6,26,7,26,9,26,12,26,19,26,20,26,21,26,22,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,0,27,1,27,2,27,3,27,4,27,5,27,11,27,12,27,15,27,16,27,18,27,19,27,20,27,21,27,22,27,23,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,5,31,6,31,7,31,8,31,9,31,10,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,30,31,31,31,32,31,33,31,34,31,35,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,14,32,15,32,18,32,19,32,20,32,21,32,31,32,32,32,34,32,35,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,33,14,33,15,33,19,33,20,33,21,33,31,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,34,14,34,15,34,19,34,20,34,21,34,29,34,30,34,31,34,35,35,15,35,16,35,18,35,19,35,20,35,21,35,22,35,23,35,27,35,28,35,29,35,34,35,35,36,16,36,18,36,19,36,20,36,21,36,23,36,24,36,25,36,26,36,27,36,33,36,34,37,16,37,17,37,18,37,19,37,20,37,21,37,31,37,32,37,33,38,17,38,18,38,19,38,20,38,30,38,31,39,20,39,21,39,22,39,27,39,28,39,29,39,30,40,22,40,23,40,24,40,25,40,26,40,27}; for i=1,1307,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_person_0013(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {11,27,11,28,11,29,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,31,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,30,16,31,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,28,17,29,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,26,18,27,18,28,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,34,19,35,19,36,20,4,20,5,20,6,20,7,20,8,20,16,20,17,20,18,20,19,20,23,20,24,20,25,20,26,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,21,3,21,4,21,5,21,6,21,7,21,9,21,11,21,12,21,17,21,18,21,23,21,24,21,25,21,26,21,27,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,22,3,22,4,22,5,22,6,22,7,22,9,22,15,22,23,22,24,22,25,22,26,22,27,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,23,3,23,4,23,5,23,6,23,7,23,12,23,13,23,15,23,16,23,24,23,25,23,26,23,27,23,29,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,47,23,48,24,3,24,4,24,5,24,6,24,7,24,15,24,16,24,24,24,25,24,26,24,27,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,25,3,25,4,25,5,25,6,25,7,25,9,25,15,25,23,25,24,25,25,25,26,25,27,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,45,25,46,25,47,25,48,25,49,26,3,26,4,26,5,26,6,26,7,26,9,26,11,26,12,26,17,26,18,26,22,26,23,26,24,26,25,26,26,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,3,27,4,27,5,27,6,27,7,27,16,27,17,27,18,27,22,27,23,27,24,27,25,27,26,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,22,28,23,28,24,28,25,28,26,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,23,29,24,29,25,29,26,29,27,29,28,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,20,30,21,30,26,30,27,30,28,30,29,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,21,31,22,31,29,31,30,31,45,31,46,31,47,31,48,31,49,31,50,32,23,32,24,32,30,32,31,32,32,32,46,32,47,32,48,32,49,32,50,33,24,33,25,33,26,33,27,33,32,33,33,33,45,33,46,33,47,33,48,33,49,33,50,34,27,34,28,34,29,34,30,34,31,34,33,34,34,34,44,34,45,34,46,34,47,34,48,34,49,34,50,35,31,35,34,35,39,35,40,35,41,35,42,35,43,35,44,35,45,35,46,35,47,35,48,35,49,36,31,36,32,36,34,36,35,36,38,36,39,36,40,36,41,36,42,36,43,36,44,36,45,36,46,36,47,36,48,36,49,37,32,37,33,37,34,37,35,37,37,37,38,37,39,37,40,37,41,37,42,37,43,37,44,37,45,37,46,37,47,37,48,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38,45,38,46,38,47,38,48,39,37,39,38,39,39,39,40,39,41,39,42,39,43,39,44,39,45,39,46,39,47,40,38,40,39,40,40,40,41,40,42,40,43,40,44,40,45,40,46,41,42,41,43,41,44,41,45,42,42,42,43,42,44,42,45,43,42,43,43,43,44,44,42,44,43,44,44,45,42,45,43}; for i=1,1287,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function render_warp_0001(starting_x, starting_y) local gfx = GFX; gfx:setColorRGB(ALPHA_RED, ALPHA_GREEN, ALPHA_BLUE); gfx:fillRect(starting_x, starting_y, 53, 53); gfx:setColorRGB(0, 0, 0); local render_coords = {0,1,0,2,0,3,0,4,0,9,0,10,0,11,0,12,0,18,0,19,0,20,0,21,0,26,0,27,0,28,0,29,0,35,0,36,0,37,0,38,0,43,0,44,0,45,0,46,0,51,0,52,1,0,1,1,1,2,1,3,1,8,1,9,1,10,1,11,1,17,1,18,1,19,1,20,1,25,1,26,1,27,1,28,1,34,1,35,1,36,1,37,1,42,1,43,1,44,1,45,1,50,1,51,1,52,2,0,2,1,2,2,2,7,2,8,2,9,2,10,2,16,2,17,2,18,2,19,2,24,2,25,2,26,2,27,2,33,2,34,2,35,2,36,2,41,2,42,2,43,2,44,2,49,2,50,2,51,2,52,3,0,3,1,3,6,3,7,3,8,3,9,3,15,3,16,3,17,3,18,3,23,3,24,3,25,3,26,3,32,3,33,3,34,3,35,3,40,3,41,3,42,3,43,3,48,3,49,3,50,3,51,4,0,4,5,4,6,4,7,4,8,4,14,4,15,4,16,4,17,4,22,4,23,4,24,4,25,4,31,4,32,4,33,4,34,4,39,4,40,4,41,4,42,4,47,4,48,4,49,4,50,5,4,5,5,5,6,5,7,5,13,5,14,5,15,5,16,5,21,5,22,5,23,5,24,5,30,5,31,5,32,5,33,5,38,5,39,5,40,5,41,5,46,5,47,5,48,5,49,6,3,6,4,6,5,6,6,6,12,6,13,6,14,6,15,6,20,6,21,6,22,6,23,6,29,6,30,6,31,6,32,6,37,6,38,6,39,6,40,6,45,6,46,6,47,6,48,7,2,7,3,7,4,7,5,7,11,7,12,7,13,7,14,7,19,7,20,7,21,7,22,7,28,7,29,7,30,7,31,7,36,7,37,7,38,7,39,7,44,7,45,7,46,7,47,8,1,8,2,8,3,8,4,8,10,8,11,8,12,8,13,8,18,8,19,8,20,8,21,8,27,8,28,8,29,8,30,8,35,8,36,8,37,8,38,8,43,8,44,8,45,8,46,8,52,9,0,9,1,9,2,9,3,9,9,9,10,9,11,9,12,9,17,9,18,9,19,9,20,9,26,9,27,9,28,9,29,9,34,9,35,9,36,9,37,9,42,9,43,9,44,9,45,9,51,9,52,10,0,10,1,10,2,10,8,10,9,10,10,10,11,10,16,10,17,10,18,10,19,10,25,10,26,10,27,10,28,10,33,10,34,10,35,10,36,10,41,10,42,10,43,10,44,10,50,10,51,10,52,11,0,11,1,11,7,11,8,11,9,11,10,11,15,11,16,11,17,11,18,11,24,11,25,11,26,11,27,11,32,11,33,11,34,11,35,11,40,11,41,11,42,11,43,11,49,11,50,11,51,11,52,12,0,12,6,12,7,12,8,12,9,12,14,12,15,12,16,12,17,12,23,12,24,12,25,12,26,12,31,12,32,12,33,12,34,12,39,12,40,12,41,12,42,12,48,12,49,12,50,12,51,13,5,13,6,13,7,13,8,13,13,13,14,13,15,13,16,13,22,13,23,13,24,13,25,13,30,13,31,13,32,13,33,13,38,13,39,13,40,13,41,13,47,13,48,13,49,13,50,14,4,14,5,14,6,14,7,14,12,14,13,14,14,14,15,14,21,14,22,14,23,14,24,14,29,14,30,14,31,14,32,14,37,14,38,14,39,14,40,14,46,14,47,14,48,14,49,15,3,15,4,15,5,15,6,15,11,15,12,15,13,15,14,15,20,15,21,15,22,15,23,15,28,15,29,15,30,15,31,15,36,15,37,15,38,15,39,15,45,15,46,15,47,15,48,16,2,16,3,16,4,16,5,16,10,16,11,16,12,16,13,16,19,16,20,16,21,16,22,16,27,16,28,16,29,16,30,16,35,16,36,16,37,16,38,16,44,16,45,16,46,16,47,17,1,17,2,17,3,17,4,17,9,17,10,17,11,17,12,17,18,17,19,17,20,17,21,17,26,17,27,17,28,17,29,17,34,17,35,17,36,17,37,17,43,17,44,17,45,17,46,17,52,18,0,18,1,18,2,18,3,18,8,18,9,18,10,18,11,18,17,18,18,18,19,18,20,18,25,18,26,18,27,18,28,18,33,18,34,18,35,18,36,18,42,18,43,18,44,18,45,18,51,18,52,19,0,19,1,19,2,19,7,19,8,19,9,19,10,19,16,19,17,19,18,19,19,19,24,19,25,19,26,19,27,19,32,19,33,19,34,19,35,19,41,19,42,19,43,19,44,19,50,19,51,19,52,20,0,20,1,20,6,20,7,20,8,20,9,20,15,20,16,20,17,20,18,20,23,20,24,20,25,20,26,20,31,20,32,20,33,20,34,20,40,20,41,20,42,20,43,20,49,20,50,20,51,20,52,21,0,21,5,21,6,21,7,21,8,21,14,21,15,21,16,21,17,21,22,21,23,21,24,21,25,21,30,21,31,21,32,21,33,21,39,21,40,21,41,21,42,21,48,21,49,21,50,21,51,22,4,22,5,22,6,22,7,22,13,22,14,22,15,22,16,22,21,22,22,22,23,22,24,22,29,22,30,22,31,22,32,22,38,22,39,22,40,22,41,22,47,22,48,22,49,22,50,23,3,23,4,23,5,23,6,23,12,23,13,23,14,23,15,23,20,23,21,23,22,23,23,23,28,23,29,23,30,23,31,23,37,23,38,23,39,23,40,23,46,23,47,23,48,23,49,24,2,24,3,24,4,24,5,24,11,24,12,24,13,24,14,24,19,24,20,24,21,24,22,24,27,24,28,24,29,24,30,24,36,24,37,24,38,24,39,24,45,24,46,24,47,24,48,25,1,25,2,25,3,25,4,25,10,25,11,25,12,25,13,25,18,25,19,25,20,25,21,25,26,25,27,25,28,25,29,25,35,25,36,25,37,25,38,25,44,25,45,25,46,25,47,26,0,26,1,26,2,26,3,26,9,26,10,26,11,26,12,26,17,26,18,26,19,26,20,26,25,26,26,26,27,26,28,26,34,26,35,26,36,26,37,26,43,26,44,26,45,26,46,26,52,27,0,27,1,27,2,27,8,27,9,27,10,27,11,27,16,27,17,27,18,27,19,27,24,27,25,27,26,27,27,27,33,27,34,27,35,27,36,27,42,27,43,27,44,27,45,27,51,27,52,28,0,28,1,28,7,28,8,28,9,28,10,28,15,28,16,28,17,28,18,28,23,28,24,28,25,28,26,28,32,28,33,28,34,28,35,28,41,28,42,28,43,28,44,28,50,28,51,28,52,29,0,29,6,29,7,29,8,29,9,29,14,29,15,29,16,29,17,29,22,29,23,29,24,29,25,29,31,29,32,29,33,29,34,29,40,29,41,29,42,29,43,29,49,29,50,29,51,29,52,30,5,30,6,30,7,30,8,30,13,30,14,30,15,30,16,30,21,30,22,30,23,30,24,30,30,30,31,30,32,30,33,30,39,30,40,30,41,30,42,30,48,30,49,30,50,30,51,31,4,31,5,31,6,31,7,31,12,31,13,31,14,31,15,31,20,31,21,31,22,31,23,31,29,31,30,31,31,31,32,31,38,31,39,31,40,31,41,31,47,31,48,31,49,31,50,32,3,32,4,32,5,32,6,32,11,32,12,32,13,32,14,32,19,32,20,32,21,32,22,32,28,32,29,32,30,32,31,32,37,32,38,32,39,32,40,32,46,32,47,32,48,32,49,33,2,33,3,33,4,33,5,33,10,33,11,33,12,33,13,33,18,33,19,33,20,33,21,33,27,33,28,33,29,33,30,33,36,33,37,33,38,33,39,33,45,33,46,33,47,33,48,34,1,34,2,34,3,34,4,34,9,34,10,34,11,34,12,34,17,34,18,34,19,34,20,34,26,34,27,34,28,34,29,34,35,34,36,34,37,34,38,34,44,34,45,34,46,34,47,35,0,35,1,35,2,35,3,35,8,35,9,35,10,35,11,35,16,35,17,35,18,35,19,35,25,35,26,35,27,35,28,35,34,35,35,35,36,35,37,35,43,35,44,35,45,35,46,35,52,36,0,36,1,36,2,36,7,36,8,36,9,36,10,36,15,36,16,36,17,36,18,36,24,36,25,36,26,36,27,36,33,36,34,36,35,36,36,36,42,36,43,36,44,36,45,36,51,36,52,37,0,37,1,37,6,37,7,37,8,37,9,37,14,37,15,37,16,37,17,37,23,37,24,37,25,37,26,37,32,37,33,37,34,37,35,37,41,37,42,37,43,37,44,37,50,37,51,37,52,38,0,38,5,38,6,38,7,38,8,38,13,38,14,38,15,38,16,38,22,38,23,38,24,38,25,38,31,38,32,38,33,38,34,38,40,38,41,38,42,38,43,38,49,38,50,38,51,38,52,39,4,39,5,39,6,39,7,39,12,39,13,39,14,39,15,39,21,39,22,39,23,39,24,39,30,39,31,39,32,39,33,39,39,39,40,39,41,39,42,39,48,39,49,39,50,39,51,40,3,40,4,40,5,40,6,40,11,40,12,40,13,40,14,40,20,40,21,40,22,40,23,40,29,40,30,40,31,40,32,40,38,40,39,40,40,40,41,40,47,40,48,40,49,40,50,41,2,41,3,41,4,41,5,41,10,41,11,41,12,41,13,41,19,41,20,41,21,41,22,41,28,41,29,41,30,41,31,41,37,41,38,41,39,41,40,41,46,41,47,41,48,41,49,42,1,42,2,42,3,42,4,42,9,42,10,42,11,42,12,42,18,42,19,42,20,42,21,42,27,42,28,42,29,42,30,42,36,42,37,42,38,42,39,42,45,42,46,42,47,42,48,43,0,43,1,43,2,43,3,43,8,43,9,43,10,43,11,43,17,43,18,43,19,43,20,43,26,43,27,43,28,43,29,43,35,43,36,43,37,43,38,43,44,43,45,43,46,43,47,44,0,44,1,44,2,44,7,44,8,44,9,44,10,44,16,44,17,44,18,44,19,44,25,44,26,44,27,44,28,44,34,44,35,44,36,44,37,44,43,44,44,44,45,44,46,44,52,45,0,45,1,45,6,45,7,45,8,45,9,45,15,45,16,45,17,45,18,45,24,45,25,45,26,45,27,45,33,45,34,45,35,45,36,45,42,45,43,45,44,45,45,45,51,45,52,46,0,46,5,46,6,46,7,46,8,46,14,46,15,46,16,46,17,46,23,46,24,46,25,46,26,46,32,46,33,46,34,46,35,46,41,46,42,46,43,46,44,46,50,46,51,46,52,47,4,47,5,47,6,47,7,47,13,47,14,47,15,47,16,47,22,47,23,47,24,47,25,47,31,47,32,47,33,47,34,47,40,47,41,47,42,47,43,47,49,47,50,47,51,47,52,48,3,48,4,48,5,48,6,48,12,48,13,48,14,48,15,48,21,48,22,48,23,48,24,48,30,48,31,48,32,48,33,48,39,48,40,48,41,48,42,48,48,48,49,48,50,48,51,49,2,49,3,49,4,49,5,49,11,49,12,49,13,49,14,49,20,49,21,49,22,49,23,49,29,49,30,49,31,49,32,49,38,49,39,49,40,49,41,49,47,49,48,49,49,49,50,50,1,50,2,50,3,50,4,50,10,50,11,50,12,50,13,50,19,50,20,50,21,50,22,50,28,50,29,50,30,50,31,50,37,50,38,50,39,50,40,50,46,50,47,50,48,50,49,51,0,51,1,51,2,51,3,51,9,51,10,51,11,51,12,51,18,51,19,51,20,51,21,51,27,51,28,51,29,51,30,51,36,51,37,51,38,51,39,51,45,51,46,51,47,51,48,52,0,52,1,52,2,52,8,52,9,52,10,52,11,52,17,52,18,52,19,52,20,52,26,52,27,52,28,52,29,52,35,52,36,52,37,52,38,52,44,52,45,52,46,52,47}; for i=1,2611,2 do gfx:fillRect(starting_x + render_coords[i], starting_y + render_coords[i + 1], 1, 1); end render_coords = nil; end function enter_scene_0001() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 18; scene_data["name"] = "Homeroom"; scene_data["map_x_offset"] = 8; scene_data["map_y_offset"] = 10; scene_data["player_x_offset"] = 10; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 2; scene_data["screen_y_offset"] = 2; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "A long time ago, Earth had four moons and people traveled freely between moons and Earth. The people exchanged in commerce and shared culture. Free trade between the terrestrial and lunar folk gave birth to a healthy economy, creating a golden age worthy of rememberance. All gilded ages eventually face danger, and now such a time was near. There was accentuated galactic shifting and spinning, orbits were unstable and instability threatened crops and even life itself. Seasons became too polarized as the moons drifted apart from each other. Rumor spoke of one who would one day restore balance when the time was needed. According to legend, there were four special gemstones, one for each of the moons. Each was hidden, and when combined, the power of balance could be restored by bringing them to a special place: The Volcano of Ignision. Many had traveled there to determine if there was indeed a special place for these elusive gemstones, but none had come back. There were few who still had faith, many thought it was simply myth, a rumour, or something to dismiss as a campfire story. Moon visitors hadn't been seen for centuries on Earth, but one day, a visitor fell from the sky..."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=7, txt="Man: {{new_line}} Hello Ren, you fell from the sky and landed in the lake. We pulled you out of the water. Did you sleep well? {{new_line}} {{new_line}} You: {{new_line}} I can't remember what happened. Ren? {{new_line}} {{new_line}} Man: {{new_line}} You awoke in the night and couldn't remember your name, so we decided to call you Ren. The village leader wants to speak with you immediately, your arrival is something of significance. He is in the large building outside. Make haste!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=2, after_player_x=10, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=9, y=4, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_5|7_6|7_7|7_8|7_9|7_10|7_11|7_12|8_5|8_6|8_7|8_8|8_9|8_10|8_11|8_12|9_4|9_5|9_7|9_8|9_12|10_5|10_6|10_7|10_8|10_10|10_11|10_12|11_5|11_6|11_7|11_8|11_11|12_5|12_6|12_7|12_8|12_10|12_11|12_12"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_indoors_asset_0006,render_person_0001,render_indoors_asset_0014,render_indoors_asset_0008"; scene_data["render_indoors_asset_0009_coordinates"] = "6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,7_4,7_13,8_4,8_13,9_9,9_10,9_11,9_13,10_4,10_9,10_13,11_4,11_9,11_13,12_4,12_9,12_13,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_11,13_12,13_13"; scene_data["render_common_0001_coordinates"] = "7_5,7_6,7_7,7_8,7_9,7_10,7_11,7_12,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,9_5,9_7,9_8,9_12,10_5,10_6,10_7,10_8,10_10,10_11,10_12,11_5,11_6,11_7,11_8,11_11,12_5,12_6,12_7,12_8,12_10,12_11,12_12"; scene_data["render_indoors_asset_0006_coordinates"] = "9_4"; scene_data["render_person_0001_coordinates"] = "9_6"; scene_data["render_indoors_asset_0014_coordinates"] = "11_10"; scene_data["render_indoors_asset_0008_coordinates"] = "11_12"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0002() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 24; scene_data["tile_y_count"] = 16; scene_data["name"] = "Westfall Village Main"; scene_data["map_x_offset"] = 8; scene_data["map_y_offset"] = 2; scene_data["player_x_offset"] = 10; scene_data["player_y_offset"] = 4; scene_data["screen_x_offset"] = 2; scene_data["screen_y_offset"] = 2; scene_data["starting_dir"] = "down" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("sk2", 7) == 1 then SCENE_DATA["tile_at_12,5"] = render_common_0001; SCENE_DATA["movement_allowed_at_12,5"] = true; SCENE_DATA["tile_at_12,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_12,4"] = true; SCENE_DATA["tile_at_12,3"] = render_warp_0001; SCENE_DATA["movement_allowed_at_12,3"] = true; local n_w = {}; n_w.warp_allowed = function() return true;end; n_w.on_warp_not_allowed_msg = ""; n_w.after_map_x =3; n_w.after_map_y = 23; n_w.after_player_x = 5; n_w.after_player_y = 25; n_w.after_screen_x = 2; n_w.after_screen_y = 2; n_w.after_player_dir = "up"; n_w.x = 12; n_w.y = 3; n_w.scene_number = 10; n_w.on_finished = function() end; SCENE_DATA["warp_points"][7] = n_w; end;if GET_SWORD_DATA() ~= nil then SCENE_DATA["tile_at_5,6"] = render_outdoors_0006; SCENE_DATA["movement_allowed_at_5,6"] = false; end;if GET_STATE("sk2", 7) == 1 then SCENE_DATA["tile_at_11,5"] = render_person_0001; SCENE_DATA["tile_at_13,5"] = render_person_0001; end;if GET_STATE("sk2", 7) == 1 then SCENE_DATA["has_dialogs"] = true; local n_d1 = {}; n_d1.x = 11; n_d1.y = 6; n_d1.required_dir = "up"; n_d1.txt = "Young seeker, best of luck moving forward. You will have to train and become one with the sword. You have yet much to learn. Be sure to come back for supplies from the merchant, you will need them as you train."; n_d1.callback = function()SET_MODE("scene");platform.window:invalidate();end; n_d1.eligibility = function() return true; end; n_d1.eligibility_failure_msg = ""; table.insert(SCENE_DATA["dialogs"], n_d1); end;if GET_STATE("sk2", 7) == 1 then SCENE_DATA["has_dialogs"] = true; local n_d2 = {}; n_d2.x = 13; n_d2.y = 6; n_d2.required_dir = "up"; n_d2.txt = "Young seeker, best of luck moving forward. You will have to train and become one with the sword. You have yet much to learn. Be sure to come back for supplies from the merchant, you will need them as you train."; n_d2.callback = function()SET_MODE("scene");platform.window:invalidate();end; n_d2.eligibility = function() return true; end; n_d2.eligibility_failure_msg = ""; table.insert(SCENE_DATA["dialogs"], n_d2); end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return GET_SWORD_DATA() == nil; end, on_warp_not_allowed_msg = "The door is locked.", after_map_x=7, after_map_y=3, after_player_x=9, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=10, y=3, scene_number=1, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_SWORD_DATA() == nil; end, on_warp_not_allowed_msg = "The door is locked.", after_map_x=5, after_map_y=9, after_player_x=6, after_player_y=12, after_screen_x=1, after_screen_y=3, after_player_dir="up", x=15, y=3, scene_number=3, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=3, after_player_x=5, after_player_y=5, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=18, y=5, scene_number=4, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=3, after_player_x=6, after_player_y=5, after_screen_x=0, after_screen_y=2, after_player_dir="up", x=18, y=8, scene_number=5, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=3, after_player_x=6, after_player_y=5, after_screen_x=0, after_screen_y=2, after_player_dir="up", x=18, y=11, scene_number=6, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=4, after_player_x=16, after_player_y=7, after_screen_x=2, after_screen_y=3, after_player_dir="left", x=13, y=9, scene_number=7, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("v_1", 7) == 1; end, on_warp_not_allowed_msg = "The village leader wants to speak with you", after_map_x=41, after_map_y=42, after_player_x=43, after_player_y=43, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=6, scene_number=8, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_SWORD_DATA() ~= nil; end, on_warp_not_allowed_msg = "The inn appears to be closed", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=6, y=10, scene_number=1000, inn_item_keys={"2mg_g"}, inn_price=5, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|6_6|6_10|6_11|6_12|7_6|7_11|7_12|8_6|8_7|8_8|8_9|8_10|8_11|8_12|9_6|10_3|10_4|10_5|10_6|10_10|10_11|11_6|11_10|11_11|12_6|12_10|12_11|13_6|13_9|13_10|13_11|14_4|14_5|14_6|14_10|14_11|15_3|15_4|15_5|15_6|15_10|16_6|16_7|16_8|16_9|16_10|16_11|16_12|17_6|17_9|17_12|18_5|18_6|18_8|18_9|18_11|18_12"; scene_data["render_fns_list"] = "render_outdoors_0006,render_warp_0001,render_building_0001,render_building_0005,render_common_0001,render_building_0002,render_building_0004,render_building_0011,render_building_0010,render_building_0006,render_building_0009"; scene_data["render_warp_0001_coordinates"] = "5_6"; scene_data["render_building_0001_coordinates"] = "5_9,9_2,10_8,14_2,17_4,17_7,17_10"; scene_data["render_building_0005_coordinates"] = "5_10"; scene_data["render_common_0001_coordinates"] = "6_6,6_11,6_12,7_6,7_11,7_12,8_6,8_7,8_8,8_9,8_10,8_11,8_12,9_6,10_4,10_5,10_6,10_10,10_11,11_6,11_10,11_11,12_6,12_10,12_11,13_6,13_10,13_11,14_4,14_5,14_6,14_10,14_11,15_4,15_5,15_6,15_10,16_6,16_7,16_8,16_9,16_10,16_11,16_12,17_6,17_9,17_12,18_6,18_9,18_12"; scene_data["render_building_0002_coordinates"] = "6_9,10_2,13_8,15_2,18_4,18_7,18_10"; scene_data["render_building_0004_coordinates"] = "6_10,10_3,13_9,15_3,18_5,18_8,18_11"; scene_data["render_building_0011_coordinates"] = "9_3,14_3,17_5,17_8,17_11"; scene_data["render_building_0010_coordinates"] = "10_9"; scene_data["render_building_0006_coordinates"] = "11_8,12_8"; scene_data["render_building_0009_coordinates"] = "11_9,12_9"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0003() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 17; scene_data["name"] = "Unimportant Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Nobody is home."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=1, after_player_x=15, after_player_y=4, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=6, y=13, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=1, after_player_x=15, after_player_y=4, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=7, y=13, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_5|6_6|6_8|6_9|6_10|6_12|6_13|7_6|7_7|7_8|7_10|7_11|7_12|7_13"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_warp_0001,render_indoors_asset_0014"; scene_data["render_indoors_asset_0009_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,6_3,6_7,6_11,7_3,7_5,7_9,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,8_13"; scene_data["render_indoors_asset_0008_coordinates"] = "6_4"; scene_data["render_common_0001_coordinates"] = "6_5,6_6,6_8,6_9,6_10,6_12,7_6,7_7,7_8,7_10,7_11,7_12"; scene_data["render_warp_0001_coordinates"] = "6_13,7_13"; scene_data["render_indoors_asset_0014_coordinates"] = "7_4"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0004() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 12; scene_data["tile_y_count"] = 10; scene_data["name"] = "Unimportant Room"; scene_data["map_x_offset"] = 1; scene_data["map_y_offset"] = 1; scene_data["player_x_offset"] = 1; scene_data["player_y_offset"] = 1; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 1; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Nobody here either."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() SCENE_DATA.initial_dialog_copy = "The coffee smells delicious";local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=16, after_map_y=4, after_player_x=18, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=5, y=6, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=16, after_map_y=4, after_player_x=18, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=6, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|5_6|6_5|6_6"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_indoors_asset_0014,render_common_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_3,4_4,4_5,4_6,5_3,6_3,7_3,7_4,7_5,7_6"; scene_data["render_indoors_asset_0014_coordinates"] = "5_4,6_4"; scene_data["render_common_0001_coordinates"] = "5_5,6_5"; scene_data["render_warp_0001_coordinates"] = "5_6,6_6"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0005() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 17; scene_data["tile_y_count"] = 10; scene_data["name"] = "Unimportant Room"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_SWORD_DATA() ~= nil then SCENE_DATA["movement_allowed_at_9,4"] = false; end;if GET_SWORD_DATA() ~= nil then SCENE_DATA["tile_at_9,4"] = render_person_0001; end;if GET_SWORD_DATA() ~= nil then local new_dialog = {}; new_dialog.x = 9; new_dialog.y = 5; new_dialog.required_dir = "up"; new_dialog.txt = "Best of luck on your journey, new seeker. Seek the gems, and may the gems seek you."; new_dialog.callback = function() SET_MODE("scene");platform.window:invalidate(); end; new_dialog.eligibility = function() return true; end; new_dialog.eligibility_failure_msg = function() return ""; end; SCENE_DATA.dialogs = {}; SCENE_DATA.has_dialogs = true; table.insert(SCENE_DATA.dialogs, new_dialog); end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=7, after_player_x=18, after_player_y=9, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=6, y=6, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_4|6_5|6_6|7_4|8_4|8_5|9_4|9_5|10_5"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_warp_0001,render_indoors_asset_0014,render_indoors_asset_0008"; scene_data["render_indoors_asset_0009_coordinates"] = "5_3,5_4,5_5,5_6,6_3,7_3,7_6,8_3,8_6,9_3,9_6,10_3,10_6,11_3,11_4,11_5,11_6"; scene_data["render_common_0001_coordinates"] = "6_4,6_5,7_4,8_4,8_5,9_4,9_5,10_5"; scene_data["render_warp_0001_coordinates"] = "6_6"; scene_data["render_indoors_asset_0014_coordinates"] = "7_5"; scene_data["render_indoors_asset_0008_coordinates"] = "10_4"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0006() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 17; scene_data["tile_y_count"] = 10; scene_data["name"] = "Unimportant Room"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_SWORD_DATA() ~= nil then SCENE_DATA["tile_at_6,4"] = render_person_0001; SCENE_DATA["movement_allowed_at_6,4"] = false; local new_dialog = {}; new_dialog.x = 6; new_dialog.y = 5; new_dialog.required_dir = "up"; new_dialog.txt = "May the light shine upon you"; new_dialog.callback = function() SET_MODE("scene"); platform.window:invalidate(); end; new_dialog.eligibility = function() return true; end; new_dialog.eligibility_failure_msg = function() return ""; end; SCENE_DATA.dialogs = {}; SCENE_DATA.has_dialogs = true; table.insert(SCENE_DATA.dialogs, new_dialog); end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=10, after_player_x=18, after_player_y=12, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=6, y=6, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_4|6_5|6_6|7_4|8_4|9_4"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_warp_0001,render_indoors_asset_0008,render_indoors_asset_0014"; scene_data["render_indoors_asset_0009_coordinates"] = "5_3,5_4,5_5,5_6,6_3,7_3,7_6,8_3,8_6,9_3,9_6,10_3,10_5,10_6,11_3,11_4,11_5,11_6"; scene_data["render_common_0001_coordinates"] = "6_4,6_5,7_4,8_4,9_4"; scene_data["render_warp_0001_coordinates"] = "6_6"; scene_data["render_indoors_asset_0008_coordinates"] = "7_5,8_5,9_5"; scene_data["render_indoors_asset_0014_coordinates"] = "10_4"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0007() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 23; scene_data["tile_y_count"] = 12; scene_data["name"] = "Large Village Room"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_SWORD_DATA() ~= nil then table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); table.remove(SCENE_DATA.dialogs, 2); SCENE_DATA.dialogs[1].txt = "Village Leader: {{new_line}} I see you have obtained the phonex sword. Seeker indeed. Please journey north, you must vanquish the evil there for the sake of humanity. I will have my men clear a path for you in the forest. Please, you must develop your strength and skill with your weapon. Journey back here and visit the inn. Every so often, you will need to purchase herbs to recharge your health. Until next time, young seeker. {{new_line}} {{new_line}} You: Thank you very much, I will do what I can."; SCENE_DATA["tile_at_15,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_15,4"] = true; SCENE_DATA["tile_at_15,7"] = render_common_0001; SCENE_DATA["movement_allowed_at_15,7"] = true; SCENE_DATA["tile_at_12,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_12,4"] = true; SCENE_DATA["tile_at_11,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_11,4"] = true; SCENE_DATA["tile_at_10,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_10,4"] = true; SCENE_DATA["tile_at_12,7"] = render_common_0001; SCENE_DATA["movement_allowed_at_12,7"] = true; SCENE_DATA["tile_at_11,7"] = render_common_0001; SCENE_DATA["movement_allowed_at_11,7"] = true; SCENE_DATA["tile_at_10,7"] = render_common_0001; SCENE_DATA["movement_allowed_at_10,7"] = true; SCENE_DATA.dialogs[1].callback = function() PUT_STATE("sk2", 7, 1, "Spoke with village leader a second time"); SET_MODE("scene"); platform.window:invalidate(); end; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=6, txt="Village Leader: {{new_line}} Westfall Village welcomes you, Ren. How are you feeling? {{new_line}} {{new_line}} Village Leader: {{new_line}} You are on Earth now, in the land of Odessia. Your memory is fogged, but it may come back as you adapt to this world. The prophecies have spoken of you, you are the seeker from the moon. You are the one to restore balance. {{new_line}} {{new_line}} You: {{new_line}} I'm not sure. How could I be the seeker? I'm not even sure what a seeker is. {{new_line}} {{new_line}} Village Leader: {{new_line}} Odessian legend has foretold of your arrival and the timing is surely no coincidence. For nearly a decade Odessia has struggled with crops....fruits only partially ripening, vegetables growing sour. You are the one to find the gemstones, each stone in each direction. North, South, East, and West. {{new_line}} {{new_line}} You: {{new_line}} I think this is a mistake. You are looking for someone else. {{new_line}} {{new_line}} Village Leader: {{new_line}} You are definitely, undeniably, most absolutely and most certainly wrong. Your arrival precipitates danger that will soon come. Monsters will soon come. There is great evil in the north. The kingdom of Fabius has been plundering iron from the Earth to forge weapons. The kingdom is assembling a huge army. {{new_line}} {{new_line}} You: {{new_line}} How does that make me the \"seeker\"? {{new_line}} {{new_line}} Village Leader: {{new_line}} Listen to me, young man. I know deep in my heart that this is the truth. As I said, your arrival precipitates great danger. The danger is not so great that it outweight our faith in you. You will travel west before you journey north. There is someone to whom you must speak, his name is Magius. He may be able to restore your memory. {{new_line}} {{new_line}} You: {{new_line}} Must I go now? I'd like to rest for a bit. {{new_line}} {{new_line}} Village Leader: {{new_line}} Now is not the time for rest. That which is inevitable is sure to come. Go now, and be safe in your journey. Odessia depends upon you.", required_dir="left", callback=function() PUT_STATE("v_1", 7, 1, "spoke with village leader"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=15, y=5, txt="The village leader is waiting for you ahead.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=15, y=6, txt="Go on ahead.", required_dir="down", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=12, y=5, txt="The seeker wouldn't be so skinny. The legend is just a myth.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=11, y=5, txt="Go on ahead.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=10, y=5, txt="We have waited a long time for you. Our faith in mother Earth is strong and our prayers have been answered.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=12, y=6, txt="Go on ahead, young man.", required_dir="down", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=11, y=6, txt="The guy is scowling.", required_dir="down", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=10, y=6, txt="Welcome to Westfall Village.", required_dir="down", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=7, after_player_x=13, after_player_y=10, after_screen_x=1, after_screen_y=3, after_player_dir="down", x=17, y=7, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_4|7_5|7_7|8_4|8_5|8_6|8_7|9_6|10_5|10_6|11_5|11_6|12_5|12_6|13_6|14_6|15_5|15_6|16_4|16_5|16_6|16_7|17_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_person_0002,render_person_0001,render_person_0003,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "6_3,6_4,6_5,6_6,6_7,6_8,7_3,7_8,8_3,8_8,9_3,9_4,9_5,9_7,9_8,10_3,10_8,11_3,11_8,12_3,12_8,13_3,13_4,13_5,13_7,13_8,14_3,14_4,14_5,14_7,14_8,15_3,15_8,16_3,16_8,17_3,17_4,17_5,17_6,17_8"; scene_data["render_common_0001_coordinates"] = "7_4,7_5,7_7,8_4,8_5,8_6,8_7,9_6,10_5,10_6,11_5,11_6,12_5,12_6,13_6,14_6,15_5,15_6,16_4,16_5,16_6,16_7"; scene_data["render_person_0002_coordinates"] = "7_6"; scene_data["render_person_0001_coordinates"] = "10_4,11_4,12_4,15_4"; scene_data["render_person_0003_coordinates"] = "10_7,11_7,12_7,15_7"; scene_data["render_warp_0001_coordinates"] = "17_7"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0008() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 50; scene_data["tile_y_count"] = 48; scene_data["name"] = "Directly West of Westfall Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "left" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 10; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_SWORD_DATA() ~= nil and GET_SHIELD_DATA() ~= nil then SCENE_DATA["monsters_enabled"] = true; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=15, y=7, txt="You obtained 10g.", required_dir="up", callback=function() GET_MONEY(10); PUT_STATE("ww11", 8, 1, "Opened top treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("ww11", 8) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end }, { x=25, y=43, txt="You obtained 20g.", required_dir="up", callback=function() GET_MONEY(20); PUT_STATE("ww22", 8, 1, "Opened bottom treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("ww22", 8) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=4, after_player_x=6, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=44, y=43, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=7, after_player_x=7, after_player_y=8, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=8, y=11, scene_number=9, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_21|6_22|6_23|6_31|6_32|6_33|6_38|6_39|6_40|6_41|6_42|6_43|7_12|7_19|7_20|7_21|7_23|7_29|7_30|7_31|7_33|7_38|7_43|8_11|8_12|8_13|8_14|8_15|8_16|8_17|8_19|8_23|8_29|8_32|8_33|8_34|8_38|8_43|9_17|9_18|9_19|9_20|9_23|9_27|9_28|9_29|9_31|9_32|9_38|9_43|10_23|10_26|10_27|10_31|10_34|10_35|10_36|10_37|10_38|10_43|11_11|11_23|11_26|11_31|11_32|11_33|11_34|11_36|11_37|11_43|12_23|12_26|12_43|13_23|13_25|13_26|13_43|14_23|14_26|14_43|15_7|15_9|15_10|15_11|15_12|15_13|15_14|15_15|15_23|15_26|15_43|16_7|16_9|16_15|16_20|16_21|16_22|16_23|16_24|16_26|16_29|16_35|16_43|17_7|17_9|17_15|17_19|17_20|17_26|17_34|17_35|17_36|17_37|17_38|17_43|18_7|18_8|18_9|18_11|18_12|18_13|18_14|18_15|18_16|18_17|18_18|18_19|18_25|18_26|18_30|18_34|18_38|18_39|18_43|19_7|19_11|19_24|19_25|19_30|19_31|19_32|19_33|19_34|19_38|19_39|19_40|19_41|19_42|19_43|20_11|20_12|20_23|20_24|20_30|21_12|21_15|21_16|21_17|21_19|21_20|21_21|21_22|21_23|21_24|21_30|21_33|21_34|21_35|21_36|21_37|21_38|22_12|22_15|22_17|22_20|22_30|22_33|22_38|23_9|23_10|23_11|23_12|23_15|23_17|23_18|23_20|23_21|23_29|23_30|23_33|23_38|23_43|24_9|24_14|24_15|24_17|24_21|24_29|24_30|24_33|24_38|24_43|25_8|25_9|25_12|25_13|25_14|25_15|25_17|25_18|25_21|25_23|25_30|25_33|25_38|25_39|25_43|26_8|26_12|26_18|26_19|26_21|26_22|26_23|26_30|26_33|26_34|26_35|26_36|26_38|26_39|26_43|27_7|27_8|27_10|27_11|27_12|27_18|27_23|27_30|27_36|27_38|27_43|28_6|28_7|28_8|28_10|28_18|28_21|28_23|28_27|28_28|28_29|28_30|28_36|28_38|28_40|28_41|28_42|28_43|29_6|29_10|29_11|29_18|29_20|29_21|29_22|29_23|29_27|29_34|29_35|29_36|29_38|29_39|29_43|30_6|30_7|30_8|30_11|30_18|30_19|30_20|30_26|30_27|30_29|30_30|30_31|30_32|30_34|30_38|30_40|30_41|30_42|30_43|31_8|31_11|31_12|31_19|31_27|31_29|31_32|31_33|31_34|31_38|31_41|31_43|32_8|32_9|32_11|32_27|32_29|32_38|32_39|32_41|32_43|33_8|33_11|33_22|33_23|33_24|33_27|33_29|33_30|33_38|33_41|33_43|34_8|34_9|34_11|34_18|34_19|34_20|34_21|34_22|34_24|34_27|34_29|34_35|34_36|34_37|34_38|34_40|34_41|34_43|35_8|35_11|35_12|35_13|35_16|35_17|35_18|35_21|35_24|35_25|35_26|35_27|35_29|35_35|35_43|36_7|36_8|36_13|36_16|36_29|36_30|36_35|36_40|36_41|36_42|36_43|37_7|37_8|37_9|37_10|37_13|37_16|37_18|37_19|37_20|37_21|37_23|37_24|37_25|37_26|37_29|37_35|37_42|37_43|38_10|38_11|38_12|38_13|38_14|38_16|38_18|38_21|38_22|38_23|38_26|38_27|38_29|38_35|38_36|38_37|38_38|38_40|38_41|39_15|39_16|39_18|39_27|39_28|39_29|39_38|39_43|40_14|40_16|40_18|40_29|40_37|40_38|40_41|40_42|40_43|41_14|41_16|41_18|41_19|41_37|41_41|41_43|42_16|42_18|42_37|42_38|42_41|42_43|43_16|43_17|43_18|43_38|43_40|43_41|43_43|44_37|44_38|44_39|44_40|44_43"; scene_data["render_fns_list"] = "render_outdoors_0009,render_outdoors_0006,render_common_0001,render_common_0002,render_building_0009,render_building_0004,render_common_0003,render_warp_0001"; scene_data["render_outdoors_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,0_26,0_27,0_28,0_29,0_30,0_31,0_32,0_33,0_34,0_35,0_36,0_37,0_38,0_39,0_40,0_41,0_42,0_43,0_44,0_45,0_46,0_47,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,1_26,1_27,1_28,1_29,1_30,1_31,1_32,1_33,1_34,1_35,1_36,1_37,1_38,1_39,1_40,1_41,1_42,1_43,1_44,1_45,1_46,1_47,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,2_26,2_27,2_28,2_29,2_30,2_31,2_32,2_33,2_34,2_35,2_36,2_37,2_38,2_39,2_40,2_41,2_42,2_43,2_44,2_45,2_46,2_47,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,3_26,3_27,3_28,3_29,3_30,3_31,3_32,3_33,3_34,3_35,3_36,3_37,3_38,3_39,3_40,3_41,3_42,3_43,3_44,3_45,3_46,3_47,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,4_26,4_27,4_28,4_29,4_30,4_31,4_32,4_33,4_34,4_35,4_36,4_37,4_38,4_39,4_40,4_41,4_42,4_43,4_44,4_45,4_46,4_47,5_0,5_1,5_2,5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,5_20,5_21,5_22,5_23,5_24,5_25,5_26,5_27,5_28,5_29,5_30,5_31,5_32,5_33,5_34,5_35,5_36,5_37,5_38,5_39,5_40,5_41,5_42,5_43,5_44,5_45,5_46,5_47,6_0,6_1,6_2,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,6_18,6_19,6_20,6_24,6_25,6_26,6_27,6_28,6_29,6_30,6_34,6_36,6_37,6_44,6_45,6_46,6_47,7_0,7_1,7_2,7_3,7_4,7_5,7_6,7_7,7_8,7_9,7_15,7_16,7_18,7_22,7_24,7_25,7_26,7_27,7_28,7_36,7_37,7_39,7_42,7_44,7_45,7_46,7_47,8_0,8_1,8_2,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_18,8_22,8_24,8_25,8_28,8_30,8_31,8_36,8_37,8_39,8_45,8_46,8_47,9_0,9_1,9_2,9_3,9_4,9_5,9_6,9_7,9_8,9_9,9_10,9_11,9_12,9_13,9_16,9_21,9_22,9_24,9_30,9_33,9_34,9_35,9_36,9_37,9_39,9_40,9_45,9_46,9_47,10_0,10_1,10_2,10_3,10_4,10_5,10_6,10_7,10_8,10_9,10_13,10_17,10_18,10_20,10_29,10_30,10_32,10_33,10_40,10_42,10_44,10_45,10_46,10_47,11_9,11_13,11_14,11_15,11_17,11_18,11_20,11_24,11_25,11_27,11_28,11_29,11_30,11_35,11_38,11_44,11_45,11_46,11_47,12_0,12_1,12_2,12_3,12_4,12_5,12_6,12_10,12_11,12_13,12_14,12_16,12_20,12_22,12_24,12_25,12_27,12_28,12_29,12_30,12_31,12_32,12_33,12_34,12_35,12_36,12_37,12_38,12_44,12_45,12_46,12_47,13_0,13_1,13_2,13_3,13_4,13_5,13_6,13_8,13_9,13_10,13_11,13_12,13_13,13_14,13_16,13_22,13_24,13_27,13_28,13_29,13_30,13_31,13_32,13_33,13_35,13_36,13_37,13_38,13_39,13_44,13_45,13_46,13_47,14_0,14_1,14_4,14_6,14_7,14_8,14_9,14_10,14_11,14_12,14_13,14_14,14_15,14_16,14_17,14_18,14_19,14_20,14_21,14_22,14_24,14_25,14_27,14_28,14_29,14_30,14_31,14_35,14_36,14_37,14_38,14_39,14_41,14_42,14_44,14_45,14_46,14_47,15_8,15_16,15_17,15_18,15_19,15_20,15_21,15_22,15_24,15_25,15_27,15_28,15_29,15_30,15_31,15_37,15_38,15_39,15_40,15_41,16_6,16_8,16_10,16_11,16_12,16_13,16_14,16_16,16_17,16_18,16_19,16_25,16_28,16_40,16_41,17_6,17_8,17_10,17_11,17_12,17_13,17_14,17_16,17_17,17_18,17_21,17_22,17_23,17_24,17_25,17_41,18_10,18_20,18_21,18_22,18_23,18_24,19_10,19_12,19_13,19_14,19_16,19_17,19_18,19_19,19_20,19_21,19_22,19_23,20_10,20_13,20_14,20_15,20_16,20_17,20_18,20_19,20_20,20_21,20_22,21_7,21_8,21_9,21_10,21_11,21_14,22_14,23_14"; scene_data["render_common_0001_coordinates"] = "6_21,6_22,6_23,6_31,6_32,6_33,6_38,6_39,6_40,6_41,6_42,6_43,7_12,7_19,7_20,7_21,7_23,7_29,7_30,7_31,7_33,7_38,7_43,8_12,8_13,8_14,8_15,8_16,8_17,8_19,8_23,8_29,8_32,8_33,8_34,8_38,8_43,9_17,9_18,9_19,9_20,9_23,9_27,9_28,9_29,9_31,9_32,9_38,9_43,10_23,10_26,10_27,10_31,10_34,10_35,10_36,10_37,10_38,10_43,11_11,11_23,11_26,11_31,11_32,11_33,11_34,11_36,11_37,11_43,12_23,12_26,12_43,13_23,13_25,13_26,13_43,14_23,14_26,14_43,15_7,15_9,15_10,15_11,15_12,15_13,15_14,15_15,15_23,15_26,15_43,16_7,16_9,16_15,16_20,16_21,16_22,16_23,16_24,16_26,16_29,16_35,16_43,17_7,17_9,17_15,17_19,17_20,17_26,17_34,17_35,17_36,17_37,17_38,17_43,18_7,18_8,18_9,18_11,18_12,18_13,18_14,18_15,18_16,18_17,18_18,18_19,18_25,18_26,18_30,18_34,18_38,18_39,18_43,19_7,19_11,19_24,19_25,19_30,19_31,19_32,19_33,19_34,19_38,19_39,19_40,19_41,19_42,19_43,20_11,20_12,20_23,20_24,20_30,21_12,21_15,21_16,21_17,21_19,21_20,21_21,21_22,21_23,21_24,21_30,21_33,21_34,21_35,21_36,21_37,21_38,22_12,22_15,22_17,22_20,22_30,22_33,22_38,23_9,23_10,23_11,23_12,23_15,23_17,23_18,23_20,23_21,23_29,23_30,23_33,23_38,23_43,24_9,24_14,24_15,24_17,24_21,24_29,24_30,24_33,24_38,24_43,25_8,25_9,25_12,25_13,25_14,25_15,25_17,25_18,25_21,25_23,25_30,25_33,25_38,25_39,25_43,26_8,26_12,26_18,26_19,26_21,26_22,26_23,26_30,26_33,26_34,26_35,26_36,26_38,26_39,26_43,27_7,27_8,27_10,27_11,27_12,27_18,27_23,27_30,27_36,27_38,27_43,28_6,28_7,28_8,28_10,28_18,28_21,28_23,28_27,28_28,28_29,28_30,28_36,28_38,28_40,28_41,28_42,28_43,29_6,29_10,29_11,29_18,29_20,29_21,29_22,29_23,29_27,29_34,29_35,29_36,29_38,29_39,29_43,30_6,30_7,30_8,30_11,30_18,30_19,30_20,30_26,30_27,30_29,30_30,30_31,30_32,30_34,30_38,30_40,30_41,30_42,30_43,31_8,31_11,31_12,31_19,31_27,31_29,31_32,31_33,31_34,31_38,31_41,31_43,32_8,32_9,32_11,32_27,32_29,32_38,32_39,32_41,32_43,33_8,33_11,33_22,33_23,33_24,33_27,33_29,33_30,33_38,33_41,33_43,34_8,34_9,34_11,34_18,34_19,34_20,34_21,34_22,34_24,34_27,34_29,34_35,34_36,34_37,34_38,34_40,34_41,34_43,35_8,35_11,35_12,35_13,35_16,35_17,35_18,35_21,35_24,35_25,35_26,35_27,35_29,35_35,35_43,36_7,36_8,36_13,36_16,36_29,36_30,36_35,36_40,36_41,36_42,36_43,37_7,37_8,37_9,37_10,37_13,37_16,37_18,37_19,37_20,37_21,37_23,37_24,37_25,37_26,37_29,37_35,37_42,37_43,38_10,38_11,38_12,38_13,38_14,38_16,38_18,38_21,38_22,38_23,38_26,38_27,38_29,38_35,38_36,38_37,38_38,38_40,38_41,39_15,39_16,39_18,39_27,39_28,39_29,39_38,39_43,40_14,40_16,40_18,40_29,40_37,40_38,40_41,40_42,40_43,41_14,41_16,41_18,41_19,41_37,41_41,41_43,42_16,42_18,42_37,42_38,42_41,42_43,43_16,43_17,43_18,43_38,43_40,43_41,43_43,44_37,44_38,44_39,44_40"; scene_data["render_common_0002_coordinates"] = "7_10,8_10"; scene_data["render_building_0009_coordinates"] = "7_11"; scene_data["render_building_0004_coordinates"] = "8_11"; scene_data["render_common_0003_coordinates"] = "15_6,25_42"; scene_data["render_warp_0001_coordinates"] = "44_43"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0009() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 15; scene_data["tile_y_count"] = 13; scene_data["name"] = "Mage Hermit House West of Westfall Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="Magius: {{new_line}} I have been expecting you, young seeker. I foresaw your arrival last night. When the Luminara moon appeared with a glowing inner circle last night, it signified your arrival. {{new_line}} {{new_line}} You: {{new_line}} Expecting me? I just arrived, and I'm not even sure how. Who are you? {{new_line}} {{new_line}} Magius: {{new_line}} Allow me to introduce myself. I am the steward of the Westfall forest. As you have been told, my name is Magius. I listen to the wind and predict weather in Westfall. When rain arrives, I tell the village to not water the crops. When the seasons are dry, I direct the village to grow more grain. Since the dawn of time, my family has allocated the first-born to serve in this role. Unfortunately, it is a lonely life, but with time I have learned to speak with the trees, and in a way, they speak back to me. They are who told me of your imminent arrival, and then the moon confirmed their telling. {{new_line}} {{new_line}} You: {{new_line}} What does it mean to be the seeker? Why me? {{new_line}} {{new_line}} Magius: {{new_line}} Time has always given Earth a seeker. To be the seeker means to seek the gems, and restore balance to Earth. If you doubt this, think of your situation. You fell from the moon, and yet you are still in tact. {{new_line}} {{new_line}} You: {{new_line}} I think I just got lucky. {{new_line}} {{new_line}} Magius: {{new_line}} Ren, if you have any doubt, let me persuade you otherwise. Here is a glass of a special Elderberry wine. Drink, young seeker. {{new_line}} {{new_line}} (Magius offers a glass) {{new_line}} {{new_line}} You: {{new_line}} I don't want to drink it, it smells like poison. How did you know my name? {{new_line}} {{new_line}} Magius: {{new_line}} I listened to the trees. And yes, it is in fact poison, but only to others. If I or anyone else would drink it, we would end up fainting and falling asleep with a fever for 4 days. {{new_line}} {{new_line}} You: {{new_line}} If I drank it and that happened to me, would you agree with me that I'm not the gem seeker? {{new_line}} {{new_line}} Magius: {{new_line}} Of course I would, because that would be a clear indication. I would wager my life that it's not going to happen, though. {{new_line}} {{new_line}} (Ren drinks wine) {{new_line}} {{new_line}} You: Wow, that tasted delicious. {{new_line}} {{new_line}} Magius: {{new_line}} So now you're convinced, then. {{new_line}} {{new_line}} You: {{new_line}} I have my doubts, but if I am the gem seeker, what then do I do? {{new_line}} {{new_line}} Magius: {{new_line}} You must of course find the gems and restore balance. You are reborn and reincarnated with an exo-star's dust. Thousands of generations, thousands of forefathers are within you. You will fulfill your destiny, just as you always have. To my left and right are your tools. My task has been to guard them, and now my task is fulfilled. Many false seekers have entered trying to claim what is yours. The boxes will only open to the true gem seeker, and false seekers' hands have been burned, because the magic will only allow the true gem seeker to open them. Go ahead, young one. Take what is rightfully yours, and yours alone. {{new_line}} {{new_line}} You: Alright, I'll give it a shot.", required_dir="up", callback=function() PUT_STATE("mtt", 9, 1, "Spoke with Mage"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=5, y=4, txt="You obtained a special sword. A phoenix is engraved in the hilt. It feels lighter than it looks.", required_dir="up", callback=function() SET_SWORD(0); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mtt", 9) == 1;end, eligibility_failure_msg=function() return "Come hither, young man.";end }, { x=9, y=4, txt="You obtained a shield. A phoenix is engraved in the hilt. The weight of it changes as you move it from your left hand to your right hand.", required_dir="up", callback=function() SET_SHIELD(0); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mtt", 9) == 1;end, eligibility_failure_msg=function() return "Come hither, young man.";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=10, after_player_x=8, after_player_y=12, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=9, scene_number=8, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_6|5_8|6_3|6_4|6_5|6_8|7_4|7_5|7_6|7_7|7_8|7_9|8_3|8_4|8_5|8_8|9_4|9_6|9_8"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0003,render_common_0001,render_indoors_asset_0008,render_person_0004,render_warp_0001,render_indoors_asset_0014"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,5_2,5_7,5_9,6_2,6_6,6_7,6_9,7_2,8_2,8_6,8_7,8_9,9_2,9_7,9_9,10_2,10_3,10_4,10_5,10_6,10_7,10_8,10_9"; scene_data["render_common_0003_coordinates"] = "5_3,9_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_6,5_8,6_3,6_4,6_5,6_8,7_4,7_5,7_6,7_7,7_8,8_3,8_4,8_5,8_8,9_4,9_6,9_8"; scene_data["render_indoors_asset_0008_coordinates"] = "5_5"; scene_data["render_person_0004_coordinates"] = "7_3"; scene_data["render_warp_0001_coordinates"] = "7_9"; scene_data["render_indoors_asset_0014_coordinates"] = "9_5"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0010() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 30; scene_data["name"] = "First scene north of Westfall Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = {0,0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=14, txt="You obtained 20g.", required_dir="up", callback=function() GET_MONEY(20); PUT_STATE("gm", 10, 1, "Opened treasure chest scene 10"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("gm", 10) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=3, after_player_x=12, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=5, y=26, scene_number=2, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=25, after_player_x=7, after_player_y=27, after_screen_x=0, after_screen_y=2, after_player_dir="up", x=5, y=3, scene_number=11, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_8|5_9|5_10|5_11|5_14|5_15|5_17|5_18|5_19|5_20|5_21|5_22|5_24|5_25|5_26|6_5|6_6|6_8|6_10|6_11|6_13|6_15|6_16|6_17|6_18|6_20|6_21|6_22|6_24|6_25|6_26|7_3|7_4|7_5|7_8|7_10|7_17|7_22|7_24|7_25|7_26|8_3|8_6|8_8|8_10|8_12|8_13|8_14|8_15|8_17|8_19|8_20|8_21|8_22|8_26|9_3|9_4|9_5|9_6|9_7|9_8|9_10|9_12|9_14|9_15|9_17|9_19|9_22|9_24|9_26|10_3|10_4|10_5|10_9|10_10|10_12|10_14|10_16|10_17|10_19|10_20|10_21|10_22|10_26|11_3|11_4|11_5|11_7|11_10|11_12|11_14|11_17|11_22|11_24|11_25|11_26|12_7|12_8|12_9|12_10|12_12|12_14|12_15|12_17|12_19|12_20|12_21|12_22|12_24|12_25|12_26|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_12|13_13|13_15|13_17|13_19|13_20|13_21|13_22|13_26|14_4|14_8|14_12|14_14|14_15|14_17|14_19|14_24|14_25|14_26|15_3|15_4|15_6|15_10|15_12|15_14|15_15|15_16|15_17|15_19|15_20|15_21|15_22|15_23|15_24|15_25|15_26|16_3|16_4|16_5|16_6|16_7|16_8|16_9|16_10|16_11|16_12|16_17"; scene_data["render_fns_list"] = "render_outdoors_0006,render_warp_0001,render_common_0001,render_common_0003"; scene_data["render_warp_0001_coordinates"] = "5_3,5_26"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_8,5_9,5_10,5_11,5_14,5_15,5_17,5_18,5_19,5_20,5_21,5_22,5_24,5_25,6_5,6_6,6_8,6_10,6_11,6_13,6_15,6_16,6_17,6_18,6_20,6_21,6_22,6_24,6_25,6_26,7_3,7_4,7_5,7_8,7_10,7_17,7_22,7_24,7_25,7_26,8_3,8_6,8_8,8_10,8_12,8_13,8_14,8_15,8_17,8_19,8_20,8_21,8_22,8_26,9_3,9_4,9_5,9_6,9_7,9_8,9_10,9_12,9_14,9_15,9_17,9_19,9_22,9_24,9_26,10_3,10_4,10_5,10_9,10_10,10_12,10_14,10_16,10_17,10_19,10_20,10_21,10_22,10_26,11_3,11_4,11_5,11_7,11_10,11_12,11_14,11_17,11_22,11_24,11_25,11_26,12_7,12_8,12_9,12_10,12_12,12_14,12_15,12_17,12_19,12_20,12_21,12_22,12_24,12_25,12_26,13_3,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_12,13_13,13_15,13_17,13_19,13_20,13_21,13_22,13_26,14_4,14_8,14_12,14_14,14_15,14_17,14_19,14_24,14_25,14_26,15_3,15_4,15_6,15_10,15_12,15_14,15_15,15_16,15_17,15_19,15_20,15_21,15_22,15_23,15_24,15_25,15_26,16_3,16_4,16_5,16_6,16_7,16_8,16_9,16_10,16_11,16_12,16_17"; scene_data["render_common_0003_coordinates"] = "5_13"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0011() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 32; scene_data["name"] = "Second Scene North of Home Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {1,1}; scene_data["monster_hp_inflation"] = {1,1}; scene_data["monster_exp_inflation"] = {2,2}; scene_data["monster_gold_inflation"] = {0,0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=28, scene_number=10, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=43, after_player_x=14, after_player_y=45, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=7, y=3, scene_number=12, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|0_4|0_5|0_7|0_9|0_10|0_12|0_13|0_14|0_15|0_17|0_18|0_20|0_21|0_23|0_24|0_26|0_27|1_4|1_7|1_9|1_12|1_15|1_24|1_26|1_27|1_28|2_3|2_4|2_5|2_6|2_7|2_9|2_10|2_12|2_13|2_17|2_19|2_20|2_21|2_22|2_24|2_27|3_5|3_13|3_17|3_20|3_24|3_26|3_27|4_4|4_28|5_4|5_6|5_12|5_13|5_14|5_16|5_17|5_18|5_19|5_20|5_22|5_23|5_24|5_26|5_27|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_14|6_16|6_20|6_22|6_24|7_0|7_1|7_2|7_3|7_4|7_5|7_6|7_11|7_12|7_14|7_15|7_16|7_17|7_18|7_20|7_21|7_22|7_24|7_25|7_26|7_27|7_28|7_29|7_30|7_31|9_6|9_10|9_13|9_17|9_18|9_19|9_20|9_21|9_23|9_24|9_25|9_27|9_28|10_5|10_9|10_10|10_12|10_13|10_17|10_18|10_25|10_27|11_4|11_5|11_6|11_7|11_9|11_10|11_12|11_13|11_14|11_15|11_16|11_17|11_21|11_23|11_27|11_28|12_3|12_4|12_5|12_6|12_7|12_8|12_9|12_10|12_17|12_18|12_19|12_20|12_21|12_23|12_24|12_25|12_27"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_3,0_4,0_5,0_7,0_9,0_10,0_12,0_13,0_14,0_15,0_17,0_18,0_20,0_21,0_23,0_24,0_26,0_27,1_4,1_7,1_9,1_12,1_15,1_24,1_26,1_27,1_28,2_3,2_4,2_5,2_6,2_7,2_9,2_10,2_12,2_13,2_17,2_19,2_20,2_21,2_22,2_24,2_27,3_5,3_13,3_17,3_20,3_24,3_26,3_27,4_4,4_28,5_4,5_6,5_12,5_13,5_14,5_16,5_17,5_18,5_19,5_20,5_22,5_23,5_24,5_26,5_27,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_14,6_16,6_20,6_22,6_24,7_0,7_1,7_2,7_4,7_5,7_6,7_11,7_12,7_14,7_15,7_16,7_17,7_18,7_20,7_21,7_22,7_24,7_25,7_26,7_27,7_29,7_30,7_31,9_6,9_10,9_13,9_17,9_18,9_19,9_20,9_21,9_23,9_24,9_25,9_27,9_28,10_5,10_9,10_10,10_12,10_13,10_17,10_18,10_25,10_27,11_4,11_5,11_6,11_7,11_9,11_10,11_12,11_13,11_14,11_15,11_16,11_17,11_21,11_23,11_27,11_28,12_3,12_4,12_5,12_6,12_7,12_8,12_9,12_10,12_17,12_18,12_19,12_20,12_21,12_23,12_24,12_25,12_27"; scene_data["render_warp_0001_coordinates"] = "7_3,7_28"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0012() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 50; scene_data["name"] = "Third Scene North of Westfall Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0,0}; scene_data["monster_hp_inflation"] = {-9,-9}; scene_data["monster_exp_inflation"] = {0,0}; scene_data["monster_gold_inflation"] = {-6,-6}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=14, y=46, scene_number=11, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=6, after_player_x=8, after_player_y=8, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=6, y=4, scene_number=13, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_47|0_48|0_49|1_47|1_48|1_49|2_47|2_49|3_47|3_48|3_49|4_47|4_49|5_0|5_1|5_2|5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_19|5_20|5_21|5_22|5_23|5_24|5_25|5_26|5_27|5_28|5_29|5_30|5_31|5_32|5_33|5_34|5_35|5_36|5_37|5_38|5_39|5_40|5_41|5_42|5_43|5_44|5_45|5_46|5_47|5_48|5_49|6_6|6_15|6_17|6_32|6_47|6_49|7_0|7_1|7_2|7_3|7_4|7_8|7_9|7_10|7_11|7_12|7_13|7_15|7_17|7_24|7_25|7_26|7_27|7_28|7_30|7_32|7_39|7_40|7_41|7_42|7_47|7_48|7_49|8_0|8_1|8_2|8_7|8_8|8_9|8_10|8_11|8_12|8_13|8_15|8_17|8_19|8_20|8_21|8_22|8_23|8_24|8_26|8_27|8_30|8_32|8_34|8_35|8_36|8_38|8_39|8_40|8_41|8_42|8_47|8_49|9_0|9_1|9_2|9_4|9_5|9_7|9_15|9_17|9_22|9_26|9_28|9_29|9_30|9_32|9_34|9_36|9_37|9_38|9_39|9_40|9_41|9_42|9_47|9_48|9_49|10_0|10_1|10_2|10_4|10_5|10_7|10_9|10_10|10_11|10_12|10_13|10_14|10_15|10_17|10_18|10_19|10_20|10_22|10_26|10_32|10_34|10_41|10_42|10_47|10_48|10_49|11_0|11_1|11_2|11_4|11_5|11_7|11_9|11_22|11_26|11_28|11_30|11_32|11_37|11_38|11_39|11_41|11_42|11_47|11_49|12_0|12_1|12_2|12_4|12_5|12_7|12_9|12_11|12_12|12_13|12_14|12_15|12_17|12_18|12_19|12_20|12_21|12_22|12_23|12_24|12_26|12_28|12_29|12_30|12_31|12_32|12_33|12_34|12_35|12_36|12_37|12_39|12_41|12_42|12_44|12_47|12_48|12_49|13_0|13_1|13_2|13_4|13_5|13_7|13_12|13_15|13_17|13_20|13_22|13_39|13_42|13_44|13_45|13_46|13_47|14_0|14_1|14_2|14_7|14_9|14_10|14_12|14_15|14_22|14_28|14_32|14_34|14_37|14_42|15_0|15_1|15_2|15_3|15_4|15_5|15_6|15_7|15_8|15_9|15_10|15_11|15_12|15_13|15_14|15_15|15_16|15_17|15_18|15_19|15_20|15_21|15_22|15_23|15_24|15_25|15_26|15_27|15_28|15_29|15_30|15_31|15_32|15_33|15_34|15_35|15_36|15_37|15_38|15_39|15_40|15_41|15_42|15_43|15_44|15_45|15_46|15_47|15_48|15_49|16_45|16_49|17_45|17_49|18_45|18_49|19_45|19_49"; scene_data["render_fns_list"] = "render_common_0001,render_outdoors_0006,render_warp_0001,render_outdoors_0009"; scene_data["render_outdoors_0006_coordinates"] = "0_47,0_48,0_49,1_47,1_48,1_49,2_47,2_49,3_47,3_48,3_49,4_47,4_49,5_0,5_1,5_2,5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,5_20,5_21,5_22,5_23,5_24,5_25,5_26,5_27,5_28,5_29,5_30,5_31,5_32,5_33,5_34,5_35,5_36,5_37,5_38,5_39,5_40,5_41,5_42,5_43,5_44,5_45,5_46,5_47,5_48,5_49,6_32,6_47,6_49,7_26,7_27,7_39,7_42,7_47,7_48,7_49,8_19,8_23,8_27,8_30,8_36,8_39,8_41,8_42,8_47,8_49,9_26,9_28,9_29,9_32,9_34,9_36,9_37,9_38,9_39,9_40,9_47,9_48,9_49,10_10,10_17,10_18,10_19,10_20,10_22,10_26,10_32,10_42,10_47,10_48,10_49,11_22,11_26,11_28,11_38,11_41,11_47,11_49,12_19,12_35,12_36,12_41,12_42,12_44,12_47,12_48,12_49,13_42,13_44,13_45,13_46,13_47,14_32,14_37,14_42,15_0,15_1,15_2,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_11,15_12,15_13,15_14,15_15,15_16,15_17,15_18,15_19,15_20,15_21,15_22,15_23,15_24,15_25,15_26,15_27,15_28,15_29,15_30,15_31,15_32,15_33,15_34,15_35,15_36,15_37,15_38,15_39,15_40,15_41,15_42,15_43,15_44,15_45,15_46,15_47,15_48,15_49,16_45,16_49,17_45,17_49,18_45,18_49,19_45,19_49"; scene_data["render_warp_0001_coordinates"] = "6_4,14_46"; scene_data["render_outdoors_0009_coordinates"] = "6_6,6_15,6_17,7_0,7_1,7_2,7_3,7_4,7_8,7_9,7_10,7_11,7_12,7_13,7_15,7_17,7_24,7_25,7_28,7_30,7_32,7_40,7_41,8_0,8_1,8_2,8_7,8_8,8_9,8_10,8_11,8_12,8_13,8_15,8_17,8_20,8_21,8_22,8_24,8_26,8_32,8_34,8_35,8_38,8_40,9_0,9_1,9_2,9_4,9_5,9_7,9_15,9_17,9_22,9_30,9_41,9_42,10_0,10_1,10_2,10_4,10_5,10_7,10_9,10_11,10_12,10_13,10_14,10_15,10_34,10_41,11_0,11_1,11_2,11_4,11_5,11_7,11_9,11_30,11_32,11_37,11_39,11_42,12_0,12_1,12_2,12_4,12_5,12_7,12_9,12_11,12_12,12_13,12_14,12_15,12_17,12_18,12_20,12_21,12_22,12_23,12_24,12_26,12_28,12_29,12_30,12_31,12_32,12_33,12_34,12_37,12_39,13_0,13_1,13_2,13_4,13_5,13_7,13_12,13_15,13_17,13_20,13_22,13_39,14_0,14_1,14_2,14_7,14_9,14_10,14_12,14_15,14_22,14_28,14_34"; scene_data["default_tile"] = render_common_0001; scene_data["default_tile_name"] = "render_common_0001"; SCENE_DATA = scene_data; end function enter_scene_0013() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 13; scene_data["name"] = "First Camp North of WF Village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("pg", 13) == -1 then SCENE_DATA["movement_allowed_at_7,8"] = false; end;if GET_STATE("pg", 13) == -1 then SCENE_DATA["movement_allowed_at_9,8"] = false; end;if GET_STATE("pg", 13) == 1 then table.remove(SCENE_DATA.dialogs, 1); end;if GET_STATE("pg", 13) == 1 then SCENE_DATA["tile_at_8,7"] = render_common_0001; end;if GET_STATE("pg", 13) == 1 then SCENE_DATA["movement_allowed_at_8,7"] = true; end;if GET_STATE("pg", 13) == 1 then SCENE_DATA["movement_allowed_at_8,6"] = false; end;if GET_STATE("pg", 13) == 1 then render_scene(); end;if GET_STATE("pg", 13) == 1 then platform.window:invalidate(); end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=8, txt="Woman: {{new_line}} {{new_line}} {{new_line}} (She is crying) {{new_line}} {{new_line}} My husband was a soldier in the resistance army against the Kingdom of Fabius. There was a great battle in the caves. The resistance managed to push Fabius soldiers back, but there were many casualties. And then...and then…. {{new_line}} {{new_line}} Woman: {{new_line}} {{new_line}} (More crying) {{new_line}} {{new_line}} Ren: {{new_line}} And then what? {{new_line}} {{new_line}} Woman: {{new_line}} There were many casualties. My husband was among them. {{new_line}} {{new_line}} Ren: {{new_line}} I am very sorry. Death comes for everyone, but unfortunately for some it comes sooner than what we plan for. My heart goes out to you. What was he like? {{new_line}} {{new_line}} Woman: {{new_line}} He was a strong, very honorable man. He wouldn’t hurt a fly, and yet he bravely joined the resistance because Fabiussian soldiers would sometimes take women, and we can only assume that the worst has happened to those who were taken. He was a blacksmith before entering the resistance. He worked day and night, sometimes without sleep. His wages were low, but with the long hours spent, he managed to provide me and my baby daughter with a decent life. We had fresh fruit and vegetables with every meal. He would bring home money every night, he’d go back to work, and then we’d go to market to buy the produce. There has been a drought for nearly two years. Fruit and vegetables have become expensive, but we won’t eat meat. To kill a creature for food, when at the very least there is always grain…I think that’s wrong. It’s ironic that as humans we have the easiest access to food without killing, and yet we’re the ones doing most of it. {{new_line}} {{new_line}} Ren: {{new_line}} That’s an interesting way of putting it. {{new_line}} {{new_line}} Woman: {{new_line}} Do you eat meat? {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} Ren: {{new_line}} I’ve always avoided it, but I was never sure why. For now and into the future, I think I’ll go with your explanation. That’s the best way I’ve heard it put. {{new_line}} {{new_line}} {{new_line}} {{new_line}} {{new_line}} Woman: {{new_line}} {{new_line}} (Crying again) {{new_line}} {{new_line}} He always worked hard to improve our life, and now without him...I’m not sure what we’ll do. {{new_line}} {{new_line}} Ren: {{new_line}} What was his name? {{new_line}} {{new_line}} Woman: {{new_line}} {{new_line}} Sanguelle. {{new_line}} {{new_line}} Ren: {{new_line}} I believe that in some cases-- especially during fatherhood--the role of men should be to ensure that a mother can care for a child, providing them with the best opportunity to raise healthy children, and taking turns watching the child so that each can enjoy both work and personal time. I can not bring back your husband, but I will give you what gold I have. It should be enough to sustain you for quite some time, and I’m sure that you’ll eventually find a way back to a comfortable life. You are a beautiful woman, and your child is a blessing. She looks very healthy. Please take this money, you can stay here at the inn for now. Enjoy hot food, comfortable sleep, and my best wishes to you and your child. Here is what I can give you, it’s nearly all I have. I wish it were more, but I give it with every best wish and intention. {{new_line}} {{new_line}} Ren: {{new_line}} (Hands over money) {{new_line}} {{new_line}} {{new_line}} Ren: {{new_line}} Money is like a boomerang. You throw it out, and somehow it always inevitably comes back to you. Admittedly it is limited in supply, but it changes hands often enough for me to not worry about it coming back. What I have given you is yours without the burden debt {{new_line}} {{new_line}} Woman: {{new_line}} {{new_line}} If everyone thought like you, I think the world would be a better place. You are a nice, gentle young man. You young people always need money, and yet you give it freely as if it were nothing. You have the greatest of my thanks, any woman would be honored to have you in her life. Thank you again. {{new_line}} {{new_line}} (Woman kisses Ren on cheek). {{new_line}} ", required_dir="up", callback=function() PUT_STATE("pg", 13, 1, "Giving money to woman with child"); local curr_wallet = PEEK_MONEY(); local ninety_percent = math.floor(curr_wallet * 0.9); SPEND_MONEY(ninety_percent); if PEEK_MONEY() <= 10 then GET_MONEY(10); end; SCENE_DATA["movement_allowed_at_7,8"] = true; SCENE_DATA["movement_allowed_at_9,8"] = true; SCENE_DATA.on_entrance(); platform.window:invalidate(); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return "";end }, { x=13, y=8, txt="The battle was rough. Fabussian soliders seemed to never lower lose their numbers. We fought them in the caves, moving from crevice to crevice, spears and lances jumping out from moment to moment. Our advantage is that we knew the territory. Our ancestors lived in those caves during the age of ice. We walk through them from time to time to visit their tombs and graves. Young man, I will say this: if you ever become a soldier, learn the depths of the Earth and commit them to your mind and heart. Knowing where to step is more important than knowing how to swing a sword. {{new_line}} {{new_line}} We have always been a peaceful population, but consider this: war can sometimes be inevitable. At some point, you have to weigh the lives of your family, children, and loved ones. Even if you bear physical harm, you cannot let it reach your family and friends. In short, putting yourself aside...you cannot be indifferent to the lives of your loved ones. You can run from evil, but you cannot back up into a wall expecting to retreat inside it. No...indeed...you cannot step backwards into a wall and expect to retreat farther.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end; }, { x=12, y=7, txt="You obtained 40g", required_dir="up", callback=function() GET_MONEY(40); PUT_STATE("gmf", 13, 1, "Treasure box in scene 13"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("gmf", 13) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=15, y=7, txt="You obtained 40g", required_dir="up", callback=function() GET_MONEY(40); PUT_STATE("gmftt", 13, 1, "Treasure box in scene 13"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("gmftt", 13) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=8, y=9, scene_number=12, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=9, y=6, scene_number=1000, inn_item_keys={"5mg_g"}, inn_price=10, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=78, after_player_x=5, after_player_y=80, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=11, y=3, scene_number=14, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked.", after_map_x=-1, after_map_y=-1, after_player_x=-1, after_player_y=-1, after_screen_x=-1, after_screen_y=-1, after_player_dir="down", x=14, y=6, scene_number=-1, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|6_3|6_4|6_5|6_6|6_7|6_8|7_3|7_4|7_7|7_8|8_3|8_4|8_6|8_8|8_9|8_10|8_11|8_12|9_3|9_4|9_6|9_7|9_8|10_4|10_7|10_8|11_0|11_1|11_2|11_3|11_4|11_5|11_6|11_7|11_8|12_4|12_5|12_7|12_8|13_3|13_4|13_8|14_3|14_4|14_6|14_7|14_8|15_3|15_4|15_5|15_7|15_8|16_3|16_4|16_5|16_6|16_7|16_8"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_building_0001,render_building_0005,render_building_0006,render_common_0002,render_person_0006,render_warp_0001,render_building_0002,render_building_0004,render_common_0003,render_building_0010,render_person_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,6_3,6_4,6_5,6_6,6_7,6_8,7_3,7_4,7_7,7_8,8_3,8_4,8_8,8_10,8_11,8_12,9_3,9_4,9_7,9_8,10_4,10_7,10_8,11_0,11_1,11_2,11_4,11_5,11_6,11_7,11_8,12_4,12_5,12_7,12_8,13_3,13_4,13_8,14_3,14_4,14_7,14_8,15_3,15_4,15_5,15_7,15_8,16_3,16_4,16_5,16_6,16_7,16_8"; scene_data["render_building_0001_coordinates"] = "7_5,13_5"; scene_data["render_building_0005_coordinates"] = "7_6"; scene_data["render_building_0006_coordinates"] = "8_5"; scene_data["render_common_0002_coordinates"] = "8_6"; scene_data["render_person_0006_coordinates"] = "8_7"; scene_data["render_warp_0001_coordinates"] = "8_9,11_3"; scene_data["render_building_0002_coordinates"] = "9_5,14_5"; scene_data["render_building_0004_coordinates"] = "9_6,14_6"; scene_data["render_common_0003_coordinates"] = "12_6,15_6"; scene_data["render_building_0010_coordinates"] = "13_6"; scene_data["render_person_0001_coordinates"] = "13_7"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0014() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 18; scene_data["tile_y_count"] = 85; scene_data["name"] = "North of first camp (inn point) north of WF village"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {3,3}; scene_data["monster_hp_inflation"] = {2,2}; scene_data["monster_exp_inflation"] = {2,1}; scene_data["monster_gold_inflation"] = {8,6}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=12, y=67, txt="You received 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("nwfcb1", 14, 1, "First Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("nwfcb1", 14) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end }, { x=7, y=67, txt="You obtained 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("nwfcb2", 14, 1, "Second Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("nwfcb2", 14) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=1, after_player_x=11, after_player_y=4, after_screen_x=1, after_screen_y=3, after_player_dir="down", x=5, y=81, scene_number=13, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=19, after_player_x=6, after_player_y=21, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=12, y=4, scene_number=15, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=4, scene_number=1000, inn_item_keys={"5mg_g"}, inn_price=10, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|1_26|1_27|1_28|1_29|1_30|1_31|1_32|1_33|1_34|1_35|1_36|1_37|1_38|1_39|1_40|1_41|1_42|1_43|1_44|1_45|1_46|1_47|1_48|1_49|1_50|1_51|1_52|1_53|1_54|1_55|1_56|1_57|1_58|1_59|1_60|1_61|1_62|1_63|1_64|1_65|1_66|1_67|1_68|1_69|1_70|1_71|1_72|1_73|1_74|1_75|1_76|1_77|1_78|1_79|1_80|1_81|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|3_26|3_27|3_28|3_29|3_30|3_31|3_32|3_33|3_34|3_35|3_36|3_37|3_38|3_39|3_40|3_41|3_42|3_43|3_44|3_45|3_46|3_47|3_48|3_49|3_50|3_51|3_52|3_53|3_54|3_55|3_56|3_57|3_58|3_59|3_60|3_61|3_62|3_63|3_64|3_65|3_66|3_67|3_68|3_69|3_70|3_71|3_72|3_73|3_74|3_75|3_76|3_77|3_78|3_79|3_80|3_81|5_5|5_6|5_7|5_9|5_10|5_11|5_13|5_14|5_15|5_16|5_17|5_18|5_20|5_21|5_22|5_23|5_25|5_26|5_27|5_28|5_29|5_30|5_32|5_33|5_34|5_36|5_37|5_38|5_39|5_40|5_41|5_42|5_44|5_45|5_46|5_47|5_49|5_50|5_51|5_52|5_53|5_54|5_57|5_58|5_61|5_62|5_63|5_64|5_65|5_66|5_67|5_69|5_70|5_71|5_72|5_73|5_74|5_75|5_76|5_77|5_78|5_80|5_81|6_5|6_7|6_9|6_11|6_13|6_17|6_18|6_20|6_23|6_25|6_26|6_28|6_30|6_32|6_34|6_37|6_39|6_42|6_44|6_45|6_47|6_51|6_52|6_54|6_56|6_57|6_58|6_59|6_61|6_62|6_63|6_64|6_67|6_69|6_71|6_73|6_74|6_76|6_78|6_80|7_5|7_7|7_9|7_11|7_13|7_14|7_15|7_17|7_20|7_22|7_23|7_25|7_26|7_30|7_32|7_34|7_35|7_37|7_39|7_40|7_42|7_44|7_45|7_47|7_49|7_51|7_53|7_54|7_56|7_59|7_61|7_67|7_69|7_78|7_80|7_81|8_4|8_5|8_7|8_9|8_11|8_15|8_17|8_19|8_20|8_23|8_26|8_28|8_29|8_30|8_32|8_34|8_35|8_37|8_39|8_40|8_42|8_44|8_46|8_47|8_49|8_50|8_51|8_52|8_54|8_56|8_58|8_59|8_61|8_62|8_63|8_64|8_67|8_69|8_70|8_71|8_72|8_73|8_74|8_75|8_76|8_78|8_80|8_81|9_5|9_7|9_9|9_11|9_12|9_14|9_15|9_17|9_19|9_23|9_24|9_26|9_29|9_31|9_32|9_34|9_35|9_37|9_38|9_40|9_42|9_44|9_45|9_47|9_51|9_53|9_54|9_56|9_59|9_64|9_65|9_67|9_75|9_77|9_78|9_80|9_81|10_3|10_4|10_5|10_7|10_9|10_12|10_14|10_16|10_17|10_19|10_21|10_22|10_23|10_24|10_26|10_28|10_29|10_30|10_32|10_35|10_38|10_39|10_41|10_42|10_45|10_47|10_51|10_54|10_56|10_57|10_59|10_60|10_64|10_65|10_67|10_68|10_69|10_70|10_71|10_72|10_73|10_75|10_76|10_78|10_81|11_3|11_4|11_5|11_7|11_9|11_10|11_12|11_14|11_16|11_19|11_21|11_26|11_28|11_32|11_34|11_35|11_36|11_38|11_39|11_40|11_42|11_43|11_45|11_47|11_48|11_49|11_50|11_51|11_52|11_54|11_57|11_59|11_60|11_61|11_62|11_64|11_65|11_67|11_70|11_73|11_75|11_76|11_78|11_81|12_4|12_7|12_8|12_9|12_10|12_12|12_13|12_14|12_16|12_17|12_18|12_19|12_21|12_22|12_23|12_24|12_25|12_26|12_28|12_29|12_30|12_31|12_32|12_34|12_35|12_36|12_37|12_38|12_39|12_40|12_42|12_43|12_44|12_45|12_47|12_49|12_51|12_54|12_55|12_56|12_57|12_59|12_60|12_61|12_62|12_63|12_64|12_67|12_68|12_70|12_71|12_72|12_73|12_74|12_75|12_76|12_78|12_79|12_80|12_81|13_4|14_4|14_6|14_7|14_8|14_9|14_10|14_11|14_12|14_13|14_14|14_15|14_16|14_17|14_18|14_19|14_20|14_21|14_22|14_23|14_24|14_25|14_26|14_27|14_28|14_29|14_30|14_31|14_32|14_33|14_34|14_35|14_36|14_37|14_38|14_39|14_40|14_41|14_42|14_43|14_44|14_45|14_46|14_47|14_48|14_49|14_50|14_51|14_52|14_53|14_54|14_55|14_56|14_57|14_58|14_59|14_60|14_61|14_62|14_63|14_64|14_65|14_66|14_67|14_68|14_69|14_70|14_71|14_72|14_73|14_74|14_75|14_76|14_77|14_78|14_79|14_80|14_81|15_4|16_4|16_6|16_7|16_8|16_9|16_10|16_11|16_12|16_13|16_14|16_15|16_16|16_17|16_18|16_19|16_20|16_21|16_22|16_23|16_24|16_25|16_26|16_27|16_28|16_29|16_30|16_31|16_32|16_33|16_34|16_35|16_36|16_37|16_38|16_39|16_40|16_41|16_42|16_43|16_44|16_45|16_46|16_47|16_48|16_49|16_50|16_51|16_52|16_53|16_54|16_55|16_56|16_57|16_58|16_59|16_60|16_61|16_62|16_63|16_64|16_65|16_66|16_67|16_68|16_69|16_70|16_71|16_72|16_73|16_74|16_75|16_76|16_77|16_78|16_79|16_80|16_81|17_4"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_building_0001,render_building_0005,render_building_0006,render_building_0009,render_common_0003,render_building_0002,render_building_0004"; scene_data["render_common_0001_coordinates"] = "1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,1_26,1_27,1_28,1_29,1_30,1_31,1_32,1_33,1_34,1_35,1_36,1_37,1_38,1_39,1_40,1_41,1_42,1_43,1_44,1_45,1_46,1_47,1_48,1_49,1_50,1_51,1_52,1_53,1_54,1_55,1_56,1_57,1_58,1_59,1_60,1_61,1_62,1_63,1_64,1_65,1_66,1_67,1_68,1_69,1_70,1_71,1_72,1_73,1_74,1_75,1_76,1_77,1_78,1_79,1_80,1_81,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,3_26,3_27,3_28,3_29,3_30,3_31,3_32,3_33,3_34,3_35,3_36,3_37,3_38,3_39,3_40,3_41,3_42,3_43,3_44,3_45,3_46,3_47,3_48,3_49,3_50,3_51,3_52,3_53,3_54,3_55,3_56,3_57,3_58,3_59,3_60,3_61,3_62,3_63,3_64,3_65,3_66,3_67,3_68,3_69,3_70,3_71,3_72,3_73,3_74,3_75,3_76,3_77,3_78,3_79,3_80,3_81,5_5,5_6,5_7,5_9,5_10,5_11,5_13,5_14,5_15,5_16,5_17,5_18,5_20,5_21,5_22,5_23,5_25,5_26,5_27,5_28,5_29,5_30,5_32,5_33,5_34,5_36,5_37,5_38,5_39,5_40,5_41,5_42,5_44,5_45,5_46,5_47,5_49,5_50,5_51,5_52,5_53,5_54,5_57,5_58,5_61,5_62,5_63,5_64,5_65,5_66,5_67,5_69,5_70,5_71,5_72,5_73,5_74,5_75,5_76,5_77,5_78,5_80,6_5,6_7,6_9,6_11,6_13,6_17,6_18,6_20,6_23,6_25,6_26,6_28,6_30,6_32,6_34,6_37,6_39,6_42,6_44,6_45,6_47,6_51,6_52,6_54,6_56,6_57,6_58,6_59,6_61,6_62,6_63,6_64,6_67,6_69,6_71,6_73,6_74,6_76,6_78,6_80,7_5,7_7,7_9,7_11,7_13,7_14,7_15,7_17,7_20,7_22,7_23,7_25,7_26,7_30,7_32,7_34,7_35,7_37,7_39,7_40,7_42,7_44,7_45,7_47,7_49,7_51,7_53,7_54,7_56,7_59,7_61,7_67,7_69,7_78,7_80,7_81,8_5,8_7,8_9,8_11,8_15,8_17,8_19,8_20,8_23,8_26,8_28,8_29,8_30,8_32,8_34,8_35,8_37,8_39,8_40,8_42,8_44,8_46,8_47,8_49,8_50,8_51,8_52,8_54,8_56,8_58,8_59,8_61,8_62,8_63,8_64,8_67,8_69,8_70,8_71,8_72,8_73,8_74,8_75,8_76,8_78,8_80,8_81,9_5,9_7,9_9,9_11,9_12,9_14,9_15,9_17,9_19,9_23,9_24,9_26,9_29,9_31,9_32,9_34,9_35,9_37,9_38,9_40,9_42,9_44,9_45,9_47,9_51,9_53,9_54,9_56,9_59,9_64,9_65,9_67,9_75,9_77,9_78,9_80,9_81,10_3,10_4,10_5,10_7,10_9,10_12,10_14,10_16,10_17,10_19,10_21,10_22,10_23,10_24,10_26,10_28,10_29,10_30,10_32,10_35,10_38,10_39,10_41,10_42,10_45,10_47,10_51,10_54,10_56,10_57,10_59,10_60,10_64,10_65,10_67,10_68,10_69,10_70,10_71,10_72,10_73,10_75,10_76,10_78,10_81,11_3,11_4,11_5,11_7,11_9,11_10,11_12,11_14,11_16,11_19,11_21,11_26,11_28,11_32,11_34,11_35,11_36,11_38,11_39,11_40,11_42,11_43,11_45,11_47,11_48,11_49,11_50,11_51,11_52,11_54,11_57,11_59,11_60,11_61,11_62,11_64,11_65,11_67,11_70,11_73,11_75,11_76,11_78,11_81,12_7,12_8,12_9,12_10,12_12,12_13,12_14,12_16,12_17,12_18,12_19,12_21,12_22,12_23,12_24,12_25,12_26,12_28,12_29,12_30,12_31,12_32,12_34,12_35,12_36,12_37,12_38,12_39,12_40,12_42,12_43,12_44,12_45,12_47,12_49,12_51,12_54,12_55,12_56,12_57,12_59,12_60,12_61,12_62,12_63,12_64,12_67,12_68,12_70,12_71,12_72,12_73,12_74,12_75,12_76,12_78,12_79,12_80,12_81,13_4,14_4,14_6,14_7,14_8,14_9,14_10,14_11,14_12,14_13,14_14,14_15,14_16,14_17,14_18,14_19,14_20,14_21,14_22,14_23,14_24,14_25,14_26,14_27,14_28,14_29,14_30,14_31,14_32,14_33,14_34,14_35,14_36,14_37,14_38,14_39,14_40,14_41,14_42,14_43,14_44,14_45,14_46,14_47,14_48,14_49,14_50,14_51,14_52,14_53,14_54,14_55,14_56,14_57,14_58,14_59,14_60,14_61,14_62,14_63,14_64,14_65,14_66,14_67,14_68,14_69,14_70,14_71,14_72,14_73,14_74,14_75,14_76,14_77,14_78,14_79,14_80,14_81,15_4,16_4,16_6,16_7,16_8,16_9,16_10,16_11,16_12,16_13,16_14,16_15,16_16,16_17,16_18,16_19,16_20,16_21,16_22,16_23,16_24,16_25,16_26,16_27,16_28,16_29,16_30,16_31,16_32,16_33,16_34,16_35,16_36,16_37,16_38,16_39,16_40,16_41,16_42,16_43,16_44,16_45,16_46,16_47,16_48,16_49,16_50,16_51,16_52,16_53,16_54,16_55,16_56,16_57,16_58,16_59,16_60,16_61,16_62,16_63,16_64,16_65,16_66,16_67,16_68,16_69,16_70,16_71,16_72,16_73,16_74,16_75,16_76,16_77,16_78,16_79,16_80,16_81,17_4"; scene_data["render_warp_0001_coordinates"] = "5_81,12_4"; scene_data["render_building_0001_coordinates"] = "6_3"; scene_data["render_building_0005_coordinates"] = "6_4"; scene_data["render_building_0006_coordinates"] = "7_3"; scene_data["render_building_0009_coordinates"] = "7_4"; scene_data["render_common_0003_coordinates"] = "7_66,12_66"; scene_data["render_building_0002_coordinates"] = "8_3"; scene_data["render_building_0004_coordinates"] = "8_4"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0015() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 100; scene_data["tile_y_count"] = 25; scene_data["name"] = "Scene directly before cave"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {3,3}; scene_data["monster_hp_inflation"] = {6,6}; scene_data["monster_exp_inflation"] = {2,1}; scene_data["monster_gold_inflation"] = {8,6}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=24, y=20, txt="You obtained 100g and 3 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(100); GET_ITEM("5mg_g", 3); PUT_STATE("ba", 15, 1, "Scene 15 1st treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("ba", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=28, y=4, txt="You obtained 50g and 3 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(50); GET_ITEM("5mg_g", 3); PUT_STATE("bb", 15, 1, "Scene 15 2nd treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bb", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=33, y=4, txt="You obtained 75g and 2 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(75); GET_ITEM("5mg_g", 2); PUT_STATE("bc", 15, 1, "Scene 15 3rd treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bc", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=50, y=4, txt="You obtained 100g and 3 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(100); GET_ITEM("5mg_g", 3); PUT_STATE("bd", 15, 1, "Scene 15 4th treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bd", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=52, y=5, txt="You obtained 50g and 2 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(50); GET_ITEM("5mg_g", 2); PUT_STATE("be", 15, 1, "Scene 15 5th treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("be", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=74, y=17, txt="You obtained 50g and 2 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(50); GET_ITEM("5mg_g", 2); PUT_STATE("bf", 15, 1, "Scene 15 6th treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bf", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=64, y=12, txt="You obtained 100g and 3 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(100); GET_ITEM("5mg_g", 3); PUT_STATE("bg", 15, 1, "Scene 15 7th treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bg", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=61, y=5, txt="You obtained 25g and 4 pieces of ginseng", required_dir="up", callback=function() GET_MONEY(25); GET_ITEM("5mg_g", 4); PUT_STATE("bh", 15, 1, "Scene 15 8th treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bh", 15) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=90, y=9, txt="Caves ahead. Warning: danger is present. Please enter at your own risk, and pack supplies. Traveling may be unsafe", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=92, y=9, txt="Caves ahead. Warning: danger is present. Please enter at your own risk, and pack supplies. Traveling may be unsafe", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=1, after_player_x=11, after_player_y=4, after_screen_x=1, after_screen_y=3, after_player_dir="down", x=5, y=21, scene_number=14, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=71, after_player_x=19, after_player_y=74, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=91, y=6, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_21|1_21|2_21|3_21|4_21|5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_19|5_21|6_3|6_19|6_20|6_21|7_3|7_5|7_6|7_7|7_8|7_9|7_10|7_11|7_12|7_13|7_14|8_3|8_4|8_5|8_6|8_7|8_8|8_9|8_10|8_11|8_12|8_13|8_14|8_15|8_16|8_17|8_18|8_19|8_20|8_21|9_21|10_10|10_12|10_14|10_15|10_16|10_17|10_19|10_21|11_10|11_12|11_14|11_15|11_16|11_17|11_19|11_21|12_3|12_4|12_5|12_6|12_7|12_8|12_10|12_21|13_3|13_4|13_5|13_6|13_7|13_8|13_10|13_12|13_13|13_14|13_15|13_16|13_17|13_18|13_19|13_20|13_21|14_3|14_4|14_5|14_6|14_7|14_8|14_12|15_12|15_14|15_15|15_16|15_18|15_19|15_20|15_21|16_3|16_4|16_5|16_6|16_7|16_9|16_10|16_12|16_13|16_14|16_16|16_17|16_18|16_20|16_21|17_3|17_4|17_7|17_10|17_20|18_3|18_4|18_6|18_7|18_8|18_9|18_10|18_11|18_12|18_13|18_14|18_15|18_16|18_17|18_18|18_19|18_20|19_3|20_3|20_5|20_6|20_7|20_8|20_9|20_10|20_11|20_12|20_13|20_14|20_15|20_16|20_17|20_18|20_19|20_20|20_21|21_3|21_20|21_21|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_10|22_11|22_12|22_13|22_14|22_15|22_16|22_17|22_18|22_19|22_20|22_21|23_21|24_3|24_4|24_5|24_6|24_7|24_8|24_9|24_10|24_11|24_12|24_13|24_14|24_15|24_16|24_17|24_20|24_21|25_3|25_4|25_5|25_6|25_8|25_9|25_11|25_13|25_15|25_16|25_21|26_3|26_4|26_5|26_6|26_7|26_8|26_9|26_10|26_11|26_12|26_13|26_14|26_15|26_16|26_17|26_18|26_19|26_21|27_14|27_15|27_18|27_19|27_21|28_4|28_5|28_6|28_7|28_8|28_9|28_10|28_12|28_13|28_16|28_21|29_10|29_13|29_14|29_15|29_16|29_17|29_18|29_19|29_21|30_3|30_5|30_6|30_10|30_11|30_21|31_3|31_4|31_5|31_6|31_10|31_11|31_12|31_13|31_14|31_16|31_17|31_18|31_19|31_21|32_3|32_10|32_13|32_14|32_17|32_19|32_21|33_4|33_5|33_6|33_7|33_8|33_10|33_11|33_14|33_16|33_17|33_19|33_21|34_5|34_7|34_8|34_10|34_11|34_14|34_16|34_17|34_19|34_21|35_3|35_5|35_8|35_10|35_11|35_13|35_14|35_17|35_19|35_21|36_3|36_5|36_6|36_8|36_10|36_11|36_13|36_14|36_16|36_17|36_19|36_21|37_3|37_5|37_6|37_8|37_11|37_13|37_16|37_17|37_19|37_21|38_5|38_6|38_8|38_10|38_11|38_13|38_15|38_16|38_17|38_19|38_21|39_3|39_6|39_8|39_10|39_13|39_15|39_19|39_21|40_3|40_4|40_6|40_8|40_10|40_12|40_13|40_15|40_17|40_18|40_19|40_21|41_3|41_4|41_6|41_8|41_10|41_12|41_13|41_15|41_17|41_18|41_19|41_21|42_3|42_4|42_6|42_8|42_10|42_12|42_15|42_17|42_19|42_21|43_3|43_4|43_6|43_8|43_10|43_12|43_13|43_15|43_17|43_18|43_19|43_21|44_6|44_8|44_10|44_12|44_14|44_15|44_18|44_21|45_3|45_4|45_5|45_6|45_8|45_10|45_12|45_15|45_18|45_21|46_3|46_4|46_5|46_6|46_8|46_9|46_10|46_12|46_13|46_14|46_15|46_18|46_19|46_20|46_21|47_4|48_3|48_4|48_5|48_6|48_7|48_8|48_9|48_10|48_11|48_12|48_13|48_14|48_15|48_16|48_17|48_19|48_20|48_21|49_14|49_15|49_17|49_21|50_4|50_5|50_6|50_7|50_8|50_9|50_10|50_15|50_16|50_17|50_18|50_19|50_20|50_21|51_6|51_20|52_5|52_6|52_7|52_8|52_9|52_10|52_11|52_12|52_13|52_14|52_15|52_16|52_17|52_18|52_19|52_20|53_7|54_3|54_6|54_7|54_9|54_10|54_11|54_15|54_16|54_17|54_18|54_19|54_20|54_21|55_3|55_4|55_6|55_7|55_8|55_9|55_11|55_12|55_13|55_14|55_15|55_21|56_3|56_4|56_17|56_19|56_21|57_3|57_4|57_5|57_6|57_7|57_12|57_14|57_15|57_16|57_17|57_19|57_21|58_3|58_4|58_5|58_6|58_9|58_10|58_11|58_12|58_14|58_15|58_16|58_17|58_19|58_21|59_8|59_9|59_10|59_12|59_19|59_21|60_3|60_9|60_10|60_12|60_14|60_15|60_16|60_17|60_18|60_19|60_21|61_3|61_5|61_6|61_7|61_9|61_10|61_12|61_14|61_19|61_21|62_3|62_5|62_7|62_9|62_10|62_12|62_14|62_15|62_16|62_18|62_19|62_21|63_3|63_5|63_7|63_9|63_12|63_16|63_18|63_21|64_3|64_5|64_7|64_9|64_12|64_13|64_14|64_16|64_18|64_21|65_3|65_5|65_7|65_9|65_13|65_14|65_16|65_18|65_20|65_21|66_4|66_5|66_7|66_9|66_10|66_12|66_13|66_16|66_18|66_20|66_21|67_4|67_5|67_7|67_10|67_12|67_14|67_15|67_16|67_18|67_21|68_4|68_5|68_7|68_9|68_10|68_12|68_14|68_18|68_19|68_21|69_4|69_7|69_9|69_10|69_12|69_14|69_15|69_16|69_18|69_21|70_3|70_4|70_6|70_7|70_10|70_12|70_14|70_16|70_18|70_20|70_21|71_3|71_4|71_6|71_7|71_8|71_10|71_12|71_14|71_16|71_18|71_20|72_3|72_4|72_6|72_10|72_12|72_14|72_15|72_16|72_18|72_20|73_4|73_6|73_7|73_10|73_12|73_14|73_18|73_20|74_3|74_4|74_6|74_7|74_9|74_10|74_12|74_14|74_17|74_18|74_20|74_21|75_3|75_4|75_6|75_7|75_9|75_10|75_12|75_14|75_18|75_20|76_3|76_4|76_6|76_9|76_12|76_14|76_15|76_16|76_18|76_20|76_21|77_4|77_6|77_8|77_9|77_11|77_12|77_15|77_16|77_18|77_19|77_21|78_3|78_4|78_6|78_8|78_11|78_15|78_16|78_19|78_21|79_3|79_4|79_6|79_8|79_9|79_11|79_12|79_15|79_16|79_18|79_19|79_21|80_4|80_6|80_8|80_9|80_11|80_16|80_18|80_21|81_4|81_6|81_8|81_11|81_12|81_14|81_15|81_16|81_18|81_20|81_21|82_3|82_4|82_6|82_7|82_8|82_11|82_12|82_13|82_14|82_18|82_20|82_21|83_4|83_16|83_17|83_18|83_20|84_4|84_5|84_6|84_7|84_9|84_10|84_11|84_14|84_16|84_20|84_21|85_5|85_7|85_8|85_9|85_11|85_12|85_14|85_16|85_17|85_18|85_19|85_20|86_3|86_12|87_3|87_5|87_6|87_7|87_8|87_9|87_10|87_12|87_13|87_14|87_15|87_16|87_17|87_18|87_19|88_3|88_4|88_5|88_6|88_10|88_19|89_3|89_5|89_6|89_7|89_8|89_10|89_11|89_12|89_14|89_15|89_16|89_19|90_3|90_9|90_12|90_14|90_16|90_17|90_19|91_3|91_6|91_7|91_8|91_9|91_10|91_12|91_14|91_16|91_19|92_3|92_9|92_10|92_12|92_14|92_16|92_17|92_19|93_3|93_5|93_6|93_7|93_8|93_9|93_10|93_12|93_14|93_16|93_19|94_3|94_4|94_5|94_6|94_7|94_8|94_9|94_10|94_12|94_13|94_14|94_16|94_17|94_18|94_19"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_outdoors_0006,render_common_0003,render_common_0004,render_common_0002"; scene_data["render_common_0001_coordinates"] = "0_21,1_21,2_21,3_21,4_21,5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,6_3,6_19,6_20,6_21,7_3,7_5,7_6,7_7,7_8,7_9,7_10,7_11,7_12,7_13,7_14,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,8_13,8_14,8_15,8_16,8_17,8_18,8_19,8_20,8_21,9_21,10_10,10_12,10_14,10_15,10_16,10_17,10_19,10_21,11_10,11_12,11_14,11_15,11_16,11_17,11_19,11_21,12_3,12_4,12_5,12_6,12_7,12_8,12_10,12_21,13_3,13_4,13_5,13_6,13_7,13_8,13_10,13_12,13_13,13_14,13_15,13_16,13_17,13_18,13_19,13_20,13_21,14_3,14_4,14_5,14_6,14_7,14_8,14_12,15_12,15_14,15_15,15_16,15_18,15_19,15_20,15_21,16_3,16_4,16_5,16_6,16_7,16_9,16_10,16_12,16_13,16_14,16_16,16_17,16_18,16_20,16_21,17_3,17_4,17_7,17_10,17_20,18_3,18_4,18_6,18_7,18_8,18_9,18_10,18_11,18_12,18_13,18_14,18_15,18_16,18_17,18_18,18_19,18_20,19_3,20_3,20_5,20_6,20_7,20_8,20_9,20_10,20_11,20_12,20_13,20_14,20_15,20_16,20_17,20_18,20_19,20_20,20_21,21_3,21_20,21_21,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_10,22_11,22_12,22_13,22_14,22_15,22_16,22_17,22_18,22_19,22_20,22_21,23_21,24_3,24_4,24_5,24_6,24_7,24_8,24_9,24_10,24_11,24_12,24_13,24_14,24_15,24_16,24_17,24_20,24_21,25_3,25_4,25_5,25_6,25_8,25_9,25_11,25_13,25_15,25_16,25_21,26_3,26_4,26_5,26_6,26_7,26_8,26_9,26_10,26_11,26_12,26_13,26_14,26_15,26_16,26_17,26_18,26_19,26_21,27_14,27_15,27_18,27_19,27_21,28_4,28_5,28_6,28_7,28_8,28_9,28_10,28_12,28_13,28_16,28_21,29_10,29_13,29_14,29_15,29_16,29_17,29_18,29_19,29_21,30_3,30_5,30_6,30_10,30_11,30_21,31_3,31_4,31_5,31_6,31_10,31_11,31_12,31_13,31_14,31_16,31_17,31_18,31_19,31_21,32_3,32_10,32_13,32_14,32_17,32_19,32_21,33_4,33_5,33_6,33_7,33_8,33_10,33_11,33_14,33_16,33_17,33_19,33_21,34_5,34_7,34_8,34_10,34_11,34_14,34_16,34_17,34_19,34_21,35_3,35_5,35_8,35_10,35_11,35_13,35_14,35_17,35_19,35_21,36_3,36_5,36_6,36_8,36_10,36_11,36_13,36_14,36_16,36_17,36_19,36_21,37_3,37_5,37_6,37_8,37_11,37_13,37_16,37_17,37_19,37_21,38_5,38_6,38_8,38_10,38_11,38_13,38_15,38_16,38_17,38_19,38_21,39_3,39_6,39_8,39_10,39_13,39_15,39_19,39_21,40_3,40_4,40_6,40_8,40_10,40_12,40_13,40_15,40_17,40_18,40_19,40_21,41_3,41_4,41_6,41_8,41_10,41_12,41_13,41_15,41_17,41_18,41_19,41_21,42_3,42_4,42_6,42_8,42_10,42_12,42_15,42_17,42_19,42_21,43_3,43_4,43_6,43_8,43_10,43_12,43_13,43_15,43_17,43_18,43_19,43_21,44_6,44_8,44_10,44_12,44_14,44_15,44_18,44_21,45_3,45_4,45_5,45_6,45_8,45_10,45_12,45_15,45_18,45_21,46_3,46_4,46_5,46_6,46_8,46_9,46_10,46_12,46_13,46_14,46_15,46_18,46_19,46_20,46_21,47_4,48_3,48_4,48_5,48_6,48_7,48_8,48_9,48_10,48_11,48_12,48_13,48_14,48_15,48_16,48_17,48_19,48_20,48_21,49_14,49_15,49_17,49_21,50_4,50_5,50_6,50_7,50_8,50_9,50_10,50_15,50_16,50_17,50_18,50_19,50_20,50_21,51_6,51_20,52_5,52_6,52_7,52_8,52_9,52_10,52_11,52_12,52_13,52_14,52_15,52_16,52_17,52_18,52_19,52_20,53_7,54_3,54_6,54_7,54_9,54_10,54_11,54_15,54_16,54_17,54_18,54_19,54_20,54_21,55_3,55_4,55_6,55_7,55_8,55_9,55_11,55_12,55_13,55_14,55_15,55_21,56_3,56_4,56_17,56_19,56_21,57_3,57_4,57_5,57_6,57_7,57_12,57_14,57_15,57_16,57_17,57_19,57_21,58_3,58_4,58_5,58_6,58_9,58_10,58_11,58_12,58_14,58_15,58_16,58_17,58_19,58_21,59_8,59_9,59_10,59_12,59_19,59_21,60_3,60_9,60_10,60_12,60_14,60_15,60_16,60_17,60_18,60_19,60_21,61_3,61_5,61_6,61_7,61_9,61_10,61_12,61_14,61_19,61_21,62_3,62_5,62_7,62_9,62_10,62_12,62_14,62_15,62_16,62_18,62_19,62_21,63_3,63_5,63_7,63_9,63_12,63_16,63_18,63_21,64_3,64_5,64_7,64_9,64_12,64_13,64_14,64_16,64_18,64_21,65_3,65_5,65_7,65_9,65_13,65_14,65_16,65_18,65_20,65_21,66_4,66_5,66_7,66_9,66_10,66_12,66_13,66_16,66_18,66_20,66_21,67_4,67_5,67_7,67_10,67_12,67_14,67_15,67_16,67_18,67_21,68_4,68_5,68_7,68_9,68_10,68_12,68_14,68_18,68_19,68_21,69_4,69_7,69_9,69_10,69_12,69_14,69_15,69_16,69_18,69_21,70_3,70_4,70_6,70_7,70_10,70_12,70_14,70_16,70_18,70_20,70_21,71_3,71_4,71_6,71_7,71_8,71_10,71_12,71_14,71_16,71_18,71_20,72_3,72_4,72_6,72_10,72_12,72_14,72_15,72_16,72_18,72_20,73_4,73_6,73_7,73_10,73_12,73_14,73_18,73_20,74_3,74_4,74_6,74_7,74_9,74_10,74_12,74_14,74_17,74_18,74_20,74_21,75_3,75_4,75_6,75_7,75_9,75_10,75_12,75_14,75_18,75_20,76_3,76_4,76_6,76_9,76_12,76_14,76_15,76_16,76_18,76_20,76_21,77_4,77_6,77_8,77_9,77_11,77_12,77_15,77_16,77_18,77_19,77_21,78_3,78_4,78_6,78_8,78_11,78_15,78_16,78_19,78_21,79_3,79_4,79_6,79_8,79_9,79_11,79_12,79_15,79_16,79_18,79_19,79_21,80_4,80_6,80_8,80_9,80_11,80_16,80_18,80_21,81_4,81_6,81_8,81_11,81_12,81_14,81_15,81_16,81_18,81_20,81_21,82_3,82_4,82_6,82_7,82_8,82_11,82_12,82_13,82_14,82_18,82_20,82_21,83_4,83_16,83_17,83_18,83_20,84_4,84_5,84_6,84_7,84_9,84_10,84_11,84_14,84_16,84_20,84_21,85_5,85_7,85_8,85_9,85_11,85_12,85_14,85_16,85_17,85_18,85_19,85_20,86_3,86_12,87_3,87_5,87_6,87_7,87_8,87_9,87_10,87_12,87_13,87_14,87_15,87_16,87_17,87_18,87_19,88_3,88_4,88_5,88_6,88_10,88_19,89_3,89_5,89_6,89_7,89_8,89_10,89_11,89_12,89_14,89_15,89_16,89_19,90_3,90_9,90_12,90_14,90_16,90_17,90_19,91_3,91_7,91_8,91_9,91_10,91_12,91_14,91_16,91_19,92_3,92_9,92_10,92_12,92_14,92_16,92_17,92_19,93_3,93_5,93_6,93_7,93_8,93_9,93_10,93_12,93_14,93_16,93_19,94_3,94_4,94_5,94_6,94_7,94_8,94_9,94_10,94_12,94_13,94_14,94_16,94_17,94_18,94_19"; scene_data["render_warp_0001_coordinates"] = "5_21"; scene_data["render_outdoors_0006_coordinates"] = "6_4,6_5,6_7,6_8,6_12,6_14,6_15,6_18,7_4,7_17,7_18,9_4,9_8,9_14,9_15,9_20,10_4,10_5,10_6,10_7,10_8,10_9,10_18,10_20,11_4,11_5,11_6,11_18,11_20,12_11,12_12,12_13,12_14,12_18,12_19,12_20,14_9,14_11,14_13,14_14,14_17,15_4,15_7,15_8,15_17,16_8,16_15,16_19,17_8,17_9,17_14,17_15,17_18,17_19,19_4,19_7,19_10,19_11,19_12,19_16,19_17,19_20,20_4,21_4,21_6,21_12,21_13,21_14,21_17,21_18,23_4,23_6,23_7,23_9,23_11,23_14,23_16,23_20,25_7,25_14,25_20,26_20,27_4,27_5,27_7,27_11,27_12,27_16,27_17,27_20,28_11,28_17,29_7,29_12,30_4,30_7,30_8,30_12,30_20,31_7,31_20,32_4,32_7,32_8,32_9,32_11,32_12,32_20,33_9,33_12,33_13,33_15,33_20,34_12,34_13,34_15,34_20,35_12,35_15,36_9,36_15,36_18,37_7,37_9,37_10,37_14,37_15,37_18,37_20,38_7,38_9,38_14,38_20,39_7,39_14,40_7,40_11,40_14,40_16,40_20,41_5,41_11,41_16,41_20,42_5,42_7,42_13,42_18,43_7,43_9,43_14,44_9,44_16,45_9,45_20,47_5,47_6,47_7,47_8,47_9,47_18,47_20,47_21,48_18,49_6,49_7,49_9,49_13,49_18,50_13,50_14,51_7,51_8,51_14,51_18,53_4,53_8,53_9,53_10,53_12,53_13,53_14,53_16,53_17,53_18,54_4,54_5,54_12,54_13,54_14,55_5,55_10,55_18,55_19,55_20,56_5,56_10,56_11,56_12,56_18,57_9,57_10,57_11,57_13,57_18,58_13,58_18,59_3,59_4,59_5,59_11,59_17,59_18,59_20,60_20,61_15,61_16,61_20,62_6,62_13,63_4,63_6,63_8,63_10,63_11,63_13,63_14,63_15,64_4,64_10,64_15,64_17,65_4,65_8,65_10,65_11,65_12,65_15,66_6,66_11,66_17,66_19,67_6,67_11,67_13,67_17,67_19,67_20,68_6,68_13,68_16,68_17,68_20,69_8,69_13,69_19,69_20,70_8,70_9,70_13,70_19,71_11,71_19,72_5,72_7,72_11,73_5,73_11,73_15,73_16,73_17,73_19,74_13,74_15,74_19,75_8,75_13,75_15,75_16,75_17,76_7,76_8,76_17,77_7,78_5,78_7,78_9,78_17,78_18,79_5,79_7,79_10,79_13,79_14,79_17,79_20,80_7,80_10,80_12,80_14,80_15,82_15,82_16,82_17,82_19,83_3,83_9,83_11,83_12,83_13,83_14,83_15,83_19,83_21,84_3,84_18,84_19,85_3,85_4,85_21,86_4,86_5,86_7,86_11,86_13,86_14,86_15,86_16,86_17,86_21,87_11,87_20,87_21,88_7,88_8,88_9,88_11,88_12,88_14,88_15,88_21,89_21,91_13,91_15,91_17,91_18,92_15,92_18,92_20"; scene_data["render_common_0003_coordinates"] = "24_19,28_3,33_3,50_3,52_4,61_4,64_11,74_16"; scene_data["render_common_0004_coordinates"] = "90_8,92_8"; scene_data["render_common_0002_coordinates"] = "91_6"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0016() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 30; scene_data["tile_y_count"] = 80; scene_data["name"] = "First Cave Scene"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "It's very dark in here in this cave. {{new_line}} {{new_line}} Person playing this game: If you can't see, turn off your lights and move into a darker place."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {3,3}; scene_data["monster_hp_inflation"] = {6,6}; scene_data["monster_exp_inflation"] = {2,1}; scene_data["monster_gold_inflation"] = {8,6}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() ALPHA_RED = 250;ALPHA_GREEN = 250;ALPHA_BLUE = 250;local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=8, txt="Only those with the keys may enter. This locked door serves as a warning to those who enter. Pass ahead, and you'll likely be dead. Enter here, risk losing your head. Those behind this gate have committed great crimes against the people to the north. Gamble with your fate? The choice is yours, but keep in mind that it's a gamble. Enter now, and never come back. Vengeance will sneak up, do indeed watch your back.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=16, y=8, txt="This wall shall stand forever, serving as a reminder to those who dare enter. Your crimes can never be forgiven, therefore we have erected this construction. We remember those who lost their lives, dare to enter up ahead, and feel the ghosts of our knives.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=72, txt="You obtained 120g", required_dir="up", callback=function() GET_MONEY(120); PUT_STATE("tc1", 16, 1, "Treasure Chest 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=11, y=72, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("tc2", 16, 1, "Treasure Chest 2"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc2", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=22, y=43, txt="You obtained 150g", required_dir="up", callback=function() GET_MONEY(150); PUT_STATE("tc3", 16, 1, "Treasure Chest 3"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc3", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=24, y=43, txt="You obtained 200g", required_dir="up", callback=function() GET_MONEY(200); PUT_STATE("tc4", 16, 1, "Treasure Chest 4"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc4", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=24, y=72, txt="You obtained 210g", required_dir="up", callback=function() GET_MONEY(210); PUT_STATE("tclr", 16, 1, "Treasure Chest Lower Right"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tclr", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=12, y=33, txt="You obtained 300g", required_dir="up", callback=function() GET_MONEY(300); PUT_STATE("tct1", 16, 1, "Treasure Chest Top Left"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tct1", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=13, y=33, txt="You obtained 300g", required_dir="up", callback=function() GET_MONEY(300); PUT_STATE("tct2", 16, 1, "Treasure Chest Top Right"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tct2", 16) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=20, y=73, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=20, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=19, y=5, scene_number=1000, inn_item_keys={"bmg5_g","b1"}, inn_price=20, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=42, after_map_y=3, after_player_x=44, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=9, y=72, scene_number=17, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=42, after_player_x=5, after_player_y=44, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=22, y=70, scene_number=18, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=22, y=38, scene_number=19, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=45, after_map_y=3, after_player_x=47, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=8, y=39, scene_number=20, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=19, after_map_y=44, after_player_x=20, after_player_y=46, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=12, y=35, scene_number=21, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=52, after_map_y=19, after_player_x=54, after_player_y=21, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=22, y=20, scene_number=22, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("kt", 16) == 6; end, on_warp_not_allowed_msg = function() local kt = GET_STATE("kt", 16); if kt == -1 then kt = 0;end;local m = "There are 6 keyholes. You currently have " .. tostring(kt) .. " keys. The door feels securely locked"; return m; end, after_map_x=3, after_map_y=2, after_player_x=6, after_player_y=5, after_screen_x=3, after_screen_y=3, after_player_dir="up", x=15, y=6, scene_number=23, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_9|5_10|5_11|5_12|5_13|5_14|5_16|5_17|5_18|5_20|5_21|5_22|5_23|5_24|5_26|5_27|5_28|5_29|5_30|5_31|5_36|5_37|5_39|5_40|5_42|5_43|5_44|5_45|5_48|5_49|5_50|5_51|5_52|5_53|5_56|5_57|5_58|5_59|5_60|5_61|5_62|5_63|5_64|5_65|5_66|5_67|5_68|5_69|5_70|5_71|5_72|5_73|6_3|6_4|6_5|6_6|6_7|6_10|6_12|6_26|6_28|6_34|6_39|6_40|6_42|6_44|6_45|6_46|6_48|6_49|6_52|6_53|6_54|6_56|6_57|6_58|6_59|6_60|6_61|6_62|6_63|6_64|6_65|6_66|6_67|6_68|6_69|6_73|7_3|7_4|7_5|7_6|7_7|7_8|7_10|7_12|7_14|7_16|7_18|7_19|7_20|7_21|7_22|7_23|7_25|7_26|7_28|7_29|7_31|7_32|7_33|7_34|7_35|7_36|7_37|7_38|7_39|7_40|7_42|7_46|7_48|7_49|7_50|7_52|7_53|7_61|7_62|7_63|7_64|7_65|7_69|7_72|7_73|7_75|7_76|8_3|8_4|8_5|8_6|8_7|8_10|8_12|8_13|8_14|8_15|8_16|8_17|8_18|8_21|8_23|8_24|8_25|8_26|8_28|8_29|8_30|8_31|8_35|8_36|8_38|8_39|8_40|8_42|8_43|8_44|8_46|8_49|8_50|8_52|8_53|8_56|8_57|8_58|8_59|8_63|8_64|8_67|8_68|8_69|8_71|8_72|8_73|8_75|8_76|9_3|9_4|9_5|9_6|9_7|9_8|9_10|9_19|9_33|9_38|9_39|9_40|9_43|9_45|9_46|9_48|9_49|9_50|9_52|9_53|9_56|9_59|9_60|9_61|9_63|9_64|9_69|9_71|9_72|9_73|9_75|10_3|10_4|10_5|10_6|10_7|10_8|10_10|10_11|10_13|10_15|10_16|10_17|10_18|10_19|10_20|10_21|10_23|10_24|10_25|10_26|10_28|10_30|10_31|10_32|10_33|10_34|10_35|10_36|10_39|10_40|10_42|10_43|10_44|10_46|10_48|10_53|10_54|10_58|10_59|10_60|10_61|10_66|10_67|10_68|10_69|10_71|10_72|10_73|10_75|10_76|11_10|11_11|11_12|11_13|11_14|11_15|11_17|11_18|11_21|11_22|11_23|11_26|11_27|11_28|11_29|11_30|11_34|11_35|11_36|11_37|11_39|11_40|11_43|11_46|11_48|11_50|11_52|11_53|11_56|11_57|11_58|11_61|11_62|11_63|11_64|11_65|11_66|11_67|11_72|11_73|11_75|11_76|12_3|12_4|12_5|12_6|12_7|12_8|12_20|12_33|12_34|12_35|12_36|12_37|12_39|12_42|12_43|12_45|12_46|12_48|12_50|12_53|12_54|12_56|12_64|12_65|12_67|12_69|12_70|12_71|12_75|12_76|13_3|13_4|13_5|13_6|13_7|13_8|13_10|13_11|13_12|13_14|13_15|13_16|13_18|13_19|13_20|13_21|13_22|13_23|13_25|13_26|13_27|13_28|13_29|13_30|13_33|13_34|13_35|13_36|13_37|13_39|13_42|13_43|13_45|13_48|13_49|13_50|13_52|13_53|13_54|13_56|13_58|13_59|13_60|13_61|13_62|13_64|13_74|13_75|13_76|14_8|14_10|14_12|14_13|14_14|14_16|14_17|14_18|14_19|14_21|14_23|14_24|14_25|14_30|14_31|14_32|14_33|14_39|14_42|14_45|14_46|14_50|14_52|14_53|14_56|14_58|14_61|14_66|14_69|14_70|14_71|14_75|14_76|15_0|15_1|15_2|15_3|15_4|15_5|15_6|15_7|15_8|15_10|15_27|15_28|15_35|15_36|15_37|15_39|15_40|15_42|15_43|15_44|15_46|15_48|15_49|15_50|15_53|15_54|15_55|15_56|15_57|15_58|15_60|15_61|15_63|15_64|15_65|15_66|15_67|15_68|15_69|15_70|15_71|15_72|15_73|15_74|15_75|15_76|16_8|16_10|16_11|16_12|16_14|16_15|16_16|16_18|16_19|16_20|16_22|16_23|16_24|16_26|16_27|16_28|16_29|16_30|16_31|16_32|16_33|16_34|16_35|16_36|16_39|16_40|16_44|16_46|16_50|16_51|16_53|16_54|16_56|16_58|16_60|16_61|16_62|16_63|16_69|16_71|16_72|16_73|16_74|16_75|16_76|17_3|17_4|17_5|17_6|17_7|17_8|17_10|17_12|17_13|17_14|17_16|17_17|17_18|17_20|17_21|17_22|17_24|17_25|17_26|17_32|17_35|17_36|17_37|17_40|17_42|17_43|17_44|17_46|17_47|17_49|17_50|17_53|17_54|17_56|17_66|17_67|17_75|18_3|18_6|18_8|18_28|18_29|18_30|18_34|18_35|18_36|18_39|18_40|18_42|18_45|18_46|18_49|18_50|18_52|18_53|18_54|18_56|18_58|18_60|18_61|18_62|18_63|18_64|18_67|18_68|18_69|18_70|18_71|18_75|19_3|19_5|19_6|19_8|19_10|19_11|19_12|19_13|19_15|19_17|19_19|19_21|19_22|19_23|19_24|19_25|19_26|19_28|19_30|19_31|19_32|19_36|19_37|19_39|19_40|19_42|19_44|19_45|19_48|19_49|19_52|19_53|19_56|19_62|19_64|19_65|19_67|19_71|19_74|19_75|20_3|20_8|20_10|20_12|20_13|20_15|20_17|20_18|20_19|20_21|20_25|20_26|20_28|20_31|20_32|20_34|20_35|20_36|20_39|20_40|20_42|20_45|20_46|20_48|20_49|20_50|20_52|20_53|20_54|20_56|20_58|20_59|20_60|20_62|20_65|20_67|20_69|20_71|20_73|20_74|20_75|21_3|21_5|21_6|21_7|21_8|21_10|21_12|21_15|21_16|21_17|21_19|21_20|21_21|21_23|21_25|21_26|21_28|21_29|21_32|21_35|21_38|21_39|21_40|21_41|21_42|21_43|21_45|21_46|21_48|21_53|21_54|21_56|21_58|21_60|21_62|21_63|21_65|21_67|21_69|21_70|21_71|21_75|21_76|22_5|22_10|22_12|22_13|22_15|22_17|22_19|22_20|22_21|22_22|22_23|22_26|22_29|22_31|22_32|22_34|22_35|22_37|22_38|22_39|22_40|22_43|22_46|22_48|22_49|22_50|22_52|22_53|22_54|22_56|22_57|22_58|22_60|22_63|22_65|22_66|22_67|22_69|22_70|22_71|22_75|22_76|23_3|23_4|23_5|23_6|23_7|23_10|23_12|23_15|23_17|23_19|23_20|23_21|23_23|23_24|23_26|23_27|23_29|23_31|23_34|23_35|23_38|23_39|23_40|23_42|23_43|23_45|23_46|23_48|23_50|23_60|23_61|23_62|23_63|23_65|23_69|23_70|23_71|23_72|23_73|24_7|24_8|24_9|24_10|24_12|24_13|24_14|24_15|24_17|24_18|24_19|24_20|24_21|24_23|24_24|24_26|24_27|24_28|24_29|24_31|24_32|24_33|24_34|24_35|24_39|24_40|24_43|24_45|24_46|24_47|24_48|24_49|24_50|24_52|24_53|24_54|24_55|24_56|24_57|24_58|24_59|24_60|24_65|24_66|24_67|24_69|24_70|24_72|24_73"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_common_0003,render_cave_0001,render_common_0004,render_warp_0001,render_indoors_asset_0006,render_building_0005,render_building_0004"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_9,5_10,5_11,5_12,5_13,5_14,5_16,5_17,5_18,5_20,5_21,5_22,5_23,5_24,5_26,5_27,5_28,5_29,5_30,5_31,5_36,5_37,5_39,5_40,5_42,5_43,5_44,5_45,5_48,5_49,5_50,5_51,5_52,5_53,5_56,5_57,5_58,5_59,5_60,5_61,5_62,5_63,5_64,5_65,5_66,5_67,5_68,5_69,5_70,5_71,5_72,5_73,6_3,6_4,6_5,6_6,6_7,6_10,6_12,6_26,6_28,6_34,6_39,6_40,6_42,6_44,6_45,6_46,6_48,6_49,6_52,6_53,6_54,6_56,6_57,6_58,6_59,6_60,6_61,6_62,6_63,6_64,6_65,6_66,6_67,6_68,6_69,6_73,7_3,7_4,7_5,7_6,7_7,7_8,7_10,7_12,7_14,7_16,7_18,7_19,7_20,7_21,7_22,7_23,7_25,7_26,7_28,7_29,7_31,7_32,7_33,7_34,7_35,7_36,7_37,7_38,7_39,7_40,7_42,7_46,7_48,7_49,7_50,7_52,7_53,7_61,7_62,7_63,7_64,7_65,7_69,7_72,7_73,7_75,7_76,8_3,8_4,8_5,8_6,8_7,8_10,8_12,8_13,8_14,8_15,8_16,8_17,8_18,8_21,8_23,8_24,8_25,8_26,8_28,8_29,8_30,8_31,8_35,8_36,8_38,8_40,8_42,8_43,8_44,8_46,8_49,8_50,8_52,8_53,8_56,8_57,8_58,8_59,8_63,8_64,8_67,8_68,8_69,8_71,8_72,8_73,8_75,8_76,9_3,9_4,9_5,9_6,9_7,9_8,9_10,9_19,9_33,9_38,9_39,9_40,9_43,9_45,9_46,9_48,9_49,9_50,9_52,9_53,9_56,9_59,9_60,9_61,9_63,9_64,9_69,9_71,9_73,9_75,10_3,10_4,10_5,10_6,10_7,10_8,10_10,10_11,10_13,10_15,10_16,10_17,10_18,10_19,10_20,10_21,10_23,10_24,10_25,10_26,10_28,10_30,10_31,10_32,10_33,10_34,10_35,10_36,10_39,10_40,10_42,10_43,10_44,10_46,10_48,10_53,10_54,10_58,10_59,10_60,10_61,10_66,10_67,10_68,10_69,10_71,10_72,10_73,10_75,10_76,11_10,11_11,11_12,11_13,11_14,11_15,11_17,11_18,11_21,11_22,11_23,11_26,11_27,11_28,11_29,11_30,11_34,11_35,11_36,11_37,11_39,11_40,11_43,11_46,11_48,11_50,11_52,11_53,11_56,11_57,11_58,11_61,11_62,11_63,11_64,11_65,11_66,11_67,11_72,11_73,11_75,11_76,12_3,12_4,12_5,12_6,12_7,12_8,12_20,12_33,12_34,12_36,12_37,12_39,12_42,12_43,12_45,12_46,12_48,12_50,12_53,12_54,12_56,12_64,12_65,12_67,12_69,12_70,12_71,12_75,12_76,13_3,13_4,13_5,13_6,13_7,13_8,13_10,13_11,13_12,13_14,13_15,13_16,13_18,13_19,13_20,13_21,13_22,13_23,13_25,13_26,13_27,13_28,13_29,13_30,13_33,13_34,13_35,13_36,13_37,13_39,13_42,13_43,13_45,13_48,13_49,13_50,13_52,13_53,13_54,13_56,13_58,13_59,13_60,13_61,13_62,13_64,13_74,13_75,13_76,14_8,14_10,14_12,14_13,14_14,14_16,14_17,14_18,14_19,14_21,14_23,14_24,14_25,14_30,14_31,14_32,14_33,14_39,14_42,14_45,14_46,14_50,14_52,14_53,14_56,14_58,14_61,14_66,14_69,14_70,14_71,14_75,14_76,15_0,15_1,15_2,15_3,15_4,15_7,15_8,15_10,15_27,15_28,15_35,15_36,15_37,15_39,15_40,15_42,15_43,15_44,15_46,15_48,15_49,15_50,15_53,15_54,15_55,15_56,15_57,15_58,15_60,15_61,15_63,15_64,15_65,15_66,15_67,15_68,15_69,15_70,15_71,15_72,15_73,15_74,15_75,15_76,16_8,16_10,16_11,16_12,16_14,16_15,16_16,16_18,16_19,16_20,16_22,16_23,16_24,16_26,16_27,16_28,16_29,16_30,16_31,16_32,16_33,16_34,16_35,16_36,16_39,16_40,16_44,16_46,16_50,16_51,16_53,16_54,16_56,16_58,16_60,16_61,16_62,16_63,16_69,16_71,16_72,16_73,16_74,16_75,16_76,17_3,17_4,17_5,17_6,17_7,17_8,17_10,17_12,17_13,17_14,17_16,17_17,17_18,17_20,17_21,17_22,17_24,17_25,17_26,17_32,17_35,17_36,17_37,17_40,17_42,17_43,17_44,17_46,17_47,17_49,17_50,17_53,17_54,17_56,17_66,17_67,17_75,18_3,18_6,18_8,18_28,18_29,18_30,18_34,18_35,18_36,18_39,18_40,18_42,18_45,18_46,18_49,18_50,18_52,18_53,18_54,18_56,18_58,18_60,18_61,18_62,18_63,18_64,18_67,18_68,18_69,18_70,18_71,18_75,19_3,19_6,19_8,19_10,19_11,19_12,19_13,19_15,19_17,19_19,19_21,19_22,19_23,19_24,19_25,19_26,19_28,19_30,19_31,19_32,19_36,19_37,19_39,19_40,19_42,19_44,19_45,19_48,19_49,19_52,19_53,19_56,19_62,19_64,19_65,19_67,19_71,19_74,19_75,20_3,20_8,20_10,20_12,20_13,20_15,20_17,20_18,20_19,20_21,20_25,20_26,20_28,20_31,20_32,20_34,20_35,20_36,20_39,20_40,20_42,20_45,20_46,20_48,20_49,20_50,20_52,20_53,20_54,20_56,20_58,20_59,20_60,20_62,20_65,20_67,20_69,20_71,20_74,20_75,21_3,21_5,21_6,21_7,21_8,21_10,21_12,21_15,21_16,21_17,21_19,21_20,21_21,21_23,21_25,21_26,21_28,21_29,21_32,21_35,21_38,21_39,21_40,21_41,21_42,21_43,21_45,21_46,21_48,21_53,21_54,21_56,21_58,21_60,21_62,21_63,21_65,21_67,21_69,21_70,21_71,21_75,21_76,22_5,22_10,22_12,22_13,22_15,22_17,22_19,22_21,22_22,22_23,22_26,22_29,22_31,22_32,22_34,22_35,22_37,22_39,22_40,22_43,22_46,22_48,22_49,22_50,22_52,22_53,22_54,22_56,22_57,22_58,22_60,22_63,22_65,22_66,22_67,22_69,22_71,22_75,22_76,23_3,23_4,23_5,23_6,23_7,23_10,23_12,23_15,23_17,23_19,23_20,23_21,23_23,23_24,23_26,23_27,23_29,23_31,23_34,23_35,23_38,23_39,23_40,23_42,23_43,23_45,23_46,23_48,23_50,23_60,23_61,23_62,23_63,23_65,23_69,23_70,23_71,23_72,23_73,24_7,24_8,24_9,24_10,24_12,24_13,24_14,24_15,24_17,24_18,24_19,24_20,24_21,24_23,24_24,24_26,24_27,24_28,24_29,24_31,24_32,24_33,24_34,24_35,24_39,24_40,24_43,24_45,24_46,24_47,24_48,24_49,24_50,24_52,24_53,24_54,24_55,24_56,24_57,24_58,24_59,24_60,24_65,24_66,24_67,24_69,24_70,24_72,24_73"; scene_data["render_common_0003_coordinates"] = "7_71,11_71,12_32,13_32,22_42,24_42,24_71"; scene_data["render_cave_0001_coordinates"] = "8_39,9_72,12_35,22_20,22_38,22_70"; scene_data["render_common_0004_coordinates"] = "14_7,16_7"; scene_data["render_warp_0001_coordinates"] = "15_5"; scene_data["render_indoors_asset_0006_coordinates"] = "15_6"; scene_data["render_building_0005_coordinates"] = "18_5,19_73"; scene_data["render_building_0004_coordinates"] = "19_5,20_73"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0017() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 50; scene_data["tile_y_count"] = 18; scene_data["name"] = "Lower Left Room of First Cave Scene"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=31, y=13, txt="You obtained 120g", required_dir="up", callback=function() GET_MONEY(120); PUT_STATE("b1", 17, 1, "First Treasure Chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 17) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=6, y=4, txt="You obtained 200g", required_dir="up", callback=function() GET_MONEY(200); PUT_STATE("b2", 17, 1, "Second Treasure Chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 17) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=40, y=14, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("bp", 17, 1, "Initial Pre Treasure Chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bp", 17) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=5, y=4, txt="You found a key. It looks vintage", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("b3", 17, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 17) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=71, after_player_x=9, after_player_y=73, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=44, y=3, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_8|5_10|5_12|5_13|5_14|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_14|7_6|7_10|7_11|7_12|7_14|8_4|8_6|8_8|8_10|8_14|9_4|9_6|9_8|9_10|9_12|9_13|9_14|10_3|10_4|10_6|10_8|10_12|11_4|11_8|11_9|11_10|11_11|11_12|11_14|12_4|12_5|12_6|12_7|12_8|13_4|13_10|13_11|13_14|14_4|14_5|14_6|14_7|14_8|14_9|14_10|14_11|14_12|14_13|14_14|15_3|15_4|15_5|15_7|15_9|15_14|16_3|16_11|16_12|16_13|16_14|17_5|17_6|17_7|17_9|17_10|17_11|18_3|18_4|18_5|18_7|18_8|18_9|18_10|18_13|18_14|19_4|19_12|19_13|19_14|20_3|20_4|20_5|20_6|20_7|20_8|20_9|20_10|20_11|20_12|20_14|21_3|21_5|21_6|21_8|21_9|21_14|22_11|22_14|23_3|23_4|23_5|23_7|23_8|23_9|23_10|23_11|23_12|23_13|23_14|24_3|24_4|24_5|24_6|24_7|24_8|24_9|25_3|25_5|25_11|25_12|25_13|25_14|26_3|26_4|26_5|26_7|26_8|26_9|26_10|26_11|26_12|26_14|27_3|27_7|27_8|27_14|28_3|28_4|28_5|28_6|28_7|28_8|28_10|28_11|28_12|28_13|28_14|29_3|29_4|29_5|29_10|29_13|30_7|30_8|30_9|30_10|30_12|30_13|31_3|31_4|31_5|31_6|31_7|31_8|31_10|31_13|31_14|32_3|32_4|33_4|33_6|33_7|33_8|33_9|33_10|33_11|33_12|33_14|34_3|34_4|34_5|34_6|34_8|34_10|34_12|34_13|34_14|35_3|35_4|35_5|35_10|35_14|36_7|36_8|36_12|36_13|36_14|37_3|37_4|37_5|37_6|37_7|37_8|37_9|37_10|37_11|37_12|37_13|37_14|38_4|38_5|38_10|39_4|39_5|39_6|39_8|39_12|39_13|39_14|40_3|40_4|40_6|40_7|40_8|40_9|40_10|40_11|40_12|40_14|41_14|42_3|42_4|42_5|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_13|42_14|43_9|44_3|44_4|44_5|44_6|44_7|44_8|44_9|44_10|44_11|44_12|44_13|44_14"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0003,render_common_0001,render_cave_0003"; scene_data["render_common_0003_coordinates"] = "5_3,6_3,31_12,40_13"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_8,5_10,5_12,5_13,5_14,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_14,7_6,7_10,7_11,7_12,7_14,8_4,8_6,8_8,8_10,8_14,9_4,9_6,9_8,9_10,9_12,9_13,9_14,10_3,10_4,10_6,10_8,10_12,11_4,11_8,11_9,11_10,11_11,11_12,11_14,12_4,12_5,12_6,12_7,12_8,13_4,13_10,13_11,13_14,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_11,14_12,14_13,14_14,15_3,15_4,15_5,15_7,15_9,15_14,16_3,16_11,16_12,16_13,16_14,17_5,17_6,17_7,17_9,17_10,17_11,18_3,18_4,18_5,18_7,18_8,18_9,18_10,18_13,18_14,19_4,19_12,19_13,19_14,20_3,20_4,20_5,20_6,20_7,20_8,20_9,20_10,20_11,20_12,20_14,21_3,21_5,21_6,21_8,21_9,21_14,22_11,22_14,23_3,23_4,23_5,23_7,23_8,23_9,23_10,23_11,23_12,23_13,23_14,24_3,24_4,24_5,24_6,24_7,24_8,24_9,25_3,25_5,25_11,25_12,25_13,25_14,26_3,26_4,26_5,26_7,26_8,26_9,26_10,26_11,26_12,26_14,27_3,27_7,27_8,27_14,28_3,28_4,28_5,28_6,28_7,28_8,28_10,28_11,28_12,28_13,28_14,29_3,29_4,29_5,29_10,29_13,30_7,30_8,30_9,30_10,30_12,30_13,31_3,31_4,31_5,31_6,31_7,31_8,31_10,31_13,31_14,32_3,32_4,33_4,33_6,33_7,33_8,33_9,33_10,33_11,33_12,33_14,34_3,34_4,34_5,34_6,34_8,34_10,34_12,34_13,34_14,35_3,35_4,35_5,35_10,35_14,36_7,36_8,36_12,36_13,36_14,37_3,37_4,37_5,37_6,37_7,37_8,37_9,37_10,37_11,37_12,37_13,37_14,38_4,38_5,38_10,39_4,39_5,39_6,39_8,39_12,39_13,39_14,40_3,40_4,40_6,40_7,40_8,40_9,40_10,40_11,40_12,40_14,41_14,42_3,42_4,42_5,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_13,42_14,43_9,44_4,44_5,44_6,44_7,44_8,44_9,44_10,44_11,44_12,44_13,44_14"; scene_data["render_cave_0003_coordinates"] = "44_3"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0018() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 18; scene_data["tile_y_count"] = 48; scene_data["name"] = "Lower Right Room of First Cave Scene"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=44, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("btc1", 18, 1, "Hint TB"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("btc1", 18) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=10, y=4, txt="You obtained 200g", required_dir="up", callback=function() GET_MONEY(200); PUT_STATE("tc1", 18, 1, "Treasure Chest with money"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 18) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=12, y=4, txt="You found a key. The brass is brigth at the tip, but rusted everywhere else.", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("k1", 18, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 18) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=22, after_map_y=70, after_player_x=22, after_player_y=71, after_screen_x=0, after_screen_y=1, after_player_dir="left", x=5, y=43, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_7|5_12|5_13|5_14|5_15|5_16|5_18|5_19|5_20|5_21|5_23|5_26|5_27|5_28|5_29|5_31|5_32|5_33|5_34|5_36|5_39|5_40|5_41|5_43|5_44|6_3|6_4|6_6|6_7|6_9|6_10|6_11|6_12|6_13|6_15|6_18|6_20|6_23|6_25|6_26|6_29|6_31|6_34|6_36|6_41|6_43|6_44|7_4|7_6|7_8|7_9|7_15|7_17|7_18|7_19|7_20|7_21|7_22|7_23|7_25|7_28|7_29|7_31|7_33|7_34|7_36|7_39|7_40|7_41|7_44|8_3|8_4|8_6|8_7|8_9|8_10|8_11|8_12|8_14|8_15|8_17|8_23|8_25|8_26|8_28|8_31|8_34|8_36|8_37|8_38|8_39|8_41|8_42|8_44|9_4|9_7|9_11|9_14|9_17|9_19|9_20|9_21|9_22|9_23|9_26|9_28|9_30|9_31|9_34|9_36|9_41|9_44|10_4|10_5|10_7|10_8|10_9|10_11|10_14|10_16|10_17|10_19|10_25|10_26|10_28|10_31|10_33|10_34|10_36|10_38|10_39|10_40|10_41|10_43|10_44|11_3|11_4|11_5|11_7|11_11|11_12|11_14|11_16|11_17|11_19|11_20|11_21|11_22|11_23|11_25|11_28|11_29|11_31|11_32|11_34|11_36|11_38|11_44|12_4|12_5|12_7|12_8|12_9|12_10|12_11|12_12|12_14|12_15|12_16|12_17|12_19|12_23|12_24|12_25|12_26|12_28|12_29|12_30|12_31|12_34|12_35|12_36|12_38|12_39|12_40|12_41|12_42|12_43|12_44"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_cave_0003,render_common_0003"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_7,5_12,5_13,5_14,5_15,5_16,5_18,5_19,5_20,5_21,5_23,5_26,5_27,5_28,5_29,5_31,5_32,5_33,5_34,5_36,5_39,5_40,5_41,5_44,6_3,6_4,6_6,6_7,6_9,6_10,6_11,6_12,6_13,6_15,6_18,6_20,6_23,6_25,6_26,6_29,6_31,6_34,6_36,6_41,6_43,6_44,7_4,7_6,7_8,7_9,7_15,7_17,7_18,7_19,7_20,7_21,7_22,7_23,7_25,7_28,7_29,7_31,7_33,7_34,7_36,7_39,7_40,7_41,7_44,8_3,8_4,8_6,8_7,8_9,8_10,8_11,8_12,8_14,8_15,8_17,8_23,8_25,8_26,8_28,8_31,8_34,8_36,8_37,8_38,8_39,8_41,8_42,8_44,9_4,9_7,9_11,9_14,9_17,9_19,9_20,9_21,9_22,9_23,9_26,9_28,9_30,9_31,9_34,9_36,9_41,9_44,10_4,10_5,10_7,10_8,10_9,10_11,10_14,10_16,10_17,10_19,10_25,10_26,10_28,10_31,10_33,10_34,10_36,10_38,10_39,10_40,10_41,10_43,10_44,11_3,11_4,11_5,11_7,11_11,11_12,11_14,11_16,11_17,11_19,11_20,11_21,11_22,11_23,11_25,11_28,11_29,11_31,11_32,11_34,11_36,11_38,11_44,12_4,12_5,12_7,12_8,12_9,12_10,12_11,12_12,12_14,12_15,12_16,12_17,12_19,12_23,12_24,12_25,12_26,12_28,12_29,12_30,12_31,12_34,12_35,12_36,12_38,12_39,12_40,12_41,12_42,12_43,12_44"; scene_data["render_cave_0003_coordinates"] = "5_43"; scene_data["render_common_0003_coordinates"] = "10_3,11_43,12_3"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0019() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 17; scene_data["tile_y_count"] = 9; scene_data["name"] = "First pothole north of bottom two"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=4, txt="You obtained 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("tc1", 19, 1, "Treasure Chest 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 19) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=11, y=4, txt="You found a key. A diamond is engraved in the handle", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("k1", 19, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 19) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=36, after_player_x=22, after_player_y=39, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=6, y=4, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|6_3|6_4|6_5|7_3|7_5|8_3|8_5|9_3|9_5|10_3|10_4|10_5|11_4|11_5"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0003,render_common_0001,render_cave_0003"; scene_data["render_common_0003_coordinates"] = "5_3,11_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,6_3,6_5,7_3,7_5,8_3,8_5,9_3,9_5,10_3,10_4,10_5,11_4,11_5"; scene_data["render_cave_0003_coordinates"] = "6_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0020() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 53; scene_data["tile_y_count"] = 53; scene_data["name"] = "Second pothole north of bottom 2 in cave"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=46, y=5, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("btc1", 20, 1, "First treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("btc1", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=42, y=27, txt="You obtained 265g", required_dir="up", callback=function() GET_MONEY(265); PUT_STATE("tc1", 20, 1, "First treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=34, y=20, txt="You obtained 300g", required_dir="up", callback=function() GET_MONEY(300); PUT_STATE("tc2", 20, 1, "Second treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc2", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=31, y=11, txt="You obtained 185g", required_dir="up", callback=function() GET_MONEY(185); PUT_STATE("tc3", 20, 1, "Third treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc3", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=21, y=41, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("tc4", 20, 1, "Fourth treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc4", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=13, y=4, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("tc5", 20, 1, "Fifth treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc5", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=11, y=4, txt="You obtained 5 pieces of blue ginseng", required_dir="up", callback=function() GET_ITEM("bmg5_g", 5); PUT_STATE("tc6", 20, 1, "Sixth treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc6", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=9, y=4, txt="You obtained 250g", required_dir="up", callback=function() GET_MONEY(250); PUT_STATE("tc7", 20, 1, "Seventh treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc7", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=6, y=4, txt="You obtained 85g", required_dir="up", callback=function() GET_MONEY(85); PUT_STATE("tc8", 20, 1, "Seventh treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc8", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=5, y=4, txt="You found a key. All indentations are the same size. Interesting...", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("k1", 20, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 20) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=38, after_player_x=8, after_player_y=40, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=47, y=4, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_11|5_13|5_14|5_15|5_16|5_17|5_18|5_19|5_20|5_22|5_23|5_24|5_25|5_29|5_30|5_31|5_32|5_33|5_35|5_36|5_37|5_38|5_39|5_40|5_42|5_43|5_44|5_45|5_46|5_47|5_48|5_49|6_4|6_5|6_6|6_8|6_9|6_10|6_11|6_13|6_19|6_20|6_22|6_23|6_25|6_26|6_28|6_29|6_30|6_32|6_35|6_39|6_42|6_48|6_49|7_4|7_6|7_9|7_11|7_13|7_14|7_15|7_16|7_17|7_19|7_22|7_23|7_25|7_26|7_29|7_32|7_33|7_35|7_36|7_37|7_39|7_41|7_42|7_48|7_49|8_4|8_8|8_9|8_11|8_17|8_19|8_20|8_23|8_25|8_28|8_29|8_30|8_33|8_35|8_36|8_39|8_41|8_42|8_48|8_49|9_4|9_5|9_6|9_8|9_9|9_11|9_12|9_17|9_20|9_21|9_23|9_25|9_26|9_29|9_30|9_32|9_33|9_35|9_36|9_38|9_39|9_41|9_49|10_5|10_8|10_11|10_17|10_18|10_20|10_23|10_25|10_26|10_27|10_29|10_32|10_35|10_36|10_39|10_41|10_42|10_48|10_49|11_4|11_5|11_6|11_8|11_10|11_11|11_13|11_14|11_15|11_16|11_17|11_18|11_20|11_22|11_23|11_26|11_27|11_29|11_31|11_32|11_34|11_35|11_36|11_37|11_39|11_42|11_49|12_4|12_8|12_10|12_11|12_13|12_20|12_22|12_23|12_24|12_26|12_29|12_31|12_32|12_34|12_35|12_39|12_41|12_42|12_49|13_4|13_5|13_6|13_8|13_11|13_13|13_14|13_15|13_16|13_17|13_20|13_22|13_23|13_26|13_28|13_29|13_31|13_35|13_37|13_38|13_39|13_41|13_42|13_44|13_46|13_47|13_48|13_49|14_5|14_8|14_9|14_11|14_17|14_19|14_20|14_22|14_25|14_26|14_28|14_29|14_31|14_32|14_34|14_35|14_37|14_39|14_41|14_44|14_45|14_46|15_3|15_4|15_5|15_6|15_9|15_11|15_12|15_13|15_14|15_15|15_17|15_19|15_20|15_22|15_23|15_25|15_26|15_28|15_32|15_34|15_35|15_37|15_41|15_42|15_44|15_48|15_49|16_3|16_6|16_9|16_11|16_15|16_17|16_20|16_22|16_25|16_26|16_28|16_29|16_31|16_32|16_34|16_37|16_38|16_42|16_44|16_45|16_46|16_47|16_48|16_49|17_3|17_6|17_8|17_9|17_11|17_15|17_17|17_18|17_20|17_22|17_23|17_26|17_29|17_31|17_32|17_34|17_38|17_42|17_49|18_3|18_6|18_7|18_8|18_9|18_11|18_15|18_17|18_20|18_22|18_23|18_24|18_26|18_28|18_29|18_32|18_34|18_35|18_38|18_39|18_42|18_44|18_45|18_46|18_47|18_48|18_49|19_15|19_16|19_17|19_19|19_20|19_21|19_22|19_24|19_26|19_27|19_28|19_29|19_30|19_32|19_33|19_34|19_35|19_38|19_39|19_40|19_41|19_42|19_44|19_45|20_3|20_5|20_6|20_8|20_10|20_11|20_44|20_45|20_46|20_47|20_48|20_49|21_3|21_5|21_6|21_8|21_10|21_11|21_12|21_13|21_16|21_17|21_18|21_21|21_22|21_23|21_24|21_26|21_27|21_28|21_29|21_30|21_32|21_33|21_34|21_36|21_37|21_38|21_41|21_42|21_49|22_3|22_6|22_7|22_8|22_11|22_13|22_15|22_16|22_17|22_18|22_19|22_21|22_22|22_24|22_27|22_30|22_32|22_34|22_36|22_37|22_38|22_40|22_42|22_43|22_44|22_46|22_47|22_48|22_49|23_3|23_5|23_6|23_8|23_10|23_11|23_13|23_16|23_19|23_22|23_24|23_25|23_27|23_28|23_30|23_36|23_38|23_42|23_44|23_46|24_3|24_5|24_6|24_8|24_10|24_11|24_13|24_14|24_16|24_17|24_19|24_20|24_22|24_25|24_28|24_30|24_31|24_33|24_34|24_35|24_36|24_38|24_39|24_41|24_42|24_44|24_46|24_47|24_48|24_49|25_3|25_6|25_8|25_10|25_11|25_13|25_14|25_16|25_17|25_19|25_20|25_22|25_23|25_25|25_26|25_28|25_30|25_31|25_33|25_39|25_41|25_42|25_44|25_49|26_3|26_5|26_6|26_8|26_10|26_13|26_17|26_20|26_22|26_23|26_26|26_28|26_30|26_33|26_34|26_35|26_36|26_38|26_39|26_41|26_44|26_46|26_47|26_48|26_49|27_3|27_5|27_8|27_10|27_11|27_13|27_15|27_16|27_17|27_19|27_20|27_23|27_25|27_26|27_28|27_30|27_36|27_38|27_41|27_43|27_44|27_46|28_3|28_5|28_8|28_9|28_10|28_11|28_13|28_14|28_15|28_16|28_17|28_19|28_20|28_21|28_22|28_23|28_25|28_26|28_27|28_28|28_30|28_31|28_32|28_33|28_34|28_35|28_36|28_38|28_40|28_41|28_43|28_46|29_3|29_5|29_6|29_19|29_20|29_21|29_38|29_40|29_41|29_43|29_46|29_47|29_48|30_3|30_5|30_6|30_8|30_9|30_10|30_11|30_12|30_13|30_14|30_15|30_17|30_23|30_24|30_25|30_26|30_27|30_28|30_30|30_31|30_32|30_33|30_35|30_36|30_38|30_40|30_43|30_48|31_3|31_5|31_8|31_11|31_12|31_17|31_18|31_19|31_20|31_21|31_22|31_23|31_25|31_26|31_27|31_30|31_32|31_35|31_36|31_38|31_40|31_42|31_43|31_44|31_45|31_46|31_47|31_48|31_49|32_3|32_5|32_6|32_7|32_8|32_11|32_14|32_15|32_16|32_17|32_18|32_19|32_21|32_23|32_24|32_25|32_27|32_28|32_29|32_30|32_32|32_33|32_34|32_35|32_36|32_38|32_39|32_40|33_5|33_6|33_7|33_8|33_9|33_11|33_12|33_13|33_14|33_15|33_36|33_42|33_43|33_47|33_48|33_49|34_3|34_10|34_17|34_20|34_21|34_22|34_23|34_24|34_25|34_27|34_28|34_29|34_30|34_31|34_33|34_34|34_36|34_37|34_38|34_39|34_40|34_41|34_42|34_43|34_44|34_45|34_46|34_47|34_49|35_3|35_4|35_5|35_8|35_9|35_10|35_11|35_12|35_14|35_15|35_16|35_17|35_19|35_23|35_25|35_27|35_31|35_32|35_33|35_34|35_36|35_37|35_38|35_47|35_49|36_3|36_4|36_5|36_6|36_7|36_8|36_9|36_10|36_12|36_14|36_15|36_17|36_21|36_22|36_23|36_25|36_27|36_28|36_29|36_31|36_34|36_39|36_40|36_43|36_44|36_45|36_49|37_3|37_12|37_15|37_17|37_18|37_19|37_20|37_21|37_23|37_25|37_29|37_31|37_32|37_34|37_35|37_36|37_37|37_38|37_39|37_40|37_41|37_42|37_43|37_45|37_46|37_47|37_48|37_49|38_3|38_4|38_5|38_6|38_7|38_8|38_9|38_10|38_12|38_13|38_14|38_15|38_16|38_18|38_19|38_21|38_23|38_25|38_26|38_27|38_28|38_29|38_34|38_35|38_36|39_3|39_4|39_5|39_7|39_8|39_10|39_31|39_32|39_38|39_39|39_40|39_42|39_44|39_45|39_47|39_48|39_49|40_6|40_10|40_12|40_14|40_15|40_16|40_17|40_19|40_21|40_22|40_24|40_25|40_26|40_27|40_28|40_29|40_31|40_32|40_33|40_34|40_35|40_37|40_38|40_40|40_42|40_43|40_44|40_47|40_49|41_3|41_4|41_5|41_6|41_7|41_8|41_9|41_10|41_12|41_13|41_14|41_15|41_19|41_20|41_21|41_22|41_24|41_28|41_29|41_31|41_35|41_37|41_40|41_42|41_44|41_45|41_47|41_49|42_3|42_12|42_14|42_17|42_19|42_21|42_22|42_24|42_27|42_28|42_29|42_31|42_33|42_34|42_35|42_37|42_39|42_40|42_42|42_44|42_45|42_47|42_48|42_49|43_3|43_4|43_5|43_6|43_8|43_9|43_10|43_11|43_12|43_14|43_15|43_16|43_17|43_18|43_19|43_21|43_24|43_26|43_28|43_29|43_30|43_31|43_33|43_37|43_39|43_42|43_44|43_45|43_46|43_47|43_49|44_6|44_7|44_8|44_12|44_14|44_16|44_20|44_21|44_22|44_23|44_24|44_30|44_31|44_33|44_34|44_35|44_36|44_37|44_39|44_40|44_41|44_42|44_47|44_49|45_4|45_9|45_10|45_14|45_18|45_21|45_27|45_28|45_30|45_33|45_34|45_39|45_45|45_49|46_3|46_5|46_6|46_7|46_8|46_9|46_10|46_11|46_12|46_16|46_17|46_18|46_23|46_25|46_26|46_27|46_28|46_31|46_36|46_41|46_45|46_46|46_47|46_49|47_3|47_4|47_5|47_6|47_7|47_8|47_9|47_10|47_11|47_12|47_13|47_14|47_15|47_16|47_17|47_18|47_19|47_20|47_21|47_22|47_23|47_24|47_25|47_26|47_27|47_28|47_29|47_30|47_31|47_32|47_33|47_34|47_35|47_36|47_37|47_38|47_39|47_40|47_41|47_42|47_43|47_44|47_45|47_46|47_47|47_48|47_49"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0003,render_common_0001,render_cave_0003"; scene_data["render_common_0003_coordinates"] = "5_3,6_3,9_3,11_3,13_3,21_40,31_10,34_19,42_26,46_4"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_11,5_13,5_14,5_15,5_16,5_17,5_18,5_19,5_20,5_22,5_23,5_24,5_25,5_29,5_30,5_31,5_32,5_33,5_35,5_36,5_37,5_38,5_39,5_40,5_42,5_43,5_44,5_45,5_46,5_47,5_48,5_49,6_4,6_5,6_6,6_8,6_9,6_10,6_11,6_13,6_19,6_20,6_22,6_23,6_25,6_26,6_28,6_29,6_30,6_32,6_35,6_39,6_42,6_48,6_49,7_4,7_6,7_9,7_11,7_13,7_14,7_15,7_16,7_17,7_19,7_22,7_23,7_25,7_26,7_29,7_32,7_33,7_35,7_36,7_37,7_39,7_41,7_42,7_48,7_49,8_4,8_8,8_9,8_11,8_17,8_19,8_20,8_23,8_25,8_28,8_29,8_30,8_33,8_35,8_36,8_39,8_41,8_42,8_48,8_49,9_4,9_5,9_6,9_8,9_9,9_11,9_12,9_17,9_20,9_21,9_23,9_25,9_26,9_29,9_30,9_32,9_33,9_35,9_36,9_38,9_39,9_41,9_49,10_5,10_8,10_11,10_17,10_18,10_20,10_23,10_25,10_26,10_27,10_29,10_32,10_35,10_36,10_39,10_41,10_42,10_48,10_49,11_4,11_5,11_6,11_8,11_10,11_11,11_13,11_14,11_15,11_16,11_17,11_18,11_20,11_22,11_23,11_26,11_27,11_29,11_31,11_32,11_34,11_35,11_36,11_37,11_39,11_42,11_49,12_4,12_8,12_10,12_11,12_13,12_20,12_22,12_23,12_24,12_26,12_29,12_31,12_32,12_34,12_35,12_39,12_41,12_42,12_49,13_4,13_5,13_6,13_8,13_11,13_13,13_14,13_15,13_16,13_17,13_20,13_22,13_23,13_26,13_28,13_29,13_31,13_35,13_37,13_38,13_39,13_41,13_42,13_44,13_46,13_47,13_48,13_49,14_5,14_8,14_9,14_11,14_17,14_19,14_20,14_22,14_25,14_26,14_28,14_29,14_31,14_32,14_34,14_35,14_37,14_39,14_41,14_44,14_45,14_46,15_3,15_4,15_5,15_6,15_9,15_11,15_12,15_13,15_14,15_15,15_17,15_19,15_20,15_22,15_23,15_25,15_26,15_28,15_32,15_34,15_35,15_37,15_41,15_42,15_44,15_48,15_49,16_3,16_6,16_9,16_11,16_15,16_17,16_20,16_22,16_25,16_26,16_28,16_29,16_31,16_32,16_34,16_37,16_38,16_42,16_44,16_45,16_46,16_47,16_48,16_49,17_3,17_6,17_8,17_9,17_11,17_15,17_17,17_18,17_20,17_22,17_23,17_26,17_29,17_31,17_32,17_34,17_38,17_42,17_49,18_3,18_6,18_7,18_8,18_9,18_11,18_15,18_17,18_20,18_22,18_23,18_24,18_26,18_28,18_29,18_32,18_34,18_35,18_38,18_39,18_42,18_44,18_45,18_46,18_47,18_48,18_49,19_15,19_16,19_17,19_19,19_20,19_21,19_22,19_24,19_26,19_27,19_28,19_29,19_30,19_32,19_33,19_34,19_35,19_38,19_39,19_40,19_41,19_42,19_44,19_45,20_3,20_5,20_6,20_8,20_10,20_11,20_44,20_45,20_46,20_47,20_48,20_49,21_3,21_5,21_6,21_8,21_10,21_11,21_12,21_13,21_16,21_17,21_18,21_21,21_22,21_23,21_24,21_26,21_27,21_28,21_29,21_30,21_32,21_33,21_34,21_36,21_37,21_38,21_41,21_42,21_49,22_3,22_6,22_7,22_8,22_11,22_13,22_15,22_16,22_17,22_18,22_19,22_21,22_22,22_24,22_27,22_30,22_32,22_34,22_36,22_37,22_38,22_40,22_42,22_43,22_44,22_46,22_47,22_48,22_49,23_3,23_5,23_6,23_8,23_10,23_11,23_13,23_16,23_19,23_22,23_24,23_25,23_27,23_28,23_30,23_36,23_38,23_42,23_44,23_46,24_3,24_5,24_6,24_8,24_10,24_11,24_13,24_14,24_16,24_17,24_19,24_20,24_22,24_25,24_28,24_30,24_31,24_33,24_34,24_35,24_36,24_38,24_39,24_41,24_42,24_44,24_46,24_47,24_48,24_49,25_3,25_6,25_8,25_10,25_11,25_13,25_14,25_16,25_17,25_19,25_20,25_22,25_23,25_25,25_26,25_28,25_30,25_31,25_33,25_39,25_41,25_42,25_44,25_49,26_3,26_5,26_6,26_8,26_10,26_13,26_17,26_20,26_22,26_23,26_26,26_28,26_30,26_33,26_34,26_35,26_36,26_38,26_39,26_41,26_44,26_46,26_47,26_48,26_49,27_3,27_5,27_8,27_10,27_11,27_13,27_15,27_16,27_17,27_19,27_20,27_23,27_25,27_26,27_28,27_30,27_36,27_38,27_41,27_43,27_44,27_46,28_3,28_5,28_8,28_9,28_10,28_11,28_13,28_14,28_15,28_16,28_17,28_19,28_20,28_21,28_22,28_23,28_25,28_26,28_27,28_28,28_30,28_31,28_32,28_33,28_34,28_35,28_36,28_38,28_40,28_41,28_43,28_46,29_3,29_5,29_6,29_19,29_20,29_21,29_38,29_40,29_41,29_43,29_46,29_47,29_48,30_3,30_5,30_6,30_8,30_9,30_10,30_11,30_12,30_13,30_14,30_15,30_17,30_23,30_24,30_25,30_26,30_27,30_28,30_30,30_31,30_32,30_33,30_35,30_36,30_38,30_40,30_43,30_48,31_3,31_5,31_8,31_11,31_12,31_17,31_18,31_19,31_20,31_21,31_22,31_23,31_25,31_26,31_27,31_30,31_32,31_35,31_36,31_38,31_40,31_42,31_43,31_44,31_45,31_46,31_47,31_48,31_49,32_3,32_5,32_6,32_7,32_8,32_11,32_14,32_15,32_16,32_17,32_18,32_19,32_21,32_23,32_24,32_25,32_27,32_28,32_29,32_30,32_32,32_33,32_34,32_35,32_36,32_38,32_39,32_40,33_5,33_6,33_7,33_8,33_9,33_11,33_12,33_13,33_14,33_15,33_36,33_42,33_43,33_47,33_48,33_49,34_3,34_10,34_17,34_20,34_21,34_22,34_23,34_24,34_25,34_27,34_28,34_29,34_30,34_31,34_33,34_34,34_36,34_37,34_38,34_39,34_40,34_41,34_42,34_43,34_44,34_45,34_46,34_47,34_49,35_3,35_4,35_5,35_8,35_9,35_10,35_11,35_12,35_14,35_15,35_16,35_17,35_19,35_23,35_25,35_27,35_31,35_32,35_33,35_34,35_36,35_37,35_38,35_47,35_49,36_3,36_4,36_5,36_6,36_7,36_8,36_9,36_10,36_12,36_14,36_15,36_17,36_21,36_22,36_23,36_25,36_27,36_28,36_29,36_31,36_34,36_39,36_40,36_43,36_44,36_45,36_49,37_3,37_12,37_15,37_17,37_18,37_19,37_20,37_21,37_23,37_25,37_29,37_31,37_32,37_34,37_35,37_36,37_37,37_38,37_39,37_40,37_41,37_42,37_43,37_45,37_46,37_47,37_48,37_49,38_3,38_4,38_5,38_6,38_7,38_8,38_9,38_10,38_12,38_13,38_14,38_15,38_16,38_18,38_19,38_21,38_23,38_25,38_26,38_27,38_28,38_29,38_34,38_35,38_36,39_3,39_4,39_5,39_7,39_8,39_10,39_31,39_32,39_38,39_39,39_40,39_42,39_44,39_45,39_47,39_48,39_49,40_6,40_10,40_12,40_14,40_15,40_16,40_17,40_19,40_21,40_22,40_24,40_25,40_26,40_27,40_28,40_29,40_31,40_32,40_33,40_34,40_35,40_37,40_38,40_40,40_42,40_43,40_44,40_47,40_49,41_3,41_4,41_5,41_6,41_7,41_8,41_9,41_10,41_12,41_13,41_14,41_15,41_19,41_20,41_21,41_22,41_24,41_28,41_29,41_31,41_35,41_37,41_40,41_42,41_44,41_45,41_47,41_49,42_3,42_12,42_14,42_17,42_19,42_21,42_22,42_24,42_27,42_28,42_29,42_31,42_33,42_34,42_35,42_37,42_39,42_40,42_42,42_44,42_45,42_47,42_48,42_49,43_3,43_4,43_5,43_6,43_8,43_9,43_10,43_11,43_12,43_14,43_15,43_16,43_17,43_18,43_19,43_21,43_24,43_26,43_28,43_29,43_30,43_31,43_33,43_37,43_39,43_42,43_44,43_45,43_46,43_47,43_49,44_6,44_7,44_8,44_12,44_14,44_16,44_20,44_21,44_22,44_23,44_24,44_30,44_31,44_33,44_34,44_35,44_36,44_37,44_39,44_40,44_41,44_42,44_47,44_49,45_4,45_9,45_10,45_14,45_18,45_21,45_27,45_28,45_30,45_33,45_34,45_39,45_45,45_49,46_3,46_5,46_6,46_7,46_8,46_9,46_10,46_11,46_12,46_16,46_17,46_18,46_23,46_25,46_26,46_27,46_28,46_31,46_36,46_41,46_45,46_46,46_47,46_49,47_3,47_5,47_6,47_7,47_8,47_9,47_10,47_11,47_12,47_13,47_14,47_15,47_16,47_17,47_18,47_19,47_20,47_21,47_22,47_23,47_24,47_25,47_26,47_27,47_28,47_29,47_30,47_31,47_32,47_33,47_34,47_35,47_36,47_37,47_38,47_39,47_40,47_41,47_42,47_43,47_44,47_45,47_46,47_47,47_48,47_49"; scene_data["render_cave_0003_coordinates"] = "47_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0021() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 26; scene_data["tile_y_count"] = 50; scene_data["name"] = "Third pothole (besides the bottom two near Inn"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 10; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=13, y=4, txt="You obtained 265g", required_dir="up", callback=function() GET_MONEY(265); PUT_STATE("tc1", 21, 1, "First treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 21) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=16, y=46, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("btc1", 21, 1, "I treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("btc1", 21) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=18, y=4, txt="You obtained 2 pieces of blue ginseng", required_dir="up", callback=function() GET_ITEM("bmg5_g", 2); PUT_STATE("tc3", 21, 1, "Third treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc3", 21) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=4, txt="You found a key. There is a bird engraved at the handle", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("k1", 21, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 21) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=32, after_player_x=12, after_player_y=34, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=19, y=46, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_7|5_9|5_10|5_11|5_12|5_13|5_16|5_18|5_21|5_23|5_25|5_26|5_28|5_29|5_30|5_31|5_32|5_34|5_35|5_36|5_37|5_39|5_40|5_41|5_43|5_44|5_45|5_46|6_5|6_7|6_10|6_13|6_15|6_16|6_17|6_18|6_19|6_21|6_22|6_23|6_24|6_25|6_28|6_31|6_32|6_34|6_35|6_37|6_38|6_39|6_41|6_42|6_43|6_46|7_3|7_5|7_7|7_9|7_10|7_12|7_13|7_16|7_18|7_19|7_21|7_25|7_26|7_28|7_29|7_32|7_35|7_45|7_46|8_3|8_4|8_5|8_7|8_10|8_13|8_15|8_16|8_18|8_21|8_26|8_28|8_29|8_31|8_32|8_34|8_35|8_37|8_38|8_39|8_40|8_41|8_44|8_45|8_46|9_4|9_7|9_9|9_10|9_12|9_13|9_15|9_18|9_19|9_21|9_22|9_23|9_25|9_26|9_28|9_31|9_34|9_37|9_41|9_42|9_43|9_44|9_46|10_4|10_5|10_6|10_7|10_9|10_12|10_15|10_16|10_18|10_23|10_25|10_28|10_29|10_31|10_32|10_34|10_35|10_37|10_39|11_4|11_7|11_9|11_10|11_12|11_16|11_18|11_19|11_21|11_22|11_23|11_25|11_29|11_32|11_35|11_37|11_38|11_39|11_40|11_41|11_42|11_44|11_46|12_4|12_6|12_7|12_10|12_12|12_13|12_15|12_16|12_18|12_19|12_21|12_25|12_28|12_29|12_31|12_32|12_33|12_35|12_37|12_38|12_39|12_42|12_43|12_44|12_45|12_46|13_4|13_6|13_9|13_10|13_13|13_16|13_18|13_21|13_22|13_23|13_25|13_26|13_28|13_33|13_35|13_41|13_46|14_4|14_6|14_8|14_9|14_12|14_13|14_15|14_16|14_18|14_19|14_21|14_26|14_28|14_29|14_31|14_32|14_33|14_35|14_37|14_38|14_40|14_41|14_42|14_43|14_44|14_46|15_4|15_5|15_6|15_8|15_9|15_11|15_12|15_15|15_19|15_21|15_25|15_26|15_29|15_31|15_35|15_38|15_40|15_43|15_46|16_4|16_6|16_8|16_11|16_15|16_16|16_18|16_19|16_21|16_22|16_23|16_25|16_28|16_29|16_31|16_33|16_34|16_35|16_37|16_38|16_40|16_42|16_43|16_46|17_4|17_6|17_8|17_11|17_13|17_16|17_19|17_23|17_25|17_26|17_28|17_31|17_34|17_38|17_40|17_42|17_45|17_46|18_4|18_6|18_8|18_9|18_11|18_13|18_14|18_15|18_16|18_18|18_19|18_21|18_22|18_23|18_26|18_28|18_29|18_31|18_32|18_34|18_36|18_37|18_38|18_39|18_40|18_42|18_43|18_45|19_6|19_9|19_11|19_12|19_13|19_15|19_16|19_19|19_21|19_25|19_26|19_29|19_31|19_32|19_34|19_37|19_38|19_40|19_43|19_45|19_46|20_6|20_7|20_8|20_9|20_11|20_16|20_18|20_19|20_20|20_21|20_22|20_23|20_25|20_26|20_27|20_28|20_29|20_31|20_32|20_33|20_34|20_36|20_37|20_38|20_40|20_42|20_43|20_45|20_46"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_common_0003,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_7,5_9,5_10,5_11,5_12,5_13,5_16,5_18,5_21,5_23,5_25,5_26,5_28,5_29,5_30,5_31,5_32,5_34,5_35,5_36,5_37,5_39,5_40,5_41,5_43,5_44,5_45,5_46,6_5,6_7,6_10,6_13,6_15,6_16,6_17,6_18,6_19,6_21,6_22,6_23,6_24,6_25,6_28,6_31,6_32,6_34,6_35,6_37,6_38,6_39,6_41,6_42,6_43,6_46,7_3,7_5,7_7,7_9,7_10,7_12,7_13,7_16,7_18,7_19,7_21,7_25,7_26,7_28,7_29,7_32,7_35,7_45,7_46,8_3,8_4,8_5,8_7,8_10,8_13,8_15,8_16,8_18,8_21,8_26,8_28,8_29,8_31,8_32,8_34,8_35,8_37,8_38,8_39,8_40,8_41,8_44,8_45,8_46,9_4,9_7,9_9,9_10,9_12,9_13,9_15,9_18,9_19,9_21,9_22,9_23,9_25,9_26,9_28,9_31,9_34,9_37,9_41,9_42,9_43,9_44,9_46,10_4,10_5,10_6,10_7,10_9,10_12,10_15,10_16,10_18,10_23,10_25,10_28,10_29,10_31,10_32,10_34,10_35,10_37,10_39,11_4,11_7,11_9,11_10,11_12,11_16,11_18,11_19,11_21,11_22,11_23,11_25,11_29,11_32,11_35,11_37,11_38,11_39,11_40,11_41,11_42,11_44,11_46,12_4,12_6,12_7,12_10,12_12,12_13,12_15,12_16,12_18,12_19,12_21,12_25,12_28,12_29,12_31,12_32,12_33,12_35,12_37,12_38,12_39,12_42,12_43,12_44,12_45,12_46,13_4,13_6,13_9,13_10,13_13,13_16,13_18,13_21,13_22,13_23,13_25,13_26,13_28,13_33,13_35,13_41,13_46,14_4,14_6,14_8,14_9,14_12,14_13,14_15,14_16,14_18,14_19,14_21,14_26,14_28,14_29,14_31,14_32,14_33,14_35,14_37,14_38,14_40,14_41,14_42,14_43,14_44,14_46,15_4,15_5,15_6,15_8,15_9,15_11,15_12,15_15,15_19,15_21,15_25,15_26,15_29,15_31,15_35,15_38,15_40,15_43,15_46,16_4,16_6,16_8,16_11,16_15,16_16,16_18,16_19,16_21,16_22,16_23,16_25,16_28,16_29,16_31,16_33,16_34,16_35,16_37,16_38,16_40,16_42,16_43,16_46,17_4,17_6,17_8,17_11,17_13,17_16,17_19,17_23,17_25,17_26,17_28,17_31,17_34,17_38,17_40,17_42,17_45,17_46,18_4,18_6,18_8,18_9,18_11,18_13,18_14,18_15,18_16,18_18,18_19,18_21,18_22,18_23,18_26,18_28,18_29,18_31,18_32,18_34,18_36,18_37,18_38,18_39,18_40,18_42,18_43,18_45,19_6,19_9,19_11,19_12,19_13,19_15,19_16,19_19,19_21,19_25,19_26,19_29,19_31,19_32,19_34,19_37,19_38,19_40,19_43,19_45,20_6,20_7,20_8,20_9,20_11,20_16,20_18,20_19,20_20,20_21,20_22,20_23,20_25,20_26,20_27,20_28,20_29,20_31,20_32,20_33,20_34,20_36,20_37,20_38,20_40,20_42,20_43,20_45,20_46"; scene_data["render_common_0003_coordinates"] = "13_3,15_3,16_45,18_3"; scene_data["render_cave_0003_coordinates"] = "19_46"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0022() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 60; scene_data["tile_y_count"] = 25; scene_data["name"] = "Fourth pothole (besides the bottom two near Inn"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=51, y=21, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("btc1", 22, 1, "Pre treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("btc1", 22) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=18, y=5, txt="You obtained 10g", required_dir="up", callback=function() GET_MONEY(10); PUT_STATE("tc1", 22, 1, "First treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 22) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=53, y=4, txt="You obtained 20g", required_dir="up", callback=function() GET_MONEY(20); PUT_STATE("tc2", 22, 1, "Second treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc2", 22) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=53, y=11, txt="You found a key. There is a fish at the tip of it.", required_dir="up", callback=function() local curr_key_tally = GET_STATE("kt", 16); if curr_key_tally == -1 then curr_key_tally = 0; end; curr_key_tally = curr_key_tally + 1; PUT_STATE("kt", 16, curr_key_tally, "Incrementing Key"); PUT_STATE("k1", 22, 1, "Key found"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 22) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=19, after_player_x=23, after_player_y=20, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=54, y=20, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_5|5_6|5_7|5_8|5_10|5_11|5_12|5_14|5_15|5_16|5_17|5_18|5_20|5_21|6_3|6_4|6_5|6_8|6_9|6_10|6_12|6_13|6_14|6_15|6_17|6_18|6_19|6_20|6_21|7_3|7_20|8_3|8_4|8_5|8_6|8_8|8_9|8_10|8_14|8_15|8_16|8_18|8_20|9_3|9_4|9_6|9_7|9_8|9_10|9_11|9_12|9_13|9_14|9_16|9_17|9_18|9_20|9_21|10_18|10_21|11_3|11_4|11_6|11_7|11_8|11_10|11_11|11_12|11_13|11_14|11_16|11_17|11_18|11_21|12_4|12_5|12_6|12_8|12_9|12_10|12_14|12_15|12_16|12_18|12_20|12_21|13_3|13_4|13_6|13_7|13_8|13_10|13_11|13_12|13_13|13_14|13_16|13_17|13_18|13_20|14_3|14_20|14_21|15_3|15_4|15_6|15_7|15_8|15_11|15_12|15_13|15_15|15_16|15_17|15_18|15_21|16_3|16_4|16_5|16_6|16_8|16_9|16_10|16_11|16_13|16_14|16_15|16_18|16_20|16_21|17_18|17_20|18_3|18_5|18_6|18_8|18_9|18_10|18_12|18_13|18_14|18_15|18_17|18_18|18_20|18_21|19_3|19_5|19_6|19_7|19_8|19_10|19_11|19_12|19_15|19_16|19_17|19_18|19_21|20_5|20_21|21_3|21_4|21_5|21_7|21_8|21_10|21_11|21_12|21_13|21_14|21_18|21_20|21_21|22_4|22_5|22_8|22_10|22_14|22_18|22_20|23_3|23_4|23_7|23_8|23_9|23_10|23_14|23_15|23_16|23_17|23_18|23_20|23_21|24_3|24_7|24_8|24_18|24_20|24_21|25_3|25_4|25_8|25_10|25_11|25_12|25_13|25_15|25_16|25_17|25_18|25_21|26_3|26_4|26_5|26_8|26_10|26_11|26_13|26_14|26_15|26_17|26_18|26_20|26_21|27_3|27_4|27_5|27_7|27_8|27_10|27_21|28_3|28_5|28_7|28_10|28_11|28_12|28_14|28_15|28_16|28_18|28_21|29_5|29_7|29_8|29_10|29_12|29_13|29_14|29_16|29_17|29_18|29_20|29_21|30_3|30_5|30_8|30_18|30_20|31_3|31_4|31_5|31_8|31_10|31_11|31_12|31_13|31_15|31_16|31_17|31_18|31_20|32_3|32_7|32_8|32_10|32_11|32_13|32_14|32_15|32_17|32_18|32_20|33_3|33_4|33_5|33_7|33_10|33_20|33_21|34_5|34_7|34_10|34_12|34_14|34_15|34_16|34_17|34_18|34_20|34_21|35_3|35_4|35_5|35_7|35_8|35_10|35_11|35_12|35_13|35_14|35_16|35_18|35_21|36_3|36_8|36_18|36_20|36_21|37_3|37_4|37_5|37_7|37_8|37_13|37_14|37_15|37_17|37_18|37_20|37_21|38_5|38_7|38_11|38_12|38_13|38_15|38_18|38_20|39_3|39_5|39_7|39_8|39_10|39_11|39_15|39_17|39_18|39_20|39_21|40_3|40_5|40_8|40_10|40_13|40_14|40_15|40_17|40_20|40_21|41_3|41_5|41_7|41_8|41_10|41_11|41_13|41_17|41_18|41_21|42_3|42_4|42_5|42_7|42_11|42_13|42_14|42_15|42_18|42_20|42_21|43_3|43_5|43_7|43_8|43_10|43_11|43_15|43_17|43_18|43_20|44_5|44_8|44_10|44_13|44_14|44_15|44_17|44_20|44_21|45_3|45_4|45_5|45_7|45_8|45_10|45_13|45_17|45_21|46_3|46_7|46_10|46_11|46_13|46_14|46_15|46_17|46_18|46_21|47_3|47_4|47_5|47_7|47_11|47_13|47_15|47_18|47_21|48_5|48_7|48_8|48_11|48_13|48_14|48_15|48_17|48_18|48_20|48_21|49_3|49_4|49_5|49_8|49_11|49_14|49_17|49_20|50_3|50_8|50_10|50_11|50_13|50_14|50_15|50_17|50_20|50_21|51_3|51_4|51_5|51_7|51_8|51_10|51_14|51_15|51_17|51_18|51_21|52_5|52_7|52_10|52_11|52_15|52_18|52_21|53_4|53_5|53_7|53_11|53_14|53_15|53_18|53_20|53_21|54_4|54_5|54_6|54_7|54_8|54_10|54_11|54_13|54_14|54_15|54_16|54_17|54_18|54_20|54_21"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_common_0003,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "5_3,5_5,5_6,5_7,5_8,5_10,5_11,5_12,5_14,5_15,5_16,5_17,5_18,5_20,5_21,6_3,6_4,6_5,6_8,6_9,6_10,6_12,6_13,6_14,6_15,6_17,6_18,6_19,6_20,6_21,7_3,7_20,8_3,8_4,8_5,8_6,8_8,8_9,8_10,8_14,8_15,8_16,8_18,8_20,9_3,9_4,9_6,9_7,9_8,9_10,9_11,9_12,9_13,9_14,9_16,9_17,9_18,9_20,9_21,10_18,10_21,11_3,11_4,11_6,11_7,11_8,11_10,11_11,11_12,11_13,11_14,11_16,11_17,11_18,11_21,12_4,12_5,12_6,12_8,12_9,12_10,12_14,12_15,12_16,12_18,12_20,12_21,13_3,13_4,13_6,13_7,13_8,13_10,13_11,13_12,13_13,13_14,13_16,13_17,13_18,13_20,14_3,14_20,14_21,15_3,15_4,15_6,15_7,15_8,15_11,15_12,15_13,15_15,15_16,15_17,15_18,15_21,16_3,16_4,16_5,16_6,16_8,16_9,16_10,16_11,16_13,16_14,16_15,16_18,16_20,16_21,17_18,17_20,18_3,18_5,18_6,18_8,18_9,18_10,18_12,18_13,18_14,18_15,18_17,18_18,18_20,18_21,19_3,19_5,19_6,19_7,19_8,19_10,19_11,19_12,19_15,19_16,19_17,19_18,19_21,20_5,20_21,21_3,21_4,21_5,21_7,21_8,21_10,21_11,21_12,21_13,21_14,21_18,21_20,21_21,22_4,22_5,22_8,22_10,22_14,22_18,22_20,23_3,23_4,23_7,23_8,23_9,23_10,23_14,23_15,23_16,23_17,23_18,23_20,23_21,24_3,24_7,24_8,24_18,24_20,24_21,25_3,25_4,25_8,25_10,25_11,25_12,25_13,25_15,25_16,25_17,25_18,25_21,26_3,26_4,26_5,26_8,26_10,26_11,26_13,26_14,26_15,26_17,26_18,26_20,26_21,27_3,27_4,27_5,27_7,27_8,27_10,27_21,28_3,28_5,28_7,28_10,28_11,28_12,28_14,28_15,28_16,28_18,28_21,29_5,29_7,29_8,29_10,29_12,29_13,29_14,29_16,29_17,29_18,29_20,29_21,30_3,30_5,30_8,30_18,30_20,31_3,31_4,31_5,31_8,31_10,31_11,31_12,31_13,31_15,31_16,31_17,31_18,31_20,32_3,32_7,32_8,32_10,32_11,32_13,32_14,32_15,32_17,32_18,32_20,33_3,33_4,33_5,33_7,33_10,33_20,33_21,34_5,34_7,34_10,34_12,34_14,34_15,34_16,34_17,34_18,34_20,34_21,35_3,35_4,35_5,35_7,35_8,35_10,35_11,35_12,35_13,35_14,35_16,35_18,35_21,36_3,36_8,36_18,36_20,36_21,37_3,37_4,37_5,37_7,37_8,37_13,37_14,37_15,37_17,37_18,37_20,37_21,38_5,38_7,38_11,38_12,38_13,38_15,38_18,38_20,39_3,39_5,39_7,39_8,39_10,39_11,39_15,39_17,39_18,39_20,39_21,40_3,40_5,40_8,40_10,40_13,40_14,40_15,40_17,40_20,40_21,41_3,41_5,41_7,41_8,41_10,41_11,41_13,41_17,41_18,41_21,42_3,42_4,42_5,42_7,42_11,42_13,42_14,42_15,42_18,42_20,42_21,43_3,43_5,43_7,43_8,43_10,43_11,43_15,43_17,43_18,43_20,44_5,44_8,44_10,44_13,44_14,44_15,44_17,44_20,44_21,45_3,45_4,45_5,45_7,45_8,45_10,45_13,45_17,45_21,46_3,46_7,46_10,46_11,46_13,46_14,46_15,46_17,46_18,46_21,47_3,47_4,47_5,47_7,47_11,47_13,47_15,47_18,47_21,48_5,48_7,48_8,48_11,48_13,48_14,48_15,48_17,48_18,48_20,48_21,49_3,49_4,49_5,49_8,49_11,49_14,49_17,49_20,50_3,50_8,50_10,50_11,50_13,50_14,50_15,50_17,50_20,50_21,51_3,51_4,51_5,51_7,51_8,51_10,51_14,51_15,51_17,51_18,51_21,52_5,52_7,52_10,52_11,52_15,52_18,52_21,53_4,53_5,53_7,53_11,53_14,53_15,53_18,53_20,53_21,54_4,54_5,54_6,54_7,54_8,54_10,54_11,54_13,54_14,54_15,54_16,54_17,54_18,54_21"; scene_data["render_common_0003_coordinates"] = "18_4,51_20,53_3,53_10"; scene_data["render_cave_0003_coordinates"] = "54_20"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0023() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "First room after 6-key door"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "You hear whispers again, this time louder. You cannot make out the words, but they're very foreboding. The tongue cannot be human."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {3,3}; scene_data["monster_hp_inflation"] = {6,6}; scene_data["monster_exp_inflation"] = {2,1}; scene_data["monster_gold_inflation"] = {8,6}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=6, after_player_x=15, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=6, y=6, scene_number=16, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=35, after_player_x=6, after_player_y=36, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=6, y=4, scene_number=24, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("key", 23) == 1; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=13, after_map_y=2, after_player_x=15, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=24, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("key", 23) == 1; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=10, y=3, scene_number=25, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|6_4|6_5|6_6|6_7|6_8|6_9|7_3|7_4|7_5|8_3|8_4|8_5|9_4|9_5|10_3|10_4|10_5"; scene_data["render_fns_list"] = "render_cave_0002,render_building_0004,render_common_0001,render_cave_0001,render_warp_0001"; scene_data["render_building_0004_coordinates"] = "5_3,10_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,6_5,6_7,6_8,6_9,7_3,7_4,7_5,8_3,8_4,8_5,9_4,9_5,10_4,10_5"; scene_data["render_cave_0001_coordinates"] = "6_4"; scene_data["render_warp_0001_coordinates"] = "6_6"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0024() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 40; scene_data["name"] = "Left Room in Lobby"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="You found a key. There is a bat skull on the handle. You also obtained 100g and a flask of cherry oil", required_dir="up", callback=function() GET_MONEY(100); GET_ITEM("b1", 1); PUT_STATE("key", 23, 1, "Now you've got the key"); PUT_STATE("tc1", 24, 1, "Only treasure chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tc1", 24) == -1;end, eligibility_failure_msg=function() return "You have already obtained these items"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=3, after_player_x=6, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=5, y=36, scene_number=23, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=1, after_player_x=5, after_player_y=4, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=15, y=3, scene_number=23, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_10|5_12|5_13|5_14|5_15|5_17|5_19|5_20|5_21|5_23|5_24|5_25|5_26|5_27|5_29|5_30|5_33|5_34|5_36|6_4|6_6|6_7|6_9|6_10|6_11|6_12|6_14|6_15|6_17|6_18|6_19|6_21|6_22|6_23|6_24|6_26|6_27|6_29|6_30|6_31|6_32|6_33|6_36|7_4|7_6|7_9|7_14|7_17|7_26|7_30|7_31|7_33|7_35|7_36|8_4|8_6|8_7|8_9|8_10|8_11|8_12|8_14|8_15|8_17|8_18|8_19|8_20|8_22|8_23|8_24|8_26|8_27|8_29|8_30|8_33|8_35|8_36|9_3|9_4|9_7|9_12|9_15|9_17|9_20|9_21|9_22|9_24|9_27|9_29|9_32|9_33|9_35|10_3|10_6|10_7|10_9|10_10|10_11|10_12|10_15|10_24|10_26|10_27|10_29|10_30|10_32|10_35|10_36|11_3|11_6|11_9|11_14|11_15|11_17|11_18|11_19|11_20|11_21|11_24|11_26|11_30|11_32|11_33|11_35|12_3|12_4|12_6|12_7|12_9|12_10|12_11|12_12|12_14|12_18|12_20|12_23|12_24|12_26|12_27|12_29|12_30|12_33|12_35|12_36|13_4|13_7|13_12|13_14|13_15|13_16|13_18|13_20|13_21|13_23|13_27|13_29|13_30|13_31|13_33|13_36|14_4|14_6|14_7|14_8|14_10|14_11|14_12|14_16|14_18|14_21|14_23|14_24|14_26|14_27|14_31|14_33|14_34|14_36|15_3|15_4|15_6|15_7|15_8|15_9|15_10|15_12|15_14|15_15|15_16|15_17|15_18|15_20|15_21|15_22|15_23|15_24|15_26|15_27|15_28|15_29|15_30|15_31|15_33|15_34|15_35|15_36"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_cave_0003,render_common_0003,render_building_0004"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_10,5_12,5_13,5_14,5_15,5_17,5_19,5_20,5_21,5_23,5_24,5_25,5_26,5_27,5_29,5_30,5_33,5_34,6_4,6_6,6_7,6_9,6_10,6_11,6_12,6_14,6_15,6_17,6_18,6_19,6_21,6_22,6_23,6_24,6_26,6_27,6_29,6_30,6_31,6_32,6_33,6_36,7_4,7_6,7_9,7_14,7_17,7_26,7_30,7_31,7_33,7_35,7_36,8_4,8_6,8_7,8_9,8_10,8_11,8_12,8_14,8_15,8_17,8_18,8_19,8_20,8_22,8_23,8_24,8_26,8_27,8_29,8_30,8_33,8_35,8_36,9_3,9_4,9_7,9_12,9_15,9_17,9_20,9_21,9_22,9_24,9_27,9_29,9_32,9_33,9_35,10_3,10_6,10_7,10_9,10_10,10_11,10_12,10_15,10_24,10_26,10_27,10_29,10_30,10_32,10_35,10_36,11_3,11_6,11_9,11_14,11_15,11_17,11_18,11_19,11_20,11_21,11_24,11_26,11_30,11_32,11_33,11_35,12_3,12_4,12_6,12_7,12_9,12_10,12_11,12_12,12_14,12_18,12_20,12_23,12_24,12_26,12_27,12_29,12_30,12_33,12_35,12_36,13_4,13_7,13_12,13_14,13_15,13_16,13_18,13_20,13_21,13_23,13_27,13_29,13_30,13_31,13_33,13_36,14_4,14_6,14_7,14_8,14_10,14_11,14_12,14_16,14_18,14_21,14_23,14_24,14_26,14_27,14_31,14_33,14_34,14_36,15_4,15_6,15_7,15_8,15_9,15_10,15_12,15_14,15_15,15_16,15_17,15_18,15_20,15_21,15_22,15_23,15_24,15_26,15_27,15_28,15_29,15_30,15_31,15_33,15_34,15_35,15_36"; scene_data["render_cave_0003_coordinates"] = "5_36"; scene_data["render_common_0003_coordinates"] = "7_3"; scene_data["render_building_0004_coordinates"] = "15_3"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0025() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "Boss Room"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {3}; scene_data["monster_apperance_frequency_percentage"] = 100; scene_data["monster_attack_inflation"] = {4}; scene_data["monster_defense_inflation"] = {5}; scene_data["monster_hp_inflation"] = {1000}; scene_data["monster_exp_inflation"] = {885}; scene_data["monster_gold_inflation"] = {500}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;ON_BATTLE_START = function() SCENE_DATA["monsters_enabled"] = false; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=5, txt="Hahahaha. I see you, young Ren. You did not heed my warnings. Now you shall pay the price.", required_dir="up", callback=function() SCENE_DATA["monsters_enabled"] = true; PUT_STATE("tco", 25, 1, "Allow exit from boss scene"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tco", 25) == -1;end, eligibility_failure_msg=function() return "That was scary"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=1, after_player_x=10, after_player_y=4, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=7, y=6, scene_number=23, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("tco", 25) == 1; end, on_warp_not_allowed_msg = "Oh, I forgot to open the treasure chest.", after_map_x=4, after_map_y=16, after_player_x=6, after_player_y=18, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=6, y=3, scene_number=26, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|6_0|6_1|6_2|6_3|6_4|6_5|6_6|7_5|7_6|7_7|7_8|7_9|8_5|8_6|9_5|9_6|10_3|10_4|10_5|10_6"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,6_0,6_1,6_2,6_4,6_5,6_6,7_5,7_7,7_8,7_9,8_5,8_6,9_5,9_6,10_3,10_4,10_5,10_6"; scene_data["render_warp_0001_coordinates"] = "6_3,7_6"; scene_data["render_common_0003_coordinates"] = "8_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0026() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 23; scene_data["name"] = "First map north of caves after boss"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 250;ALPHA_GREEN = 250;ALPHA_BLUE = 250;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=13, after_player_x=13, after_player_y=15, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=6, y=3, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_6|5_8|5_9|5_10|5_12|5_13|5_14|5_16|5_18|6_0|6_1|6_2|6_3|6_4|6_5|6_6|6_7|6_8|6_10|6_12|6_13|6_14|6_16|6_17|6_18|6_20|6_21|6_22|7_4|7_6|7_8|7_10|7_11|7_12|7_16|7_18|8_4|8_6|8_8|8_10|8_12|8_13|8_14|8_15|8_16|8_17|8_18"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_4,5_6,5_8,5_9,5_10,5_12,5_13,5_14,5_16,5_18,6_0,6_1,6_2,6_4,6_5,6_6,6_7,6_8,6_10,6_12,6_13,6_14,6_16,6_17,6_18,6_20,6_21,6_22,7_4,7_6,7_8,7_10,7_11,7_12,7_16,7_18,8_4,8_6,8_8,8_10,8_12,8_13,8_14,8_15,8_16,8_17,8_18"; scene_data["render_warp_0001_coordinates"] = "6_3"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0027() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 27; scene_data["tile_y_count"] = 20; scene_data["name"] = "First town w/inn north of caves"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_21,14"] = render_warp_0001;end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["movement_allowed_at_21,14"] = true; end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_22,14"] = render_common_0001; end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_23,14"] = render_common_0001; end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_24,14"] = render_common_0001; end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_25,14"] = render_common_0001; end;if GET_STATE("spvlone", 32) == 1 then SCENE_DATA["tile_at_26,14"] = render_common_0001; end;if GET_STATE("spvlone", 32) == 1 then local nw1 = {}; nw1.warp_allowed = function() return true; end; nw1.after_screen_x = 2; nw1.after_screen_y = 2; nw1.after_player_x = 6; nw1.after_player_y = 5; nw1.after_map_x = 4; nw1.after_map_y = 3; nw1.after_player_dir = "up";nw1.x = 21; nw1.y = 14; nw1.scene_number = 33; nw1.inn_item_keys = nil; nw1.inn_price = 0;nw1.on_finished = function()end; table.insert(SCENE_DATA.warp_points, nw1); end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_21,14"] = render_common_0001; end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_22,14"] = render_outdoors_0006; end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_23,14"] = render_outdoors_0006; end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_24,14"] = render_outdoors_0006; end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_25,14"] = render_outdoors_0006; end;if GET_STATE("om", 36) == 1 then SCENE_DATA["tile_at_26,14"] = render_outdoors_0006; end;if GET_STATE("om", 36) == 1 then table.remove(SCENE_DATA.warp_points, 8); end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_17,6"] = render_warp_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["movement_allowed_at_17,6"] = true; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_17,5"] = render_common_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_17,4"] = render_common_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_17,3"] = render_common_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_17,2"] = render_common_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["tile_at_18,8"] = render_person_0001; end;if GET_STATE("os", 32) == 1 then SCENE_DATA["movement_allowed_at_18,8"] = false; end;if GET_STATE("os", 32) == 1 then SCENE_DATA.has_dialogs = true; local fd = {}; fd.x = 18; fd.y = 9;fd.txt = "Best of luck in your journey north. Thank you for all of your help."; fd.required_dir = "up"; fd.callback = function() SET_MODE("scene");platform.window:invalidate(); end; fd.eligibility = function() return true; end; fd.eligibility_failure_msg = function() return ""; end; table.insert(SCENE_DATA.dialogs, fd);end;if GET_STATE("os", 32) == 1 then local fw = {}; fw.warp_allowed = function() return true; end; fw.on_warp_not_allowed_msg = ""; fw.after_player_x = 9; fw.after_player_y = 53; fw.after_screen_x = 2; fw.after_screen_y = 2; fw.after_map_x = 7; fw.after_map_y = 51; fw.after_player_dir = "left"; fw.x = 17; fw.y = 6; fw.scene_number = 37; fw.inn_item_keys = nil; fw.inn_price = 0; fw.on_finished = function() end; table.insert(SCENE_DATA.warp_points, fw);end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=6, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=13, y=16, scene_number=26, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=6, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=11, y=13, scene_number=28, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=5, after_player_x=13, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=11, y=8, scene_number=29, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=5, after_player_x=13, after_player_y=7, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=8, y=5, scene_number=30, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=7, after_player_y=6, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=19, y=7, scene_number=31, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=6, after_player_x=14, after_player_y=8, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=19, y=13, scene_number=32, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=15, y=9, scene_number=1000, inn_item_keys={"5mg_g","bmg5_g"}, inn_price=20, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_9|5_10|6_6|6_7|6_8|6_9|6_10|7_6|7_10|7_11|7_12|8_5|8_6|8_7|8_8|8_12|9_8|9_9|9_10|9_12|9_13|9_14|10_9|10_10|10_11|10_14|11_8|11_9|11_10|11_11|11_13|11_14|12_11|12_14|13_10|13_11|13_12|13_13|13_14|13_15|13_16|13_17|13_18|13_19|14_10|14_15|15_9|15_10|15_15|16_10|16_15|17_7|17_8|17_9|17_10|17_14|17_15|18_8|18_9|18_10|18_14|19_7|19_8|19_9|19_10|19_13|19_14|20_10|20_14|21_10|21_11|21_12|21_13|21_14"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_building_0006,render_building_0009,render_common_0002,render_building_0004,render_building_0001,render_building_0005,render_warp_0001,render_building_0002"; scene_data["render_common_0001_coordinates"] = "5_9,5_10,6_6,6_7,6_8,6_9,6_10,7_6,7_10,7_11,7_12,8_6,8_7,8_8,8_12,9_8,9_9,9_10,9_12,9_13,9_14,10_9,10_10,10_11,10_14,11_9,11_10,11_11,11_14,12_11,12_14,13_10,13_11,13_12,13_13,13_14,13_15,13_17,13_18,13_19,14_10,14_15,15_10,15_15,16_10,16_15,17_7,17_8,17_9,17_10,17_14,17_15,18_8,18_9,18_10,18_14,19_8,19_9,19_10,19_14,20_10,20_14,21_10,21_11,21_12,21_13,21_14"; scene_data["render_building_0006_coordinates"] = "6_4,7_4,8_4,10_6,10_12,11_6,11_12,14_7,16_11,17_11,18_6,18_11,19_6,19_11"; scene_data["render_building_0009_coordinates"] = "6_5,10_7,10_8,10_13,11_7,13_8,14_8,15_8,17_13,18_7,18_13"; scene_data["render_common_0002_coordinates"] = "7_5,14_9,16_12,16_13,17_12,18_12,19_12"; scene_data["render_building_0004_coordinates"] = "8_5,11_8,11_13,15_9,19_7,19_13"; scene_data["render_building_0001_coordinates"] = "13_7"; scene_data["render_building_0005_coordinates"] = "13_9"; scene_data["render_warp_0001_coordinates"] = "13_16"; scene_data["render_building_0002_coordinates"] = "15_7"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0028() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 9; scene_data["name"] = "Left Bottom Room in Scene 27"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=4, txt="Man: {{new_line}} You look like a fine young man. What is your name? {{new_line}} {{new_line}} Ren: {{new_line}} My name is Ren, it's nice to meet you. {{new_line}} {{new_line}} Man: {{new_line}} What brings you into Balron? {{new_line}} {{new_line}} Ren: {{new_line}} Oh, is that what this place is called? {{new_line}} {{new_line}} Man: {{new_line}} Yes. {{new_line}} {{new_line}} Ren: {{new_line}} Well, I'm the gem seeker. I'm supposed to be looking for gems, but I've heard Fabius is north of heree, and that they're sending monsters out to hurt people. I've run into them, and fighting them has not been easy. {{new_line}} {{new_line}} Man: {{new_line}} Yes. There have been rumors about you. Rumors are like wildfire. They start in one place, and soon enough they're everywhere. Myself, I wasn't sure what to believe, but if you say you are the gem seeker, I believe it. Earth needs you, and you've always come when need demands. At least...that's what the stories say. {{new_line}} {{new_line}} Ren: {{new_line}} Thanks. {{new_line}} {{new_line}} Man: {{new_line}} If you haven't been to the Balron museum yet, perhaps you should check it out. You might learn something that could aid you in finding the gems. {{new_line}} {{new_line}} Ren: {{new_line}} Thank you, sir. Have a nice day!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=12, after_player_x=11, after_player_y=14, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=6, y=5, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|6_4|6_5|6_6|6_7|6_8|7_3|7_4|8_4"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_person_0001,render_warp_0001,render_indoors_asset_0014,render_indoors_asset_0008"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,5_2,5_5,5_6,5_7,5_8,6_2,7_2,7_5,7_6,7_7,7_8,8_2,8_6,9_2,9_3,9_4,9_5,9_6"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,6_4,6_6,6_7,6_8,7_3,7_4,8_4"; scene_data["render_person_0001_coordinates"] = "6_3"; scene_data["render_warp_0001_coordinates"] = "6_5"; scene_data["render_indoors_asset_0014_coordinates"] = "8_3"; scene_data["render_indoors_asset_0008_coordinates"] = "8_5"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0029() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 12; scene_data["name"] = "Two Story House First Left from Inn"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=13, y=4, txt="Man: {{new_line}} I've heard a great many things about you young man. Keep fighting the good fight", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=14, y=4, txt="Woman: {{new_line}} Hello, old friend. You are a great young man, Ren. I foresee a wife being in your future. {{new_line}} {{new_line}} Ren: {{new_line}} I'd like one, but women tend to not talk to me. {{new_line}} {{new_line}} Woman: {{new_line}} Just wait young man. Women's interests change as they get older. When we are young, we are drawn to the wrong types of men. As we age, we prefer the nice, sweet types like you.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=7, after_player_x=11, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=13, y=8, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_7|5_8|6_4|6_5|6_6|6_7|6_8|7_4|7_5|7_6|7_7|7_8|8_6|9_4|9_5|9_6|9_7|9_8|10_4|10_5|10_6|10_7|10_8|11_4|11_5|11_6|11_7|11_8|12_5|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|14_4|14_5|14_6|14_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_person_0001,render_warp_0001,render_person_0006"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,5_2,5_9,6_2,6_9,7_2,7_9,8_2,8_3,8_4,8_5,8_7,8_8,8_9,9_2,9_9,10_2,10_9,11_2,11_9,12_2,12_3,12_4,12_6,12_7,12_8,12_9,12_10,12_11,13_2,14_2,14_8,14_9,14_10,14_11,15_2,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_11"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3,6_3,7_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_7,5_8,6_4,6_5,6_6,6_7,6_8,7_4,7_5,7_6,7_7,7_8,8_6,9_4,9_5,9_6,9_7,9_8,10_4,10_5,10_6,10_7,10_8,11_4,11_5,11_6,11_7,11_8,12_5,13_4,13_5,13_6,13_7,13_9,13_10,13_11,14_4,14_5,14_6,14_7"; scene_data["render_indoors_asset_0014_coordinates"] = "9_3,10_3,11_3"; scene_data["render_person_0001_coordinates"] = "13_3"; scene_data["render_warp_0001_coordinates"] = "13_8"; scene_data["render_person_0006_coordinates"] = "14_3"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0030() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 12; scene_data["name"] = "Northwest house in Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=5, txt="So the rumors are true. Enjoy your stay in Barlon, young man.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=8, after_player_y=6, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=13, y=8, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|6_4|6_5|6_6|6_7|6_8|7_3|7_4|7_5|7_6|7_7|7_8|8_4|9_3|9_4|9_5|9_6|9_7|9_8|10_3|10_4|10_5|10_6|10_7|10_8|11_5|11_6|11_7|11_8|12_7|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|14_3|14_4|14_5|14_6|14_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_indoors_asset_0014,render_person_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,5_2,5_9,6_2,6_9,7_2,7_9,8_2,8_3,8_5,8_6,8_7,8_8,8_9,9_2,9_9,10_2,10_9,11_2,11_9,12_2,12_3,12_4,12_5,12_6,12_8,12_9,12_10,12_11,13_2,14_2,14_8,14_9,14_10,14_11,15_2,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_11"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,6_4,6_5,6_6,6_7,6_8,7_3,7_4,7_5,7_6,7_7,7_8,8_4,9_3,9_4,9_5,9_6,9_7,9_8,10_3,10_4,10_5,10_6,10_7,10_8,11_5,11_6,11_7,11_8,12_7,13_3,13_4,13_5,13_6,13_7,13_9,13_10,13_11,14_3,14_4,14_5,14_6,14_7"; scene_data["render_indoors_asset_0008_coordinates"] = "6_3"; scene_data["render_indoors_asset_0014_coordinates"] = "11_3"; scene_data["render_person_0001_coordinates"] = "11_4"; scene_data["render_warp_0001_coordinates"] = "13_8"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0031() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 11; scene_data["name"] = ""; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=6, after_player_x=19, after_player_y=8, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=7, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_4|6_5|6_6|7_5|7_6|7_7|7_8|7_9|7_10|8_4|8_5|8_6"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_indoors_asset_0014,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "5_3,5_4,5_5,5_6,5_7,6_3,6_7,7_3,8_3,8_7,9_3,9_4,9_5,9_6,9_7"; scene_data["render_common_0001_coordinates"] = "6_4,6_5,6_6,7_5,7_6,7_8,7_9,7_10,8_4,8_5,8_6"; scene_data["render_indoors_asset_0014_coordinates"] = "7_4"; scene_data["render_warp_0001_coordinates"] = "7_7"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0032() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 14; scene_data["name"] = "Museum"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {2,2}; scene_data["monster_defense_inflation"] = {3,4}; scene_data["monster_hp_inflation"] = {11,13}; scene_data["monster_exp_inflation"] = {10,12}; scene_data["monster_gold_inflation"] = {10,12}; scene_data["on_entrance"] = function() if GET_STATE("spvlone", 32) == 1 then SCENE_DATA.dialogs[3].txt = "Good luck, and thank you again"; end;if GET_STATE("om", 36) == 1 then SCENE_DATA.dialogs[3].txt = "Thank you for returning our meteorite. Here is a sliver to keep, and my men will clear a path for you in the forest to continue your journey north. Again, thank you!"; end;if GET_STATE("om", 36) == 1 then SCENE_DATA.dialogs[3].callback = function() PUT_STATE("os", 32, 1, "Second time"); SET_MODE("scene"); platform.window:invalidate(); end; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=5, txt="Hello young man. Ren, right? We've heard a lot about you and we are all grateful for your help. {{new_line}} {{new_line}} Ren: {{new_line}} Thank you!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=10, y=6, txt="The museum was infiltrated. The curator can tell you more.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=6, y=7, txt="Curator: {{new_line}} Welcome seeker. Have you come to visit the museum? {{new_line}} {{new_line}} Ren: {{new_line}} Yes. {{new_line}} {{new_line}} Curator: {{new_line}} Unfortunately our main attraction has been stolen. A soldier from Fabius broke into the building three nights ago and took our meteorite. {{new_line}} {{new_line}} Ren: {{new_line}} Can you tell me more about the meteorite? {{new_line}} {{new_line}} Curator: {{new_line}} Well yes. It must have come from one of the moons. The rock itself was harder than diamond, but would disintegrate at normal outside-air temperatures. {{new_line}} {{new_line}} Ren: {{new_line}} That's interesting. Anything else about it? {{new_line}} {{new_line}} Curator: Well, I was hoping you could see for yourself. Will you travel east to where the soldier fled, and try to retrieve it? {{new_line}} {{new_line}} Ren: {{new_line}} I can certainly try. Do you know anything about the gems I'm seeking? {{new_line}} {{new_line}} Curator: {{new_line}} I hear mother nature guards them well, and that very few have been discovered over the past ages. Some seekers found one or two, but the other two or three were always elusive. {{new_line}} {{new_line}} Ren: {{new_line}} Anything else? {{new_line}} {{new_line}} Curator: {{new_line}} The meteorite theft and your arrival are certainly no coincidence. I believe you will discover something on your journey, and I thank you very much for your help. {{new_line}} {{new_line}} Ren: {{new_line}} Of course. Thank you kindly.", required_dir="left", callback=function() PUT_STATE("spvlone", 32, 1, "initial speech"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=12, after_player_x=19, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=14, y=9, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_6|5_8|6_4|6_5|6_6|6_7|6_8|6_9|7_7|8_4|8_5|8_6|8_7|8_8|8_9|9_7|10_4|10_6|10_7|10_8|10_9|11_4|11_5|11_7|11_8|12_7|12_8|13_4|13_5|13_7|13_8|14_5|14_6|14_7|14_8|14_9|14_10"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_person_0002,render_person_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,5_3,5_5,5_9,5_10,6_3,6_10,7_3,7_4,7_5,7_6,7_8,7_9,7_10,8_3,8_10,9_3,9_4,9_5,9_6,9_8,9_9,9_10,10_3,10_10,11_3,11_6,11_9,11_10,12_3,12_4,12_5,12_6,12_9,12_10,13_3,13_6,13_9,13_10,14_3,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10"; scene_data["render_common_0001_coordinates"] = "5_4,5_6,5_8,6_4,6_5,6_6,6_7,6_8,6_9,7_7,8_4,8_5,8_6,8_7,8_8,8_9,9_7,10_4,10_6,10_7,10_8,10_9,11_4,11_5,11_7,11_8,12_7,12_8,13_4,13_5,13_7,13_8,14_5,14_6,14_7,14_8,14_10"; scene_data["render_person_0002_coordinates"] = "5_7"; scene_data["render_person_0001_coordinates"] = "10_5,14_4"; scene_data["render_warp_0001_coordinates"] = "14_9"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0033() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 43; scene_data["tile_y_count"] = 15; scene_data["name"] = "First map east of barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {13,13}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {20,20}; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = {60,60}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=18, after_map_y=12, after_player_x=20, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=5, scene_number=27, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=41, after_player_x=7, after_player_y=42, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=36, y=4, scene_number=34, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_5|1_5|2_5|3_5|4_5|5_3|5_5|5_7|5_8|5_9|5_10|5_11|6_3|6_4|6_5|6_7|6_11|7_3|7_7|7_9|7_11|8_3|8_4|8_5|8_6|8_7|8_9|8_10|8_11|9_3|9_4|9_9|10_6|10_7|10_8|10_9|10_11|11_3|11_5|11_6|11_7|11_9|11_11|12_3|12_4|12_5|12_11|13_3|13_6|13_7|13_8|13_9|13_10|13_11|14_3|14_4|14_5|14_6|14_11|15_8|15_9|15_10|15_11|16_3|16_4|16_5|16_6|16_7|16_8|16_9|17_3|17_4|17_5|17_8|18_4|18_10|19_3|19_4|19_5|19_6|19_7|19_8|19_9|19_10|19_11|20_3|20_5|20_11|21_11|22_3|22_4|22_6|22_7|22_8|22_9|22_11|23_3|23_4|23_5|23_6|23_9|23_10|23_11|24_3|25_3|25_4|25_5|25_7|25_8|25_9|25_11|26_3|26_5|26_6|26_7|26_9|26_10|26_11|27_11|28_3|28_4|28_5|28_6|28_8|28_9|28_10|28_11|29_4|29_6|29_8|29_9|29_10|29_11|30_4|30_6|30_7|30_8|30_11|31_4|32_3|32_4|32_5|32_6|32_7|33_4|33_7|33_8|33_9|33_10|33_11|34_10|34_11|35_4|35_6|35_7|35_8|35_10|35_11|36_0|36_1|36_2|36_3|36_4|36_6|36_8|36_10|36_11|37_4|37_5|37_6|37_8|37_9|37_10|37_11"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_5,1_5,2_5,3_5,4_5,5_3,5_7,5_8,5_9,5_10,5_11,6_3,6_4,6_5,6_7,6_11,7_3,7_7,7_9,7_11,8_3,8_4,8_5,8_6,8_7,8_9,8_10,8_11,9_3,9_4,9_9,10_6,10_7,10_8,10_9,10_11,11_3,11_5,11_6,11_7,11_9,11_11,12_3,12_4,12_5,12_11,13_3,13_6,13_7,13_8,13_9,13_10,13_11,14_3,14_4,14_5,14_6,14_11,15_8,15_9,15_10,15_11,16_3,16_4,16_5,16_6,16_7,16_8,16_9,17_3,17_4,17_5,17_8,18_4,18_10,19_3,19_4,19_5,19_6,19_7,19_8,19_9,19_10,19_11,20_3,20_5,20_11,21_11,22_3,22_4,22_6,22_7,22_8,22_9,22_11,23_3,23_4,23_5,23_6,23_9,23_10,23_11,24_3,25_3,25_4,25_5,25_7,25_8,25_9,25_11,26_3,26_5,26_6,26_7,26_9,26_10,26_11,27_11,28_3,28_4,28_5,28_6,28_8,28_9,28_10,28_11,29_4,29_6,29_8,29_9,29_10,29_11,30_4,30_6,30_7,30_8,30_11,31_4,32_3,32_4,32_5,32_6,32_7,33_4,33_7,33_8,33_9,33_10,33_11,34_10,34_11,35_4,35_6,35_7,35_8,35_10,35_11,36_0,36_1,36_2,36_3,36_6,36_8,36_10,36_11,37_4,37_5,37_6,37_8,37_9,37_10,37_11"; scene_data["render_warp_0001_coordinates"] = "5_5,36_4"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0034() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 47; scene_data["name"] = "Second scene east of barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {13,13}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {20,20}; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = {60,60}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=35, after_map_y=3, after_player_x=37, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=6, y=42, scene_number=33, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=12, after_player_x=8, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=15, y=4, scene_number=35, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_42|1_42|2_42|3_42|4_42|5_3|5_4|5_5|5_6|5_8|5_9|5_10|5_11|5_12|5_13|5_15|5_16|5_17|5_18|5_19|5_20|5_22|5_23|5_24|5_26|5_27|5_28|5_30|5_31|5_32|5_33|5_34|5_36|5_38|5_39|5_40|5_42|6_3|6_6|6_8|6_13|6_15|6_18|6_20|6_22|6_24|6_26|6_27|6_28|6_30|6_31|6_32|6_34|6_36|6_37|6_38|6_40|6_42|7_3|7_6|7_8|7_9|7_10|7_11|7_13|7_15|7_20|7_22|7_24|7_30|7_34|7_38|7_40|7_42|7_43|8_3|8_6|8_11|8_13|8_15|8_17|8_18|8_19|8_20|8_22|8_24|8_25|8_26|8_27|8_28|8_30|8_31|8_32|8_34|8_37|8_38|8_40|8_42|8_43|9_3|9_6|9_8|9_9|9_10|9_11|9_13|9_15|9_17|9_22|9_28|9_32|9_34|9_37|9_40|9_43|10_3|10_6|10_8|10_13|10_15|10_17|10_18|10_19|10_20|10_22|10_24|10_25|10_26|10_27|10_28|10_30|10_31|10_32|10_34|10_36|10_37|10_38|10_40|10_41|10_43|11_3|11_6|11_8|11_10|11_13|11_15|11_20|11_22|11_24|11_32|11_34|11_38|11_41|11_43|12_3|12_4|12_6|12_8|12_9|12_10|12_11|12_13|12_15|12_17|12_18|12_19|12_20|12_22|12_24|12_25|12_26|12_27|12_28|12_31|12_32|12_34|12_36|12_37|12_38|12_40|12_41|12_43|13_4|13_6|13_11|13_13|13_15|13_17|13_22|13_28|13_29|13_31|13_32|13_34|13_36|13_38|13_40|13_43|14_4|14_6|14_7|14_8|14_9|14_10|14_11|14_13|14_15|14_17|14_19|14_20|14_22|14_24|14_26|14_28|14_29|14_31|14_32|14_34|14_38|14_40|14_41|14_43|15_4|15_6|15_10|15_11|15_13|15_14|15_15|15_17|15_18|15_19|15_20|15_21|15_22|15_24|15_25|15_26|15_27|15_28|15_29|15_30|15_31|15_32|15_34|15_35|15_36|15_37|15_38|15_40|15_41|15_42|15_43"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_outdoors_0009,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_42,1_42,2_42,3_42,4_42,5_3,5_4,5_5,5_6,5_8,5_9,5_10,5_11,5_12,5_13,5_15,5_16,5_17,5_18,5_19,5_20,5_22,5_23,5_24,5_26,5_27,5_28,5_30,5_31,5_32,5_33,5_34,5_36,5_38,5_39,5_40,5_42,6_3,6_6,6_8,6_13,6_15,6_18,6_20,6_22,6_24,6_26,6_27,6_28,6_30,6_31,6_32,6_34,6_36,6_37,6_38,6_40,7_3,7_6,7_8,7_9,7_10,7_11,7_13,7_15,7_20,7_22,7_24,7_30,7_34,7_38,7_40,7_42,7_43,8_3,8_6,8_11,8_13,8_15,8_17,8_18,8_19,8_20,8_22,8_24,8_25,8_26,8_27,8_28,8_30,8_31,8_32,8_34,8_37,8_38,8_40,8_42,8_43,9_3,9_6,9_8,9_9,9_10,9_11,9_13,9_15,9_17,9_22,9_28,9_32,9_34,9_37,9_40,9_43,10_3,10_6,10_8,10_13,10_15,10_17,10_18,10_19,10_20,10_22,10_24,10_25,10_26,10_27,10_28,10_30,10_31,10_32,10_34,10_36,10_37,10_38,10_40,10_41,10_43,11_3,11_6,11_8,11_10,11_13,11_15,11_20,11_22,11_24,11_32,11_34,11_38,11_41,11_43,12_3,12_4,12_6,12_8,12_9,12_10,12_11,12_13,12_15,12_17,12_18,12_19,12_20,12_22,12_24,12_25,12_26,12_27,12_28,12_31,12_32,12_34,12_36,12_37,12_38,12_40,12_41,12_43,13_4,13_6,13_11,13_13,13_15,13_17,13_22,13_28,13_29,13_31,13_32,13_34,13_36,13_38,13_40,13_43,14_4,14_6,14_7,14_8,14_9,14_10,14_11,14_13,14_15,14_17,14_19,14_20,14_22,14_24,14_26,14_28,14_29,14_31,14_32,14_34,14_38,14_40,14_41,14_43,15_6,15_10,15_11,15_13,15_14,15_15,15_17,15_18,15_19,15_20,15_21,15_22,15_24,15_25,15_26,15_27,15_28,15_29,15_30,15_31,15_32,15_34,15_35,15_36,15_37,15_38,15_40,15_41,15_42,15_43"; scene_data["render_outdoors_0009_coordinates"] = "5_25,5_35,5_37,6_5,6_10,6_14,6_16,6_17,6_25,6_29,6_33,6_35,7_5,7_7,7_12,7_14,7_16,7_17,7_18,7_21,7_25,7_26,7_29,7_35,7_36,7_37,7_39,7_41,8_4,8_7,8_10,8_16,8_21,8_29,8_39,8_41,9_7,9_12,9_21,9_23,9_27,9_29,9_30,9_31,9_33,9_41,9_42,10_4,10_7,10_9,10_14,10_23,10_29,10_33,10_39,11_4,11_5,11_7,11_9,11_12,11_14,11_19,11_21,11_23,11_25,11_28,11_29,11_31,11_36,11_37,11_39,12_12,12_23,12_39,13_3,13_16,13_18,13_19,13_20,13_21,13_23,13_24,13_25,13_30,13_33,13_39,13_41,13_42,14_5,14_14,14_25,14_27,14_33,14_35,14_36,14_39,15_8,15_9,15_23"; scene_data["render_warp_0001_coordinates"] = "6_42,15_4"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0035() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 60; scene_data["tile_y_count"] = 19; scene_data["name"] = "Third Scene East of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {13,13}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {20,20}; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = {60,60}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=48, y=7, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 35, 1, "Obtained money box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 35) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=50, y=7, txt="There is nothing to see here. You do not need to come here. Please go back now, it's very dangerous. Heed this warning, again, there is nothing to see here. {{new_line}} {{new_line}} --Jon, House of Trako, Lt. Soldier, his Majesty King of Fabius", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=51, y=6, txt="Man: {{new_line}} Well hello there, seeker. Would you like to hear a story? {{new_line}} {{new_line}} Ren: {{new_line}} Sure {{new_line}} {{new_line}} Man: {{new_line}} It was said the last seeker looked a lot like you. Hair was longer than most, face bright and cheerful. I learned about him during campfire stories with my father. He was especially generous to people, he liked making {{new_line}} sure they had good food and would entertain them with his sense of humor. Most particularly, though, he liked giving them money. He said that on the moon of Daurius, women were looked down upon, viewed more for their {{new_line}} reproductive value than their humanity. Pretty ironic, if you ask me. Women have always been more humanitarian than men, and without women and their reproductive properties, there wouldn't be humanity. {{new_line}} {{new_line}} Ren: {{new_line}} Hmm. {{new_line}} {{new_line}} Man: {{new_line}} You're a lot more like the lot of us here in Odessia. {{new_line}} {{new_line}} Ren: {{new_line}} I just like sharing money here in Odessia and paying for people's meals at inns. All people are beautiful, and I just feel like I've always been blessed with money, so I like to share it. {{new_line}} {{new_line}} Man: {{new_line}} Fair enough, young lad. Would you like to hear more about the last seeker? {{new_line}} {{new_line}} Ren: {{new_line}} Sure {{new_line}} {{new_line}} Man: {{new_line}} On one occasion, he escaped a battle of ten soldiers coming at him at once. The odds were very much against him. He had been fighting alongside an escort, and had to face the fresher ten after exhaustion from a long battle. He laid down his sword. The ten weren't sure what to do. They approached him slowly, thinking they were going to subdue him easily and were laughing at the opportunity. He kept his shield, though, as anyone trying to defend his own life would. He faced sideways, and that puzzled the ten. They came at him adjacently from his side, and when they were near enough, he flew his shield out like a frisbee. It knocked all ten down, damaged their armor, and they all collapsed. The moral of the story is this: sometimes you have to choose your battles. You can be a fate-bound seeker, but just like the rest of us, you have a fight or flight response. As a veteran, I know that the military always pushes you to fight rather than flee. The thing is, sometimes you have to go with your gut feeling. If you're the seeker, there's no sense to trade bravery for your own life. You can't flee every time, but everyone can have a sword put through them. Flesh is flesh, humans are not gods. As the seeker, you are blessed with fate working for you, but fate is only one entity. Humans and fate intertwine, fate alters future, but it takes fate a while to work itself around humans. In the end, fate is always fate, but humans are also humans. {{new_line}} {{new_line}} Ren: {{new_line}} That was an interesting story. Did you happen to see a soldier pass by here? He may have been carrying a bag. {{new_line}} {{new_line}} Man: {{new_line}} He went down the cave right here, but you didn't hear it from me. Is that clear? {{new_line}} {{new_line}} Ren: {{new_line}} Sure.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=2, after_player_x=14, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=8, y=15, scene_number=34, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=48, y=4, scene_number=1000, inn_item_keys={"5mg_g","bmg5_g"}, inn_price=20, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=0, after_map_y=0, after_player_x=0, after_player_y=0, after_screen_x=0, after_screen_y=0, after_player_dir="left", x=52, y=4, scene_number=5, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=49, y=6, scene_number=36, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_5|5_6|5_7|5_8|5_9|5_10|5_12|5_13|5_14|6_3|6_4|6_5|6_8|6_10|6_11|6_12|6_14|7_3|7_14|8_3|8_4|8_5|8_6|8_7|8_8|8_9|8_10|8_12|8_14|8_15|9_3|9_4|9_5|9_7|9_10|10_3|10_7|10_9|10_10|10_11|10_13|10_14|10_15|11_3|11_7|11_10|11_11|11_12|11_13|11_15|12_15|13_3|13_4|13_5|13_7|13_8|13_9|13_11|13_12|13_13|13_15|14_3|14_5|14_6|14_7|14_9|14_10|14_11|14_13|14_14|14_15|15_3|16_3|16_4|16_5|16_7|16_8|16_9|16_11|16_12|16_13|17_3|17_5|17_6|17_7|17_9|17_10|17_11|17_13|17_14|17_15|18_14|19_3|19_4|19_5|19_6|19_7|19_11|19_12|19_13|19_14|19_15|20_3|20_4|20_5|20_7|20_8|20_9|20_10|20_11|20_12|20_14|20_15|21_3|22_3|22_4|22_5|22_6|22_7|22_9|22_10|22_11|22_12|22_15|23_3|23_4|23_7|23_9|23_12|23_15|24_3|24_4|24_6|24_7|24_8|24_9|24_11|24_12|24_13|24_14|24_15|25_15|26_3|26_4|26_5|26_6|26_8|26_9|26_10|26_12|26_13|26_14|26_15|27_3|27_4|27_6|27_7|27_8|27_10|27_11|27_12|27_15|28_3|28_4|29_3|29_4|29_5|29_6|29_7|29_8|29_9|29_11|29_12|29_15|30_3|30_4|30_5|30_9|30_10|30_11|30_12|30_13|30_14|30_15|31_15|32_3|32_4|32_5|32_7|32_8|32_9|32_11|32_12|32_13|32_15|33_3|33_5|33_7|33_9|33_11|33_13|33_15|34_3|34_5|34_7|34_9|34_11|34_13|34_15|35_3|35_5|35_7|35_9|35_11|35_13|35_15|36_3|36_5|36_6|36_7|36_9|36_10|36_11|36_13|36_14|36_15|37_3|38_3|38_4|38_5|38_7|38_8|38_10|38_13|38_14|38_15|39_4|39_5|39_6|39_7|39_8|39_9|39_10|39_11|39_13|39_15|40_3|40_4|40_6|40_8|40_11|40_12|40_13|40_15|41_15|42_3|42_4|42_5|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_14|42_15|43_3|43_12|43_14|43_15|44_3|44_4|44_5|44_7|44_9|44_10|44_11|44_12|44_15|45_3|45_5|45_6|45_7|45_9|45_14|45_15|46_7|46_9|46_10|46_11|46_12|46_14|46_15|47_5|47_6|47_7|47_12|47_14|48_4|48_5|48_7|48_9|48_10|48_11|48_12|48_14|48_15|49_6|49_7|49_9|49_14|49_15|50_3|50_4|50_5|50_7|50_9|50_10|50_11|50_12|50_15|51_6|51_7|51_12|51_14|51_15|52_4|52_5|52_6|52_7|52_9|52_10|52_11|52_12|52_14|52_15|53_9|53_14|54_9|54_10|54_11|54_12|54_13|54_14"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_outdoors_0006,render_warp_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_common_0003,render_cave_0001,render_common_0004,render_building_0009,render_person_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_5,5_6,5_7,5_8,5_9,5_10,5_12,5_13,5_14,6_3,6_4,6_5,6_8,6_10,6_11,6_12,6_14,7_3,7_14,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_12,8_14,9_3,9_4,9_5,9_7,9_10,10_3,10_7,10_9,10_10,10_11,10_13,10_14,10_15,11_3,11_7,11_10,11_11,11_12,11_13,11_15,12_15,13_3,13_4,13_5,13_7,13_8,13_9,13_11,13_12,13_13,13_15,14_3,14_5,14_6,14_7,14_9,14_10,14_11,14_13,14_14,14_15,15_3,16_3,16_4,16_5,16_7,16_8,16_9,16_11,16_12,16_13,17_3,17_5,17_6,17_7,17_9,17_10,17_11,17_13,17_14,17_15,18_14,19_3,19_4,19_5,19_6,19_7,19_11,19_12,19_13,19_14,19_15,20_3,20_4,20_5,20_7,20_8,20_9,20_10,20_11,20_12,20_14,20_15,21_3,22_3,22_4,22_5,22_6,22_7,22_9,22_10,22_11,22_12,22_15,23_3,23_4,23_7,23_9,23_12,23_15,24_3,24_4,24_6,24_7,24_8,24_9,24_11,24_12,24_13,24_14,24_15,25_15,26_3,26_4,26_5,26_6,26_8,26_9,26_10,26_12,26_13,26_14,26_15,27_3,27_4,27_6,27_7,27_8,27_10,27_11,27_12,27_15,28_3,28_4,29_3,29_4,29_5,29_6,29_7,29_8,29_9,29_11,29_12,29_15,30_3,30_4,30_5,30_9,30_10,30_11,30_12,30_13,30_14,30_15,31_15,32_3,32_4,32_5,32_7,32_8,32_9,32_11,32_12,32_13,32_15,33_3,33_5,33_7,33_9,33_11,33_13,33_15,34_3,34_5,34_7,34_9,34_11,34_13,34_15,35_3,35_5,35_7,35_9,35_11,35_13,35_15,36_3,36_5,36_6,36_7,36_9,36_10,36_11,36_13,36_14,36_15,37_3,38_3,38_4,38_5,38_7,38_8,38_10,38_13,38_14,38_15,39_4,39_5,39_6,39_7,39_8,39_9,39_10,39_11,39_13,39_15,40_3,40_4,40_6,40_8,40_11,40_12,40_13,40_15,41_15,42_3,42_4,42_5,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_14,42_15,43_3,43_12,43_14,43_15,44_3,44_4,44_5,44_7,44_9,44_10,44_11,44_12,44_15,45_3,45_5,45_6,45_7,45_9,45_14,45_15,46_7,46_9,46_10,46_11,46_12,46_14,46_15,47_5,47_6,47_7,47_12,47_14,48_5,48_7,48_9,48_10,48_11,48_12,48_14,48_15,49_7,49_9,49_14,49_15,50_3,50_4,50_5,50_7,50_9,50_10,50_11,50_12,50_15,51_6,51_7,51_12,51_14,51_15,52_5,52_6,52_7,52_9,52_10,52_11,52_12,52_14,52_15,53_9,53_14,54_9,54_10,54_11,54_12,54_13,54_14"; scene_data["render_outdoors_0006_coordinates"] = "5_11,6_6,7_4,7_5,7_6,7_11,7_12,7_13,8_11,9_9,12_4,12_5,12_6,12_7,13_14,14_8,15_8,15_9,15_10,16_10,27_5,27_9,27_13,27_14,28_5,28_6,28_7,28_8,28_9,28_10,28_11,28_12,28_13,28_14,28_15,29_10,29_13,29_14,32_6,33_6,33_8,33_10,33_12,34_4,34_6,34_8,34_14,35_6,35_8,35_12,35_14,37_7,38_9,39_14,40_14,41_3,41_4,41_8,41_9,41_10,41_11,41_12,41_13,41_14,43_4,43_5,43_7,43_10,43_11,43_13,44_13,44_14,45_10,45_13,47_11,49_8,49_10,49_12,49_13,50_8,50_13,50_14,51_8,51_9,51_10,53_12,53_13,54_15"; scene_data["render_warp_0001_coordinates"] = "8_15"; scene_data["render_building_0001_coordinates"] = "47_3,51_3"; scene_data["render_building_0005_coordinates"] = "47_4"; scene_data["render_building_0002_coordinates"] = "48_3,52_3"; scene_data["render_building_0004_coordinates"] = "48_4,52_4"; scene_data["render_common_0003_coordinates"] = "48_6"; scene_data["render_cave_0001_coordinates"] = "49_6"; scene_data["render_common_0004_coordinates"] = "50_6"; scene_data["render_building_0009_coordinates"] = "51_4"; scene_data["render_person_0001_coordinates"] = "51_5"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0036() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "Meteorite Room w/Soldier"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("sm", 36) == 1 then SCENE_DATA["tile_at_7,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_7,4"] = true; SCENE_DATA["tile_at_8,4"] = render_person_0007; SCENE_DATA["movement_allowed_at_8,4"] = false; PUT_STATE("sm", 36, 1, "Soldier moved aside."); SCENE_DATA.dialogs[1].txt = "Thank you for keeping our secret."; SCENE_DATA.dialogs[1].x = 8; platform.window:invalidate(); end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=5, txt="Soldier: {{new_line}} You dare enter? Do you have a deathwish? {{new_line}} {{new_line}} Ren: {{new_line}} I came for the meteorite, and you've obviously taken it. {{new_line}} {{new_line}} Soldier: {{new_line}} This meteorite is the sole property of the Kingdom of Fabius. {{new_line}} {{new_line}} Ren: {{new_line}} Actually it belongs to the Barlon Museum. {{new_line}} {{new_line}} Soldier: {{new_line}} If you come closer and it will be battle. {{new_line}} {{new_line}} Ren: {{new_line}} Have you ever thought about why you're doing this? You know theft is wrong, everyone knows that. Don't you feel remorse? {{new_line}} {{new_line}} Soldier: {{new_line}} Ummmm...actually yes, I do, but I have strict orders. A soldier obeys the chain of command. {{new_line}} {{new_line}} Ren: {{new_line}} If the chain of command asked you to drive a sword through yourself, would you do it? Following orders can only go so far as they are ethical. Would you kill a woman or child? You can't just follow orders without thinking. Follow orders if they help you overcome your fear in battle, and follow your leader if you disagree with him about strategy. The chain of command likely has more experience, but why this? Did you enroll to become a thief? {{new_line}} {{new_line}} Soldier: {{new_line}} Alright, this has to be our little secret. You may take the meteorite, but don't tell anyone. {{new_line}} {{new_line}} Ren: {{new_line}} You're secret is safe with me, and I thank you for listening to reason. {{new_line}} {{new_line}} Soldier: {{new_line}} (Steps aside)", required_dir="up", callback=function() SCENE_DATA["tile_at_7,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_7,4"] = true; SCENE_DATA["tile_at_8,4"] = render_person_0007; SCENE_DATA["movement_allowed_at_8,4"] = false; PUT_STATE("sm", 36, 1, "Soldier moved aside."); SCENE_DATA.dialogs[1].txt = "Thank you for keeping our secret."; SCENE_DATA.dialogs[1].x = 8; platform.window:invalidate(); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=4, txt="You obtainend the meteorite.", required_dir="up", callback=function() PUT_STATE("om", 36, 1, "Got the meteorite"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("om", 36) == -1;end, eligibility_failure_msg=function() return "You already have the meteorite"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=47, after_map_y=4, after_player_x=49, after_player_y=7, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=7, y=6, scene_number=35, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|6_4|6_5|7_5|7_6|8_3|8_4|8_5|8_6|9_4|9_5|10_3|10_4|10_5|10_6"; scene_data["render_fns_list"] = "render_common_0002,render_common_0001,render_common_0003,render_person_0007,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,6_4,6_5,7_5,8_3,8_4,8_5,8_6,9_4,9_5,10_3,10_4,10_5,10_6"; scene_data["render_common_0003_coordinates"] = "7_3"; scene_data["render_person_0007_coordinates"] = "7_4"; scene_data["render_cave_0003_coordinates"] = "7_6"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0037() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 57; scene_data["name"] = "First scene north of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = {11,11}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {15,15}; scene_data["monster_exp_inflation"] = {10,10}; scene_data["monster_gold_inflation"] = {45,45}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=53, txt="You obtained 750g", required_dir="up", callback=function() PUT_STATE("b1", 37, 1, "Box1"); GET_MONEY(750); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 37) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=53, txt="You obtained 750g", required_dir="up", callback=function() PUT_STATE("b2", 37, 1, "Box2"); GET_MONEY(750); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 37) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=15, after_map_y=4, after_player_x=17, after_player_y=7, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=10, y=53, scene_number=27, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=15, after_player_x=6, after_player_y=17, after_screen_x=0, after_screen_y=2, after_player_dir="right", x=6, y=4, scene_number=38, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_15|5_16|5_17|5_19|5_20|5_21|5_22|5_23|5_25|5_27|5_29|5_30|5_31|5_32|5_34|5_35|5_36|5_37|5_38|5_40|5_41|5_43|5_44|5_45|5_46|5_47|5_48|5_50|5_52|5_53|6_0|6_1|6_2|6_3|6_4|6_6|6_12|6_15|6_17|6_18|6_19|6_20|6_22|6_23|6_25|6_26|6_27|6_28|6_29|6_31|6_32|6_36|6_38|6_40|6_41|6_43|6_44|6_48|6_50|6_52|6_53|7_4|7_6|7_7|7_8|7_9|7_10|7_12|7_15|7_22|7_23|7_26|7_32|7_34|7_35|7_36|7_38|7_44|7_45|7_46|7_48|7_50|7_53|8_3|8_4|8_10|8_12|8_13|8_15|8_17|8_18|8_19|8_20|8_23|8_25|8_26|8_28|8_29|8_30|8_31|8_32|8_34|8_38|8_39|8_40|8_41|8_43|8_44|8_48|8_50|8_53|9_4|9_6|9_7|9_8|9_9|9_10|9_13|9_15|9_16|9_17|9_20|9_22|9_23|9_25|9_29|9_34|9_35|9_36|9_41|9_43|9_44|9_46|9_47|9_48|9_50|9_51|9_52|9_53|10_4|10_6|10_12|10_13|10_19|10_20|10_23|10_25|10_26|10_28|10_29|10_30|10_31|10_32|10_36|10_38|10_39|10_40|10_41|10_43|10_46|10_47|10_50|10_51|10_53|11_3|11_4|11_6|11_7|11_8|11_9|11_10|11_12|11_15|11_17|11_18|11_19|11_20|11_22|11_23|11_26|11_32|11_34|11_35|11_36|11_38|11_43|11_44|11_46|11_49|11_50|11_51|11_53|12_3|12_10|12_12|12_13|12_15|12_16|12_17|12_18|12_20|12_22|12_25|12_26|12_28|12_29|12_30|12_31|12_32|12_34|12_38|12_39|12_40|12_41|12_43|12_46|12_47|12_51|12_53|13_3|13_4|13_6|13_7|13_8|13_10|13_12|13_13|13_15|13_22|13_23|13_25|13_28|13_34|13_35|13_36|13_41|13_43|13_44|13_47|13_49|13_50|13_51|13_52|13_53|14_4|14_6|14_8|14_9|14_10|14_12|14_15|14_17|14_19|14_20|14_23|14_25|14_26|14_28|14_29|14_30|14_32|14_36|14_40|14_41|14_42|14_43|14_46|14_47|14_49|14_50|14_53|15_3|15_4|15_5|15_6|15_12|15_13|15_14|15_15|15_17|15_19|15_20|15_22|15_23|15_24|15_25|15_26|15_28|15_30|15_31|15_32|15_33|15_34|15_35|15_36|15_40|15_41|15_43|15_44|15_46|15_47|15_48|15_49|15_50|15_53"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_15,5_16,5_17,5_19,5_20,5_21,5_22,5_23,5_25,5_27,5_29,5_30,5_31,5_32,5_34,5_35,5_36,5_37,5_38,5_40,5_41,5_43,5_44,5_45,5_46,5_47,5_48,5_50,5_52,5_53,6_0,6_1,6_2,6_3,6_6,6_12,6_15,6_17,6_18,6_19,6_20,6_22,6_23,6_25,6_26,6_27,6_28,6_29,6_31,6_32,6_36,6_38,6_40,6_41,6_43,6_44,6_48,6_50,6_52,6_53,7_4,7_6,7_7,7_8,7_9,7_10,7_12,7_15,7_22,7_23,7_26,7_32,7_34,7_35,7_36,7_38,7_44,7_45,7_46,7_48,7_50,7_53,8_3,8_4,8_10,8_12,8_13,8_15,8_17,8_18,8_19,8_20,8_23,8_25,8_26,8_28,8_29,8_30,8_31,8_32,8_34,8_38,8_39,8_40,8_41,8_43,8_44,8_48,8_50,8_53,9_4,9_6,9_7,9_8,9_9,9_10,9_13,9_15,9_16,9_17,9_20,9_22,9_23,9_25,9_29,9_34,9_35,9_36,9_41,9_43,9_44,9_46,9_47,9_48,9_50,9_51,9_52,9_53,10_4,10_6,10_12,10_13,10_19,10_20,10_23,10_25,10_26,10_28,10_29,10_30,10_31,10_32,10_36,10_38,10_39,10_40,10_41,10_43,10_46,10_47,10_50,10_51,11_3,11_4,11_6,11_7,11_8,11_9,11_10,11_12,11_15,11_17,11_18,11_19,11_20,11_22,11_23,11_26,11_32,11_34,11_35,11_36,11_38,11_43,11_44,11_46,11_49,11_50,11_51,11_53,12_3,12_10,12_12,12_13,12_15,12_16,12_17,12_18,12_20,12_22,12_25,12_26,12_28,12_29,12_30,12_31,12_32,12_34,12_38,12_39,12_40,12_41,12_43,12_46,12_47,12_51,12_53,13_3,13_4,13_6,13_7,13_8,13_10,13_12,13_13,13_15,13_22,13_23,13_25,13_28,13_34,13_35,13_36,13_41,13_43,13_44,13_47,13_49,13_50,13_51,13_52,13_53,14_4,14_6,14_8,14_9,14_10,14_12,14_15,14_17,14_19,14_20,14_23,14_25,14_26,14_28,14_29,14_30,14_32,14_36,14_40,14_41,14_42,14_43,14_46,14_47,14_49,14_50,14_53,15_3,15_4,15_5,15_6,15_12,15_13,15_14,15_15,15_17,15_19,15_20,15_22,15_23,15_24,15_25,15_26,15_28,15_30,15_31,15_32,15_33,15_34,15_35,15_36,15_40,15_41,15_43,15_44,15_46,15_47,15_48,15_49,15_50,15_53"; scene_data["render_warp_0001_coordinates"] = "6_4,10_53"; scene_data["render_common_0003_coordinates"] = "7_52,15_52"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0038() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 44; scene_data["tile_y_count"] = 22; scene_data["name"] = "Second Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {11,11}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {15,15}; scene_data["monster_exp_inflation"] = {10,10}; scene_data["monster_gold_inflation"] = {45,45}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=16, txt="You obtained 100g", required_dir="up", callback=function() PUT_STATE("b1", 38, 1, "Box1"); GET_MONEY(100); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 38) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=6, y=18, scene_number=37, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=37, after_player_x=14, after_player_y=39, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=7, y=4, scene_number=39, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=17, y=16, scene_number=1000, inn_item_keys={"bmg5_g","5mg_g"}, inn_price=100, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_6|5_8|5_9|5_10|5_11|5_12|5_13|5_15|6_5|6_6|6_8|6_13|6_15|6_17|6_18|7_0|7_1|7_2|7_3|7_4|7_5|7_6|7_8|7_10|7_11|7_12|7_13|7_15|7_17|8_5|8_6|8_8|8_10|8_15|8_17|8_18|9_3|9_4|9_6|9_8|9_10|9_11|9_12|9_13|9_16|9_17|9_18|10_6|10_8|10_13|10_17|10_18|11_3|11_4|11_5|11_6|11_8|11_10|11_11|11_12|11_13|11_15|11_16|11_17|11_18|12_3|12_8|12_10|12_15|12_17|12_18|13_3|13_4|13_5|13_6|13_8|13_10|13_11|13_12|13_13|13_17|14_6|14_8|14_13|14_17|15_3|15_4|15_5|15_6|15_8|15_10|15_11|15_12|15_13|15_17|15_18|16_3|16_8|16_10|16_17|17_3|17_4|17_5|17_6|17_8|17_10|17_11|17_12|17_13|17_16|17_17|17_18|18_6|18_8|18_13|18_17|19_3|19_4|19_5|19_6|19_8|19_10|19_11|19_12|19_13|19_15|19_16|19_17|19_18|20_3|20_8|20_10|20_18|21_3|21_4|21_5|21_6|21_8|21_10|21_11|21_12|21_13|21_15|21_16|21_17|21_18|22_6|22_8|22_13|22_18|23_3|23_4|23_5|23_6|23_8|23_10|23_11|23_12|23_13|23_15|23_16|23_17|23_18|24_3|24_8|24_10|24_15|25_3|25_4|25_5|25_6|25_8|25_10|25_11|25_12|25_15|25_16|25_17|25_18|26_6|26_8|26_10|26_12|26_13|26_18|27_3|27_4|27_5|27_6|27_8|27_13|27_15|27_16|27_17|27_18|28_3|28_8|28_10|28_11|28_12|28_13|28_15|29_3|29_4|29_5|29_6|29_8|29_10|29_15|29_16|29_17|29_18|30_6|30_8|30_10|30_11|30_12|30_13|30_18|31_3|31_4|31_5|31_6|31_8|31_13|31_15|31_16|31_17|31_18|32_3|32_8|32_11|32_12|32_13|32_15|33_3|33_4|33_5|33_6|33_8|33_10|33_11|33_13|33_15|33_16|33_17|33_18|34_6|34_8|34_10|34_18|35_3|35_4|35_5|35_6|35_8|35_10|35_11|35_12|35_13|35_16|35_18|36_3|36_8|36_13|36_15|36_16|36_18|37_3|37_4|37_5|37_6|37_8|37_10|37_11|37_13|37_14|37_15|37_16|37_18|38_4|38_6|38_7|38_8|38_10|38_11|38_13|38_16|38_17|38_18"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_outdoors_0006,render_warp_0001,render_common_0003,render_building_0006,render_building_0009,render_building_0005,render_building_0004"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_6,5_8,5_9,5_10,5_11,5_12,5_13,5_15,6_5,6_6,6_8,6_13,6_15,6_17,7_0,7_1,7_2,7_3,7_5,7_6,7_8,7_10,7_11,7_12,7_13,7_15,7_17,8_5,8_6,8_8,8_10,8_15,8_17,8_18,9_3,9_4,9_6,9_8,9_10,9_11,9_12,9_13,9_16,9_17,9_18,10_6,10_8,10_13,10_17,10_18,11_3,11_4,11_5,11_6,11_8,11_10,11_11,11_12,11_13,11_15,11_16,11_17,11_18,12_3,12_8,12_10,12_15,12_17,12_18,13_3,13_4,13_5,13_6,13_8,13_10,13_11,13_12,13_13,13_17,14_6,14_8,14_13,14_17,15_3,15_4,15_5,15_6,15_8,15_10,15_11,15_12,15_13,15_17,15_18,16_3,16_8,16_10,16_17,17_3,17_4,17_5,17_6,17_8,17_10,17_11,17_12,17_13,17_17,17_18,18_6,18_8,18_13,18_17,19_3,19_4,19_5,19_6,19_8,19_10,19_11,19_12,19_13,19_15,19_16,19_17,19_18,20_3,20_8,20_10,20_18,21_3,21_4,21_5,21_6,21_8,21_10,21_11,21_12,21_13,21_15,21_16,21_17,21_18,22_6,22_8,22_13,22_18,23_3,23_4,23_5,23_6,23_8,23_10,23_11,23_12,23_13,23_15,23_16,23_17,23_18,24_3,24_8,24_10,24_15,25_3,25_4,25_5,25_6,25_8,25_10,25_11,25_12,25_15,25_16,25_17,25_18,26_6,26_8,26_10,26_12,26_13,26_18,27_3,27_4,27_5,27_6,27_8,27_13,27_15,27_16,27_17,27_18,28_3,28_8,28_10,28_11,28_12,28_13,28_15,29_3,29_4,29_5,29_6,29_8,29_10,29_15,29_16,29_17,29_18,30_6,30_8,30_10,30_11,30_12,30_13,30_18,31_3,31_4,31_5,31_6,31_8,31_13,31_15,31_16,31_17,31_18,32_3,32_8,32_11,32_12,32_13,32_15,33_3,33_4,33_5,33_6,33_8,33_10,33_11,33_13,33_15,33_16,33_17,33_18,34_6,34_8,34_10,34_18,35_3,35_4,35_5,35_6,35_8,35_10,35_11,35_12,35_13,35_16,35_18,36_3,36_8,36_13,36_15,36_16,36_18,37_3,37_4,37_5,37_6,37_8,37_10,37_11,37_13,37_14,37_15,37_16,37_18,38_4,38_6,38_7,38_8,38_10,38_11,38_13,38_16,38_17,38_18"; scene_data["render_outdoors_0006_coordinates"] = "5_5,5_7,6_7,7_7,7_9,8_9,8_11,8_12,8_13,9_5,10_3,10_5,10_7,10_15,10_16,11_7,12_9,12_11,12_12,12_13,12_14,12_16,13_7,14_3,14_4,14_5,14_9,14_10,15_9,16_5,16_13,18_3,18_4,18_5,18_7,18_9,18_10,18_11,18_12,18_14,18_15,18_16,19_7,19_14,20_4,20_5,20_6,20_12,21_7,22_3,22_11,22_12,22_14,23_14,24_5,24_6,24_7,24_9,24_12,24_14,24_16,26_4,26_7,26_17,27_9,27_12,27_14,28_4,28_6,28_9,28_16,29_12,29_13,29_14,30_4,30_7,31_7,31_12,32_4,32_5,32_6,32_7,32_9,32_14,32_16,32_17,32_18,33_9,33_12,33_14,34_5,34_11,34_12,34_15,35_9,35_15,35_17,36_5,36_6,36_7,36_17,37_7,37_12,38_12,38_14"; scene_data["render_warp_0001_coordinates"] = "6_18,7_4"; scene_data["render_common_0003_coordinates"] = "9_15"; scene_data["render_building_0006_coordinates"] = "13_14,14_14,15_14,16_14,17_14"; scene_data["render_building_0009_coordinates"] = "13_15,14_15,14_16,15_15,15_16,16_15,16_16,17_15"; scene_data["render_building_0005_coordinates"] = "13_16"; scene_data["render_building_0004_coordinates"] = "17_16"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0039() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 44; scene_data["name"] = "Third Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {11,11}; scene_data["monster_defense_inflation"] = {5,5}; scene_data["monster_hp_inflation"] = {15,15}; scene_data["monster_exp_inflation"] = {10,10}; scene_data["monster_gold_inflation"] = {45,45}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=13, y=38, txt="North: Fabius Kingdom {{new_line}} South: Barlon", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=14, y=40, scene_number=38, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=61, after_player_x=14, after_player_y=63, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=15, y=4, scene_number=40, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_13|5_14|5_15|5_17|5_18|5_19|5_20|5_21|5_22|5_24|5_25|5_26|5_27|5_28|5_30|5_31|5_32|5_33|5_35|5_36|5_37|5_38|5_39|5_40|6_3|6_11|6_13|6_15|6_17|6_22|6_26|6_28|6_30|6_33|6_35|6_37|6_38|6_39|6_40|7_3|7_5|7_6|7_7|7_9|7_10|7_11|7_13|7_15|7_17|7_19|7_20|7_21|7_22|7_24|7_25|7_26|7_28|7_30|7_32|7_33|7_35|7_40|8_3|8_4|8_5|8_7|8_9|8_13|8_15|8_17|8_19|8_24|8_28|8_30|8_32|8_35|8_37|8_38|8_39|8_40|9_7|9_9|9_10|9_11|9_13|9_15|9_17|9_19|9_20|9_21|9_22|9_24|9_25|9_26|9_28|9_30|9_32|9_33|9_35|9_37|10_3|10_4|10_5|10_6|10_7|10_11|10_13|10_15|10_17|10_22|10_26|10_28|10_30|10_33|10_35|10_37|10_38|10_39|10_40|11_3|11_9|11_10|11_11|11_13|11_15|11_17|11_19|11_20|11_21|11_22|11_24|11_25|11_26|11_28|11_30|11_32|11_33|11_35|11_40|12_3|12_4|12_5|12_6|12_7|12_9|12_13|12_15|12_17|12_19|12_24|12_28|12_30|12_32|12_35|12_37|12_38|12_39|12_40|13_7|13_9|13_10|13_11|13_13|13_15|13_17|13_19|13_20|13_21|13_22|13_24|13_25|13_26|13_28|13_30|13_32|13_33|13_35|13_38|14_3|14_5|14_7|14_11|14_13|14_15|14_17|14_22|14_26|14_28|14_30|14_33|14_35|14_37|14_38|14_39|14_40|14_41|14_42|14_43|15_0|15_1|15_2|15_3|15_4|15_5|15_6|15_7|15_9|15_10|15_11|15_13|15_15|15_17|15_19|15_20|15_21|15_22|15_23|15_24|15_25|15_26|15_28|15_30|15_32|15_33|15_35|15_37|15_38|16_3|16_5|16_6|16_7|16_9|16_10|16_11|16_12|16_13|16_15|16_16|16_17|16_19|16_20|16_21|16_22|16_26|16_28|16_29|16_30|16_32|16_33|16_34|16_35|16_37|16_38|16_39|16_40"; scene_data["render_fns_list"] = "render_outdoors_0009,render_outdoors_0006,render_common_0001,render_common_0004,render_warp_0001"; scene_data["render_outdoors_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_10,4_13,4_14,4_16,4_18,4_20,4_23,4_24,4_25,4_26,4_27,4_29,4_31,4_33,5_0,5_1,5_2,5_12,5_16,5_23,5_29,5_34,6_0,6_1,6_2,6_4,6_5,6_6,6_7,6_8,6_12,6_14,6_16,6_23,6_24,6_25,6_27,6_29,7_0,7_1,7_2,7_4,7_8,7_14,7_23,7_27,7_29,7_31,7_34,7_36,8_0,8_1,8_2,8_6,8_8,8_10,8_11,8_16,8_23,8_25,8_26,8_27,9_0,9_1,9_2,9_3,9_4,9_5,9_6,9_8,9_12,9_14,9_16,9_23,9_27,9_29,9_31,9_34,9_36,9_38,9_39,9_40,10_0,10_1,10_2,10_8,10_12,10_23,10_24,10_25,10_27,10_31,10_32,10_34,11_0,11_1,11_2,11_4,11_5,11_6,11_7,11_8,11_14,11_16,11_23,11_34,11_36,11_39,11_41,12_0,12_1,12_2,12_8,12_11,12_14,12_23,12_25,12_26,12_27,12_29,12_36,13_0,13_1,13_2,13_3,13_4,13_5,13_6,13_8,13_12,13_23,13_39,13_40,13_41,13_42,13_43,14_0,14_1,14_2,14_4,14_6,14_8,14_9,14_10,14_12,14_14,14_23,14_24,14_25,14_29,14_31,14_32,14_34,15_8,15_16,15_27,15_29,15_36,15_39,15_40,15_41,15_42,15_43,16_0,16_1,16_2,16_4,16_8,16_23,16_24,16_25,16_27,16_31,16_36,17_0,17_1,17_2,17_3,17_4,17_5,17_6,17_7,17_8,17_10,17_14,17_15,17_16,17_23,17_24,17_25,17_26,17_27,17_28,17_29,17_31,17_32,17_33,17_36,17_38,18_0,18_1,18_2,18_3,18_4,18_5,18_6,18_7,19_0,19_1,19_2,19_3,19_4,19_5,19_6,19_7,20_0,20_1,20_2,20_3,20_4,20_5,20_6,20_7,21_0,21_1,21_2,21_3,21_4,21_5,21_6,21_7"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_13,5_14,5_15,5_17,5_18,5_19,5_20,5_21,5_22,5_24,5_25,5_26,5_27,5_28,5_30,5_31,5_32,5_33,5_35,5_36,5_37,5_38,5_39,5_40,6_3,6_11,6_13,6_15,6_17,6_22,6_26,6_28,6_30,6_33,6_35,6_37,6_38,6_39,6_40,7_3,7_5,7_6,7_7,7_9,7_10,7_11,7_13,7_15,7_17,7_19,7_20,7_21,7_22,7_24,7_25,7_26,7_28,7_30,7_32,7_33,7_35,7_40,8_3,8_4,8_5,8_7,8_9,8_13,8_15,8_17,8_19,8_24,8_28,8_30,8_32,8_35,8_37,8_38,8_39,8_40,9_7,9_9,9_10,9_11,9_13,9_15,9_17,9_19,9_20,9_21,9_22,9_24,9_25,9_26,9_28,9_30,9_32,9_33,9_35,9_37,10_3,10_4,10_5,10_6,10_7,10_11,10_13,10_15,10_17,10_22,10_26,10_28,10_30,10_33,10_35,10_37,10_38,10_39,10_40,11_3,11_9,11_10,11_11,11_13,11_15,11_17,11_19,11_20,11_21,11_22,11_24,11_25,11_26,11_28,11_30,11_32,11_33,11_35,11_40,12_3,12_4,12_5,12_6,12_7,12_9,12_13,12_15,12_17,12_19,12_24,12_28,12_30,12_32,12_35,12_37,12_38,12_39,12_40,13_7,13_9,13_10,13_11,13_13,13_15,13_17,13_19,13_20,13_21,13_22,13_24,13_25,13_26,13_28,13_30,13_32,13_33,13_35,13_38,14_3,14_5,14_7,14_11,14_13,14_15,14_17,14_22,14_26,14_28,14_30,14_33,14_35,14_37,14_38,14_39,14_41,14_42,14_43,15_0,15_1,15_2,15_3,15_5,15_6,15_7,15_9,15_10,15_11,15_13,15_15,15_17,15_19,15_20,15_21,15_22,15_23,15_24,15_25,15_26,15_28,15_30,15_32,15_33,15_35,15_37,15_38,16_3,16_5,16_6,16_7,16_9,16_10,16_11,16_12,16_13,16_15,16_16,16_17,16_19,16_20,16_21,16_22,16_26,16_28,16_29,16_30,16_32,16_33,16_34,16_35,16_37,16_38,16_39,16_40"; scene_data["render_common_0004_coordinates"] = "13_37"; scene_data["render_warp_0001_coordinates"] = "14_40,15_4"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0040() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 68; scene_data["name"] = "Fourth Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {8,8}; scene_data["monster_defense_inflation"] = {6,6}; scene_data["monster_hp_inflation"] = {17,17}; scene_data["monster_exp_inflation"] = {12,12}; scene_data["monster_gold_inflation"] = {40,40}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=2, after_player_x=15, after_player_y=5, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=14, y=64, scene_number=39, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=39, after_map_y=27, after_player_x=42, after_player_y=29, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=15, y=4, scene_number=41, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=13, y=62, scene_number=1000, inn_item_keys={"bmg5_g","5mg_g"}, inn_price=100, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_11|5_12|5_13|5_17|5_18|5_19|5_20|5_23|5_24|5_25|5_26|5_28|5_30|5_33|5_34|5_35|5_36|5_38|5_39|5_40|5_41|5_42|5_44|5_45|5_46|5_47|5_50|5_51|5_52|5_53|5_54|5_57|5_58|5_59|5_61|5_62|5_63|5_64|6_3|6_7|6_8|6_10|6_11|6_13|6_17|6_20|6_23|6_24|6_26|6_27|6_28|6_29|6_30|6_34|6_36|6_38|6_41|6_42|6_44|6_47|6_50|6_54|6_55|6_57|6_59|6_60|6_61|6_64|7_3|7_4|7_5|7_8|7_11|7_13|7_14|7_15|7_17|7_18|7_20|7_23|7_30|7_33|7_34|7_36|7_38|7_39|7_42|7_44|7_45|7_47|7_50|7_51|7_52|7_54|7_57|7_63|7_64|8_5|8_7|8_8|8_10|8_11|8_15|8_18|8_20|8_21|8_23|8_24|8_25|8_26|8_27|8_28|8_30|8_31|8_33|8_36|8_39|8_41|8_42|8_45|8_47|8_52|8_54|8_55|8_57|8_58|8_59|8_60|8_63|9_3|9_4|9_5|9_7|9_10|9_13|9_14|9_15|9_17|9_18|9_21|9_23|9_28|9_31|9_33|9_34|9_36|9_38|9_39|9_41|9_44|9_45|9_47|9_48|9_50|9_51|9_52|9_55|9_60|9_63|9_64|10_3|10_7|10_8|10_10|10_11|10_13|10_17|10_20|10_21|10_25|10_27|10_28|10_30|10_31|10_34|10_36|10_37|10_38|10_39|10_41|10_42|10_44|10_48|10_50|10_54|10_55|10_57|10_58|10_60|10_64|11_3|11_8|11_11|11_13|11_14|11_15|11_17|11_18|11_20|11_23|11_24|11_25|11_27|11_30|11_34|11_42|11_44|11_45|11_47|11_48|11_50|11_51|11_52|11_54|11_57|11_59|11_60|11_63|11_64|12_3|12_4|12_5|12_7|12_8|12_10|12_11|12_15|12_18|12_20|12_21|12_23|12_25|12_27|12_28|12_30|12_31|12_33|12_34|12_36|12_38|12_39|12_40|12_42|12_45|12_47|12_52|12_54|12_55|12_57|12_59|12_60|12_63|12_64|13_5|13_7|13_10|13_13|13_14|13_15|13_17|13_18|13_21|13_22|13_23|13_25|13_28|13_31|13_33|13_36|13_37|13_38|13_40|13_41|13_42|13_44|13_45|13_47|13_48|13_50|13_51|13_52|13_54|13_55|13_56|13_57|13_59|13_62|13_63|14_4|14_5|14_7|14_8|14_10|14_13|14_17|14_25|14_27|14_28|14_30|14_31|14_33|14_36|14_44|14_48|14_50|14_57|14_59|14_60|14_61|14_63|14_64|15_0|15_1|15_2|15_3|15_4|15_7|15_8|15_9|15_10|15_13|15_14|15_15|15_16|15_17|15_23|15_24|15_25|15_26|15_27|15_30|15_31|15_32|15_33|15_34|15_36|15_37|15_38|15_39|15_40|15_41|15_42|15_43|15_44|15_47|15_48|15_49|15_50|15_57|15_58|15_59|15_61|15_63"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_11,5_12,5_13,5_17,5_18,5_19,5_20,5_23,5_24,5_25,5_26,5_28,5_30,5_33,5_34,5_35,5_36,5_38,5_39,5_40,5_41,5_42,5_44,5_45,5_46,5_47,5_50,5_51,5_52,5_53,5_54,5_57,5_58,5_59,5_61,5_62,5_63,5_64,6_3,6_7,6_8,6_10,6_11,6_13,6_17,6_20,6_23,6_24,6_26,6_27,6_28,6_29,6_30,6_34,6_36,6_38,6_41,6_42,6_44,6_47,6_50,6_54,6_55,6_57,6_59,6_60,6_61,6_64,7_3,7_4,7_5,7_8,7_11,7_13,7_14,7_15,7_17,7_18,7_20,7_23,7_30,7_33,7_34,7_36,7_38,7_39,7_42,7_44,7_45,7_47,7_50,7_51,7_52,7_54,7_57,7_63,7_64,8_5,8_7,8_8,8_10,8_11,8_15,8_18,8_20,8_21,8_23,8_24,8_25,8_26,8_27,8_28,8_30,8_31,8_33,8_36,8_39,8_41,8_42,8_45,8_47,8_52,8_54,8_55,8_57,8_58,8_59,8_60,8_63,9_3,9_4,9_5,9_7,9_10,9_13,9_14,9_15,9_17,9_18,9_21,9_23,9_28,9_31,9_33,9_34,9_36,9_38,9_39,9_41,9_44,9_45,9_47,9_48,9_50,9_51,9_52,9_55,9_60,9_63,9_64,10_3,10_7,10_8,10_10,10_11,10_13,10_17,10_20,10_21,10_25,10_27,10_28,10_30,10_31,10_34,10_36,10_37,10_38,10_39,10_41,10_42,10_44,10_48,10_50,10_54,10_55,10_57,10_58,10_60,10_64,11_3,11_8,11_11,11_13,11_14,11_15,11_17,11_18,11_20,11_23,11_24,11_25,11_27,11_30,11_34,11_42,11_44,11_45,11_47,11_48,11_50,11_51,11_52,11_54,11_57,11_59,11_60,11_63,11_64,12_3,12_4,12_5,12_7,12_8,12_10,12_11,12_15,12_18,12_20,12_21,12_23,12_25,12_27,12_28,12_30,12_31,12_33,12_34,12_36,12_38,12_39,12_40,12_42,12_45,12_47,12_52,12_54,12_55,12_57,12_59,12_60,12_63,12_64,13_5,13_7,13_10,13_13,13_14,13_15,13_17,13_18,13_21,13_22,13_23,13_25,13_28,13_31,13_33,13_36,13_37,13_38,13_40,13_41,13_42,13_44,13_45,13_47,13_48,13_50,13_51,13_52,13_54,13_55,13_56,13_57,13_59,13_63,14_4,14_5,14_7,14_8,14_10,14_13,14_17,14_25,14_27,14_28,14_30,14_31,14_33,14_36,14_44,14_48,14_50,14_57,14_59,14_60,14_61,14_63,15_0,15_1,15_2,15_3,15_7,15_8,15_9,15_10,15_13,15_14,15_15,15_16,15_17,15_23,15_24,15_25,15_26,15_27,15_30,15_31,15_32,15_33,15_34,15_36,15_37,15_38,15_39,15_40,15_41,15_42,15_43,15_44,15_47,15_48,15_49,15_50,15_57,15_58,15_59,15_61,15_63"; scene_data["render_building_0001_coordinates"] = "12_61"; scene_data["render_building_0005_coordinates"] = "12_62"; scene_data["render_building_0002_coordinates"] = "13_61"; scene_data["render_building_0004_coordinates"] = "13_62"; scene_data["render_warp_0001_coordinates"] = "14_64,15_4"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0041() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 49; scene_data["tile_y_count"] = 34; scene_data["name"] = "Fifth Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {8,8}; scene_data["monster_defense_inflation"] = {6,6}; scene_data["monster_hp_inflation"] = {17,17}; scene_data["monster_exp_inflation"] = {12,12}; scene_data["monster_gold_inflation"] = {40,40}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=41, y=28, txt="North: Fabius Kingdom {{new_line}} South: Barlon", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=40, y=28, txt="You obtained 1100g", required_dir="up", callback=function() PUT_STATE("b1", 41, 1, "Box1"); GET_MONEY(1100); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 41) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=3, after_player_x=14, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=42, y=30, scene_number=40, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=28, after_player_x=8, after_player_y=29, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=5, y=3, scene_number=42, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_0|5_1|5_2|5_3|5_4|5_5|5_7|5_8|5_9|5_10|5_11|5_12|5_18|5_19|5_20|5_21|5_22|5_24|5_25|5_26|5_27|6_5|6_7|6_11|6_18|6_20|6_22|6_25|6_27|7_3|7_4|7_5|7_7|7_8|7_9|7_11|7_12|7_18|7_22|7_24|7_25|7_27|8_3|8_9|8_12|8_14|8_15|8_16|8_17|8_18|8_20|8_21|8_22|8_24|8_27|8_28|8_29|8_30|9_3|9_4|9_5|9_7|9_8|9_9|9_11|9_12|9_14|9_15|9_20|9_24|9_25|9_30|10_5|10_7|10_11|10_14|10_15|10_16|10_17|10_20|10_21|10_22|10_25|10_27|10_28|10_29|10_30|11_3|11_4|11_5|11_7|11_8|11_9|11_11|11_14|11_17|11_22|11_24|11_25|11_27|12_3|12_9|12_11|12_14|12_17|12_20|12_21|12_22|12_24|12_27|12_28|12_29|12_30|13_3|13_4|13_5|13_7|13_8|13_9|13_11|13_17|13_20|13_24|13_30|14_5|14_7|14_11|14_12|14_14|14_15|14_16|14_17|14_20|14_21|14_22|14_24|14_25|14_30|15_3|15_4|15_5|15_7|15_8|15_9|15_12|15_14|15_22|15_25|15_30|16_3|16_9|16_11|16_12|16_14|16_15|16_16|16_17|16_18|16_20|16_21|16_22|16_24|16_25|16_27|16_28|16_29|16_30|17_3|17_4|17_5|17_7|17_8|17_9|17_11|17_18|17_20|17_24|17_27|18_5|18_7|18_11|18_12|18_14|18_15|18_16|18_18|18_20|18_21|18_22|18_24|18_25|18_27|18_28|18_29|18_30|19_3|19_5|19_7|19_8|19_9|19_12|19_14|19_16|19_17|19_18|19_22|19_25|19_30|20_3|20_4|20_5|20_9|20_11|20_12|20_14|20_22|20_25|20_27|20_29|20_30|21_3|21_7|21_8|21_9|21_11|21_14|21_16|21_17|21_18|21_22|21_24|21_25|21_27|21_29|21_30|22_3|22_4|22_5|22_7|22_11|22_12|22_14|22_15|22_16|22_18|22_20|22_21|22_22|22_24|22_25|22_27|22_28|22_29|22_30|23_5|23_7|23_8|23_9|23_12|23_18|23_20|23_24|23_27|24_3|24_4|24_5|24_9|24_11|24_12|24_14|24_15|24_16|24_17|24_18|24_20|24_21|24_22|24_24|24_25|24_27|24_28|24_29|24_30|25_3|25_7|25_8|25_9|25_11|25_14|25_15|25_16|25_17|25_18|25_22|25_25|25_30|26_3|26_4|26_5|26_7|26_11|26_12|26_14|26_20|26_21|26_22|26_24|26_25|26_27|26_28|26_29|26_30|27_5|27_7|27_8|27_9|27_12|27_14|27_15|27_16|27_17|27_18|27_20|27_24|27_27|28_3|28_4|28_5|28_9|28_11|28_12|28_18|28_20|28_21|28_22|28_24|28_27|28_28|28_29|28_30|29_3|29_9|29_11|29_14|29_15|29_16|29_18|29_22|29_24|29_25|29_30|30_3|30_4|30_5|30_7|30_8|30_9|30_11|30_12|30_14|30_16|30_17|30_18|30_20|30_21|30_22|30_25|30_27|30_28|30_30|31_5|31_7|31_12|31_14|31_20|31_24|31_25|31_27|31_28|31_29|31_30|32_5|32_7|32_8|32_9|32_11|32_12|32_14|32_15|32_16|32_18|32_20|32_21|32_22|32_24|32_27|33_3|33_4|33_5|33_9|33_11|33_14|33_16|33_17|33_18|33_22|33_24|33_25|33_27|33_28|33_29|33_30|34_3|34_7|34_8|34_9|34_11|34_12|34_18|34_20|34_21|34_22|34_25|34_30|35_3|35_4|35_5|35_7|35_12|35_14|35_15|35_16|35_17|35_18|35_20|35_24|35_25|35_28|35_29|35_30|36_5|36_7|36_8|36_9|36_11|36_12|36_14|36_20|36_21|36_22|36_24|36_28|37_3|37_4|37_5|37_9|37_11|37_14|37_16|37_17|37_18|37_22|37_24|37_25|37_27|37_28|37_30|38_3|38_7|38_8|38_9|38_11|38_12|38_14|38_16|38_18|38_20|38_21|38_22|38_25|38_27|38_28|38_29|38_30|39_3|39_4|39_5|39_7|39_12|39_14|39_16|39_18|39_22|39_24|39_25|39_30|40_5|40_7|40_8|40_9|40_11|40_12|40_14|40_15|40_16|40_18|40_20|40_21|40_22|40_24|40_28|40_29|40_30|41_3|41_4|41_5|41_9|41_11|41_18|41_20|41_24|41_28|41_29|42_3|42_7|42_8|42_9|42_11|42_12|42_14|42_16|42_17|42_18|42_20|42_21|42_22|42_23|42_24|42_27|42_28|42_29|42_30|42_31|42_32|42_33|43_3|43_4|43_5|43_6|43_7|43_9|43_12|43_13|43_14|43_15|43_16|43_18"; scene_data["render_fns_list"] = "render_outdoors_0006,render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0003,render_common_0004"; scene_data["render_outdoors_0006_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,1_0,1_1,1_2,1_3,1_4,1_5,1_6,2_0,2_1,2_2,2_3,2_4,2_5,2_6,3_0,3_1,3_2,3_3,3_4,3_5,3_6,4_0,4_1,4_2,4_3,4_4,4_5,4_6,5_6,6_0,6_1,6_2,6_3,6_4,6_6,6_8,6_10,6_12,7_0,7_1,7_2,7_6,8_0,8_1,8_2,8_4,8_5,8_6,9_0,9_1,9_2,9_6,9_10,9_16,9_17,9_18,10_0,10_1,10_2,10_3,10_4,10_6,10_8,10_9,10_12,10_13,10_18,11_0,11_1,11_2,11_6,11_12,11_16,12_0,12_1,12_2,12_4,12_5,12_6,12_8,12_16,13_0,13_1,13_2,13_6,13_10,13_13,13_14,13_15,13_16,14_0,14_1,14_2,14_3,14_4,14_6,14_10,14_18,15_0,15_1,15_2,15_6,15_10,15_11,15_16,15_17,16_0,16_1,16_2,16_4,16_5,16_6,16_7,16_8,16_13,17_0,17_1,17_2,17_6,17_13,17_17,18_0,18_1,18_2,18_3,18_4,18_6,18_9,18_13,18_17,19_0,19_1,19_2,19_4,19_6,19_10,19_11,19_13,19_15,20_0,20_1,20_2,20_6,20_7,20_8,20_13,20_15,20_17,21_0,21_1,21_2,21_4,21_5,21_6,21_10,21_15,22_0,22_1,22_2,22_6,22_8,22_17,23_0,23_1,23_2,23_3,23_4,23_6,23_11,23_15,23_17,24_0,24_1,24_2,24_6,24_8,24_10,24_13,25_0,25_1,25_2,25_4,25_5,25_6,25_10,25_12,25_13,26_0,26_1,26_2,26_6,26_10,26_15,27_0,27_1,27_2,27_3,27_4,27_6,28_0,28_1,28_2,28_6,28_7,28_10,29_0,29_1,29_2,29_4,29_5,29_6,29_7,29_8,29_13,29_17,30_0,30_1,30_2,30_6,30_13,30_15,31_0,31_1,31_2,31_3,31_4,31_6,31_9,31_10,31_11,31_13,31_15,31_16,31_17,31_18,32_0,32_1,32_2,32_3,32_4,32_6,32_17,33_0,33_1,33_2,33_6,33_8,33_13,34_0,34_1,34_2,34_4,34_5,34_6,34_10,34_16,34_17,35_0,35_1,35_2,35_6,35_8,35_9,35_10,35_11,36_0,36_1,36_2,36_3,36_4,36_6,36_10,36_16,36_17,36_18,37_0,37_1,37_2,37_6,37_7,37_8,37_13,37_15,38_0,38_1,38_2,38_4,38_5,38_6,38_10,39_0,39_1,39_2,39_6,39_8,39_9,39_10,39_13,39_17,40_0,40_1,40_2,40_3,40_4,40_6,40_10,40_13,41_0,41_1,41_2,41_6,41_7,41_8,41_12,41_13,41_15,41_16,41_17,42_0,42_1,42_2,42_4,42_5,42_6,43_0,43_1,43_2,43_8,43_17,44_0,44_1,44_2,44_3,44_4,44_5,44_6,44_7,44_8,44_9,45_0,45_1,45_2,45_3,45_4,45_5,45_6,46_0,46_1,46_2,46_3,46_4,46_5,46_6,47_0,47_1,47_2,47_3,47_4,47_5,47_6,48_0,48_1,48_2,48_3,48_4,48_5,48_6"; scene_data["render_common_0001_coordinates"] = "5_0,5_1,5_2,5_4,5_5,5_7,5_8,5_9,5_10,5_11,5_12,5_18,5_19,5_20,5_21,5_22,5_24,5_25,5_26,5_27,6_5,6_7,6_11,6_18,6_20,6_22,6_25,6_27,7_3,7_4,7_5,7_7,7_8,7_9,7_11,7_12,7_18,7_22,7_24,7_25,7_27,8_3,8_9,8_12,8_14,8_15,8_16,8_17,8_18,8_20,8_21,8_22,8_24,8_27,8_28,8_29,8_30,9_3,9_4,9_5,9_7,9_8,9_9,9_11,9_12,9_14,9_15,9_20,9_24,9_25,9_30,10_5,10_7,10_11,10_14,10_15,10_16,10_17,10_20,10_21,10_22,10_25,10_27,10_28,10_29,10_30,11_3,11_4,11_5,11_7,11_8,11_9,11_11,11_14,11_17,11_22,11_24,11_25,11_27,12_3,12_9,12_11,12_14,12_17,12_20,12_21,12_22,12_24,12_27,12_28,12_29,12_30,13_3,13_4,13_5,13_7,13_8,13_9,13_11,13_17,13_20,13_24,13_30,14_5,14_7,14_11,14_12,14_14,14_15,14_16,14_17,14_20,14_21,14_22,14_24,14_25,14_30,15_3,15_4,15_5,15_7,15_8,15_9,15_12,15_14,15_22,15_25,15_30,16_3,16_9,16_11,16_12,16_14,16_15,16_16,16_17,16_18,16_20,16_21,16_22,16_24,16_25,16_27,16_28,16_29,16_30,17_3,17_4,17_5,17_7,17_8,17_9,17_11,17_18,17_20,17_24,17_27,18_5,18_7,18_11,18_12,18_14,18_15,18_16,18_18,18_20,18_21,18_22,18_24,18_25,18_27,18_28,18_29,18_30,19_3,19_5,19_7,19_8,19_9,19_12,19_14,19_16,19_17,19_18,19_22,19_25,19_30,20_3,20_4,20_5,20_9,20_11,20_12,20_14,20_22,20_25,20_27,20_29,20_30,21_3,21_7,21_8,21_9,21_11,21_14,21_16,21_17,21_18,21_22,21_24,21_25,21_27,21_29,21_30,22_3,22_4,22_5,22_7,22_11,22_12,22_14,22_15,22_16,22_18,22_20,22_21,22_22,22_24,22_25,22_27,22_28,22_29,22_30,23_5,23_7,23_8,23_9,23_12,23_18,23_20,23_24,23_27,24_3,24_4,24_5,24_9,24_11,24_12,24_14,24_15,24_16,24_17,24_18,24_20,24_21,24_22,24_24,24_25,24_27,24_28,24_29,24_30,25_3,25_7,25_8,25_9,25_11,25_14,25_15,25_16,25_17,25_18,25_22,25_25,25_30,26_3,26_4,26_5,26_7,26_11,26_12,26_14,26_20,26_21,26_22,26_24,26_25,26_27,26_28,26_29,26_30,27_5,27_7,27_8,27_9,27_12,27_14,27_15,27_16,27_17,27_18,27_20,27_24,27_27,28_3,28_4,28_5,28_9,28_11,28_12,28_18,28_20,28_21,28_22,28_24,28_27,28_28,28_29,28_30,29_3,29_9,29_11,29_14,29_15,29_16,29_18,29_22,29_24,29_25,29_30,30_3,30_4,30_5,30_7,30_8,30_9,30_11,30_12,30_14,30_16,30_17,30_18,30_20,30_21,30_22,30_25,30_27,30_28,30_30,31_5,31_7,31_12,31_14,31_20,31_24,31_25,31_27,31_28,31_29,31_30,32_5,32_7,32_8,32_9,32_11,32_12,32_14,32_15,32_16,32_18,32_20,32_21,32_22,32_24,32_27,33_3,33_4,33_5,33_9,33_11,33_14,33_16,33_17,33_18,33_22,33_24,33_25,33_27,33_28,33_29,33_30,34_3,34_7,34_8,34_9,34_11,34_12,34_18,34_20,34_21,34_22,34_25,34_30,35_3,35_4,35_5,35_7,35_12,35_14,35_15,35_16,35_17,35_18,35_20,35_24,35_25,35_28,35_29,35_30,36_5,36_7,36_8,36_9,36_11,36_12,36_14,36_20,36_21,36_22,36_24,36_28,37_3,37_4,37_5,37_9,37_11,37_14,37_16,37_17,37_18,37_22,37_24,37_25,37_27,37_28,37_30,38_3,38_7,38_8,38_9,38_11,38_12,38_14,38_16,38_18,38_20,38_21,38_22,38_25,38_27,38_28,38_29,38_30,39_3,39_4,39_5,39_7,39_12,39_14,39_16,39_18,39_22,39_24,39_25,39_30,40_5,40_7,40_8,40_9,40_11,40_12,40_14,40_15,40_16,40_18,40_20,40_21,40_22,40_24,40_28,40_29,40_30,41_3,41_4,41_5,41_9,41_11,41_18,41_20,41_24,41_28,41_29,42_3,42_7,42_8,42_9,42_11,42_12,42_14,42_16,42_17,42_18,42_20,42_21,42_22,42_23,42_24,42_27,42_28,42_29,42_31,42_32,42_33,43_3,43_4,43_5,43_6,43_7,43_9,43_12,43_13,43_14,43_15,43_16,43_18"; scene_data["render_warp_0001_coordinates"] = "5_3,42_30"; scene_data["render_common_0003_coordinates"] = "40_27"; scene_data["render_common_0004_coordinates"] = "41_27"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0042() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 49; scene_data["tile_y_count"] = 34; scene_data["name"] = "Sixth Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {8,8}; scene_data["monster_defense_inflation"] = {6,6}; scene_data["monster_hp_inflation"] = {17,17}; scene_data["monster_exp_inflation"] = {12,12}; scene_data["monster_gold_inflation"] = {40,40}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=29, txt="Heading north? You're crazy, kid.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=30, txt="North: Kingdom of Fabius {{new_line}} South: Barlon", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=29, scene_number=41, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=12, y=29, scene_number=1000, inn_item_keys={"bmg5_g","5mg_g"}, inn_price=100, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=61, after_player_x=6, after_player_y=63, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=42, y=4, scene_number=43, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_20|5_21|5_22|5_23|5_24|6_3|6_9|6_11|6_15|6_17|6_18|6_20|6_24|6_28|6_29|7_3|7_4|7_5|7_7|7_8|7_9|7_11|7_12|7_13|7_18|7_20|7_21|7_23|7_24|7_28|7_29|7_30|7_31|8_5|8_7|8_13|8_18|8_21|8_23|8_28|8_29|9_3|9_4|9_5|9_7|9_8|9_9|9_11|9_12|9_13|9_18|9_20|9_21|9_23|9_24|9_25|9_26|9_28|9_29|9_30|10_3|10_9|10_11|10_15|10_16|10_17|10_18|10_20|10_26|10_29|10_30|11_3|11_4|11_5|11_7|11_8|11_9|11_11|11_12|11_13|11_15|11_20|11_23|11_24|11_25|11_26|11_30|12_5|12_7|12_13|12_15|12_16|12_17|12_18|12_20|12_24|12_29|12_30|13_3|13_4|13_5|13_7|13_8|13_9|13_11|13_12|13_13|13_18|13_20|13_24|13_30|14_3|14_9|14_11|14_17|14_18|14_20|14_24|14_28|14_29|14_30|15_3|15_4|15_5|15_9|15_11|15_12|15_13|15_15|15_16|15_17|15_20|15_21|15_23|15_24|15_25|15_26|15_29|15_30|16_5|16_9|16_13|16_15|16_21|16_26|16_28|16_29|16_30|17_3|17_4|17_5|17_7|17_8|17_9|17_11|17_12|17_13|17_15|17_16|17_17|17_18|17_20|17_21|17_23|17_24|17_25|17_26|17_28|17_29|17_30|18_3|18_7|18_11|18_18|18_20|18_23|18_30|19_3|19_4|19_5|19_7|19_8|19_9|19_11|19_12|19_13|19_15|19_16|19_17|19_18|19_20|19_21|19_23|19_24|19_25|19_26|19_30|20_5|20_9|20_13|20_15|20_20|20_26|20_30|21_3|21_4|21_5|21_7|21_8|21_9|21_11|21_12|21_13|21_15|21_16|21_17|21_18|21_20|21_21|21_23|21_24|21_25|21_26|21_28|21_29|21_30|22_3|22_7|22_11|22_18|22_20|22_21|22_25|22_28|23_3|23_4|23_5|23_7|23_8|23_9|23_11|23_12|23_13|23_18|23_21|23_25|23_28|23_29|23_30|24_5|24_9|24_12|24_18|24_20|24_21|24_25|24_30|25_3|25_4|25_5|25_9|25_12|25_18|25_20|25_25|25_30|26_3|26_9|26_12|26_18|26_20|26_21|26_23|26_24|26_25|26_26|26_28|26_29|26_30|27_3|27_7|27_8|27_9|27_12|27_15|27_16|27_17|27_18|27_21|27_26|27_28|28_3|28_9|28_12|28_13|28_15|28_21|28_23|28_25|28_26|28_28|28_29|28_30|29_3|29_4|29_5|29_7|29_8|29_9|29_13|29_15|29_16|29_17|29_18|29_21|29_23|29_24|29_25|29_30|30_5|30_7|30_11|30_12|30_13|30_18|30_20|30_21|30_23|30_28|30_29|30_30|31_3|31_4|31_5|31_7|31_8|31_9|31_11|31_15|31_16|31_17|31_18|31_20|31_21|31_23|31_24|31_25|31_26|31_28|31_29|31_30|32_3|32_9|32_11|32_12|32_13|32_15|32_20|32_26|32_28|33_3|33_4|33_5|33_7|33_8|33_9|33_13|33_15|33_16|33_17|33_18|33_20|33_23|33_24|33_25|33_26|33_28|34_5|34_7|34_11|34_12|34_13|34_18|34_20|34_21|34_24|34_28|35_5|35_7|35_11|35_15|35_16|35_17|35_18|35_21|35_24|35_28|35_29|35_30|36_3|36_4|36_5|36_7|36_11|36_12|36_13|36_15|36_21|36_24|36_30|37_3|37_7|37_13|37_15|37_21|37_24|37_28|37_29|37_30|38_3|38_4|38_5|38_7|38_8|38_9|38_11|38_12|38_13|38_15|38_20|38_21|38_23|38_24|38_25|38_26|38_28|39_5|39_9|39_11|39_15|39_16|39_17|39_18|39_20|39_26|39_28|39_29|39_30|40_4|40_5|40_7|40_8|40_9|40_11|40_12|40_13|40_18|40_20|40_21|40_23|40_24|40_25|40_26|40_30|41_5|41_7|41_13|41_15|41_16|41_17|41_18|41_21|41_23|41_30|42_0|42_1|42_2|42_3|42_4|42_5|42_7|42_8|42_9|42_10|42_11|42_13|42_15|42_20|42_21|42_23|42_24|42_25|42_26|42_30|43_5|43_11|43_12|43_13|43_15|43_16|43_17|43_18|43_19|43_20|43_21|43_23|43_24|43_25|43_26|43_27|43_28|43_29|43_30"; scene_data["render_fns_list"] = "render_outdoors_0009,render_outdoors_0006,render_common_0001,render_warp_0001,render_person_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_common_0004"; scene_data["render_outdoors_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_19,4_21,5_0,5_1,5_2,5_10,5_19,6_0,6_1,6_2,6_4,6_5,6_10,6_14,6_16,6_19,7_0,7_1,7_2,7_10,7_14,7_15,7_16,7_17,7_19,8_0,8_1,8_2,8_3,8_4,8_11,8_12,8_14,8_15,8_16,8_17,8_19,9_0,9_1,9_2,9_10,9_14,9_15,9_16,9_17,10_0,10_1,10_2,10_4,10_5,10_10,10_12,10_14,10_19,10_21,11_0,11_1,11_2,11_14,11_16,11_17,11_18,11_19,11_21,11_22,12_0,12_1,12_2,12_3,12_4,12_10,12_11,12_12,12_14,12_19,12_21,12_22,13_0,13_1,13_2,13_14,13_15,13_16,13_17,14_0,14_1,14_2,14_4,14_5,14_13,14_14,14_15,14_16,15_0,15_1,15_2,15_14,15_18,15_19,16_0,16_1,16_2,16_3,16_4,16_10,16_14,16_16,16_17,16_18,16_19,16_20,17_0,17_1,17_2,17_10,17_14,18_0,18_1,18_2,18_4,18_5,18_12,18_14,18_15,18_16,18_17,18_21,19_0,19_1,19_2,19_10,19_14,20_0,20_1,20_2,20_3,20_4,20_14,20_16,20_17,20_18,20_21,21_0,21_1,21_2,21_10,21_14,21_19,22_0,22_1,22_2,22_4,22_5,22_14,22_15,22_16,22_17,22_19,23_0,23_1,23_2,23_10,23_14,23_15,23_16,23_17,23_19,23_20,24_0,24_1,24_2,24_3,24_4,24_10,24_11,24_13,24_14,24_15,24_16,24_17,25_0,25_1,25_2,25_10,25_14,25_15,25_16,25_17,25_19,25_21,26_0,26_1,26_2,26_4,26_5,26_14,26_15,26_16,26_17,27_0,27_1,27_2,27_4,27_5,27_10,27_11,27_13,27_14,27_19,27_20,28_0,28_1,28_2,28_4,28_5,28_10,28_11,28_14,28_16,28_17,28_18,28_20,29_0,29_1,29_2,29_10,29_11,29_14,29_20,30_0,30_1,30_2,30_3,30_4,30_14,30_15,30_16,30_17,30_19,31_0,31_1,31_2,31_14,32_0,32_1,32_2,32_4,32_5,32_10,32_14,32_16,32_17,32_18,32_19,32_21,33_0,33_1,33_2,33_14,33_21,34_0,34_1,34_2,34_3,34_4,34_10,34_14,34_15,34_16,34_17,35_0,35_1,35_2,35_3,35_4,35_10,35_12,35_13,35_14,35_19,35_20,36_0,36_1,36_2,36_14,36_16,36_17,36_18,37_0,37_1,37_2,37_4,37_5,37_10,37_11,37_12,37_14,37_16,37_17,37_18,37_19,38_0,38_1,38_2,38_14,38_16,38_17,38_18,38_19,39_0,39_1,39_2,39_3,39_4,39_13,39_14,40_0,40_1,40_2,40_3,40_14,40_15,40_16,40_17,40_19,41_0,41_1,41_2,41_3,41_4,41_14,41_19,41_20,42_14,42_16,42_17,42_18,43_0,43_1,43_2,43_3,43_4,43_14,44_0,44_1,44_2,44_3,44_4,44_5,44_14,44_15,44_16,44_17,44_19,44_20,44_21,45_0,45_1,45_2,45_3,45_4,45_5,45_14,45_15,45_16,45_17,46_0,46_1,46_2,46_3,46_4,46_5,46_14,46_15,46_16,46_17,47_0,47_1,47_2,47_3,47_4,47_5,47_14,47_15,47_16,47_17,48_0,48_1,48_2,48_3,48_4,48_5,48_14,48_15,48_16,48_17"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_20,5_21,5_22,5_23,5_24,6_3,6_9,6_11,6_15,6_17,6_18,6_20,6_24,6_28,6_29,7_3,7_4,7_5,7_7,7_8,7_9,7_11,7_12,7_13,7_18,7_20,7_21,7_23,7_24,7_28,7_30,7_31,8_5,8_7,8_13,8_18,8_21,8_23,8_28,8_29,9_3,9_4,9_5,9_7,9_8,9_9,9_11,9_12,9_13,9_18,9_20,9_21,9_23,9_24,9_25,9_26,9_28,9_29,9_30,10_3,10_9,10_11,10_15,10_16,10_17,10_18,10_20,10_26,10_29,10_30,11_3,11_4,11_5,11_7,11_8,11_9,11_11,11_12,11_13,11_15,11_20,11_23,11_24,11_25,11_26,11_30,12_5,12_7,12_13,12_15,12_16,12_17,12_18,12_20,12_24,12_30,13_3,13_4,13_5,13_7,13_8,13_9,13_11,13_12,13_13,13_18,13_20,13_24,13_30,14_3,14_9,14_11,14_17,14_18,14_20,14_24,14_28,14_29,14_30,15_3,15_4,15_5,15_9,15_11,15_12,15_13,15_15,15_16,15_17,15_20,15_21,15_23,15_24,15_25,15_26,15_29,15_30,16_5,16_9,16_13,16_15,16_21,16_26,16_28,16_29,16_30,17_3,17_4,17_5,17_7,17_8,17_9,17_11,17_12,17_13,17_15,17_16,17_17,17_18,17_20,17_21,17_23,17_24,17_25,17_26,17_28,17_29,17_30,18_3,18_7,18_11,18_18,18_20,18_23,18_30,19_3,19_4,19_5,19_7,19_8,19_9,19_11,19_12,19_13,19_15,19_16,19_17,19_18,19_20,19_21,19_23,19_24,19_25,19_26,19_30,20_5,20_9,20_13,20_15,20_20,20_26,20_30,21_3,21_4,21_5,21_7,21_8,21_9,21_11,21_12,21_13,21_15,21_16,21_17,21_18,21_20,21_21,21_23,21_24,21_25,21_26,21_28,21_29,21_30,22_3,22_7,22_11,22_18,22_20,22_21,22_25,22_28,23_3,23_4,23_5,23_7,23_8,23_9,23_11,23_12,23_13,23_18,23_21,23_25,23_28,23_29,23_30,24_5,24_9,24_12,24_18,24_20,24_21,24_25,24_30,25_3,25_4,25_5,25_9,25_12,25_18,25_20,25_25,25_30,26_3,26_9,26_12,26_18,26_20,26_21,26_23,26_24,26_25,26_26,26_28,26_29,26_30,27_3,27_7,27_8,27_9,27_12,27_15,27_16,27_17,27_18,27_21,27_26,27_28,28_3,28_9,28_12,28_13,28_15,28_21,28_23,28_25,28_26,28_28,28_29,28_30,29_3,29_4,29_5,29_7,29_8,29_9,29_13,29_15,29_16,29_17,29_18,29_21,29_23,29_24,29_25,29_30,30_5,30_7,30_11,30_12,30_13,30_18,30_20,30_21,30_23,30_28,30_29,30_30,31_3,31_4,31_5,31_7,31_8,31_9,31_11,31_15,31_16,31_17,31_18,31_20,31_21,31_23,31_24,31_25,31_26,31_28,31_29,31_30,32_3,32_9,32_11,32_12,32_13,32_15,32_20,32_26,32_28,33_3,33_4,33_5,33_7,33_8,33_9,33_13,33_15,33_16,33_17,33_18,33_20,33_23,33_24,33_25,33_26,33_28,34_5,34_7,34_11,34_12,34_13,34_18,34_20,34_21,34_24,34_28,35_5,35_7,35_11,35_15,35_16,35_17,35_18,35_21,35_24,35_28,35_29,35_30,36_3,36_4,36_5,36_7,36_11,36_12,36_13,36_15,36_21,36_24,36_30,37_3,37_7,37_13,37_15,37_21,37_24,37_28,37_29,37_30,38_3,38_4,38_5,38_7,38_8,38_9,38_11,38_12,38_13,38_15,38_20,38_21,38_23,38_24,38_25,38_26,38_28,39_5,39_9,39_11,39_15,39_16,39_17,39_18,39_20,39_26,39_28,39_29,39_30,40_4,40_5,40_7,40_8,40_9,40_11,40_12,40_13,40_18,40_20,40_21,40_23,40_24,40_25,40_26,40_30,41_5,41_7,41_13,41_15,41_16,41_17,41_18,41_21,41_23,41_30,42_0,42_1,42_2,42_3,42_5,42_7,42_8,42_9,42_10,42_11,42_13,42_15,42_20,42_21,42_23,42_24,42_25,42_26,42_30,43_5,43_11,43_12,43_13,43_15,43_16,43_17,43_18,43_19,43_20,43_21,43_23,43_24,43_25,43_26,43_27,43_28,43_29,43_30"; scene_data["render_warp_0001_coordinates"] = "7_29,42_4"; scene_data["render_person_0001_coordinates"] = "10_28"; scene_data["render_building_0001_coordinates"] = "11_28"; scene_data["render_building_0005_coordinates"] = "11_29"; scene_data["render_building_0002_coordinates"] = "12_28"; scene_data["render_building_0004_coordinates"] = "12_29"; scene_data["render_common_0004_coordinates"] = "13_29"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0043() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 68; scene_data["name"] = "Seventh Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 11; scene_data["monster_attack_inflation"] = {8,8}; scene_data["monster_defense_inflation"] = {6,6}; scene_data["monster_hp_inflation"] = {17,17}; scene_data["monster_exp_inflation"] = {12,12}; scene_data["monster_gold_inflation"] = {40,40}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=63, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b1", 43, 1, "First Treasure Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 43) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=6, y=63, txt="You obtained 300g", required_dir="up", callback=function() GET_MONEY(300); PUT_STATE("b2", 43, 1, "Second Treasure Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 43) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=10, y=64, txt="North: Kingdom of Fabius {{new_line}} South: Barlon", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=40, after_map_y=3, after_player_x=42, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=64, scene_number=42, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=40, after_player_x=5, after_player_y=42, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=13, y=3, scene_number=44, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_5|5_6|5_7|5_8|5_10|5_13|5_14|5_15|5_16|5_17|5_23|5_28|5_29|5_30|5_31|5_32|5_34|5_35|5_36|5_38|5_39|5_40|5_42|5_44|5_45|5_46|5_47|5_48|5_49|5_52|5_53|5_54|5_55|5_56|5_58|5_59|5_60|5_63|6_3|6_4|6_5|6_8|6_9|6_10|6_13|6_17|6_19|6_20|6_21|6_22|6_23|6_28|6_32|6_33|6_34|6_36|6_37|6_38|6_40|6_41|6_42|6_44|6_49|6_52|6_56|6_58|6_60|6_63|6_64|6_65|6_66|6_67|7_3|7_10|7_13|7_14|7_16|7_17|7_19|7_23|7_28|7_42|7_44|7_45|7_49|7_51|7_52|7_56|7_57|7_58|7_60|7_63|8_3|8_5|8_6|8_7|8_10|8_14|8_16|8_19|8_20|8_21|8_23|8_28|8_29|8_30|8_32|8_33|8_34|8_36|8_37|8_38|8_41|8_42|8_45|8_47|8_48|8_49|8_52|8_60|8_63|8_64|9_3|9_4|9_5|9_7|9_8|9_10|9_14|9_16|9_21|9_23|9_24|9_25|9_26|9_30|9_32|9_34|9_35|9_36|9_38|9_39|9_40|9_41|9_44|9_45|9_47|9_51|9_52|9_54|9_55|9_56|9_58|9_59|9_60|9_64|10_8|10_10|10_11|10_14|10_16|10_17|10_19|10_20|10_21|10_26|10_28|10_29|10_30|10_32|10_44|10_47|10_48|10_49|10_51|10_54|10_56|10_58|10_64|11_6|11_8|11_11|11_13|11_14|11_17|11_19|11_23|11_24|11_25|11_26|11_28|11_32|11_33|11_35|11_36|11_37|11_39|11_40|11_41|11_42|11_44|11_49|11_51|11_52|11_54|11_56|11_57|11_58|11_62|11_63|11_64|12_6|12_8|12_10|12_11|12_13|12_17|12_19|12_20|12_21|12_23|12_28|12_29|12_30|12_33|12_35|12_37|12_39|12_42|12_44|12_47|12_48|12_49|12_52|12_54|12_62|13_0|13_1|13_2|13_3|13_4|13_5|13_6|13_8|13_10|13_13|13_17|13_21|13_23|13_24|13_25|13_30|13_32|13_33|13_35|13_37|13_39|13_41|13_42|13_44|13_47|13_51|13_52|13_54|13_55|13_56|13_58|13_59|13_60|13_62|14_6|14_7|14_8|14_10|14_11|14_12|14_13|14_14|14_17|14_18|14_19|14_20|14_21|14_23|14_25|14_26|14_27|14_28|14_29|14_30|14_32|14_33|14_34|14_35|14_37|14_38|14_39|14_41|14_42|14_43|14_44|14_47|14_48|14_49|14_50|14_51|14_54|14_56|14_57|14_58|14_60|14_61|14_62"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_common_0003,render_warp_0001,render_common_0004"; scene_data["render_common_0001_coordinates"] = "5_3,5_5,5_6,5_7,5_8,5_10,5_13,5_14,5_15,5_16,5_17,5_23,5_28,5_29,5_30,5_31,5_32,5_34,5_35,5_36,5_38,5_39,5_40,5_42,5_44,5_45,5_46,5_47,5_48,5_49,5_52,5_53,5_54,5_55,5_56,5_58,5_59,5_60,5_63,6_3,6_4,6_5,6_8,6_9,6_10,6_13,6_17,6_19,6_20,6_21,6_22,6_23,6_28,6_32,6_33,6_34,6_36,6_37,6_38,6_40,6_41,6_42,6_44,6_49,6_52,6_56,6_58,6_60,6_63,6_65,6_66,6_67,7_3,7_10,7_13,7_14,7_16,7_17,7_19,7_23,7_28,7_42,7_44,7_45,7_49,7_51,7_52,7_56,7_57,7_58,7_60,7_63,8_3,8_5,8_6,8_7,8_10,8_14,8_16,8_19,8_20,8_21,8_23,8_28,8_29,8_30,8_32,8_33,8_34,8_36,8_37,8_38,8_41,8_42,8_45,8_47,8_48,8_49,8_52,8_60,8_63,8_64,9_3,9_4,9_5,9_7,9_8,9_10,9_14,9_16,9_21,9_23,9_24,9_25,9_26,9_30,9_32,9_34,9_35,9_36,9_38,9_39,9_40,9_41,9_44,9_45,9_47,9_51,9_52,9_54,9_55,9_56,9_58,9_59,9_60,9_64,10_8,10_10,10_11,10_14,10_16,10_17,10_19,10_20,10_21,10_26,10_28,10_29,10_30,10_32,10_44,10_47,10_48,10_49,10_51,10_54,10_56,10_58,10_64,11_6,11_8,11_11,11_13,11_14,11_17,11_19,11_23,11_24,11_25,11_26,11_28,11_32,11_33,11_35,11_36,11_37,11_39,11_40,11_41,11_42,11_44,11_49,11_51,11_52,11_54,11_56,11_57,11_58,11_62,11_63,11_64,12_6,12_8,12_10,12_11,12_13,12_17,12_19,12_20,12_21,12_23,12_28,12_29,12_30,12_33,12_35,12_37,12_39,12_42,12_44,12_47,12_48,12_49,12_52,12_54,12_62,13_0,13_1,13_2,13_4,13_5,13_6,13_8,13_10,13_13,13_17,13_21,13_23,13_24,13_25,13_30,13_32,13_33,13_35,13_37,13_39,13_41,13_42,13_44,13_47,13_51,13_52,13_54,13_55,13_56,13_58,13_59,13_60,13_62,14_6,14_7,14_8,14_10,14_11,14_12,14_13,14_14,14_17,14_18,14_19,14_20,14_21,14_23,14_25,14_26,14_27,14_28,14_29,14_30,14_32,14_33,14_34,14_35,14_37,14_38,14_39,14_41,14_42,14_43,14_44,14_47,14_48,14_49,14_50,14_51,14_54,14_56,14_57,14_58,14_60,14_61,14_62"; scene_data["render_common_0003_coordinates"] = "5_62,6_62"; scene_data["render_warp_0001_coordinates"] = "6_64,13_3"; scene_data["render_common_0004_coordinates"] = "10_63"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0044() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 50; scene_data["tile_y_count"] = 48; scene_data["name"] = "Eighth Scene North of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {1,2}; scene_data["monster_apperance_frequency_percentage"] = 12; scene_data["monster_attack_inflation"] = {8,8}; scene_data["monster_defense_inflation"] = {6,6}; scene_data["monster_hp_inflation"] = {23,23}; scene_data["monster_exp_inflation"] = {12,12}; scene_data["monster_gold_inflation"] = {90,90}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=41, txt="You obtained 200g", required_dir="up", callback=function() GET_MONEY(200); PUT_STATE("b1", 44, 1, "First Treasure Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 44) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=3, after_player_x=13, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=5, y=43, scene_number=43, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=12, after_player_x=24, after_player_y=15, after_screen_x=3, after_screen_y=3, after_player_dir="up", x=7, y=3, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=6, y=40, scene_number=1000, inn_item_keys={"bmg5_g","5mg_g"}, inn_price=120, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_8|5_9|5_10|5_12|5_13|5_14|5_15|5_16|5_18|5_20|5_21|5_22|5_24|5_25|5_26|5_27|5_28|5_31|5_32|5_33|5_34|5_35|5_36|5_37|5_38|5_41|5_42|5_43|5_44|5_45|5_46|5_47|6_4|6_6|6_8|6_10|6_12|6_16|6_18|6_19|6_20|6_22|6_23|6_24|6_28|6_31|6_37|6_38|6_40|6_41|6_42|7_0|7_1|7_2|7_3|7_4|7_6|7_8|7_10|7_12|7_14|7_15|7_16|7_18|7_28|7_31|7_32|7_33|7_37|7_42|7_43|8_6|8_8|8_10|8_12|8_14|8_18|8_19|8_20|8_21|8_22|8_23|8_25|8_26|8_27|8_28|8_31|8_33|8_34|8_35|8_37|8_38|8_41|8_42|8_43|9_6|9_7|9_8|9_10|9_12|9_14|9_15|9_16|9_23|9_25|9_35|9_38|9_41|9_42|9_43|10_10|10_12|10_16|10_18|10_20|10_21|10_23|10_25|10_26|10_27|10_28|10_31|10_32|10_33|10_35|10_37|10_38|10_41|10_42|10_43|11_3|11_4|11_5|11_6|11_7|11_8|11_9|11_10|11_12|11_14|11_15|11_16|11_18|11_19|11_20|11_21|11_22|11_23|11_25|11_26|11_28|11_31|11_33|11_35|11_37|11_43|12_3|12_12|12_14|12_18|12_28|12_31|12_33|12_34|12_35|12_37|12_38|12_40|12_41|12_42|12_43|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_12|13_14|13_15|13_16|13_18|13_20|13_21|13_22|13_23|13_28|13_31|13_37|13_40|14_10|14_12|14_16|14_18|14_19|14_20|14_23|14_25|14_26|14_27|14_28|14_31|14_32|14_33|14_34|14_35|14_37|14_38|14_40|15_3|15_4|15_5|15_7|15_8|15_9|15_10|15_12|15_16|15_23|15_25|15_35|15_38|15_40|15_41|15_42|15_43|16_3|16_5|16_7|16_12|16_16|16_18|16_19|16_20|16_21|16_22|16_23|16_25|16_26|16_27|16_31|16_32|16_33|16_34|16_35|16_37|16_38|16_40|16_42|16_43|17_3|17_5|17_7|17_8|17_9|17_10|17_12|17_16|17_18|17_27|17_31|17_37|17_42|18_3|18_5|18_10|18_12|18_16|18_18|18_19|18_20|18_21|18_22|18_23|18_25|18_27|18_31|18_33|18_34|18_35|18_37|18_38|18_40|18_41|18_42|18_43|19_3|19_5|19_6|19_7|19_8|19_9|19_10|19_12|19_14|19_15|19_16|19_23|19_25|19_27|19_31|19_33|19_35|19_38|19_40|20_3|20_12|20_14|20_18|20_19|20_20|20_21|20_23|20_25|20_26|20_27|20_31|20_32|20_33|20_35|20_37|20_38|20_40|20_41|20_42|20_43|21_3|21_4|21_5|21_6|21_8|21_9|21_10|21_12|21_14|21_15|21_16|21_19|21_21|21_23|21_25|21_35|21_37|21_43|22_6|22_8|22_10|22_12|22_16|22_18|22_19|22_21|22_23|22_25|22_26|22_27|22_28|22_31|22_32|22_33|22_34|22_35|22_37|22_38|22_40|22_42|22_43|23_6|23_7|23_8|23_10|23_12|23_14|23_15|23_16|23_18|23_21|23_23|23_28|23_31|23_38|23_40|23_41|23_42|24_10|24_12|24_14|24_18|24_19|24_21|24_22|24_23|24_25|24_26|24_27|24_28|24_31|24_32|24_33|24_34|24_35|24_37|24_38|24_40|25_3|25_4|25_5|25_6|25_7|25_8|25_9|25_10|25_12|25_14|25_15|25_16|25_18|25_19|25_25|25_35|25_37|25_40|25_41|25_42|25_43|26_3|26_12|26_16|26_18|26_19|26_20|26_21|26_22|26_23|26_25|26_26|26_27|26_28|26_31|26_32|26_33|26_35|26_37|26_43|27_3|27_4|27_5|27_6|27_7|27_8|27_9|27_10|27_12|27_14|27_15|27_16|27_23|27_28|27_31|27_33|27_35|27_37|27_40|27_41|27_42|27_43|28_9|28_12|28_14|28_18|28_19|28_20|28_21|28_22|28_23|28_25|28_26|28_27|28_28|28_31|28_33|28_35|28_37|28_40|29_3|29_4|29_5|29_9|29_12|29_14|29_15|29_16|29_18|29_25|29_31|29_33|29_34|29_35|29_37|29_40|29_41|29_42|29_43|30_3|30_4|30_5|30_9|30_12|30_16|30_18|30_19|30_20|30_21|30_22|30_23|30_25|30_26|30_27|30_31|30_37|30_40|30_43|31_3|31_5|31_6|31_7|31_8|31_9|31_12|31_14|31_15|31_16|31_23|31_27|31_31|31_32|31_33|31_34|31_35|31_37|31_40|31_41|31_43|32_3|32_12|32_14|32_18|32_19|32_21|32_22|32_23|32_27|32_35|32_37|32_38|32_43|33_3|33_4|33_5|33_6|33_7|33_8|33_9|33_10|33_12|33_14|33_15|33_16|33_18|33_19|33_20|33_21|33_23|33_25|33_27|33_31|33_32|33_33|33_34|33_35|33_38|33_40|33_41|33_42|33_43|34_10|34_12|34_16|34_18|34_25|34_26|34_27|34_31|34_37|34_38|34_40|35_3|35_4|35_5|35_7|35_8|35_9|35_10|35_12|35_14|35_15|35_16|35_18|35_19|35_20|35_21|35_22|35_23|35_25|35_31|35_32|35_33|35_34|35_35|35_38|35_40|35_41|35_42|35_43|36_3|36_5|36_6|36_7|36_9|36_10|36_12|36_14|36_23|36_25|36_26|36_27|36_28|36_35|36_37|36_38|36_43|37_3|37_12|37_14|37_15|37_16|37_18|37_19|37_20|37_21|37_23|37_28|37_30|37_31|37_32|37_34|37_35|37_37|37_40|37_41|37_42|37_43|38_3|38_4|38_5|38_6|38_7|38_8|38_9|38_10|38_12|38_16|38_18|38_21|38_23|38_25|38_26|38_27|38_28|38_30|38_32|38_34|38_37|38_38|38_40|39_10|39_12|39_14|39_15|39_16|39_18|39_19|39_21|39_23|39_25|39_30|39_32|39_34|39_35|39_38|39_40|39_41|39_42|39_43|40_3|40_4|40_5|40_7|40_8|40_9|40_10|40_12|40_14|40_19|40_21|40_23|40_25|40_26|40_27|40_28|40_30|40_32|40_35|40_37|40_38|40_43|41_3|41_5|41_7|41_9|41_12|41_14|41_15|41_16|41_19|41_21|41_23|41_28|41_30|41_32|41_34|41_35|41_37|41_38|41_39|41_40|41_42|41_43|42_3|42_5|42_6|42_7|42_9|42_12|42_16|42_19|42_21|42_23|42_25|42_26|42_27|42_28|42_30|42_32|42_34|42_40|42_42|42_43|43_3|43_12|43_14|43_15|43_16|43_19|43_21|43_23|43_25|43_30|43_32|43_34|43_40|43_42|43_43|44_3|44_4|44_5|44_6|44_7|44_8|44_9|44_10|44_11|44_12|44_14|44_15|44_16|44_17|44_18|44_19|44_21|44_22|44_23|44_25|44_26|44_27|44_28|44_29|44_30|44_32|44_33|44_34|44_40|44_41|44_42|44_43"; scene_data["render_fns_list"] = "render_outdoors_0006,render_outdoors_0009,render_common_0001,render_building_0001,render_building_0005,render_warp_0001,render_building_0002,render_building_0004,render_common_0003"; scene_data["render_outdoors_0009_coordinates"] = "0_44,0_45,0_46,0_47,1_44,1_45,1_46,1_47,2_44,2_45,2_46,2_47,3_44,3_45,3_46,3_47,4_14,4_43,4_44,4_45,4_46,4_47,6_9,6_13,6_14,6_15,6_21,6_26,6_27,6_29,6_30,6_32,6_34,6_35,6_36,6_43,6_44,6_45,6_46,6_47,7_7,7_9,7_11,7_13,7_17,7_21,7_22,7_23,7_24,7_27,7_29,7_34,7_35,7_36,7_44,7_45,7_46,7_47,8_11,8_13,8_15,8_16,8_17,8_24,8_29,8_32,8_36,8_39,8_44,8_45,8_46,8_47,9_13,9_17,9_18,9_19,9_22,9_24,9_26,9_27,9_31,9_32,9_34,9_39,9_44,9_45,9_46,9_47,10_4,10_6,10_7,10_9,10_11,10_17,10_19,10_22,10_24,10_29,10_30,10_34,10_39,10_40,10_44,10_45,10_46,10_47,11_17,11_30,11_34,11_36,11_38,11_39,11_40,11_44,11_45,11_46,11_47,12_4,12_7,12_8,12_10,12_11,12_13,12_15,12_16,12_19,12_20,12_23,12_24,12_27,12_30,12_36,12_44,12_45,12_46,12_47,13_13,13_19,13_35,13_36,13_38,13_39,13_41,13_42,13_43,13_44,13_45,13_46,13_47,14_6,14_7,14_8,14_30,14_36,14_41,14_42,14_43,14_44,14_45,14_46,14_47,15_6,15_11,15_13,15_15,15_17,15_18,15_20,15_22,15_26,15_27,15_28,15_29,15_31,15_32,15_33,15_44,15_45,15_46,15_47,16_4,16_6,16_9,16_10,16_11,16_13,16_14,16_15,16_17,16_28,16_29,16_30,16_41,16_44,16_45,16_46,16_47,17_6,17_11,17_13,17_14,17_20,17_22,17_24,17_25,17_26,17_28,17_30,17_33,17_34,17_35,17_36,17_38,17_40,17_41,17_44,17_45,17_46,17_47,18_17,18_24,18_26,18_29,18_39,18_44,18_45,18_46,18_47,19_4,19_17,19_18,19_21,19_24,19_26,19_32,19_34,19_36,19_37,19_44,19_45,19_46,19_47,20_4,20_5,20_6,20_7,20_8,20_9,20_10,20_11,20_13,20_16,20_17,20_24,20_28,20_36,20_39,20_44,20_45,20_46,20_47,21_7,21_13,21_17,21_18,21_20,21_22,21_24,21_26,21_27,21_30,21_31,21_32,21_33,21_39,21_40,21_42,21_44,21_45,21_46,21_47,22_3,22_4,22_5,22_7,22_11,22_20,22_29,22_30,22_44,22_45,22_46,22_47,23_3,23_4,23_5,23_11,23_13,23_22,23_24,23_25,23_26,23_30,23_32,23_33,23_34,23_36,23_37,23_44,23_45,23_46,23_47,24_3,24_4,24_5,24_7,24_17,24_24,24_29,24_36,24_44,24_45,24_46,24_47,25_11,25_17,25_27,25_28,25_29,25_36,25_38,25_39,25_44,25_45,25_46,25_47,26_4,26_5,26_7,26_8,26_13,26_14,26_15,26_24,26_29,26_30,26_34,26_39,26_40,26_41,26_44,26_45,26_46,26_47,27_13,27_17,27_18,27_19,27_21,27_27,27_30,27_32,27_34,27_36,27_38,27_44,27_45,27_46,27_47,28_11,28_13,28_15,28_16,28_29,28_30,28_34,28_36,28_38,28_43,28_44,28_45,28_46,28_47,29_11,29_20,29_21,29_24,29_26,29_39,29_44,29_45,29_46,29_47,30_15,30_17,30_29,30_32,30_33,30_34,30_35,30_39,30_44,30_45,30_46,30_47,31_11,31_17,31_20,31_21,31_26,31_30,31_36,31_38,31_39,31_42,31_44,31_45,31_46,31_47,32_6,32_8,32_9,32_13,32_15,32_16,32_24,32_25,32_26,32_28,32_29,32_30,32_33,32_39,32_40,32_41,32_42,32_44,32_45,32_46,32_47,33_13,33_17,33_22,33_24,33_26,33_28,33_29,33_36,33_44,33_45,33_46,33_47,34_5,34_6,34_8,34_11,34_14,34_19,34_22,34_23,34_24,34_29,34_34,34_44,34_45,34_46,34_47,35_6,35_11,35_13,35_28,35_29,35_30,35_39,35_44,35_45,35_46,35_47,36_8,36_15,36_17,36_18,36_21,36_29,36_32,36_33,36_39,36_40,36_41,36_44,36_45,36_46,36_47,37_5,37_8,37_9,37_10,37_11,37_17,37_22,37_24,37_25,37_26,37_27,37_29,37_33,37_36,37_38,37_44,37_45,37_46,37_47,38_13,38_14,38_15,38_17,38_24,38_31,38_35,38_36,38_41,38_43,38_44,38_45,38_46,38_47,39_4,39_5,39_6,39_11,39_20,39_27,39_28,39_29,39_31,39_33,39_36,39_37,39_39,39_44,39_45,39_46,39_47,40_6,40_11,40_17,40_18,40_22,40_24,40_36,40_42,40_44,40_45,40_46,40_47,41_6,41_10,41_18,41_20,41_25,41_26,41_31,41_36,41_44,41_45,41_46,41_47,42_8,42_10,42_11,42_13,42_14,42_15,42_20,42_22,42_24,42_29,42_41,42_44,42_45,42_46,42_47,43_5,43_6,43_8,43_11,43_24,43_26,43_31,43_44,43_45,43_46,43_47,44_20,44_31,44_44,44_45,44_46,44_47,45_44,45_45,45_46,45_47,46_44,46_45,46_46,46_47,47_44,47_45,47_46,47_47,48_44,48_45,48_46,48_47,49_44,49_45,49_46,49_47"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_8,5_9,5_10,5_12,5_13,5_14,5_15,5_16,5_18,5_20,5_21,5_22,5_24,5_25,5_26,5_27,5_28,5_31,5_32,5_33,5_34,5_35,5_36,5_37,5_38,5_41,5_42,5_44,5_45,5_46,5_47,6_4,6_6,6_8,6_10,6_12,6_16,6_18,6_19,6_20,6_22,6_23,6_24,6_28,6_31,6_37,6_38,6_41,6_42,7_0,7_1,7_2,7_4,7_6,7_8,7_10,7_12,7_14,7_15,7_16,7_18,7_28,7_31,7_32,7_33,7_37,7_42,7_43,8_6,8_8,8_10,8_12,8_14,8_18,8_19,8_20,8_21,8_22,8_23,8_25,8_26,8_27,8_28,8_31,8_33,8_34,8_35,8_37,8_38,8_41,8_42,8_43,9_6,9_7,9_8,9_10,9_12,9_14,9_15,9_16,9_23,9_25,9_35,9_38,9_41,9_42,9_43,10_10,10_12,10_16,10_18,10_20,10_21,10_23,10_25,10_26,10_27,10_28,10_31,10_32,10_33,10_35,10_37,10_38,10_41,10_42,10_43,11_3,11_4,11_5,11_6,11_7,11_8,11_9,11_10,11_12,11_14,11_15,11_16,11_18,11_19,11_20,11_21,11_22,11_23,11_25,11_26,11_28,11_31,11_33,11_35,11_37,11_43,12_3,12_12,12_14,12_18,12_28,12_31,12_33,12_34,12_35,12_37,12_38,12_40,12_41,12_42,12_43,13_3,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_12,13_14,13_15,13_16,13_18,13_20,13_21,13_22,13_23,13_28,13_31,13_37,13_40,14_10,14_12,14_16,14_18,14_19,14_20,14_23,14_25,14_26,14_27,14_28,14_31,14_32,14_33,14_34,14_35,14_37,14_38,14_40,15_3,15_4,15_5,15_7,15_8,15_9,15_10,15_12,15_16,15_23,15_25,15_35,15_38,15_40,15_41,15_42,15_43,16_3,16_5,16_7,16_12,16_16,16_18,16_19,16_20,16_21,16_22,16_23,16_25,16_26,16_27,16_31,16_32,16_33,16_34,16_35,16_37,16_38,16_40,16_42,16_43,17_3,17_5,17_7,17_8,17_9,17_10,17_12,17_16,17_18,17_27,17_31,17_37,17_42,18_3,18_5,18_10,18_12,18_16,18_18,18_19,18_20,18_21,18_22,18_23,18_25,18_27,18_31,18_33,18_34,18_35,18_37,18_38,18_40,18_41,18_42,18_43,19_3,19_5,19_6,19_7,19_8,19_9,19_10,19_12,19_14,19_15,19_16,19_23,19_25,19_27,19_31,19_33,19_35,19_38,19_40,20_3,20_12,20_14,20_18,20_19,20_20,20_21,20_23,20_25,20_26,20_27,20_31,20_32,20_33,20_35,20_37,20_38,20_40,20_41,20_42,20_43,21_3,21_4,21_5,21_6,21_8,21_9,21_10,21_12,21_14,21_15,21_16,21_19,21_21,21_23,21_25,21_35,21_37,21_43,22_6,22_8,22_10,22_12,22_16,22_18,22_19,22_21,22_23,22_25,22_26,22_27,22_28,22_31,22_32,22_33,22_34,22_35,22_37,22_38,22_40,22_42,22_43,23_6,23_7,23_8,23_10,23_12,23_14,23_15,23_16,23_18,23_21,23_23,23_28,23_31,23_38,23_40,23_41,23_42,24_10,24_12,24_14,24_18,24_19,24_21,24_22,24_23,24_25,24_26,24_27,24_28,24_31,24_32,24_33,24_34,24_35,24_37,24_38,24_40,25_3,25_4,25_5,25_6,25_7,25_8,25_9,25_10,25_12,25_14,25_15,25_16,25_18,25_19,25_25,25_35,25_37,25_40,25_41,25_42,25_43,26_3,26_12,26_16,26_18,26_19,26_20,26_21,26_22,26_23,26_25,26_26,26_27,26_28,26_31,26_32,26_33,26_35,26_37,26_43,27_3,27_4,27_5,27_6,27_7,27_8,27_9,27_10,27_12,27_14,27_15,27_16,27_23,27_28,27_31,27_33,27_35,27_37,27_40,27_41,27_42,27_43,28_9,28_12,28_14,28_18,28_19,28_20,28_21,28_22,28_23,28_25,28_26,28_27,28_28,28_31,28_33,28_35,28_37,28_40,29_3,29_4,29_5,29_9,29_12,29_14,29_15,29_16,29_18,29_25,29_31,29_33,29_34,29_35,29_37,29_40,29_41,29_42,29_43,30_3,30_4,30_5,30_9,30_12,30_16,30_18,30_19,30_20,30_21,30_22,30_23,30_25,30_26,30_27,30_31,30_37,30_40,30_43,31_3,31_5,31_6,31_7,31_8,31_9,31_12,31_14,31_15,31_16,31_23,31_27,31_31,31_32,31_33,31_34,31_35,31_37,31_40,31_41,31_43,32_3,32_12,32_14,32_18,32_19,32_21,32_22,32_23,32_27,32_35,32_37,32_38,32_43,33_3,33_4,33_5,33_6,33_7,33_8,33_9,33_10,33_12,33_14,33_15,33_16,33_18,33_19,33_20,33_21,33_23,33_25,33_27,33_31,33_32,33_33,33_34,33_35,33_38,33_40,33_41,33_42,33_43,34_10,34_12,34_16,34_18,34_25,34_26,34_27,34_31,34_37,34_38,34_40,35_3,35_4,35_5,35_7,35_8,35_9,35_10,35_12,35_14,35_15,35_16,35_18,35_19,35_20,35_21,35_22,35_23,35_25,35_31,35_32,35_33,35_34,35_35,35_38,35_40,35_41,35_42,35_43,36_3,36_5,36_6,36_7,36_9,36_10,36_12,36_14,36_23,36_25,36_26,36_27,36_28,36_35,36_37,36_38,36_43,37_3,37_12,37_14,37_15,37_16,37_18,37_19,37_20,37_21,37_23,37_28,37_30,37_31,37_32,37_34,37_35,37_37,37_40,37_41,37_42,37_43,38_3,38_4,38_5,38_6,38_7,38_8,38_9,38_10,38_12,38_16,38_18,38_21,38_23,38_25,38_26,38_27,38_28,38_30,38_32,38_34,38_37,38_38,38_40,39_10,39_12,39_14,39_15,39_16,39_18,39_19,39_21,39_23,39_25,39_30,39_32,39_34,39_35,39_38,39_40,39_41,39_42,39_43,40_3,40_4,40_5,40_7,40_8,40_9,40_10,40_12,40_14,40_19,40_21,40_23,40_25,40_26,40_27,40_28,40_30,40_32,40_35,40_37,40_38,40_43,41_3,41_5,41_7,41_9,41_12,41_14,41_15,41_16,41_19,41_21,41_23,41_28,41_30,41_32,41_34,41_35,41_37,41_38,41_39,41_40,41_42,41_43,42_3,42_5,42_6,42_7,42_9,42_12,42_16,42_19,42_21,42_23,42_25,42_26,42_27,42_28,42_30,42_32,42_34,42_40,42_42,42_43,43_3,43_12,43_14,43_15,43_16,43_19,43_21,43_23,43_25,43_30,43_32,43_34,43_40,43_42,43_43,44_3,44_4,44_5,44_6,44_7,44_8,44_9,44_10,44_11,44_12,44_14,44_15,44_16,44_17,44_18,44_19,44_21,44_22,44_23,44_25,44_26,44_27,44_28,44_29,44_30,44_32,44_33,44_34,44_40,44_41,44_42,44_43"; scene_data["render_building_0001_coordinates"] = "5_39"; scene_data["render_building_0005_coordinates"] = "5_40"; scene_data["render_warp_0001_coordinates"] = "5_43,7_3"; scene_data["render_building_0002_coordinates"] = "6_39"; scene_data["render_building_0004_coordinates"] = "6_40"; scene_data["render_common_0003_coordinates"] = "8_40"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0045() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 30; scene_data["tile_y_count"] = 20; scene_data["name"] = "Town of Barlon"; scene_data["map_x_offset"] = 0; scene_data["map_y_offset"] = 0; scene_data["player_x_offset"] = 0; scene_data["player_y_offset"] = 0; scene_data["screen_x_offset"] = 0; scene_data["screen_y_offset"] = 0; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("consent", 46) == 1 and GET_STATE("consent", 47) == 1 and GET_STATE("consent", 48) == 1 and GET_STATE("consent", 49) == 1 and GET_STATE("consent", 50) == 1 then SCENE_DATA["tile_at_6,4"] = render_common_0001; SCENE_DATA["movement_allowed_at_6,4"] = true; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=24, y=15, txt="Welcome to the town of Barlon. As of last February, NO MEN ALLOWED", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=5, y=6, txt="Travel between Fabius and Barlon is prohibited until further notice. None may enter or leave.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=6, txt="Travel between Fabius and Barlon is prohibited until further notice. None may enter or leave.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=24, y=16, scene_number=44, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=9, after_player_x=6, after_player_y=12, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=24, y=9, scene_number=46, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=6, after_player_x=6, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=16, y=13, scene_number=47, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=6, after_player_x=6, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=6, y=13, scene_number=48, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=6, after_player_x=6, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=6, y=13, scene_number=48, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=5, after_player_x=6, after_player_y=7, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=12, y=11, scene_number=49, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=4, after_player_x=7, after_player_y=7, after_screen_x=1, after_screen_y=3, after_player_dir="up", x=17, y=9, scene_number=50, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=13, y=4, scene_number=1, inn_item_keys={}, inn_price=300, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=16, y=4, scene_number=1, inn_item_keys={}, inn_price=300, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=19, y=4, scene_number=1, inn_item_keys={}, inn_price=300, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=17, after_player_x=7, after_player_y=19, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=6, y=3, scene_number=51, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=22, y=14, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_7|6_1|6_2|6_3|6_5|6_6|6_7|6_13|6_14|6_15|6_16|7_6|7_7|7_14|7_15|7_16|8_7|8_16|9_7|9_8|9_9|9_10|9_11|9_12|9_13|9_15|9_16|10_7|10_8|10_12|10_13|10_15|10_16|11_7|11_12|11_16|12_5|12_7|12_11|12_12|12_13|12_14|12_15|12_16|13_4|13_5|13_6|13_7|13_16|14_5|14_7|14_9|14_10|14_11|14_12|14_13|14_14|14_15|14_16|15_5|15_7|15_10|15_16|16_4|16_5|16_6|16_7|16_10|16_13|16_14|16_15|16_16|17_5|17_7|17_9|17_10|17_15|18_5|18_7|18_10|18_14|18_15|19_4|19_5|19_6|19_7|19_10|19_14|19_15|20_5|20_7|20_10|20_15|21_5|21_7|21_8|21_9|21_10|21_15|22_10|22_14|22_15|23_10|23_11|23_12|23_13|23_14|23_15|24_9|24_10|24_15|24_16|24_17|24_18|24_19"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0004,render_common_0001,render_building_0001,render_building_0010,render_warp_0001,render_outdoors_0010,render_building_0002,render_building_0004,render_building_0006,render_building_0009,render_building_0005"; scene_data["render_common_0004_coordinates"] = "5_5,7_5,24_14"; scene_data["render_common_0001_coordinates"] = "5_6,5_7,6_1,6_2,6_5,6_6,6_7,6_14,6_15,6_16,7_6,7_7,7_14,7_15,7_16,8_7,8_16,9_7,9_8,9_9,9_10,9_11,9_12,9_13,9_15,9_16,10_7,10_8,10_12,10_13,10_15,10_16,11_7,11_12,11_16,12_5,12_7,12_12,12_13,12_14,12_15,12_16,13_5,13_6,13_7,13_16,14_5,14_7,14_9,14_10,14_11,14_12,14_13,14_14,14_15,14_16,15_5,15_7,15_10,15_16,16_5,16_6,16_7,16_10,16_14,16_15,16_16,17_5,17_7,17_10,17_15,18_5,18_7,18_10,18_14,18_15,19_5,19_6,19_7,19_10,19_14,19_15,20_5,20_7,20_10,20_15,21_5,21_7,21_8,21_9,21_10,21_15,22_10,22_15,23_10,23_11,23_12,23_13,23_14,23_15,24_10,24_15,24_17,24_18,24_19"; scene_data["render_building_0001_coordinates"] = "5_12,11_8,15_12,16_8,21_13,22_7"; scene_data["render_building_0010_coordinates"] = "5_13,11_4,15_13,16_9,22_9"; scene_data["render_warp_0001_coordinates"] = "6_3,24_16"; scene_data["render_outdoors_0010_coordinates"] = "6_4"; scene_data["render_building_0002_coordinates"] = "6_12,12_8,16_12,17_8,22_13,24_7"; scene_data["render_building_0004_coordinates"] = "6_13,12_11,13_4,16_4,16_13,17_9,19_4,22_14,24_9"; scene_data["render_building_0006_coordinates"] = "11_3,12_3,13_3,14_3,15_3,16_3,17_3,18_3,19_3,20_3,23_7"; scene_data["render_building_0009_coordinates"] = "11_9,11_10,11_11,12_4,12_9,12_10,14_4,15_4,17_4,18_4,20_4,22_8,23_8,23_9,24_8"; scene_data["render_building_0005_coordinates"] = "21_14"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0046() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 17; scene_data["name"] = "First two story house north of entrance"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=5, txt="Woman: {{new_line}} My name is Mara, and I am of the innkeepers guild. You wish my consent to travel to Fabius? We have closed the path, I am afraid I do not wish to let you cross. {{new_line}} {{new_line}} You: {{new_line}} But I am the gem seeker, and I need to find the northside gem. I believe the Kingdom of Fabius might be a likely place. Why cannot I travel north? {{new_line}} {{new_line}} Woman: {{new_line}} You, young man, are a man. Men have wreaked havoc to our inn businesses, and want nothing more than to make war. {{new_line}} {{new_line}} You: {{new_line}} I am a pacifist, and I don't believe in war. At some point, though, you have to take a side. Evil cannot just go unchecked. I promise I will only act in self-defense. {{new_line}} {{new_line}} Woman: {{new_line}} You have my consent, but you need the whole village's before we will remove the gate. Please go now, and make your case with the others.", required_dir="up", callback=function() PUT_STATE("consent", 46, 1, "obtained consent"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=8, after_player_x=24, after_player_y=10, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=6, y=13, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|5_8|5_9|5_12|6_5|6_7|6_9|6_12|6_13|6_14|6_15|6_16|7_5|7_6|7_7|7_9|7_12|8_9|8_10|8_11|8_12"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_warp_0001,render_person_0005"; scene_data["render_indoors_asset_0009_coordinates"] = "4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,5_3,5_4,5_5,5_6,5_10,5_11,5_13,5_14,5_15,5_16,6_3,6_4,6_6,6_8,6_10,6_11,7_3,7_8,7_10,7_11,7_13,7_14,7_15,7_16,8_3,8_4,8_5,8_6,8_7,8_8,8_13,8_14,8_15,8_16,9_3,9_4,9_5,9_6,9_7,9_8,9_9,9_10,9_11,9_12,9_13,9_14,9_15,9_16"; scene_data["render_common_0001_coordinates"] = "5_7,5_8,5_9,5_12,6_5,6_7,6_9,6_12,6_14,6_15,6_16,7_5,7_6,7_7,7_9,7_12,8_9,8_10,8_11,8_12"; scene_data["render_warp_0001_coordinates"] = "6_13"; scene_data["render_person_0005_coordinates"] = "7_4"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0047() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 12; scene_data["name"] = "First house left of inn - Barlon"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=4, txt="Woman: {{new_line}} Barlon and our guild has banned men from this village. Notice was sent to all villages. Did you not receive word? {{new_line}} {{new_line}} You: {{new_line}} No, I didn't. Why have men been banned? {{new_line}} {{new_line}} Woman: {{new_line}} The men decided they would make war, and create chaos and destruction. We wish no part. {{new_line}} {{new_line}} You: {{new_line}} I am simply seeking the gem toward the north, near Fabius. Can I please travel there? You can raise the gate again after I leave. {{new_line}} {{new_line}} Woman: {{new_line}} And why should I let you? {{new_line}} {{new_line}} You: {{new_line}} I regret that men have started a war, but it wasn't everyone's decision. I wasn't involved, I just came to Odessia to find the gems and restore balance. There are monsters in the wilderness now, and eventually they may come inside the villages. I intend to bring peace, but I cannot do it by sitting idle. {{new_line}} {{new_line}} Woman: {{new_line}} You have my consent, but my innkeeper guild members will keep an eye on you. If we learn you have not kept your word, we will deny you rest. {{new_line}} {{new_line}} You: {{new_line}} Thank you!", required_dir="up", callback=function() PUT_STATE("consent", 47, 1, "obtained consent"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=4, txt="I defer to my sister. Her consent or lack of consent is mine just the same", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=11, after_player_x=16, after_player_y=14, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=6, y=8, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_7|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|7_4|7_5|7_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_person_0005,render_common_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,5_2,5_6,5_8,6_2,7_2,7_6,7_8,8_2,8_3,8_4,8_5,8_6,8_7,8_8"; scene_data["render_person_0005_coordinates"] = "5_3,7_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_7,6_3,6_4,6_5,6_6,6_7,6_9,6_10,6_11,7_4,7_5,7_7"; scene_data["render_warp_0001_coordinates"] = "6_8"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0048() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 12; scene_data["name"] = "Second house west of inn - Barlon"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=6, txt="If you are the gemseeker, you have my consent. This consent applies to you only, however. Please do not bring war-hungry men into our village.", required_dir="up", callback=function() PUT_STATE("consent", 48, 1, "obtained consent"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=12, after_player_x=6, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=8, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_6|5_7|6_3|6_4|6_6|6_7|6_8|6_9|6_10|6_11|7_3|7_4|7_6|7_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_person_0005,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,5_2,5_5,5_8,6_2,7_2,7_5,7_8,8_2,8_3,8_4,8_5,8_6,8_7,8_8"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_6,5_7,6_3,6_4,6_6,6_7,6_9,6_10,6_11,7_3,7_4,7_6,7_7"; scene_data["render_person_0005_coordinates"] = "6_5"; scene_data["render_warp_0001_coordinates"] = "6_8"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0049() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 12; scene_data["name"] = "Tower Building - Barlon"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=4, txt="Woman: {{new_line}} Why do you seek my consent to travel north? {{new_line}} {{new_line}} You: {{new_line}} I believe a gem I am seeking is there. I promise to not bring harm to your village. {{new_line}} {{new_line}} Woman: {{new_line}} You recognize we are a women's village, and yet you come anyway? What is your opinion of women? {{new_line}} {{new_line}} You: {{new_line}} I think they are beautiful, kind, caring, and intelligent. The inns your guild runs are great, I've rested there may times. {{new_line}} {{new_line}} Woman: {{new_line}} We have a network of pigeons that transmit reports across Odessia. It has been said that you gave money to a widow. Why did you do this? {{new_line}} {{new_line}} You: {{new_line}} Money isn't something to hoard, it's something to share. Why not help a woman with a child? {{new_line}} {{new_line}} Woman: {{new_line}} You are a kind young man. You have my consent to travel north.", required_dir="up", callback=function() PUT_STATE("consent", 49, 1, "obtained consent"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=9, after_player_x=12, after_player_y=12, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=6, y=8, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_7|6_3|6_5|6_7|6_8|6_9|6_10|6_11|7_3|7_5|7_6|7_7"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_person_0005,render_common_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,5_2,5_6,5_8,6_2,6_4,6_6,7_2,7_4,7_8,8_2,8_3,8_4,8_5,8_6,8_7,8_8"; scene_data["render_person_0005_coordinates"] = "5_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_7,6_3,6_5,6_7,6_9,6_10,6_11,7_3,7_5,7_6,7_7"; scene_data["render_warp_0001_coordinates"] = "6_8"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0050() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 12; scene_data["name"] = "Middle Small House - Barlon"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="Woman: {{new_line}} You have my consent to travel north, I rather like you. {{new_line}} {{new_line}} You: {{new_line}} Thank you!", required_dir="up", callback=function() PUT_STATE("consent", 50, 1, "obtained consent"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=7, y=8, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_4|7_5|7_6|7_7|7_8|7_9|7_10|7_11"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_person_0005,render_common_0001,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_2,4_3,4_4,4_5,4_6,4_7,4_8,5_2,5_3,5_4,5_5,5_6,5_7,5_8,6_2,6_3,6_4,6_5,6_6,6_7,6_8,7_2,8_2,8_3,8_4,8_5,8_6,8_7,8_8"; scene_data["render_person_0005_coordinates"] = "7_3"; scene_data["render_common_0001_coordinates"] = "7_4,7_5,7_6,7_7,7_9,7_10,7_11"; scene_data["render_warp_0001_coordinates"] = "7_8"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function enter_scene_0051() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 25; scene_data["name"] = "Path to Fabius, just after Barlon"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=6, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=7, y=20, scene_number=45, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=26, after_player_x=6, after_player_y=29, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=5, y=3, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|5_0|5_1|5_2|5_3|5_4|5_5|5_7|5_8|5_9|5_10|5_12|5_13|5_14|5_15|5_19|6_5|6_7|6_10|6_12|6_15|6_19|7_5|7_7|7_10|7_12|7_15|7_19|7_20|7_21|7_22|7_23|7_24|8_5|8_7|8_9|8_10|8_12|8_15|8_19|9_5|9_7|9_10|9_12|9_15|9_19|10_5|10_6|10_7|10_9|10_10|10_11|10_12|10_15|10_16|10_17|10_18|10_19|12_0|12_1|12_2|12_3|12_4|12_5|12_6|12_7|12_8|12_9|12_10|12_11|12_12|12_13|12_14|12_15|12_16|12_17|12_18|12_19|12_20|12_21|12_22|12_23|12_24|14_0|14_1|14_2|14_3|14_4|14_5|14_6|14_7|14_8|14_9|14_10|14_11|14_12|14_13|14_14|14_15|14_16|14_17|14_18|14_19|14_20|14_21|14_22|14_23|14_24"; scene_data["render_fns_list"] = "render_outdoors_0006,render_common_0001,render_outdoors_0010,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,5_0,5_1,5_2,5_4,5_5,5_7,5_8,5_9,5_10,5_12,5_13,5_14,5_15,5_19,6_5,6_7,6_10,6_12,6_15,6_19,7_5,7_7,7_10,7_12,7_15,7_19,7_21,7_22,7_23,7_24,8_5,8_7,8_9,8_10,8_12,8_15,8_19,9_5,9_7,9_10,9_12,9_15,9_19,10_5,10_6,10_7,10_9,10_10,10_11,10_12,10_15,10_16,10_17,10_18,10_19,12_0,12_1,12_2,12_3,12_4,12_5,12_6,12_7,12_8,12_9,12_10,12_11,12_12,12_13,12_14,12_15,12_16,12_17,12_18,12_19,12_20,12_21,12_22,12_23,12_24,14_0,14_1,14_2,14_3,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_11,14_12,14_13,14_14,14_15,14_16,14_17,14_18,14_19,14_20,14_21,14_22,14_23,14_24"; scene_data["render_outdoors_0010_coordinates"] = "4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,5_6,5_11,5_18,6_0,6_1,6_2,6_4,6_11,6_14,6_18,7_0,7_1,7_2,7_4,7_6,7_18,8_0,8_1,8_2,8_4,8_11,8_14,8_18,9_0,9_1,9_2,9_4,9_11,9_14,9_18,10_0,10_1,10_2,10_4,10_14,11_0,11_1,11_2,11_3,11_4,11_5,11_6,11_7,11_8,11_9,11_10,11_11,11_12,11_13,11_14,11_15,11_16,11_17,11_18,11_19,11_20,11_21,11_22,11_23,11_24"; scene_data["render_warp_0001_coordinates"] = "5_3,7_20"; scene_data["default_tile"] = render_outdoors_0006; scene_data["default_tile_name"] = "render_outdoors_0006"; SCENE_DATA = scene_data; end function enter_scene_0052() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 45; scene_data["tile_y_count"] = 35; scene_data["name"] = "Fabius Commons"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("brb", 62) == 1 then SCENE_DATA["tile_at_21,10"] = render_common_0001;end;if GET_STATE("brb", 62) == 1 then SCENE_DATA["movement_allowed_at_21,10"] = true; end;if GET_STATE("brb", 62) == 1 then SCENE_DATA.dialogs[2].txt = "Shhhhh."; end;if GET_STATE("brb", 62) == 1 then SCENE_DATA.dialogs[3].txt = "Hush and hurry"; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=30, txt="Welcome to Fabius Commons", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=20, y=12, txt="Keep out! None may enter.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=22, y=12, txt="Go back, young man. No one may enter the castle.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=21, y=11, txt="We grow tired of asking. Please leave at once, entrance to the castle is forbidden.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=19, y=12, txt="Fortress of Fabius Kingdom. Only soldiers may enter.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=23, y=12, txt="Fortress of Fabius Kingdom. Only soldiers may enter.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=11, txt="Keep away from the barracks.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=15, y=11, txt="Keep away from the barracks.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=15, txt="Keep away from the barracks.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=11, y=15, txt="Keep away from the barracks.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=30, scene_number=51, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=7, after_player_x=6, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=11, y=28, scene_number=53, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=6, after_player_x=6, after_player_y=9, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=15, y=29, scene_number=54, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=6, after_player_x=6, after_player_y=9, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=18, y=28, scene_number=55, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=6, after_player_y=6, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=26, y=29, scene_number=56, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=4, after_map_y=13, after_player_x=6, after_player_y=16, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=30, y=30, scene_number=57, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=34, y=29, scene_number=1, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=10, after_player_x=7, after_player_y=11, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=28, y=23, scene_number=58, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=15, after_map_y=7, after_player_x=17, after_player_y=10, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=24, y=23, scene_number=1, inn_item_keys={}, inn_price=300, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=9, after_player_x=7, after_player_y=11, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=6, y=23, scene_number=59, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=8, after_player_x=7, after_player_y=11, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=19, scene_number=60, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=5, after_map_y=8, after_player_x=7, after_player_y=11, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=11, y=23, scene_number=60, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=5, after_map_y=8, after_player_x=7, after_player_y=11, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=15, y=23, scene_number=60, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=8, after_player_x=7, after_player_y=10, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=12, y=19, scene_number=61, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=8, after_player_x=12, after_player_y=10, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=15, y=19, scene_number=61, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=8, after_player_x=7, after_player_y=10, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=10, y=10, scene_number=62, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "Keep out. Off with you, young lad.", after_map_x=6, after_map_y=8, after_player_x=7, after_player_y=10, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=14, y=9, scene_number=62, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "Keep out. Off with you, young lad.", after_map_x=6, after_map_y=8, after_player_x=7, after_player_y=10, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=12, y=13, scene_number=62, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=8, after_player_x=6, after_player_y=9, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=28, y=13, scene_number=63, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=7, after_player_x=7, after_player_y=9, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=32, y=13, scene_number=64, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=17, after_map_y=32, after_player_x=19, after_player_y=34, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=21, y=6, scene_number=65, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=36, y=23, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_17|5_18|5_20|5_21|5_24|5_25|5_27|6_17|6_18|6_19|6_20|6_21|6_23|6_24|6_25|6_27|6_28|6_29|6_30|6_31|6_32|6_33|6_34|7_17|7_20|7_21|7_24|7_27|8_7|8_8|8_9|8_10|8_11|8_12|8_13|8_14|8_15|8_17|8_19|8_20|8_21|8_22|8_23|8_24|8_25|8_27|8_28|8_29|8_30|8_31|9_8|9_11|9_12|9_13|9_14|9_17|9_20|9_21|9_22|9_23|9_24|9_31|10_7|10_8|10_10|10_11|10_14|10_15|10_17|10_18|10_19|10_20|10_21|10_24|10_30|10_31|11_8|11_11|11_15|11_17|11_21|11_23|11_24|11_25|11_28|11_29|11_30|12_7|12_8|12_9|12_10|12_11|12_13|12_14|12_15|12_17|12_19|12_20|12_21|12_24|12_25|12_29|12_30|12_31|13_11|13_15|13_17|13_20|13_21|13_22|13_23|13_24|13_27|13_28|13_29|13_30|13_31|14_9|14_10|14_11|14_14|14_15|14_17|14_20|14_21|14_24|14_25|14_27|14_30|15_11|15_12|15_13|15_14|15_17|15_19|15_20|15_21|15_23|15_24|15_27|15_29|15_30|15_31|16_7|16_8|16_9|16_10|16_11|16_12|16_13|16_14|16_15|16_17|16_21|16_24|16_27|16_30|16_31|17_11|17_12|17_15|17_17|17_18|17_19|17_20|17_21|17_22|17_23|17_24|17_25|17_29|17_30|17_31|18_11|18_12|18_15|18_17|18_18|18_23|18_28|18_29|18_30|19_8|19_9|19_12|19_13|19_14|19_15|19_16|19_17|19_18|19_19|19_20|19_21|19_22|19_23|19_24|19_25|19_29|19_30|19_31|20_8|20_9|20_12|20_13|20_15|20_17|20_27|20_28|20_29|20_30|20_31|21_6|21_7|21_8|21_9|21_11|21_12|21_15|21_17|21_18|21_20|21_21|21_22|21_23|21_24|21_25|21_28|21_30|22_8|22_9|22_12|22_15|22_17|22_18|22_21|22_22|22_23|22_24|22_25|22_27|22_28|22_30|22_31|23_8|23_9|23_12|23_13|23_15|23_18|23_20|23_21|23_24|23_25|23_27|23_31|24_11|24_12|24_13|24_14|24_15|24_17|24_18|24_20|24_21|24_23|24_24|24_25|24_27|24_28|24_29|24_30|24_31|25_15|25_17|25_21|25_24|25_25|25_27|25_30|25_31|26_11|26_12|26_13|26_14|26_15|26_17|26_18|26_20|26_21|26_22|26_23|26_24|26_25|26_27|26_29|26_30|26_31|27_11|27_14|27_15|27_18|27_21|27_24|27_25|27_27|27_30|27_31|28_11|28_13|28_14|28_18|28_20|28_21|28_23|28_24|28_25|28_27|28_28|28_29|28_30|28_31|29_11|29_14|29_17|29_18|29_21|29_24|29_25|29_27|29_28|29_31|30_11|30_12|30_13|30_14|30_17|30_18|30_19|30_20|30_21|30_22|30_23|30_24|30_25|30_27|30_28|30_30|30_31|31_11|31_14|31_24|31_25|31_27|31_28|31_31|32_11|32_13|32_14|32_24|32_25|32_27|32_28|32_29|32_30|32_31|33_11|33_14|33_15|33_24|33_25|33_27|33_30|33_31|34_11|34_12|34_13|34_14|34_15|34_25|34_27|34_29|34_30|34_31|35_24|35_25|35_27|35_30|35_31|36_23|36_24|36_25|36_27|36_28|36_29|36_30|36_31|37_24|37_25|37_27|37_28|37_29|37_30|37_31|38_24|38_25|38_29|39_24|39_25|39_26|39_27|39_28|39_29"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_building_0004,render_warp_0001,render_common_0004,render_person_0007,render_outdoors_0011,render_common_0002,render_building_0005"; scene_data["render_common_0001_coordinates"] = "5_17,5_18,5_20,5_21,5_24,5_25,5_27,6_17,6_18,6_19,6_20,6_21,6_24,6_25,6_27,6_28,6_29,6_31,6_32,6_33,6_34,7_17,7_20,7_21,7_24,7_27,8_7,8_8,8_9,8_10,8_11,8_12,8_13,8_14,8_15,8_17,8_20,8_21,8_22,8_23,8_24,8_25,8_27,8_28,8_29,8_30,8_31,9_8,9_11,9_12,9_13,9_14,9_17,9_20,9_21,9_22,9_23,9_24,9_31,10_7,10_8,10_11,10_14,10_15,10_17,10_18,10_19,10_20,10_21,10_24,10_30,10_31,11_8,11_11,11_15,11_17,11_21,11_24,11_25,11_29,11_30,12_7,12_8,12_9,12_10,12_11,12_14,12_15,12_17,12_20,12_21,12_24,12_25,12_29,12_30,12_31,13_11,13_15,13_17,13_20,13_21,13_22,13_23,13_24,13_27,13_28,13_29,13_30,13_31,14_10,14_11,14_14,14_15,14_17,14_20,14_21,14_24,14_25,14_27,14_30,15_11,15_12,15_13,15_14,15_17,15_20,15_21,15_24,15_27,15_30,15_31,16_7,16_8,16_9,16_10,16_11,16_12,16_13,16_14,16_15,16_17,16_21,16_24,16_27,16_30,16_31,17_11,17_12,17_15,17_17,17_18,17_19,17_20,17_21,17_22,17_23,17_24,17_25,17_29,17_30,17_31,18_11,18_12,18_15,18_17,18_18,18_23,18_29,18_30,19_8,19_9,19_12,19_13,19_14,19_15,19_16,19_17,19_18,19_19,19_20,19_21,19_22,19_23,19_24,19_25,19_29,19_30,19_31,20_8,20_9,20_12,20_13,20_15,20_17,20_27,20_28,20_29,20_30,20_31,21_7,21_8,21_9,21_11,21_12,21_15,21_17,21_18,21_20,21_21,21_22,21_23,21_24,21_25,21_28,21_30,22_8,22_9,22_12,22_15,22_17,22_18,22_21,22_22,22_23,22_24,22_25,22_27,22_28,22_30,22_31,23_8,23_9,23_12,23_13,23_15,23_18,23_20,23_21,23_24,23_25,23_27,23_31,24_11,24_12,24_13,24_14,24_15,24_17,24_18,24_20,24_21,24_24,24_25,24_27,24_28,24_29,24_30,24_31,25_15,25_17,25_21,25_24,25_25,25_27,25_30,25_31,26_11,26_12,26_13,26_14,26_15,26_17,26_18,26_20,26_21,26_22,26_23,26_24,26_25,26_27,26_30,26_31,27_11,27_14,27_15,27_18,27_21,27_24,27_25,27_27,27_30,27_31,28_11,28_14,28_18,28_20,28_21,28_24,28_25,28_27,28_28,28_29,28_30,28_31,29_11,29_14,29_17,29_18,29_21,29_24,29_25,29_27,29_28,29_31,30_11,30_12,30_13,30_14,30_17,30_18,30_19,30_20,30_21,30_22,30_23,30_24,30_25,30_27,30_28,30_31,31_11,31_14,31_24,31_25,31_27,31_28,31_31,32_11,32_14,32_24,32_25,32_27,32_28,32_29,32_30,32_31,33_11,33_14,33_15,33_24,33_25,33_27,33_30,33_31,34_11,34_12,34_13,34_14,34_15,34_25,34_27,34_30,34_31,35_24,35_25,35_27,35_30,35_31,36_24,36_25,36_27,36_28,36_29,36_30,36_31,37_24,37_25,37_27,37_28,37_29,37_30,37_31,38_24,38_25,38_29,39_24,39_25,39_26,39_27,39_28,39_29"; scene_data["render_building_0004_coordinates"] = "6_23,8_19,10_10,11_23,11_28,12_13,12_19,14_9,15_19,15_23,15_29,18_28,24_23,26_29,28_13,28_23,30_30,32_13,34_29,36_23"; scene_data["render_warp_0001_coordinates"] = "6_30"; scene_data["render_common_0004_coordinates"] = "10_29,19_11,23_11"; scene_data["render_person_0007_coordinates"] = "11_14,13_10,13_14,15_10,20_11,21_10,22_11"; scene_data["render_outdoors_0011_coordinates"] = "18_7,18_8,18_9,18_10,19_7,19_10,20_7,20_10,22_7,22_10,23_7,23_10,24_7,24_8,24_9,24_10"; scene_data["render_common_0002_coordinates"] = "21_6"; scene_data["render_building_0005_coordinates"] = "35_23"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0053() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 15; scene_data["name"] = "Lower Row of Houses, First from the Left"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=5, txt="Guy: {{new_line}} Welcome, and who might you be? {{new_line}} {{new_line}} You: {{new_line}} My name is Ren. {{new_line}} {{new_line}} Guy: {{new_line}} Nice to meet you Ren. {{new_line}} {{new_line}} You: {{new_line}} Thank you. Is this the Kingdom of Fabius? {{new_line}} {{new_line}} Guy: {{new_line}} Yes it is, welcome to the commons. The castle is closed, soldiers are guarding the gate. If you want to get inside, I'm not sure there's a way. Maybe in the future you can come back, but for now I'm not sure I have any ideas on how to get in. {{new_line}} {{new_line}} You: {{new_line}} I'm seeking the gems. I'm led to believe that one may be here. {{new_line}} {{new_line}} Guy: {{new_line}} So you're the seeker. Well, I wish you the best of luck, but like I said...no ideas. {{new_line}} {{new_line}} You: {{new_line}} Thank you for your time. ", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=5, txt="You are a charming young man, nice to meet you.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=27, after_player_x=11, after_player_y=29, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=6, y=10, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|5_8|5_9|6_3|6_5|6_8|6_9|6_10|6_11|6_12|6_13|6_14|7_3|7_5|7_6|7_7|7_8|7_9|8_5"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_person_0001,render_warp_0001,render_person_0006,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_5,5_8,5_9,6_3,6_5,6_8,6_9,6_11,6_12,6_13,6_14,7_3,7_5,7_6,7_7,7_8,7_9,8_5"; scene_data["render_indoors_asset_0008_coordinates"] = "5_7"; scene_data["render_person_0001_coordinates"] = "6_4"; scene_data["render_warp_0001_coordinates"] = "6_10"; scene_data["render_person_0006_coordinates"] = "7_4"; scene_data["render_indoors_asset_0014_coordinates"] = "8_7"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0054() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 15; scene_data["name"] = "Bottom row of houses, second scene from the left"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=7, txt="Guy: {{new_line}} Hi, nice to meet you. My partner says you have a nice haircut. {{new_line}} {{new_line}} You: {{new_line}} Thank you. Your partner? {{new_line}} {{new_line}} Guy: {{new_line}} Yes, we are lovers. {{new_line}} {{new_line}} You: {{new_line}} Interesting. I wasn't aware that men could love men in that type of way. {{new_line}} {{new_line}} Guy: {{new_line}} Love is love! Again, nice to meet you. ", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=6, y=7, txt="Guy: {{new_line}} Nice haircut! My partner is wondering if you are the rumored gemseeker. {{new_line}} {{new_line}} You: {{new_line}} Yes, I am in fact. {{new_line}} {{new_line}} Guy: {{new_line}} We are glad you are here. {{new_line}} {{new_line}} You: {{new_line}} How do I get into the castle? {{new_line}} {{new_line}} Guy: {{new_line}} It's currently forbidden. It's not likely you can enter, but I do hope sincerely that you can find a way. {{new_line}} {{new_line}} You: {{new_line}} Thank you! I'll keep asking around.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=7, txt="Woman: {{new_line}} Hello gemseeker. Welcome to our 'love house'. My partner and I are glad you are here. {{new_line}} {{new_line}} You: {{new_line}} So you two are lovers? {{new_line}} {{new_line}} Woman: {{new_line}} Yes. The love bond between women is stronger, because our hormones are the same and we understand each other. {{new_line}} {{new_line}} You: {{new_line}} I think two women loving each other is really intriguing. {{new_line}} {{new_line}} Woman: {{new_line}} Thank you. This house has two men, and two women. We have become a family. It is rare to see love between the same gender, so when we met these two men, we decided to live together. We are former innkeepers, and we know how to keep a household going. The men help with repairs and maintenance, and we take care of everything else. {{new_line}} {{new_line}} You: {{new_line}} That is so cool! Do you know how I might enter the castle? {{new_line}} {{new_line}} Woman: {{new_line}} It's currently forbidden, but where there is will, there is a way. Keep looking! {{new_line}} {{new_line}} You: {{new_line}} Will do.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=8, y=7, txt="I'm shy, but you may speak with my partner. Sorry!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=28, after_player_x=15, after_player_y=30, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=10, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_7|5_8|5_9|6_3|6_4|6_7|6_9|6_10|6_11|6_12|6_13|6_14|7_3|7_4|7_7|8_3|8_4|8_7"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_person_0001,render_warp_0001,render_person_0005,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_7,5_8,5_9,6_3,6_4,6_7,6_9,6_11,6_12,6_13,6_14,7_3,7_4,7_7,8_3,8_4,8_7"; scene_data["render_indoors_asset_0008_coordinates"] = "5_5,6_5,7_5,8_5"; scene_data["render_person_0001_coordinates"] = "5_6,6_6"; scene_data["render_warp_0001_coordinates"] = "6_10"; scene_data["render_person_0005_coordinates"] = "7_6,8_6"; scene_data["render_indoors_asset_0014_coordinates"] = "7_9"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0055() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 15; scene_data["name"] = "Third house bottom row (from the left 3rd)"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Nobody is home."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=15, after_map_y=26, after_player_x=18, after_player_y=29, after_screen_x=3, after_screen_y=3, after_player_dir="down", x=6, y=10, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_9|6_6|6_9|6_10|6_11|6_12|6_13|6_14|7_6|7_9|8_6|8_7|8_8|8_9"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0014,render_common_0001,render_indoors_asset_0008,render_warp_0001"; scene_data["render_indoors_asset_0014_coordinates"] = "5_5,8_5"; scene_data["render_common_0001_coordinates"] = "5_6,5_9,6_6,6_9,6_11,6_12,6_13,6_14,7_6,7_9,8_6,8_7,8_8,8_9"; scene_data["render_indoors_asset_0008_coordinates"] = "6_5,7_5"; scene_data["render_warp_0001_coordinates"] = "6_10"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0056() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 12; scene_data["tile_y_count"] = 12; scene_data["name"] = "4th scene in bottom row of houses (starting from the left)"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=4, txt="Woman: {{new_line}} Say hello, my child. Say hello. {{new_line}} {{new_line}} Child: {{new_line}} Hello. {{new_line}} {{new_line}} You: {{new_line}} Why, hello there.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=24, after_map_y=27, after_player_x=26, after_player_y=30, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=6, y=7, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0014,render_common_0001,render_indoors_asset_0008,render_person_0006,render_warp_0001"; scene_data["render_indoors_asset_0014_coordinates"] = "5_4"; scene_data["render_common_0001_coordinates"] = "5_5,6_4,6_5,6_6,6_8,6_9,6_10,6_11"; scene_data["render_indoors_asset_0008_coordinates"] = "5_6"; scene_data["render_person_0006_coordinates"] = "6_3"; scene_data["render_warp_0001_coordinates"] = "6_7"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0057() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 16; scene_data["name"] = "5th house bottom row of houses, from the left, sixth is locked"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=13, y=14, txt="Welcome to the party. Cheers! Happy drinking.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=7, txt="Guy: {{new_line}} An inn? No, this isn't an inn, this is a big party. The kingdom is taxing us to death. The only thing we can afford is ale. They've robbed us of a lot of our income, but ale is cheap enough. We still eat, we just source a lot of our calories from ale. Drinking brings merry times. {{new_line}} {{new_line}} You: {{new_line}} Indeed it does. Cheers!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=9, y=7, txt="Guy: {{new_line}} You're looking to get into the castle? {{new_line}} {{new_line}} You: {{new_line}} Yes. Any ideas? {{new_line}} {{new_line}} Guy (slurred speech): {{new_line}} I can't help you get in, but please enjoy some ale young lad. There's plenty to go around. {{new_line}} {{new_line}} You: {{new_line}} Thanks. You're very kind.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=29, after_map_y=29, after_player_x=30, after_player_y=31, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=6, y=17, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|7_3|7_4|7_5|7_6|7_7|7_8|7_9|7_10|7_11|7_12|8_3|8_4|8_5|8_6|8_7|8_8|8_9|8_10|8_11|8_12|9_3|9_4|9_5|9_6|9_7|9_8|9_9|9_10|9_11|9_12|10_3|10_4|10_5|10_6|10_7|10_8|10_9|10_10|10_11|10_12|11_3|11_4|11_5|11_6|11_7|11_8|11_9|11_10|11_11|11_12|12_3|12_4|12_5|12_6|12_7|12_8|12_9|12_10|12_11|12_12|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|13_12|14_3|14_4|14_5|14_6|14_7|14_8|14_9|14_10|14_11|14_12"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,7_3,7_4,7_5,7_6,7_7,7_8,7_9,7_10,7_11,7_12,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,9_3,9_4,9_5,9_6,9_7,9_8,9_9,9_10,9_11,9_12,10_3,10_4,10_5,10_6,10_7,10_8,10_9,10_10,10_11,10_12,11_3,11_4,11_5,11_6,11_7,11_8,11_9,11_10,11_11,11_12,12_3,12_4,12_5,12_6,12_7,12_8,12_9,12_10,12_11,12_12,13_3,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_11,13_12,14_3,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_11,14_12"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0058() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 16; scene_data["name"] = "The middle row of houses is split into left side and right side...this is the far right house in the right side group of the right side group (middle row)"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=7, txt="Woman: {{new_line}} You'd like to enter the castle? I'm not sure. Maybe ask around. {{new_line}} {{new_line}} You: {{new_line}} OK will do! Your child is very calm, you must be a great mother. {{new_line}} {{new_line}} Woman: {{new_line}} Thank you.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=26, after_map_y=21, after_player_x=28, after_player_y=24, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=7, y=12, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|5_8|5_9|5_10|5_12|6_7|6_8|6_10|6_12|7_3|7_5|7_7|7_10|7_11|7_12|7_13|7_14|7_15|8_3|8_4|8_5|8_7|8_8|8_9|8_10|8_11|8_12|9_3|9_5|9_7|9_10|9_12|10_3|10_5|10_7|10_8|10_10|10_12"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_warp_0001,render_person_0006,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_7,5_8,5_9,5_10,5_12,6_7,6_8,6_10,6_12,7_3,7_5,7_7,7_10,7_11,7_13,7_14,7_15,8_3,8_4,8_5,8_7,8_8,8_9,8_10,8_11,8_12,9_3,9_5,9_7,9_10,9_12,10_3,10_5,10_7,10_8,10_10,10_12"; scene_data["render_indoors_asset_0008_coordinates"] = "7_4,10_4"; scene_data["render_warp_0001_coordinates"] = "7_12"; scene_data["render_person_0006_coordinates"] = "8_6"; scene_data["render_indoors_asset_0014_coordinates"] = "9_4"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0059() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 16; scene_data["name"] = "Middle row of houses...left side partition, bottom-left corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=11, txt="If you're trying to enter the fortress, we obviously cannot help you. You might try speaking with the soldiers in their barracks to the left and right of the entrance. Have a good day!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=21, after_player_x=6, after_player_y=24, after_screen_x=1, after_screen_y=3, after_player_dir="down", x=7, y=12, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_12|6_10|6_11|7_10|7_11|7_12|7_13|7_14|7_15|8_11"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_indoors_asset_0014,render_common_0001,render_warp_0001,render_person_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "5_10"; scene_data["render_indoors_asset_0014_coordinates"] = "5_11"; scene_data["render_common_0001_coordinates"] = "5_12,6_10,6_11,7_10,7_11,7_13,7_14,7_15,8_11"; scene_data["render_warp_0001_coordinates"] = "7_12"; scene_data["render_person_0001_coordinates"] = "8_10"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0060() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 16; scene_data["name"] = "Middle row of houses, left-side partition...upper-right corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=7, txt="Look in the barracks for help, lad. We common folk cannot help you.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=9, y=7, txt="Look in the barracks for help, lad. We common folk cannot help you.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=18, after_player_x=8, after_player_y=20, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=12, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_10|5_11|5_12|6_8|6_10|6_11|7_7|7_8|7_10|7_11|7_12|7_13|7_14|7_15|8_6|8_10|8_11|9_7|9_8|9_10|9_11|10_8|10_9|10_10|10_11"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_person_0001,render_warp_0001,render_indoors_asset_0014"; scene_data["render_indoors_asset_0008_coordinates"] = "5_7,5_8"; scene_data["render_common_0001_coordinates"] = "5_10,5_11,5_12,6_8,6_10,6_11,7_7,7_8,7_10,7_11,7_13,7_14,7_15,8_6,8_10,8_11,9_7,9_8,9_10,9_11,10_8,10_9,10_10,10_11"; scene_data["render_person_0001_coordinates"] = "7_6,9_6"; scene_data["render_warp_0001_coordinates"] = "7_12"; scene_data["render_indoors_asset_0014_coordinates"] = "8_8"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0061() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 16; scene_data["name"] = "Middle row of houses, left-side partition...building with two doors"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=4, txt="If you're looking to enter the fortress, it will be difficult. The soldiers are guarding the entrance. You might be able to bribe them, they are underfed. The army has grown too large to support three meals a day. Please...you didn't hear this from me.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=19, after_player_x=12, after_player_y=20, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=7, y=11, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=18, after_player_x=15, after_player_y=20, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=12, y=11, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_9|5_10|6_3|6_4|6_6|6_7|6_9|6_10|7_4|7_7|7_9|7_10|7_11|7_12|7_13|7_14|7_15|8_4|8_6|8_7|8_10|9_4|9_6|9_7|9_9|9_10|10_4|10_7|10_9|10_10|11_4|11_7|11_10|12_4|12_6|12_7|12_8|12_9|12_10|12_11|12_12|12_13|12_14|12_15|13_4|13_6|13_7|13_9|13_10|14_4|14_6|14_7|14_9|14_10"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_warp_0001,render_indoors_asset_0014,render_person_0001,render_indoors_asset_0008"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_9,5_10,6_3,6_4,6_6,6_7,6_9,6_10,7_4,7_7,7_9,7_10,7_12,7_13,7_14,7_15,8_4,8_6,8_7,8_10,9_4,9_6,9_7,9_9,9_10,10_4,10_7,10_9,10_10,11_4,11_7,11_10,12_4,12_6,12_7,12_8,12_9,12_10,12_12,12_13,12_14,12_15,13_4,13_6,13_7,13_9,13_10,14_4,14_6,14_7,14_9,14_10"; scene_data["render_warp_0001_coordinates"] = "7_11,12_11"; scene_data["render_indoors_asset_0014_coordinates"] = "8_3,9_3"; scene_data["render_person_0001_coordinates"] = "11_3"; scene_data["render_indoors_asset_0008_coordinates"] = "12_3,13_3"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0062() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 16; scene_data["name"] = "Upper row of houses, right-side partition...upper-left corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=12, y=8, txt="Soldier: {{new_line}} How did you gain access to this building {{new_line}} {{new_line}} Ren: {{new_line}} Umm...the door wasn't locked? {{new_line}} {{new_line}} Soldier: {{new_line}} The guards must have been between shifting rounds. I'd like to ask you to leave, but not before I ask you this: why are you here? {{new_line}} {{new_line}} Ren: {{new_line}} I need to gain access to the fortress. {{new_line}} {{new_line}} Soldier: {{new_line}} Why? {{new_line}} {{new_line}} Ren: {{new_line}} Let's just keep that a secret. Can you help me? {{new_line}} {{new_line}} Soldier: {{new_line}} For 500g, I can tell the guards to turn a blind eye. {{new_line}} {{new_line}} Ren: {{new_line}} Deal! Here you go. {{new_line}} {{new_line}} Soldier: {{new_line}} Needless to say, please keep this hush hush. You've never me me. {{new_line}} {{new_line}} Ren: {{new_line}} Of course I haven't. Farewell, and thank you very much.", required_dir="up", callback=function() local wallet = PEEK_MONEY(); local amt_to_spend = 500; if wallet - amt_to_spend < 0 then amt_to_spend = wallet; end; SPEND_MONEY(amt_to_spend); PUT_STATE("brb", 62, 1, "Bribed Soldier"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=9, after_player_x=10, after_player_y=11, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=11, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_9|5_10|6_9|6_10|7_9|7_10|7_11|7_12|7_13|7_14|7_15|8_10|9_10|10_10|11_10|12_8|12_9|12_10|13_10|14_10"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_warp_0001,render_indoors_asset_0014,render_person_0007,render_indoors_asset_0008"; scene_data["render_common_0001_coordinates"] = "5_9,5_10,6_9,6_10,7_9,7_10,7_12,7_13,7_14,7_15,8_10,9_10,10_10,11_10,12_8,12_9,12_10,13_10,14_10"; scene_data["render_warp_0001_coordinates"] = "7_11"; scene_data["render_indoors_asset_0014_coordinates"] = "9_9,10_9"; scene_data["render_person_0007_coordinates"] = "12_7"; scene_data["render_indoors_asset_0008_coordinates"] = "13_9,14_9"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0063() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 14; scene_data["name"] = "Top row of houses, right-side partition...first from the left"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=5, txt="I've nothing to say to you. Then again, that's saying too much. Do you like the rosemary spice?", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=26, after_map_y=12, after_player_x=28, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=10, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|5_6|5_7|5_9|6_5|6_7|6_9|6_10|6_11|6_12|6_13|7_5|7_7|7_9|8_5|8_7|8_8|8_9|8_10"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_person_0001,render_warp_0001,render_indoors_asset_0008,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_5,5_6,5_7,5_9,6_5,6_7,6_9,6_11,6_12,6_13,7_5,7_7,7_9,8_5,8_7,8_8,8_9,8_10"; scene_data["render_person_0001_coordinates"] = "6_4"; scene_data["render_warp_0001_coordinates"] = "6_10"; scene_data["render_indoors_asset_0008_coordinates"] = "7_4"; scene_data["render_indoors_asset_0014_coordinates"] = "8_4"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0064() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 14; scene_data["name"] = "Top row of houses, right-side partition....right-most house"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=7, txt="Entrance to the fortress? It may be possible, but just remember this: rosemary pairs well with blackberry pie.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=30, after_map_y=12, after_player_x=32, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=10, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|6_4|6_7|7_4|7_7|7_9|7_10|7_11|7_12|7_13|8_4|8_7|8_8|8_9"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_person_0001,render_indoors_asset_0014,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_7,6_4,6_7,7_4,7_7,7_9,7_11,7_12,7_13,8_4,8_7,8_8,8_9"; scene_data["render_indoors_asset_0008_coordinates"] = "6_5,7_5"; scene_data["render_person_0001_coordinates"] = "6_6"; scene_data["render_indoors_asset_0014_coordinates"] = "7_6"; scene_data["render_warp_0001_coordinates"] = "7_10"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0065() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 36; scene_data["tile_y_count"] = 40; scene_data["name"] = "First Room in Fortress"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {7}; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=31, txt="You obtained 700g", required_dir="up", callback=function() GET_MONEY(700); PUT_STATE("tb1", 65, 1, "Treasure box 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tb1", 65) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=18, y=31, txt="You obtained 600g", required_dir="up", callback=function() GET_MONEY(600); PUT_STATE("tb2", 65, 1, "Treasure box 2"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tb2", 65) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=22, y=32, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("tb3", 65, 1, "Treasure box 3"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("tb3", 65) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=5, after_player_x=21, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=19, y=35, scene_number=52, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=18, after_map_y=21, after_player_x=21, after_player_y=23, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=29, y=3, scene_number=66, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_20|5_21|5_22|5_24|5_25|5_26|5_30|5_31|5_32|5_33|5_34|6_3|6_14|6_20|6_21|6_22|6_23|6_24|6_26|6_30|6_34|7_3|7_4|7_5|7_6|7_14|7_20|7_21|7_26|7_28|7_30|7_32|7_34|8_6|8_7|8_8|8_9|8_10|8_11|8_12|8_14|8_20|8_21|8_26|8_30|8_31|8_32|8_34|9_12|9_14|9_15|9_16|9_17|9_18|9_21|9_26|9_28|9_32|9_34|9_35|9_36|10_3|10_4|10_5|10_6|10_8|10_9|10_10|10_12|10_18|10_20|10_21|10_23|10_24|10_26|10_30|10_31|10_32|10_35|10_36|11_3|11_4|11_6|11_8|11_10|11_12|11_16|11_17|11_18|11_20|11_23|11_24|11_25|11_26|11_30|11_34|11_35|11_36|12_4|12_6|12_8|12_10|12_11|12_12|12_16|12_20|12_21|12_23|12_30|12_31|12_32|12_34|13_4|13_6|13_7|13_8|13_12|13_14|13_16|13_21|13_23|13_24|13_25|13_26|13_32|13_34|13_35|13_36|14_3|14_4|14_14|14_15|14_16|14_17|14_18|14_20|14_21|14_26|14_31|14_32|14_35|14_36|15_3|15_4|15_5|15_6|15_8|15_9|15_10|15_12|15_14|15_20|15_23|15_24|15_25|15_26|15_28|15_30|15_31|15_32|15_34|15_35|16_3|16_4|16_6|16_7|16_8|16_10|16_11|16_12|16_14|16_15|16_16|16_17|16_18|16_20|16_23|16_28|16_30|16_34|16_35|17_12|17_18|17_20|17_23|17_24|17_25|17_26|17_28|17_30|17_31|17_34|17_35|17_36|18_3|18_4|18_6|18_7|18_8|18_10|18_11|18_12|18_14|18_16|18_17|18_18|18_20|18_26|18_31|18_32|18_34|19_3|19_4|19_5|19_6|19_8|19_9|19_10|19_14|19_15|19_16|19_18|19_20|19_26|19_32|19_34|19_35|19_36|19_37|19_38|19_39|20_3|20_14|20_20|20_26|20_28|20_29|20_30|20_31|20_32|20_34|21_3|21_4|21_5|21_6|21_7|21_8|21_9|21_10|21_11|21_12|21_14|21_15|21_16|21_17|21_18|21_20|21_21|21_26|21_28|21_32|21_34|22_12|22_18|22_21|22_23|22_24|22_25|22_26|22_28|22_30|22_32|22_34|23_7|23_8|23_9|23_11|23_12|23_14|23_15|23_16|23_17|23_18|23_20|23_21|23_23|23_28|23_30|23_31|23_32|23_34|24_7|24_9|24_12|24_14|24_15|24_20|24_21|24_23|24_24|24_25|24_28|24_32|24_34|25_7|25_9|25_11|25_12|25_14|25_15|25_16|25_17|25_18|25_21|25_23|25_25|25_28|25_30|25_31|25_32|25_34|26_7|26_9|26_11|26_16|26_18|26_20|26_21|26_25|26_28|26_30|26_34|27_7|27_9|27_11|27_12|27_16|27_18|27_20|27_21|27_23|27_24|27_25|27_28|27_30|27_31|27_34|28_7|28_9|28_11|28_12|28_16|28_18|28_21|28_23|28_24|28_25|28_28|28_30|28_31|28_34|29_0|29_1|29_2|29_3|29_4|29_5|29_7|29_9|29_11|29_12|29_14|29_15|29_16|29_20|29_21|29_23|29_24|29_25|29_26|29_27|29_28|29_31|29_32|29_34|30_4|30_5|30_6|30_7|30_9|30_10|30_11|30_12|30_14|30_15|30_16|30_17|30_18|30_19|30_20|30_27|30_28|30_32|30_33|30_34"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_common_0003,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_20,5_21,5_22,5_24,5_25,5_26,5_30,5_31,5_32,5_33,5_34,6_3,6_14,6_20,6_21,6_22,6_23,6_24,6_26,6_30,6_34,7_3,7_4,7_5,7_6,7_14,7_20,7_21,7_26,7_28,7_30,7_32,7_34,8_6,8_7,8_8,8_9,8_10,8_11,8_12,8_14,8_20,8_21,8_26,8_30,8_31,8_32,8_34,9_12,9_14,9_15,9_16,9_17,9_18,9_21,9_26,9_28,9_32,9_34,9_35,9_36,10_3,10_4,10_5,10_6,10_8,10_9,10_10,10_12,10_18,10_20,10_21,10_23,10_24,10_26,10_30,10_31,10_32,10_35,10_36,11_3,11_4,11_6,11_8,11_10,11_12,11_16,11_17,11_18,11_20,11_23,11_24,11_25,11_26,11_30,11_34,11_35,11_36,12_4,12_6,12_8,12_10,12_11,12_12,12_16,12_20,12_21,12_23,12_30,12_31,12_32,12_34,13_4,13_6,13_7,13_8,13_12,13_14,13_16,13_21,13_23,13_24,13_25,13_26,13_32,13_34,13_35,13_36,14_3,14_4,14_14,14_15,14_16,14_17,14_18,14_20,14_21,14_26,14_31,14_32,14_35,14_36,15_3,15_4,15_5,15_6,15_8,15_9,15_10,15_12,15_14,15_20,15_23,15_24,15_25,15_26,15_28,15_30,15_31,15_32,15_34,15_35,16_3,16_4,16_6,16_7,16_8,16_10,16_11,16_12,16_14,16_15,16_16,16_17,16_18,16_20,16_23,16_28,16_30,16_34,16_35,17_12,17_18,17_20,17_23,17_24,17_25,17_26,17_28,17_30,17_31,17_34,17_35,17_36,18_3,18_4,18_6,18_7,18_8,18_10,18_11,18_12,18_14,18_16,18_17,18_18,18_20,18_26,18_31,18_32,18_34,19_3,19_4,19_5,19_6,19_8,19_9,19_10,19_14,19_15,19_16,19_18,19_20,19_26,19_32,19_34,19_36,19_37,19_38,19_39,20_3,20_14,20_20,20_26,20_28,20_29,20_30,20_31,20_32,20_34,21_3,21_4,21_5,21_6,21_7,21_8,21_9,21_10,21_11,21_12,21_14,21_15,21_16,21_17,21_18,21_20,21_21,21_26,21_28,21_32,21_34,22_12,22_18,22_21,22_23,22_24,22_25,22_26,22_28,22_30,22_32,22_34,23_7,23_8,23_9,23_11,23_12,23_14,23_15,23_16,23_17,23_18,23_20,23_21,23_23,23_28,23_30,23_31,23_32,23_34,24_7,24_9,24_12,24_14,24_15,24_20,24_21,24_23,24_24,24_25,24_28,24_32,24_34,25_7,25_9,25_11,25_12,25_14,25_15,25_16,25_17,25_18,25_21,25_23,25_25,25_28,25_30,25_31,25_32,25_34,26_7,26_9,26_11,26_16,26_18,26_20,26_21,26_25,26_28,26_30,26_34,27_7,27_9,27_11,27_12,27_16,27_18,27_20,27_21,27_23,27_24,27_25,27_28,27_30,27_31,27_34,28_7,28_9,28_11,28_12,28_16,28_18,28_21,28_23,28_24,28_25,28_28,28_30,28_31,28_34,29_0,29_1,29_2,29_4,29_5,29_7,29_9,29_11,29_12,29_14,29_15,29_16,29_20,29_21,29_23,29_24,29_25,29_26,29_27,29_28,29_31,29_32,29_34,30_4,30_5,30_6,30_7,30_9,30_10,30_11,30_12,30_14,30_15,30_16,30_17,30_18,30_19,30_20,30_27,30_28,30_32,30_33,30_34"; scene_data["render_outdoors_0010_coordinates"] = "6_7,6_8,6_9,6_11,6_18,6_19,6_31,6_32,6_33,7_7,7_8,7_9,7_11,7_18,7_19,7_29,7_31,7_33,8_18,8_19,8_22,8_23,8_24,8_25,9_7,9_8,9_9,9_13,9_29,9_30,9_31,9_33,10_7,10_13,10_14,10_15,10_16,10_17,11_5,11_7,11_13,12_7,12_22,12_24,12_25,12_26,13_10,13_11,13_13,13_22,13_31,13_33,14_5,14_6,14_7,14_22,14_23,14_24,14_25,15_7,15_13,15_15,15_16,15_17,15_21,15_29,15_33,16_13,16_19,16_21,16_24,16_25,16_26,16_29,16_31,16_32,16_33,17_19,17_29,17_32,17_33,18_13,19_7,19_11,19_12,19_21,20_4,20_5,20_6,20_7,20_8,20_9,20_10,20_11,20_12,20_15,20_16,20_17,20_18,20_19,20_21,20_33,21_19,21_22,21_23,21_24,21_25,22_4,22_5,22_6,22_9,22_13,22_14,22_15,22_16,22_17,22_19,22_20,22_22,22_27,22_33,23_4,23_5,23_6,23_13,23_29,24_4,24_5,24_6,24_8,24_13,24_22,24_26,24_27,24_33,25_4,25_5,25_6,25_8,25_10,25_13,25_22,25_29,25_33,26_4,26_5,26_17,26_19,26_26,26_27,26_29,26_31,26_32,26_33,27_10,27_17,27_19,28_8,28_17,28_19,28_20,28_22,29_8,29_29,29_33,30_8"; scene_data["render_common_0003_coordinates"] = "14_30,18_30,22_31"; scene_data["render_warp_0001_coordinates"] = "19_35,29_3"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0066() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 28; scene_data["tile_y_count"] = 28; scene_data["name"] = "Second Room in Fortress"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {7}; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=28, after_map_y=3, after_player_x=29, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=21, y=24, scene_number=65, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=35, after_player_x=6, after_player_y=37, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=21, y=3, scene_number=67, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=21, y=21, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|5_8|5_9|5_10|5_15|5_16|5_18|5_19|5_20|5_24|6_4|6_5|6_6|6_7|6_10|6_16|6_17|6_18|6_20|6_22|6_24|7_4|7_10|7_11|7_12|7_16|7_20|7_22|8_4|8_5|8_6|8_12|8_15|8_16|8_20|8_21|8_22|8_23|8_24|9_4|9_6|9_10|9_11|9_12|9_14|9_15|9_16|9_24|10_6|10_10|10_12|10_16|10_18|10_20|10_21|10_22|10_24|11_3|11_4|11_5|11_6|11_10|11_14|11_15|11_16|11_18|11_19|11_20|11_22|11_23|11_24|12_3|12_10|12_11|12_12|12_14|12_18|12_19|13_3|13_10|13_12|13_14|13_15|13_16|13_18|13_19|13_21|13_22|13_23|13_24|14_3|14_4|14_5|14_6|14_12|14_16|14_18|14_21|14_23|14_24|15_3|15_4|15_6|15_10|15_12|15_14|15_15|15_16|15_18|15_19|15_20|15_21|15_23|15_24|16_6|16_10|16_11|16_12|16_14|16_24|17_3|17_4|17_5|17_6|17_10|17_14|17_15|17_16|17_18|17_19|17_21|17_22|17_23|17_24|18_3|18_10|18_11|18_12|18_16|18_18|18_19|18_20|18_21|18_23|18_24|19_3|19_4|19_5|19_6|19_7|19_8|19_11|19_12|19_14|19_15|19_16|19_18|19_19|20_8|20_10|20_11|20_12|20_14|20_18|20_19|20_22|21_0|21_1|21_2|21_3|21_4|21_5|21_6|21_8|21_10|21_11|21_12|21_13|21_14|21_15|21_16|21_18|21_19|21_21|21_22|21_23|21_24|21_25|21_26|21_27|22_6|22_7|22_8|22_14|22_16|22_18|22_19|22_20|22_21|22_22"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_building_0005,render_warp_0001,render_building_0004"; scene_data["render_common_0001_coordinates"] = "5_7,5_8,5_9,5_10,5_15,5_16,5_18,5_19,5_20,5_24,6_4,6_5,6_6,6_7,6_10,6_16,6_17,6_18,6_20,6_22,6_24,7_4,7_10,7_11,7_12,7_16,7_20,7_22,8_4,8_5,8_6,8_12,8_15,8_16,8_20,8_21,8_22,8_23,8_24,9_4,9_6,9_10,9_11,9_12,9_14,9_15,9_16,9_24,10_6,10_10,10_12,10_16,10_18,10_20,10_21,10_22,10_24,11_3,11_4,11_5,11_6,11_10,11_14,11_15,11_16,11_18,11_19,11_20,11_22,11_23,11_24,12_3,12_10,12_11,12_12,12_14,12_18,12_19,13_3,13_10,13_12,13_14,13_15,13_16,13_18,13_19,13_21,13_22,13_23,13_24,14_3,14_4,14_5,14_6,14_12,14_16,14_18,14_21,14_23,14_24,15_3,15_4,15_6,15_10,15_12,15_14,15_15,15_16,15_18,15_19,15_20,15_21,15_23,15_24,16_6,16_10,16_11,16_12,16_14,16_24,17_3,17_4,17_5,17_6,17_10,17_14,17_15,17_16,17_18,17_19,17_21,17_22,17_23,17_24,18_3,18_10,18_11,18_12,18_16,18_18,18_19,18_20,18_21,18_23,18_24,19_3,19_4,19_5,19_6,19_7,19_8,19_11,19_12,19_14,19_15,19_16,19_18,19_19,20_8,20_10,20_11,20_12,20_14,20_18,20_19,20_22,21_0,21_1,21_2,21_4,21_5,21_6,21_8,21_10,21_11,21_12,21_13,21_14,21_15,21_16,21_18,21_19,21_22,21_23,21_25,21_26,21_27,22_6,22_7,22_8,22_14,22_16,22_18,22_19,22_20,22_21,22_22"; scene_data["render_building_0005_coordinates"] = "20_21"; scene_data["render_warp_0001_coordinates"] = "21_3,21_24"; scene_data["render_building_0004_coordinates"] = "21_21"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0067() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 28; scene_data["tile_y_count"] = 42; scene_data["name"] = "Third Room in Fortress"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {7}; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=21, y=12, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 67, 1, "First Treasure Chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 67) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=22, y=12, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b2", 67, 1, "Second Treasure Chest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 67) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=3, after_player_x=21, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=6, y=38, scene_number=66, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=27, after_map_y=34, after_player_x=29, after_player_y=36, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=9, y=6, scene_number=68, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_9|5_10|5_11|5_12|5_13|5_14|5_16|5_17|5_18|5_19|5_20|5_22|5_26|5_27|5_28|5_30|5_31|5_32|5_33|5_34|5_35|5_37|6_9|6_14|6_16|6_20|6_22|6_26|6_28|6_30|6_33|6_34|6_35|6_37|6_38|6_39|6_40|6_41|7_9|7_14|7_16|7_17|7_18|7_20|7_22|7_23|7_24|7_25|7_26|7_28|7_30|7_31|7_35|7_37|8_9|8_14|8_18|8_20|8_22|8_28|8_31|8_33|8_34|8_35|8_37|8_38|9_0|9_1|9_2|9_3|9_4|9_5|9_6|9_7|9_9|9_14|9_18|9_20|9_22|9_24|9_25|9_26|9_27|9_28|9_30|9_31|9_33|9_35|9_38|10_7|10_9|10_14|10_18|10_20|10_22|10_24|10_30|10_31|10_35|10_37|10_38|11_7|11_9|11_11|11_12|11_13|11_14|11_18|11_20|11_22|11_24|11_25|11_26|11_27|11_28|11_31|11_33|11_34|11_35|11_37|11_38|12_5|12_6|12_7|12_9|12_11|12_13|12_14|12_18|12_20|12_22|12_28|12_31|12_33|12_34|12_37|13_5|13_9|13_11|13_18|13_20|13_22|13_24|13_25|13_26|13_27|13_28|13_30|13_31|13_34|13_37|13_38|14_3|14_5|14_6|14_7|14_9|14_11|14_12|14_13|14_14|14_16|14_17|14_18|14_20|14_22|14_24|14_30|14_31|14_33|14_34|14_37|15_3|15_7|15_9|15_14|15_16|15_20|15_22|15_24|15_25|15_26|15_27|15_28|15_30|15_31|15_33|15_34|15_37|15_38|16_3|16_4|16_5|16_6|16_7|16_9|16_14|16_16|16_17|16_18|16_20|16_22|16_28|16_30|16_33|16_36|16_37|16_38|17_3|17_9|17_11|17_12|17_13|17_14|17_18|17_20|17_22|17_26|17_28|17_30|17_31|17_33|17_34|17_36|17_37|18_3|18_4|18_5|18_6|18_7|18_9|18_11|18_18|18_20|18_22|18_24|18_25|18_26|18_27|18_28|18_31|18_33|18_36|19_7|19_9|19_11|19_12|19_13|19_14|19_18|19_20|19_22|19_24|19_30|19_31|19_33|19_34|19_36|19_37|19_38|20_3|20_4|20_5|20_6|20_7|20_9|20_14|20_18|20_20|20_22|20_24|20_25|20_26|20_27|20_28|20_30|20_31|20_34|20_38|21_3|21_9|21_12|21_13|21_14|21_15|21_16|21_18|21_20|21_22|21_28|21_29|21_30|21_31|21_33|21_34|21_36|21_37|21_38|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_12|22_14|22_16|22_17|22_18|22_20|22_21|22_22|22_33|22_34|22_35|22_36|22_37|22_38"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "5_9,5_10,5_11,5_12,5_13,5_14,5_16,5_17,5_18,5_19,5_20,5_22,5_26,5_27,5_28,5_30,5_31,5_32,5_33,5_34,5_35,5_37,6_9,6_14,6_16,6_20,6_22,6_26,6_28,6_30,6_33,6_34,6_35,6_37,6_39,6_40,6_41,7_9,7_14,7_16,7_17,7_18,7_20,7_22,7_23,7_24,7_25,7_26,7_28,7_30,7_31,7_35,7_37,8_9,8_14,8_18,8_20,8_22,8_28,8_31,8_33,8_34,8_35,8_37,8_38,9_0,9_1,9_2,9_3,9_4,9_5,9_7,9_9,9_14,9_18,9_20,9_22,9_24,9_25,9_26,9_27,9_28,9_30,9_31,9_33,9_35,9_38,10_7,10_9,10_14,10_18,10_20,10_22,10_24,10_30,10_31,10_35,10_37,10_38,11_7,11_9,11_11,11_12,11_13,11_14,11_18,11_20,11_22,11_24,11_25,11_26,11_27,11_28,11_31,11_33,11_34,11_35,11_37,11_38,12_5,12_6,12_7,12_9,12_11,12_13,12_14,12_18,12_20,12_22,12_28,12_31,12_33,12_34,12_37,13_5,13_9,13_11,13_18,13_20,13_22,13_24,13_25,13_26,13_27,13_28,13_30,13_31,13_34,13_37,13_38,14_3,14_5,14_6,14_7,14_9,14_11,14_12,14_13,14_14,14_16,14_17,14_18,14_20,14_22,14_24,14_30,14_31,14_33,14_34,14_37,15_3,15_7,15_9,15_14,15_16,15_20,15_22,15_24,15_25,15_26,15_27,15_28,15_30,15_31,15_33,15_34,15_37,15_38,16_3,16_4,16_5,16_6,16_7,16_9,16_14,16_16,16_17,16_18,16_20,16_22,16_28,16_30,16_33,16_36,16_37,16_38,17_3,17_9,17_11,17_12,17_13,17_14,17_18,17_20,17_22,17_26,17_28,17_30,17_31,17_33,17_34,17_36,17_37,18_3,18_4,18_5,18_6,18_7,18_9,18_11,18_18,18_20,18_22,18_24,18_25,18_26,18_27,18_28,18_31,18_33,18_36,19_7,19_9,19_11,19_12,19_13,19_14,19_18,19_20,19_22,19_24,19_30,19_31,19_33,19_34,19_36,19_37,19_38,20_3,20_4,20_5,20_6,20_7,20_9,20_14,20_18,20_20,20_22,20_24,20_25,20_26,20_27,20_28,20_30,20_31,20_34,20_38,21_3,21_9,21_12,21_13,21_14,21_15,21_16,21_18,21_20,21_22,21_28,21_29,21_30,21_31,21_33,21_34,21_36,21_37,21_38,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_12,22_14,22_16,22_17,22_18,22_20,22_21,22_22,22_33,22_34,22_35,22_36,22_37,22_38"; scene_data["render_outdoors_0010_coordinates"] = "5_15,5_25,5_29,6_11,6_15,6_21,6_24,6_25,6_27,6_29,7_8,7_10,7_12,7_13,7_15,7_19,7_21,7_29,7_33,7_34,8_10,8_12,8_15,8_16,8_17,8_21,8_23,8_24,8_25,8_29,8_30,9_8,9_10,9_12,9_23,9_34,10_8,10_10,10_11,10_12,10_13,10_19,10_26,10_27,10_28,10_32,10_33,10_34,11_10,11_16,11_17,11_21,11_32,12_8,12_15,12_16,12_17,12_19,12_24,12_25,12_26,13_15,13_16,13_17,13_21,13_36,14_8,14_19,14_23,14_27,14_28,14_29,14_32,14_36,15_5,15_6,15_8,15_13,15_17,15_18,15_19,15_23,15_29,16_10,16_13,16_15,16_26,16_27,17_4,17_8,17_10,17_19,17_21,17_27,17_29,17_32,18_14,18_15,18_16,18_17,18_21,18_23,18_29,18_30,18_32,19_3,19_4,19_6,19_10,19_19,19_21,19_23,19_25,19_28,19_32,20_10,20_19,20_23,20_32,20_33,21_4,21_7,21_8,21_10,21_17,21_32,22_10,22_32"; scene_data["render_warp_0001_coordinates"] = "6_38,9_6"; scene_data["render_common_0003_coordinates"] = "21_11,22_11"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0068() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 36; scene_data["tile_y_count"] = 42; scene_data["name"] = "Fourth Room in Fortress"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {7}; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=6, after_player_x=9, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=29, y=37, scene_number=67, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=21, after_player_x=6, after_player_y=23, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=30, y=4, scene_number=69, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=28, y=35, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_15|5_16|5_17|5_20|5_21|5_22|5_23|5_24|5_25|5_26|5_27|5_29|5_31|5_32|5_33|5_34|5_35|5_36|5_37|5_38|6_15|6_17|6_20|6_27|6_29|6_31|6_38|7_14|7_15|7_17|7_20|7_21|7_22|7_23|7_24|7_27|7_28|7_29|7_31|7_32|7_33|7_36|7_37|7_38|8_13|8_14|8_17|8_24|8_29|8_33|8_36|9_3|9_4|9_5|9_6|9_8|9_9|9_10|9_12|9_13|9_17|9_18|9_20|9_22|9_23|9_24|9_26|9_27|9_28|9_29|9_31|9_32|9_33|9_36|9_37|9_38|10_3|10_4|10_6|10_7|10_8|10_10|10_11|10_12|10_17|10_18|10_20|10_21|10_22|10_24|10_26|10_31|10_38|11_3|11_17|11_18|11_21|11_26|11_27|11_28|11_29|11_31|11_32|11_33|11_36|11_37|11_38|12_3|12_4|12_5|12_6|12_8|12_9|12_10|12_12|12_13|12_14|12_17|12_20|12_21|12_22|12_23|12_24|12_29|12_33|12_36|12_37|12_38|13_3|13_4|13_6|13_7|13_8|13_10|13_11|13_12|13_14|13_15|13_17|13_24|13_26|13_27|13_28|13_29|13_33|13_37|14_14|14_17|14_18|14_20|14_21|14_22|14_24|14_27|14_33|14_37|15_3|15_4|15_5|15_7|15_8|15_9|15_11|15_12|15_13|15_14|15_18|15_20|15_22|15_24|15_26|15_27|15_28|15_29|15_33|15_36|15_37|15_38|16_3|16_5|16_7|16_9|16_11|16_13|16_18|16_20|16_22|16_23|16_24|16_27|16_28|16_31|16_32|16_33|16_36|17_3|17_5|17_6|17_7|17_9|17_10|17_11|17_18|17_20|17_28|17_31|17_33|17_36|17_37|17_38|18_3|18_17|18_18|18_20|18_21|18_22|18_26|18_27|18_28|18_29|18_31|18_38|19_3|19_4|19_5|19_6|19_7|19_8|19_9|19_10|19_11|19_12|19_13|19_14|19_15|19_17|19_20|19_22|19_26|19_31|19_32|19_33|19_36|19_37|19_38|20_15|20_17|20_18|20_20|20_22|20_23|20_24|20_26|20_27|20_28|20_29|20_33|20_37|20_38|21_3|21_4|21_5|21_6|21_7|21_9|21_10|21_11|21_12|21_13|21_15|21_18|21_24|21_29|21_31|21_32|21_33|21_38|22_3|22_7|22_9|22_10|22_13|22_15|22_17|22_18|22_20|22_21|22_22|22_23|22_24|22_26|22_27|22_28|22_29|22_31|22_37|22_38|23_3|23_4|23_5|23_7|23_9|23_13|23_15|23_17|23_20|23_26|23_31|23_36|23_37|23_38|24_5|24_7|24_9|24_13|24_15|24_17|24_18|24_20|24_21|24_22|24_23|24_24|24_26|24_27|24_28|24_29|24_31|24_32|24_33|24_36|25_3|25_4|25_5|25_7|25_9|25_13|25_15|25_18|25_24|25_26|25_27|25_29|25_33|25_36|25_37|25_38|26_3|26_7|26_9|26_13|26_15|26_17|26_18|26_24|26_29|26_32|26_33|26_38|27_3|27_4|27_5|27_7|27_9|27_11|27_12|27_13|27_15|27_17|27_24|27_29|27_31|27_32|27_33|27_36|27_37|27_38|28_5|28_7|28_9|28_11|28_13|28_15|28_17|28_18|28_24|28_26|28_27|28_28|28_29|28_31|28_35|28_36|29_5|29_7|29_9|29_11|29_15|29_17|29_18|29_24|29_26|29_31|29_36|29_37|29_38|29_39|29_40|29_41|30_0|30_1|30_2|30_3|30_4|30_5|30_7|30_8|30_9|30_11|30_12|30_13|30_14|30_15|30_18|30_19|30_20|30_21|30_22|30_23|30_24|30_26|30_27|30_28|30_29|30_30|30_31|30_36"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_building_0005,render_building_0004,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_15,5_16,5_17,5_20,5_21,5_22,5_23,5_24,5_25,5_26,5_27,5_29,5_31,5_32,5_33,5_34,5_35,5_36,5_37,5_38,6_15,6_17,6_20,6_27,6_29,6_31,6_38,7_14,7_15,7_17,7_20,7_21,7_22,7_23,7_24,7_27,7_28,7_29,7_31,7_32,7_33,7_36,7_37,7_38,8_13,8_14,8_17,8_24,8_29,8_33,8_36,9_3,9_4,9_5,9_6,9_8,9_9,9_10,9_12,9_13,9_17,9_18,9_20,9_22,9_23,9_24,9_26,9_27,9_28,9_29,9_31,9_32,9_33,9_36,9_37,9_38,10_3,10_4,10_6,10_7,10_8,10_10,10_11,10_12,10_17,10_18,10_20,10_21,10_22,10_24,10_26,10_31,10_38,11_3,11_17,11_18,11_21,11_26,11_27,11_28,11_29,11_31,11_32,11_33,11_36,11_37,11_38,12_3,12_4,12_5,12_6,12_8,12_9,12_10,12_12,12_13,12_14,12_17,12_20,12_21,12_22,12_23,12_24,12_29,12_33,12_36,12_37,12_38,13_3,13_4,13_6,13_7,13_8,13_10,13_11,13_12,13_14,13_15,13_17,13_24,13_26,13_27,13_28,13_29,13_33,13_37,14_14,14_17,14_18,14_20,14_21,14_22,14_24,14_27,14_33,14_37,15_3,15_4,15_5,15_7,15_8,15_9,15_11,15_12,15_13,15_14,15_18,15_20,15_22,15_24,15_26,15_27,15_28,15_29,15_33,15_36,15_37,15_38,16_3,16_5,16_7,16_9,16_11,16_13,16_18,16_20,16_22,16_23,16_24,16_27,16_28,16_31,16_32,16_33,16_36,17_3,17_5,17_6,17_7,17_9,17_10,17_11,17_18,17_20,17_28,17_31,17_33,17_36,17_37,17_38,18_3,18_17,18_18,18_20,18_21,18_22,18_26,18_27,18_28,18_29,18_31,18_38,19_3,19_4,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_14,19_15,19_17,19_20,19_22,19_26,19_31,19_32,19_33,19_36,19_37,19_38,20_15,20_17,20_18,20_20,20_22,20_23,20_24,20_26,20_27,20_28,20_29,20_33,20_37,20_38,21_3,21_4,21_5,21_6,21_7,21_9,21_10,21_11,21_12,21_13,21_15,21_18,21_24,21_29,21_31,21_32,21_33,21_38,22_3,22_7,22_9,22_10,22_13,22_15,22_17,22_18,22_20,22_21,22_22,22_23,22_24,22_26,22_27,22_28,22_29,22_31,22_37,22_38,23_3,23_4,23_5,23_7,23_9,23_13,23_15,23_17,23_20,23_26,23_31,23_36,23_37,23_38,24_5,24_7,24_9,24_13,24_15,24_17,24_18,24_20,24_21,24_22,24_23,24_24,24_26,24_27,24_28,24_29,24_31,24_32,24_33,24_36,25_3,25_4,25_5,25_7,25_9,25_13,25_15,25_18,25_24,25_26,25_27,25_29,25_33,25_36,25_37,25_38,26_3,26_7,26_9,26_13,26_15,26_17,26_18,26_24,26_29,26_32,26_33,26_38,27_3,27_4,27_5,27_7,27_9,27_11,27_12,27_13,27_15,27_17,27_24,27_29,27_31,27_32,27_33,27_36,27_37,27_38,28_5,28_7,28_9,28_11,28_13,28_15,28_17,28_18,28_24,28_26,28_27,28_28,28_29,28_31,28_36,29_5,29_7,29_9,29_11,29_15,29_17,29_18,29_24,29_26,29_31,29_36,29_38,29_39,29_40,29_41,30_0,30_1,30_2,30_3,30_5,30_7,30_8,30_9,30_11,30_12,30_13,30_14,30_15,30_18,30_19,30_20,30_21,30_22,30_23,30_24,30_26,30_27,30_28,30_29,30_30,30_31,30_36"; scene_data["render_outdoors_0010_coordinates"] = "5_30,6_19,6_21,6_23,6_25,6_30,6_32,6_33,6_35,6_36,6_37,7_25,7_30,7_35,8_20,8_21,8_22,8_23,8_28,8_30,8_31,8_32,8_35,8_37,8_38,9_21,9_30,9_35,10_25,10_27,10_28,10_29,10_30,10_32,10_33,10_35,10_36,10_37,11_25,11_35,12_7,12_11,12_15,12_19,12_35,13_5,13_9,13_13,13_19,13_20,13_21,13_35,13_36,13_38,14_3,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_11,14_12,14_13,14_15,14_25,14_26,14_28,14_29,14_35,14_36,14_38,15_6,15_10,15_21,15_35,16_4,16_6,16_10,16_21,16_29,16_30,16_35,16_37,16_38,17_4,17_29,17_35,18_19,18_23,18_24,18_35,18_36,18_37,19_19,19_21,19_23,19_24,19_25,19_28,19_29,19_30,19_35,20_5,20_7,20_8,20_9,20_11,20_12,20_19,20_21,20_30,20_31,20_32,20_35,20_36,21_8,21_14,21_19,21_20,21_21,21_22,21_23,21_25,21_26,21_27,21_35,21_36,21_37,22_5,22_6,22_8,22_11,22_25,22_35,22_36,23_8,23_10,23_14,23_30,23_35,24_6,24_19,24_35,24_37,24_38,25_14,25_19,25_20,25_21,25_22,25_23,25_35,26_8,26_10,26_11,26_12,26_14,26_25,26_26,26_27,26_35,26_36,26_37,27_6,27_10,27_14,27_25,27_26,28_6,28_12,28_25,28_30,28_32,28_33,28_37,28_38,29_8,29_19,29_20,29_21,29_25,29_28,29_29,29_30,29_32,29_33,30_25,30_32,30_33,30_37,30_38"; scene_data["render_building_0005_coordinates"] = "27_35"; scene_data["render_building_0004_coordinates"] = "28_35"; scene_data["render_warp_0001_coordinates"] = "29_37,30_4"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0069() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 36; scene_data["tile_y_count"] = 28; scene_data["name"] = "Fifth room in fortress"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {7}; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=30, y=8, txt="You obtained 3000g", required_dir="up", callback=function() GET_MONEY(3000); PUT_STATE("b1", 69, 1, "money box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 69) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=27, after_map_y=3, after_player_x=30, after_player_y=5, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=6, y=24, scene_number=68, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=2, after_player_x=10, after_player_y=5, after_screen_x=1, after_screen_y=3, after_player_dir="up", x=30, y=3, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=21, scene_number=1000, inn_item_keys={"bmg5_g"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_7|5_8|5_9|5_10|5_11|5_13|5_14|5_15|5_16|5_17|5_19|5_22|5_23|6_6|6_10|6_14|6_17|6_18|6_19|6_22|6_23|6_24|6_25|6_26|6_27|7_3|7_4|7_5|7_6|7_8|7_9|7_10|7_11|7_13|7_14|7_15|7_19|7_22|7_23|8_4|8_8|8_15|8_17|8_19|8_21|8_22|8_23|9_4|9_8|9_9|9_10|9_11|9_13|9_14|9_15|9_17|9_18|9_19|9_22|9_23|10_3|10_4|10_5|10_6|10_11|10_13|10_17|10_21|10_22|10_23|10_24|11_6|11_8|11_9|11_10|11_11|11_13|11_14|11_15|11_17|11_18|11_19|11_24|12_6|12_8|12_13|12_15|12_17|12_21|12_22|12_23|12_24|13_3|13_4|13_5|13_6|13_8|13_9|13_10|13_11|13_15|13_17|13_18|13_19|13_21|13_22|13_23|13_24|14_3|14_11|14_13|14_14|14_15|14_17|14_18|14_19|14_24|15_3|15_11|15_13|15_19|15_21|15_22|15_24|16_3|16_4|16_5|16_6|16_8|16_11|16_13|16_14|16_15|16_17|16_18|16_19|16_21|16_22|16_23|16_24|17_6|17_8|17_9|17_10|17_11|17_13|17_15|17_17|17_21|18_3|18_4|18_5|18_6|18_8|18_15|18_17|18_21|19_4|19_8|19_9|19_10|19_11|19_13|19_15|19_17|19_21|20_4|20_11|20_13|20_14|20_15|20_17|20_21|21_3|21_4|21_5|21_6|21_11|21_13|21_17|21_18|21_19|21_21|21_22|21_23|21_24|22_5|22_11|22_13|22_19|22_21|22_22|22_24|23_5|23_8|23_11|23_13|23_17|23_19|23_21|23_22|23_24|24_3|24_4|24_5|24_6|24_8|24_9|24_10|24_11|24_13|24_17|24_18|24_19|24_24|25_3|25_8|25_13|25_14|25_15|25_17|25_21|25_22|25_23|25_24|26_3|26_8|26_9|26_10|26_11|26_15|26_17|26_18|26_19|26_21|27_3|27_4|27_5|27_6|27_11|27_13|27_14|27_15|27_19|27_21|27_22|27_23|27_24|28_5|28_8|28_9|28_10|28_11|28_13|28_19|28_24|29_5|29_8|29_13|29_19|29_20|29_21|29_22|29_24|30_0|30_1|30_2|30_3|30_4|30_5|30_6|30_8|30_9|30_10|30_11|30_12|30_13|30_22|30_23|30_24"; scene_data["render_fns_list"] = "render_outdoors_0001,render_outdoors_0010,render_common_0001,render_warp_0001,render_building_0005,render_building_0004,render_common_0003"; scene_data["render_outdoors_0010_coordinates"] = "5_3,5_4,5_5,5_12,5_18,6_3,6_4,6_5,6_7,6_8,6_9,6_11,6_12,6_13,6_15,6_16,7_7,7_12,7_16,7_17,7_18,8_3,8_5,8_6,8_7,8_9,8_10,8_11,8_12,8_13,8_14,8_16,8_18,9_3,9_5,9_6,9_7,9_12,9_16,10_7,10_8,10_9,10_10,10_12,10_14,10_15,10_16,10_18,10_19,10_20,11_3,11_4,11_5,11_7,11_12,11_16,11_20,11_21,11_22,11_23,12_3,12_4,12_5,12_7,12_9,12_10,12_11,12_12,12_14,12_16,12_18,12_19,12_20,13_7,13_12,13_13,13_14,13_16,13_20,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_12,14_16,14_20,14_21,14_22,14_23,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_12,15_14,15_15,15_16,15_17,15_18,15_20,15_23,16_7,16_9,16_10,16_12,16_16,16_20,17_3,17_4,17_5,17_7,17_12,17_14,17_16,17_18,17_19,17_20,17_22,17_23,17_24,18_7,18_9,18_10,18_11,18_12,18_13,18_14,18_16,18_18,18_19,18_20,18_22,18_23,18_24,19_3,19_5,19_6,19_7,19_12,19_14,19_16,19_18,19_19,19_20,19_22,19_23,19_24,20_3,20_5,20_6,20_7,20_8,20_9,20_10,20_12,20_16,20_18,20_19,20_20,20_22,20_23,20_24,21_7,21_8,21_9,21_10,21_12,21_14,21_15,21_16,21_20,22_3,22_4,22_6,22_7,22_8,22_9,22_10,22_12,22_14,22_15,22_16,22_17,22_18,22_20,22_23,23_3,23_4,23_6,23_7,23_9,23_10,23_12,23_14,23_15,23_16,23_18,23_20,23_23,24_7,24_12,24_14,24_15,24_16,24_20,24_21,24_22,24_23,25_4,25_5,25_6,25_7,25_9,25_10,25_11,25_12,25_16,25_18,25_19,25_20,26_4,26_5,26_6,26_7,26_12,26_13,26_14,26_16,26_20,26_22,26_23,26_24,27_7,27_8,27_9,27_10,27_12,27_16,27_17,27_18,27_20,28_3,28_4,28_6,28_7,28_12,28_14,28_15,28_16,28_17,28_18,28_20,28_21,28_22,28_23,29_3,29_4,29_6,29_7,29_9,29_10,29_11,29_12,29_14,29_15,29_16,29_17,29_18,29_23,30_14,30_15,30_16,30_17,30_18,30_19,30_20,30_21"; scene_data["render_common_0001_coordinates"] = "5_6,5_7,5_8,5_9,5_10,5_11,5_13,5_14,5_15,5_16,5_17,5_19,5_22,5_23,6_6,6_10,6_14,6_17,6_18,6_19,6_22,6_23,6_25,6_26,6_27,7_3,7_4,7_5,7_6,7_8,7_9,7_10,7_11,7_13,7_14,7_15,7_19,7_22,7_23,8_4,8_8,8_15,8_17,8_19,8_22,8_23,9_4,9_8,9_9,9_10,9_11,9_13,9_14,9_15,9_17,9_18,9_19,9_22,9_23,10_3,10_4,10_5,10_6,10_11,10_13,10_17,10_21,10_22,10_23,10_24,11_6,11_8,11_9,11_10,11_11,11_13,11_14,11_15,11_17,11_18,11_19,11_24,12_6,12_8,12_13,12_15,12_17,12_21,12_22,12_23,12_24,13_3,13_4,13_5,13_6,13_8,13_9,13_10,13_11,13_15,13_17,13_18,13_19,13_21,13_22,13_23,13_24,14_3,14_11,14_13,14_14,14_15,14_17,14_18,14_19,14_24,15_3,15_11,15_13,15_19,15_21,15_22,15_24,16_3,16_4,16_5,16_6,16_8,16_11,16_13,16_14,16_15,16_17,16_18,16_19,16_21,16_22,16_23,16_24,17_6,17_8,17_9,17_10,17_11,17_13,17_15,17_17,17_21,18_3,18_4,18_5,18_6,18_8,18_15,18_17,18_21,19_4,19_8,19_9,19_10,19_11,19_13,19_15,19_17,19_21,20_4,20_11,20_13,20_14,20_15,20_17,20_21,21_3,21_4,21_5,21_6,21_11,21_13,21_17,21_18,21_19,21_21,21_22,21_23,21_24,22_5,22_11,22_13,22_19,22_21,22_22,22_24,23_5,23_8,23_11,23_13,23_17,23_19,23_21,23_22,23_24,24_3,24_4,24_5,24_6,24_8,24_9,24_10,24_11,24_13,24_17,24_18,24_19,24_24,25_3,25_8,25_13,25_14,25_15,25_17,25_21,25_22,25_23,25_24,26_3,26_8,26_9,26_10,26_11,26_15,26_17,26_18,26_19,26_21,27_3,27_4,27_5,27_6,27_11,27_13,27_14,27_15,27_19,27_21,27_22,27_23,27_24,28_5,28_8,28_9,28_10,28_11,28_13,28_19,28_24,29_5,29_8,29_13,29_19,29_20,29_21,29_22,29_24,30_0,30_1,30_2,30_4,30_5,30_6,30_8,30_9,30_10,30_11,30_12,30_13,30_22,30_23,30_24"; scene_data["render_warp_0001_coordinates"] = "6_24,30_3"; scene_data["render_building_0005_coordinates"] = "7_21"; scene_data["render_building_0004_coordinates"] = "8_21"; scene_data["render_common_0003_coordinates"] = "30_7"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0070() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 23; scene_data["tile_y_count"] = 10; scene_data["name"] = "Sixth room in fortress, just before soldiers"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=12, y=5, txt="The princess is being held for high treason. Failure to swear fealty is punishable to a large degree.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=29, after_map_y=2, after_player_x=30, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=10, y=6, scene_number=69, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=18, after_map_y=30, after_player_x=20, after_player_y=32, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=5, y=3, scene_number=71, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=2, after_player_x=8, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=8, y=3, scene_number=72, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=7, after_player_x=11, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=15, y=3, scene_number=73, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=32, after_player_x=6, after_player_y=34, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=17, y=3, scene_number=74, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("k1", 71) == 1 and GET_STATE("k1", 72) == 1 and GET_STATE("k1", 73) == 1 and GET_STATE("k1", 74) == 1; end, on_warp_not_allowed_msg = function() local kt = 0; if GET_STATE("k1", 71) == 1 then kt = kt + 1;end; if GET_STATE("k1", 72) == 1 then kt = kt + 1; end; if GET_STATE("k1", 73) == 1 then kt = kt + 1;end; if GET_STATE("k1", 74) == 1 then kt = kt + 1; end; local m = "There are 4 keyholes. You currently have " .. tostring(kt) .. " keys. The door feels securely locked"; return m; end, after_map_x=8, after_map_y=7, after_player_x=9, after_player_y=10, after_screen_x=1, after_screen_y=3, after_player_dir="up", x=13, y=3, scene_number=75, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=11, y=3, scene_number=1000, inn_item_keys={"bmg5_g","b1"}, inn_price=250, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|6_6|7_4|7_5|7_6|8_3|8_4|8_5|8_6|9_5|10_4|10_5|10_6|10_7|10_8|10_9|11_3|11_4|11_5|12_5|12_6|13_0|13_1|13_2|13_3|13_4|13_5|13_6|14_6|15_3|15_4|15_5|15_6|16_5|16_6|17_3|17_4|17_5|17_6"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0002,render_common_0001,render_building_0005,render_warp_0001,render_building_0004,render_common_0004,render_indoors_asset_0006"; scene_data["render_common_0002_coordinates"] = "5_3,8_3,15_3,17_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,6_6,7_4,7_5,7_6,8_4,8_5,8_6,9_5,10_4,10_5,10_7,10_8,10_9,11_4,11_5,12_5,12_6,13_0,13_1,13_2,13_4,13_5,13_6,14_6,15_4,15_5,15_6,16_5,16_6,17_4,17_5,17_6"; scene_data["render_building_0005_coordinates"] = "10_3"; scene_data["render_warp_0001_coordinates"] = "10_6"; scene_data["render_building_0004_coordinates"] = "11_3"; scene_data["render_common_0004_coordinates"] = "12_4"; scene_data["render_indoors_asset_0006_coordinates"] = "13_3"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0071() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 43; scene_data["tile_y_count"] = 37; scene_data["name"] = "First door on the left, fortress room just before princess"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {10}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {100}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=20, y=32, txt="You obtained 5000g", required_dir="up", callback=function() PUT_STATE("b1", 71, 1, "money"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 71) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=16, y=6, txt="You obtained a key", required_dir="up", callback=function() PUT_STATE("k1", 71, 1, "key"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 71) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=20, y=33, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_16|5_17|5_18|5_19|5_20|5_21|5_22|5_24|5_25|5_26|5_27|5_28|5_29|6_4|6_5|6_6|6_7|6_9|6_13|6_16|6_21|6_22|6_24|6_29|7_3|7_4|7_11|7_12|7_13|7_16|7_17|7_18|7_19|7_22|7_24|7_25|7_26|7_27|7_29|8_3|8_11|8_16|8_17|8_19|8_21|8_22|8_27|8_29|9_3|9_11|9_12|9_13|9_19|9_21|9_22|9_24|9_25|9_26|9_27|9_29|10_3|10_4|10_13|10_16|10_17|10_19|10_22|10_24|10_26|10_27|10_29|11_4|11_5|11_11|11_12|11_13|11_16|11_17|11_18|11_19|11_21|11_22|11_24|11_29|12_5|12_6|12_11|12_16|12_21|12_22|12_24|12_25|12_29|13_6|13_7|13_11|13_12|13_16|13_17|13_18|13_19|13_21|13_25|13_29|14_7|14_8|14_9|14_12|14_13|14_19|14_21|14_25|14_26|14_27|14_29|15_9|15_13|15_16|15_17|15_18|15_19|15_21|15_22|15_26|15_27|15_29|16_6|16_7|16_8|16_9|16_12|16_13|16_16|16_22|16_27|16_29|17_13|17_16|17_18|17_19|17_22|17_26|17_27|17_29|18_6|18_8|18_10|18_13|18_16|18_17|18_18|18_19|18_22|18_24|18_25|18_26|18_29|19_5|19_6|19_7|19_8|19_9|19_10|19_11|19_12|19_13|19_16|19_17|19_19|19_22|19_24|19_29|20_5|20_7|20_9|20_12|20_13|20_19|20_22|20_24|20_25|20_26|20_27|20_29|20_32|20_33|20_34|20_35|20_36|21_5|21_16|21_17|21_18|21_19|21_21|21_22|21_27|21_29|21_31|21_32|22_5|22_7|22_8|22_9|22_11|22_12|22_13|22_16|22_18|22_19|22_21|22_22|22_24|22_25|22_27|22_29|22_31|22_32|22_33|23_5|23_7|23_9|23_11|23_13|23_16|23_22|23_24|23_27|23_29|23_33|24_5|24_7|24_9|24_11|24_13|24_16|24_17|24_18|24_19|24_22|24_26|24_27|24_29|24_32|24_33|25_5|25_7|25_9|25_11|25_13|25_19|25_22|25_25|25_26|25_27|25_29|25_31|25_32|25_33|26_5|26_6|26_7|26_9|26_10|26_11|26_13|26_19|26_21|26_22|26_24|26_25|26_29|26_31|27_13|27_18|27_19|27_21|27_24|27_29|27_31|27_32|28_7|28_8|28_9|28_11|28_12|28_13|28_17|28_18|28_21|28_24|28_25|28_26|28_27|28_29|28_32|29_7|29_8|29_9|29_10|29_11|29_16|29_17|29_21|29_22|29_27|29_29|29_31|29_32|30_7|30_16|30_21|30_22|30_24|30_25|30_26|30_27|30_29|30_31|31_3|31_4|31_5|31_7|31_10|31_11|31_12|31_16|31_17|31_18|31_19|31_22|31_24|31_29|31_31|31_32|31_33|32_3|32_5|32_7|32_10|32_12|32_19|32_22|32_24|32_25|32_26|32_29|32_33|33_3|33_5|33_7|33_8|33_9|33_10|33_12|33_15|33_16|33_17|33_19|33_21|33_22|33_26|33_27|33_29|33_33|34_3|34_5|34_12|34_15|34_17|34_19|34_21|34_24|34_27|34_29|34_33|35_3|35_5|35_6|35_7|35_8|35_9|35_10|35_11|35_12|35_13|35_15|35_17|35_19|35_21|35_22|35_24|35_25|35_27|35_29|35_33|36_3|36_15|36_17|36_19|36_22|36_23|36_24|36_25|36_27|36_29|36_32|36_33|37_3|37_4|37_5|37_6|37_7|37_8|37_9|37_10|37_11|37_12|37_13|37_14|37_15|37_17|37_18|37_19|37_25|37_26|37_27|37_29|37_30|37_31|37_32|37_33"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_common_0003,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_16,5_17,5_18,5_19,5_20,5_21,5_22,5_24,5_25,5_26,5_27,5_28,5_29,6_4,6_5,6_6,6_7,6_9,6_13,6_16,6_21,6_22,6_24,6_29,7_3,7_4,7_11,7_12,7_13,7_16,7_17,7_18,7_19,7_22,7_24,7_25,7_26,7_27,7_29,8_3,8_11,8_16,8_17,8_19,8_21,8_22,8_27,8_29,9_3,9_11,9_12,9_13,9_19,9_21,9_22,9_24,9_25,9_26,9_27,9_29,10_3,10_4,10_13,10_16,10_17,10_19,10_22,10_24,10_26,10_27,10_29,11_4,11_5,11_11,11_12,11_13,11_16,11_17,11_18,11_19,11_21,11_22,11_24,11_29,12_5,12_6,12_11,12_16,12_21,12_22,12_24,12_25,12_29,13_6,13_7,13_11,13_12,13_16,13_17,13_18,13_19,13_21,13_25,13_29,14_7,14_8,14_9,14_12,14_13,14_19,14_21,14_25,14_26,14_27,14_29,15_9,15_13,15_16,15_17,15_18,15_19,15_21,15_22,15_26,15_27,15_29,16_6,16_7,16_8,16_9,16_12,16_13,16_16,16_22,16_27,16_29,17_13,17_16,17_18,17_19,17_22,17_26,17_27,17_29,18_6,18_8,18_10,18_13,18_16,18_17,18_18,18_19,18_22,18_24,18_25,18_26,18_29,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_16,19_17,19_19,19_22,19_24,19_29,20_5,20_7,20_9,20_12,20_13,20_19,20_22,20_24,20_25,20_26,20_27,20_29,20_32,20_34,20_35,20_36,21_5,21_16,21_17,21_18,21_19,21_21,21_22,21_27,21_29,21_31,21_32,22_5,22_7,22_8,22_9,22_11,22_12,22_13,22_16,22_18,22_19,22_21,22_22,22_24,22_25,22_27,22_29,22_31,22_32,22_33,23_5,23_7,23_9,23_11,23_13,23_16,23_22,23_24,23_27,23_29,23_33,24_5,24_7,24_9,24_11,24_13,24_16,24_17,24_18,24_19,24_22,24_26,24_27,24_29,24_32,24_33,25_5,25_7,25_9,25_11,25_13,25_19,25_22,25_25,25_26,25_27,25_29,25_31,25_32,25_33,26_5,26_6,26_7,26_9,26_10,26_11,26_13,26_19,26_21,26_22,26_24,26_25,26_29,26_31,27_13,27_18,27_19,27_21,27_24,27_29,27_31,27_32,28_7,28_8,28_9,28_11,28_12,28_13,28_17,28_18,28_21,28_24,28_25,28_26,28_27,28_29,28_32,29_7,29_8,29_9,29_10,29_11,29_16,29_17,29_21,29_22,29_27,29_29,29_31,29_32,30_7,30_16,30_21,30_22,30_24,30_25,30_26,30_27,30_29,30_31,31_3,31_4,31_5,31_7,31_10,31_11,31_12,31_16,31_17,31_18,31_19,31_22,31_24,31_29,31_31,31_32,31_33,32_3,32_5,32_7,32_10,32_12,32_19,32_22,32_24,32_25,32_26,32_29,32_33,33_3,33_5,33_7,33_8,33_9,33_10,33_12,33_15,33_16,33_17,33_19,33_21,33_22,33_26,33_27,33_29,33_33,34_3,34_5,34_12,34_15,34_17,34_19,34_21,34_24,34_27,34_29,34_33,35_3,35_5,35_6,35_7,35_8,35_9,35_10,35_11,35_12,35_13,35_15,35_17,35_19,35_21,35_22,35_24,35_25,35_27,35_29,35_33,36_3,36_15,36_17,36_19,36_22,36_23,36_24,36_25,36_27,36_29,36_32,36_33,37_3,37_4,37_5,37_6,37_7,37_8,37_9,37_10,37_11,37_12,37_13,37_14,37_15,37_17,37_18,37_19,37_25,37_26,37_27,37_29,37_30,37_31,37_32,37_33"; scene_data["render_outdoors_0010_coordinates"] = "6_8,6_17,6_18,6_19,6_20,6_26,6_27,7_6,7_7,7_8,7_20,7_21,7_23,8_6,8_7,8_8,8_9,8_20,8_23,8_24,8_25,8_26,9_6,9_7,9_8,9_9,9_28,10_7,10_8,10_9,10_10,10_11,10_12,10_14,10_15,11_8,11_9,11_10,11_14,11_15,11_27,11_28,12_14,12_15,12_17,12_18,12_19,12_20,12_23,12_27,12_28,13_20,13_22,13_23,13_24,14_20,14_22,14_23,14_24,15_10,15_11,15_12,15_20,15_23,15_24,16_3,16_4,16_10,16_11,16_17,16_18,16_19,16_23,16_24,16_28,17_3,17_4,17_5,17_6,17_7,17_8,17_9,17_10,17_11,17_12,17_14,17_15,17_17,17_28,18_3,18_4,18_5,18_7,18_9,18_11,18_12,18_23,19_3,19_4,19_23,19_25,19_28,20_3,20_4,20_23,20_28,20_30,21_12,21_13,21_14,21_15,21_20,21_23,21_24,21_25,21_28,21_30,22_14,22_15,22_17,22_20,22_30,23_14,23_15,23_17,23_18,23_19,23_28,24_10,24_20,24_21,24_30,25_10,25_20,25_21,25_30,26_12,26_14,26_15,26_28,26_30,26_32,26_33,27_7,27_8,27_9,27_12,27_14,27_15,27_22,27_33,28_14,28_15,28_19,28_20,28_22,28_23,28_28,28_33,29_14,29_15,29_19,29_20,29_23,29_24,29_25,29_26,29_28,29_33,30_8,30_9,30_11,30_19,30_20,30_30,30_32,30_33,31_8,31_9,31_23,31_25,31_26,31_27,31_30,32_8,32_9,32_11,32_20,32_21,32_27,33_11,33_18,33_28,34_4,34_7,34_8,34_11,34_13,34_16,34_18,34_20,34_22,35_4,35_16,35_28,35_30,35_31,35_32,36_4,36_5,36_7,36_8,36_11,36_13,36_16,36_28,36_30,36_31,37_16,37_23,37_24,37_28"; scene_data["render_common_0003_coordinates"] = "16_5,20_31"; scene_data["render_warp_0001_coordinates"] = "20_33"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0072() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 17; scene_data["tile_y_count"] = 9; scene_data["name"] = "Second room from the left, just before soldiers battle/princess"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {10}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="You obtained 5000g", required_dir="up", callback=function() PUT_STATE("b1", 72, 1, "Treasure Box"); GET_MONEY(5000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 72) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=8, y=4, txt="You obtained a key", required_dir="up", callback=function() PUT_STATE("k1", 72, 1, "Key Box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 72) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=9, y=4, txt="5000g", required_dir="up", callback=function() PUT_STATE("b2", 72, 1, "Treasure Box 2"); GET_MONEY(5000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 72) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=3, after_player_x=8, after_player_y=5, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=8, y=5, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|6_3|6_4|6_5|7_4|7_5|8_4|8_5|8_6|8_7|8_8|9_4|9_5|10_3|10_4|10_5|11_3|11_4|11_5"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_common_0003,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,6_3,6_4,6_5,7_4,7_5,8_4,8_6,8_7,8_8,9_4,9_5,10_3,10_4,10_5,11_3,11_4,11_5"; scene_data["render_common_0003_coordinates"] = "7_3,8_3,9_3"; scene_data["render_warp_0001_coordinates"] = "8_5"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0073() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 23; scene_data["tile_y_count"] = 14; scene_data["name"] = "Third room from the left, just before princess room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 10; scene_data["monster_attack_inflation"] = {10}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=4, txt="You obtained a key", required_dir="up", callback=function() PUT_STATE("k1", 73, 1, "key"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=8, y=4, txt="You obtained 400g", required_dir="up", callback=function() GET_MONEY(400); PUT_STATE("b1", 73, 1, "treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=10, y=4, txt="You obtained 300g", required_dir="up", callback=function() GET_MONEY(300); PUT_STATE("b2", 73, 1, "treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=12, y=4, txt="You obtained 350g", required_dir="up", callback=function() GET_MONEY(350); PUT_STATE("b3", 73, 1, "treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=14, y=4, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b4", 73, 1, "treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=17, y=4, txt="You obtained 550g", required_dir="up", callback=function() GET_MONEY(550); PUT_STATE("b5", 73, 1, "treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b5", 73) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=2, after_player_x=15, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=11, y=10, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_4|7_4|8_4|9_4|9_6|10_4|10_6|10_7|11_4|11_5|11_6|11_7|11_8|11_9|11_10|11_11|11_12|11_13|12_4|12_6|12_7|13_4|13_6|14_4|15_4|16_4|17_4"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0003,render_common_0001,render_warp_0001"; scene_data["render_common_0003_coordinates"] = "6_3,8_3,10_3,12_3,14_3,17_3"; scene_data["render_common_0001_coordinates"] = "6_4,7_4,8_4,9_4,9_6,10_4,10_6,10_7,11_4,11_5,11_6,11_7,11_8,11_9,11_11,11_12,11_13,12_4,12_6,12_7,13_4,13_6,14_4,15_4,16_4,17_4"; scene_data["render_warp_0001_coordinates"] = "11_10"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0074() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 26; scene_data["tile_y_count"] = 39; scene_data["name"] = "Right-side corner room, just before princess room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 10; scene_data["monster_attack_inflation"] = {10}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=18, y=4, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 74, 1, "money box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 74) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=19, y=4, txt="You obtained 2500g", required_dir="up", callback=function() GET_MONEY(2500); PUT_STATE("b2", 74, 1, "money box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 74) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=20, y=4, txt="You obtained a key", required_dir="up", callback=function() PUT_STATE("k1", 74, 1, "key"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("k1", 74) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=6, y=33, txt="You obtained a 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("b10", 74, 1, "initial treasure"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b10", 74) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=15, after_map_y=2, after_player_x=17, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=35, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_11|5_12|5_13|5_15|5_17|5_18|5_19|5_20|5_21|5_22|5_26|5_27|5_28|5_29|5_30|6_3|6_4|6_5|6_7|6_10|6_11|6_13|6_14|6_15|6_17|6_22|6_23|6_26|6_30|6_33|6_34|6_35|6_36|6_37|6_38|7_3|7_4|7_7|7_10|7_15|7_17|7_18|7_19|7_23|7_24|7_26|7_27|7_28|7_30|7_33|7_34|8_3|8_7|8_10|8_11|8_13|8_14|8_15|8_19|8_24|8_28|8_30|8_33|9_3|9_4|9_7|9_11|9_13|9_19|9_24|9_26|9_27|9_28|9_30|9_33|10_4|10_6|10_7|10_10|10_11|10_13|10_14|10_15|10_17|10_18|10_19|10_21|10_22|10_23|10_24|10_26|10_30|10_32|10_33|11_3|11_4|11_6|11_10|11_15|11_17|11_21|11_26|11_27|11_28|11_30|11_32|12_3|12_6|12_7|12_8|12_10|12_11|12_13|12_14|12_15|12_17|12_18|12_19|12_21|12_28|12_30|12_32|12_33|12_34|12_35|13_3|13_4|13_6|13_7|13_11|13_13|13_19|13_21|13_22|13_23|13_24|13_26|13_27|13_28|13_30|13_35|14_4|14_7|14_11|14_13|14_14|14_15|14_17|14_18|14_19|14_24|14_26|14_30|14_33|14_34|14_35|15_3|15_4|15_7|15_10|15_11|15_13|15_15|15_17|15_21|15_22|15_23|15_24|15_26|15_27|15_28|15_30|15_32|15_33|16_3|16_6|16_7|16_8|16_10|16_15|16_17|16_18|16_19|16_21|16_26|16_30|16_32|17_3|17_4|17_8|17_10|17_11|17_13|17_14|17_15|17_17|17_21|17_22|17_26|17_27|17_28|17_30|17_32|17_33|17_34|17_35|18_4|18_6|18_7|18_8|18_11|18_13|18_17|18_18|18_19|18_22|18_23|18_28|18_30|18_35|19_4|19_6|19_10|19_11|19_13|19_14|19_15|19_19|19_23|19_24|19_26|19_27|19_28|19_30|19_31|19_32|19_33|19_34|19_35|20_4|20_6|20_7|20_8|20_9|20_10|20_11|20_15|20_16|20_17|20_18|20_19|20_24|20_25|20_26|20_27|20_28|20_30|20_35"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_common_0003,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_11,5_12,5_13,5_15,5_17,5_18,5_19,5_20,5_21,5_22,5_26,5_27,5_28,5_29,5_30,6_3,6_4,6_5,6_7,6_10,6_11,6_13,6_14,6_15,6_17,6_22,6_23,6_26,6_30,6_33,6_34,6_36,6_37,6_38,7_3,7_4,7_7,7_10,7_15,7_17,7_18,7_19,7_23,7_24,7_26,7_27,7_28,7_30,7_33,7_34,8_3,8_7,8_10,8_11,8_13,8_14,8_15,8_19,8_24,8_28,8_30,8_33,9_3,9_4,9_7,9_11,9_13,9_19,9_24,9_26,9_27,9_28,9_30,9_33,10_4,10_6,10_7,10_10,10_11,10_13,10_14,10_15,10_17,10_18,10_19,10_21,10_22,10_23,10_24,10_26,10_30,10_32,10_33,11_3,11_4,11_6,11_10,11_15,11_17,11_21,11_26,11_27,11_28,11_30,11_32,12_3,12_6,12_7,12_8,12_10,12_11,12_13,12_14,12_15,12_17,12_18,12_19,12_21,12_28,12_30,12_32,12_33,12_34,12_35,13_3,13_4,13_6,13_7,13_11,13_13,13_19,13_21,13_22,13_23,13_24,13_26,13_27,13_28,13_30,13_35,14_4,14_7,14_11,14_13,14_14,14_15,14_17,14_18,14_19,14_24,14_26,14_30,14_33,14_34,14_35,15_3,15_4,15_7,15_10,15_11,15_13,15_15,15_17,15_21,15_22,15_23,15_24,15_26,15_27,15_28,15_30,15_32,15_33,16_3,16_6,16_7,16_8,16_10,16_15,16_17,16_18,16_19,16_21,16_26,16_30,16_32,17_3,17_4,17_8,17_10,17_11,17_13,17_14,17_15,17_17,17_21,17_22,17_26,17_27,17_28,17_30,17_32,17_33,17_34,17_35,18_4,18_6,18_7,18_8,18_11,18_13,18_17,18_18,18_19,18_22,18_23,18_28,18_30,18_35,19_4,19_6,19_10,19_11,19_13,19_14,19_15,19_19,19_23,19_24,19_26,19_27,19_28,19_30,19_31,19_32,19_33,19_34,19_35,20_4,20_6,20_7,20_8,20_9,20_10,20_11,20_15,20_16,20_17,20_18,20_19,20_24,20_25,20_26,20_27,20_28,20_30,20_35"; scene_data["render_outdoors_0010_coordinates"] = "5_9,5_10,5_16,5_25,6_9,6_16,6_25,6_27,6_28,6_29,7_9,7_11,7_16,7_25,7_32,8_9,8_16,8_17,8_18,8_25,8_26,8_27,8_31,8_32,8_34,8_35,9_9,9_10,9_12,9_14,9_15,9_25,9_29,9_32,10_9,10_12,10_25,10_27,10_28,10_29,11_9,11_11,11_16,11_18,11_19,11_25,11_29,12_9,12_16,12_25,12_26,12_27,13_9,13_10,13_12,13_14,13_15,13_16,13_17,13_18,13_25,13_29,13_31,13_32,13_33,13_34,14_9,14_10,14_12,14_25,14_27,14_28,14_29,15_9,15_12,15_25,15_34,16_9,16_11,16_25,16_27,16_28,16_33,16_34,16_35,17_9,17_16,17_25,18_9,18_10,18_12,18_14,18_15,18_16,18_25,18_26,18_27,18_29,19_9,19_12,19_16,19_17,19_18,19_25,19_29"; scene_data["render_common_0003_coordinates"] = "6_32,18_3,19_3,20_3"; scene_data["render_warp_0001_coordinates"] = "6_35"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0075() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 15; scene_data["tile_y_count"] = 15; scene_data["name"] = "Princess Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = {6}; scene_data["monster_defense_inflation"] = {6}; scene_data["monster_hp_inflation"] = {1000}; scene_data["monster_exp_inflation"] = {885}; scene_data["monster_gold_inflation"] = {1000}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=10, txt="Elite guards only! This prisoner is of high value", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=6, y=7, txt="You may indeed have the courage to enter, but you will not survive your boldness. This prisoner stays with us.", required_dir="up", callback=function() SCENE_DATA.monsters_enabled = true; SCENE_DATA.monster_apperance_frequency_percentage = 100; ON_BATTLE_WON = function() SCENE_DATA["movement_allowed_at_6,6"] = true; SCENE_DATA["tile_at_6,6"] = render_common_0001; SCENE_DATA.monsters_enabled = false; local t_len = #SCENE_DATA.dialogs; local now = 1; while now <= t_len do if SCENE_DATA.dialogs[now].txt == "You may indeed have the courage to enter, but you will not survive your boldness. This prisoner stays with us." then table.remove(SCENE_DATA.dialogs, now); now = 500; end; now = now + 1; end; if SCENE_DATA["movement_allowed_at_6,6"] == true and SCENE_DATA["movement_allowed_at_7,6"] == true and SCENE_DATA["movement_allowed_at_8,6"] == true then SCENE_DATA["tile_at_7,5"] = render_common_0001; SCENE_DATA["movement_allowed_at_7,5"] = true; end; end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=7, txt="Your courage is unwarranted, prepare yourself for your demise.", required_dir="up", callback=function() SCENE_DATA.monsters_enabled = true; SCENE_DATA.monster_apperance_frequency_percentage = 100; ON_BATTLE_WON = function() SCENE_DATA["movement_allowed_at_7,6"] = true; SCENE_DATA["tile_at_7,6"] = render_common_0001; SCENE_DATA.monsters_enabled = false; local t_len = #SCENE_DATA.dialogs; local now = 1; while now <= t_len do if SCENE_DATA.dialogs[now].txt == "Your courage is unwarranted, prepare yourself for your demise." then table.remove(SCENE_DATA.dialogs, now); now = 500; end; now = now + 1; end; if SCENE_DATA["movement_allowed_at_6,6"] == true and SCENE_DATA["movement_allowed_at_7,6"] == true and SCENE_DATA["movement_allowed_at_8,6"] == true then SCENE_DATA["tile_at_7,5"] = render_common_0001; SCENE_DATA["movement_allowed_at_7,5"] = true; end; end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=8, y=7, txt="Boldness can be beneficial, but in your case it is unwarranted.", required_dir="up", callback=function() SCENE_DATA.monsters_enabled = true; SCENE_DATA.monster_apperance_frequency_percentage = 100; ON_BATTLE_WON = function() SCENE_DATA["movement_allowed_at_8,6"] = true; SCENE_DATA["tile_at_8,6"] = render_common_0001; SCENE_DATA.monsters_enabled = false; local t_len = #SCENE_DATA.dialogs; local now = 1; while now <= t_len do if SCENE_DATA.dialogs[now].txt == "Boldness can be beneficial, but in your case it is unwarranted." then table.remove(SCENE_DATA.dialogs, now); now = 500; end; now = now + 1; end; if SCENE_DATA["movement_allowed_at_6,6"] == true and SCENE_DATA["movement_allowed_at_7,6"] == true and SCENE_DATA["movement_allowed_at_8,6"] == true then SCENE_DATA["tile_at_7,5"] = render_common_0001; SCENE_DATA["movement_allowed_at_7,5"] = true; end; end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=5, txt="Woman: {{new_line}} Thank you for rescuing me. My name is Princess Anaya. What's your name? {{new_line}} {{new_line}} You: {{new_line}} My name is Ren, and I am the gemseeker. {{new_line}} {{new_line}} Woman: {{new_line}} That would explain your bravery, not too many would have been brave enough to save me. {{new_line}} {{new_line}} You: {{new_line}} I'm not sure that I feel very brave. Fighting monsters and soldiers all the time is tough. {{new_line}} {{new_line}} Woman: {{new_line}} I would like to help you on your journey. I can be your doctor. {{new_line}} {{new_line}} You: {{new_line}} That sounds great! {{new_line}} {{new_line}} Woman: {{new_line}} Why are you looking at me that way, silly? Of course I'm not going to kiss you. I'm going to be your doctor so that I can give you medicine to ease the journey. {{new_line}} {{new_line}} You: OK, let's go. I thought I might find one of the gems here. Have you heard of one beinig around? {{new_line}} {{new_line}} Woman: {{new_line}} Actually it's in my necklace. It has been a closely guarded secret. It's yours to keep, but I'd like to continue guarding it until you find the others. I'm going to put us to sleep now with some medicine. When you see me in your dreams, take my hand and follow me through the shrouded gate. It might be gray, it might be black. If it's gray, that means I won't need to help you as much. {{new_line}} {{new_line}} (You and the princess fall asleep). {{new_line}} {{new_line}} ..... {{new_line}} .... {{new_line}} ... {{new_line}} .. {{new_line}} .", required_dir="up", callback=function() PUT_STATE("follower", 0, 1, "rescued princess"); FOLLOWER = true; SCENE_DATA["tile_at_7,4"] = render_common_0001; SCENE_DATA["title_at_7,6"] = render_warp_0001; SCENE_DATA["movement_allowed_at_7,4"] = true; new_s = {}; new_s.warp_allowed = function() return true; end; new_s.on_warp_not_allowed_msg = ""; new_s.after_player_x = 6; new_s.after_player_y = 19; new_s.after_screen_x = 1; new_s.after_screen_y = 3; new_s.after_map_x = 5; new_s.after_map_y = 16; new_s.after_player_dir = "up"; new_s.x = 7; new_s.y = 5; new_s.scene_number = 76; new_s.inn_item_keys=nil; new_s.inn_price = 0; new_s.on_finished = function() end; table.insert(SCENE_DATA.warp_points, new_s); SET_MODE("scene"); platform.window:invalidate(); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return "" end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=2, after_player_x=13, after_player_y=4, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=9, y=11, scene_number=70, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_7|5_8|5_9|5_10|6_7|6_10|7_7|7_9|7_10|8_7|8_10|9_7|9_10|9_11|9_12|9_13|9_14"; scene_data["render_fns_list"] = "render_outdoors_0001,render_common_0001,render_outdoors_0010,render_person_0007,render_person_0012,render_common_0004,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_7,5_8,5_9,5_10,6_7,6_10,7_7,7_9,7_10,8_7,8_10,9_7,9_10,9_12,9_13,9_14"; scene_data["render_outdoors_0010_coordinates"] = "6_3,6_4,6_5,7_3,7_5,8_3,8_4,8_5"; scene_data["render_person_0007_coordinates"] = "6_6,7_6,8_6"; scene_data["render_person_0012_coordinates"] = "7_4"; scene_data["render_common_0004_coordinates"] = "9_9"; scene_data["render_warp_0001_coordinates"] = "9_11"; scene_data["default_tile"] = render_outdoors_0001; scene_data["default_tile_name"] = "render_outdoors_0001"; SCENE_DATA = scene_data; end function enter_scene_0076() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 23; scene_data["tile_y_count"] = 23; scene_data["name"] = "Mogi Desert"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {4}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = {5}; scene_data["monster_defense_inflation"] = {6}; scene_data["monster_hp_inflation"] = {1000}; scene_data["monster_exp_inflation"] = {885}; scene_data["monster_gold_inflation"] = {1000}; scene_data["on_entrance"] = function() local po = false;if GET_STATE("po", 76) == 1 then po = true; end;local np = nil;if po then np = {}; end;if po then np.warp_allowed = function() return true; end; end;if po then np.on_warp_not_allowed_msg = "This game is to be continued, longer version coming soon"; end;if po then np.after_map_x = 4; end;if po then np.after_map_y = 7; end;if po then np.after_player_x = 6; end;if po then np.after_player_y = 8; end;if po then np.after_screen_x = 2; end;if po then np.after_screen_y = 1; end;if po then np.after_player_dir = "right"; end;if po then np.x = 17; end;if po then np.y = 10; end;if po then np.scene_number = 79; end;if po then np.inn_item_keys = nil; end;if po then np.inn_price = 0; end;if po then np.on_finished = function() end; end;if po then SCENE_DATA["tile_at_17,10"] = render_warp_0001; end;if po then table.insert(SCENE_DATA.warp_points, np) end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=15, y=9, scene_number=77, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return 5 == 6; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=6, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=15, y=5, scene_number=77, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "The door is locked", after_map_x=9, after_map_y=3, after_player_x=11, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=9, y=9, scene_number=78, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=9, y=17, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=250, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_19|6_3|6_4|6_5|6_10|6_13|6_18|6_19|7_3|7_4|7_5|7_10|7_13|7_18|7_19|8_3|8_4|8_5|8_10|8_13|8_18|8_19|9_3|9_4|9_5|9_9|9_10|9_13|9_17|9_18|9_19|10_10|10_13|10_19|11_3|11_7|11_8|11_9|11_10|11_12|11_13|11_18|11_19|12_3|12_6|12_7|12_9|12_10|12_13|12_19|13_3|13_6|13_10|13_12|13_13|13_18|13_19|14_3|14_6|14_10|14_13|14_19|15_3|15_5|15_6|15_9|15_10|15_13|15_18|15_19|16_3|16_4|16_6|16_10|16_11|16_12|16_13|16_19|17_3|17_4|17_6|17_10|17_11|17_12|17_13|17_14|17_15|17_16|17_17|17_18|17_19"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_building_0001,render_common_0002,render_building_0009,render_building_0010,render_building_0005,render_building_0007,render_building_0002,render_building_0004"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,6_3,6_4,6_5,6_10,6_13,6_18,6_19,7_3,7_4,7_5,7_10,7_13,7_18,7_19,8_3,8_4,8_5,8_10,8_13,8_18,8_19,9_3,9_4,9_5,9_10,9_13,9_18,9_19,10_10,10_13,10_19,11_3,11_7,11_8,11_9,11_10,11_12,11_13,11_18,11_19,12_3,12_6,12_7,12_9,12_10,12_13,12_19,13_3,13_6,13_10,13_12,13_13,13_18,13_19,14_3,14_6,14_10,14_13,14_19,15_3,15_6,15_10,15_13,15_18,15_19,16_3,16_4,16_6,16_10,16_11,16_12,16_13,16_19,17_3,17_4,17_6,17_10,17_11,17_12,17_13,17_14,17_15,17_16,17_17,17_18,17_19"; scene_data["render_building_0001_coordinates"] = "6_7,6_15,14_4,14_8"; scene_data["render_common_0002_coordinates"] = "6_8,7_8,7_16,8_8,8_16,9_8,9_16"; scene_data["render_building_0009_coordinates"] = "6_9,7_9,7_17,8_9,8_17,14_5,14_9"; scene_data["render_building_0010_coordinates"] = "6_16"; scene_data["render_building_0005_coordinates"] = "6_17"; scene_data["render_building_0007_coordinates"] = "7_7,7_15,8_7,8_15"; scene_data["render_building_0002_coordinates"] = "9_7,9_15,15_4,15_8"; scene_data["render_building_0004_coordinates"] = "9_9,9_17,15_5,15_9"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0077() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 9; scene_data["name"] = "Small House in Mogi Desert Bottom Right"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Nobody is home, but the coffee smells fresh."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=8, after_player_x=15, after_player_y=10, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=5, scene_number=76, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|6_3|6_4|7_4|7_5|7_6|7_7|7_8|8_4|9_4|9_5|10_3|10_5"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_indoors_asset_0014,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,6_3,6_4,7_4,7_6,7_7,7_8,8_4,9_4,9_5,10_3,10_5"; scene_data["render_indoors_asset_0008_coordinates"] = "5_4,10_4"; scene_data["render_indoors_asset_0014_coordinates"] = "7_3"; scene_data["render_warp_0001_coordinates"] = "7_5"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0078() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 18; scene_data["tile_y_count"] = 11; scene_data["name"] = "Last Large House in Mogi Desert"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="Man: {{new_line}} Welcome to the Mogi Desert. So, you bring with you the beautiful princess. It is not customary in our culture to shake hands, but in this case I think an exception is warranted. {{new_line}} {{new_line}} Princess: {{new_line}} That's very kind of you. I transported us here because young Ren who is here with me is the new gem seeker. {{new_line}} {{new_line}} Ren: {{new_line}} Yes, that's correct. Why aren't there any people in this town? {{new_line}} {{new_line}} Man: {{new_line}} The word of the people's mouth says war is coming, so we have all scattered ourselves throughout the desert. We have water reserves, and have learned to survive with little water. {{new_line}} {{new_line}} Ren: {{new_line}} How can I find the desert gem? {{new_line}} {{new_line}} Princess: {{new_line}} Yes, do you know of a way to help us? {{new_line}} {{new_line}} Man: {{new_line}} All I can say is that this is where the desert starts. It's most likely east of here, so I'd recommend traveling east. I'll set a portal directly east of this building. Follow the path, and you can continue on your journey. {{new_line}} {{new_line}} Princess: {{new_line}} Thank you! {{new_line}} {{new_line}} Ren: {{new_line}} Yes, we thank you very much.", required_dir="left", callback=function() PUT_STATE("po", 76, 1, "Talked with creepy guy"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true; end, eligibility_failure_msg=function()return "";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=8, after_player_x=9, after_player_y=10, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=12, y=4, scene_number=76, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_3|7_4|7_5|7_6|7_7|8_3|8_7|9_3|9_7|10_3|10_7|11_3|11_4|11_5|11_6|11_7|12_4|12_7|13_4|14_4|15_4|16_4|17_4"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_person_0010,render_common_0001,render_warp_0001"; scene_data["render_person_0010_coordinates"] = "6_4"; scene_data["render_common_0001_coordinates"] = "7_3,7_4,7_5,7_6,7_7,8_3,8_7,9_3,9_7,10_3,10_7,11_3,11_4,11_5,11_6,11_7,12_7,13_4,14_4,15_4,16_4,17_4"; scene_data["render_warp_0001_coordinates"] = "12_4"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0079() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 70; scene_data["tile_y_count"] = 18; scene_data["name"] = "First map east of desert village"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=9, after_player_x=16, after_player_y=10, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=8, scene_number=76, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=9, after_player_x=6, after_player_y=11, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=64, y=12, scene_number=80, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_8|1_8|2_8|3_8|4_8|5_3|5_4|5_5|5_6|5_7|5_8|6_3|6_7|6_8|7_3|8_3|9_3|9_5|9_6|9_7|9_11|9_12|9_13|10_3|10_4|10_5|10_7|10_8|10_9|10_10|10_11|10_13|11_13|12_5|12_6|12_7|12_8|12_9|12_10|12_11|12_13|13_3|13_4|13_5|13_7|13_9|13_11|13_13|14_3|14_11|14_13|15_3|15_11|15_13|16_3|16_11|16_13|17_3|17_11|17_13|18_3|18_11|18_13|19_3|19_11|19_13|20_3|20_11|20_13|21_3|21_4|21_5|21_6|21_7|21_8|21_9|21_11|21_13|22_3|22_9|22_11|22_12|22_13|23_9|24_9|24_10|24_11|24_12|24_13|24_14|25_14|26_3|26_4|26_5|26_6|26_7|26_8|26_10|26_11|26_12|26_14|27_3|27_8|27_10|27_12|27_14|28_3|28_4|28_5|28_6|28_8|28_10|28_12|28_14|29_6|29_8|29_10|29_12|29_14|30_3|30_4|30_5|30_6|30_8|30_10|30_12|30_14|31_3|31_8|31_10|31_12|31_14|32_3|32_8|32_10|32_12|32_14|33_3|33_8|33_9|33_10|33_12|33_13|33_14|34_3|35_3|35_4|35_5|35_6|35_7|35_10|35_12|35_13|35_14|36_7|36_8|36_9|36_10|36_11|36_12|36_14|37_14|38_4|38_5|38_6|38_7|38_8|38_10|38_11|38_12|38_14|39_5|39_8|39_10|39_12|39_14|40_5|40_8|40_10|40_12|40_14|41_5|41_8|41_10|41_12|41_14|42_5|42_8|42_9|42_10|42_12|42_14|43_5|43_8|43_10|43_12|43_13|43_14|44_5|45_5|45_6|45_7|45_9|45_10|45_11|46_7|46_9|46_11|46_12|46_13|46_14|47_7|47_9|47_14|48_7|48_8|48_9|48_13|48_14|49_12|49_13|50_12|51_10|51_11|51_12|52_9|52_10|53_8|53_9|54_7|54_8|55_6|55_7|56_5|56_6|57_4|57_5|58_3|58_4|59_3|60_3|60_5|60_6|60_7|60_8|60_9|60_10|60_11|60_12|60_13|60_14|61_3|61_5|61_14|62_3|62_4|62_5|62_14|63_12|63_13|63_14|64_12|65_12|66_12|67_12|68_12|69_12"; scene_data["render_fns_list"] = "render_outdoors_0013,render_common_0001,render_warp_0001,render_outdoors_0012"; scene_data["render_common_0001_coordinates"] = "0_8,1_8,2_8,3_8,4_8,5_3,5_4,5_5,5_6,5_7,6_3,6_7,6_8,7_3,8_3,9_3,9_5,9_6,9_7,9_11,9_12,9_13,10_3,10_4,10_5,10_7,10_8,10_9,10_10,10_11,10_13,11_13,12_5,12_6,12_7,12_8,12_9,12_10,12_11,12_13,13_3,13_4,13_5,13_7,13_9,13_11,13_13,14_3,14_11,14_13,15_3,15_11,15_13,16_3,16_11,16_13,17_3,17_11,17_13,18_3,18_11,18_13,19_3,19_11,19_13,20_3,20_11,20_13,21_3,21_4,21_5,21_6,21_7,21_8,21_9,21_11,21_13,22_3,22_9,22_11,22_12,22_13,23_9,24_9,24_10,24_11,24_12,24_13,24_14,25_14,26_3,26_4,26_5,26_6,26_7,26_8,26_10,26_11,26_12,26_14,27_3,27_8,27_10,27_12,27_14,28_3,28_4,28_5,28_6,28_8,28_10,28_12,28_14,29_6,29_8,29_10,29_12,29_14,30_3,30_4,30_5,30_6,30_8,30_10,30_12,30_14,31_3,31_8,31_10,31_12,31_14,32_3,32_8,32_10,32_12,32_14,33_3,33_8,33_9,33_10,33_12,33_13,33_14,34_3,35_3,35_4,35_5,35_6,35_7,35_10,35_12,35_13,35_14,36_7,36_8,36_9,36_10,36_11,36_12,36_14,37_14,38_4,38_5,38_6,38_7,38_8,38_10,38_11,38_12,38_14,39_5,39_8,39_10,39_12,39_14,40_5,40_8,40_10,40_12,40_14,41_5,41_8,41_10,41_12,41_14,42_5,42_8,42_9,42_10,42_12,42_14,43_5,43_8,43_10,43_12,43_13,43_14,44_5,45_5,45_6,45_7,45_9,45_10,45_11,46_7,46_9,46_11,46_12,46_13,46_14,47_7,47_9,47_14,48_7,48_8,48_9,48_13,48_14,49_12,49_13,50_12,51_10,51_11,51_12,52_9,52_10,53_8,53_9,54_7,54_8,55_6,55_7,56_5,56_6,57_4,57_5,58_3,58_4,59_3,60_3,60_5,60_6,60_7,60_8,60_9,60_10,60_11,60_12,60_13,60_14,61_3,61_5,61_14,62_3,62_4,62_5,62_14,63_12,63_13,63_14,65_12,66_12,67_12,68_12,69_12"; scene_data["render_warp_0001_coordinates"] = "5_8,64_12"; scene_data["render_outdoors_0012_coordinates"] = "5_9,5_10,5_12,5_13,5_14,6_5,6_9,6_10,6_13,6_14,7_4,7_5,7_6,7_7,7_8,7_9,7_10,7_14,8_4,8_5,8_7,8_8,8_9,8_10,8_13,8_14,9_4,9_8,9_9,9_10,9_14,10_14,11_5,11_7,11_8,11_14,12_14,13_10,13_14,14_9,14_10,14_12,14_14,15_4,15_5,15_6,15_7,15_8,16_4,16_5,16_6,16_7,16_8,17_2,17_4,17_10,17_12,17_14,18_10,18_14,19_4,19_5,19_6,19_7,19_8,19_9,19_12,20_2,20_4,20_5,20_6,20_7,20_8,20_9,20_10,20_14,21_14,22_6,23_11,24_4,24_5,24_7,24_8,25_4,25_5,25_6,25_7,25_8,25_9,25_10,25_11,25_13,26_9,27_5,27_7,27_9,27_13,28_13,29_5,29_7,29_9,29_11,30_7,31_11,31_13,32_9,32_11,34_4,34_5,34_6,34_9,34_10,35_8,35_9,37_4,37_7,37_8,37_9,37_12,37_13,38_3,38_9,38_13,39_3,39_6,39_7,39_9,39_13,39_15,40_3,40_11,41_3,41_11,42_3,42_4,42_6,42_7,42_13,42_15,43_3,43_4,43_7,43_9,44_3,44_4,44_6,44_7,44_8,44_9,45_3,45_8,45_12,45_13,45_14,46_3,46_6,47_3,47_6,48_6,48_11,48_12,49_5,49_6,49_7,49_8,49_11,50_3,50_7,50_8,50_9,50_10,50_11,50_14,51_3,51_5,51_6,51_7,51_13,51_14,52_3,52_4,52_6,52_7,53_4,53_7,53_10,53_12,53_14,54_4,54_6,54_9,54_12,54_14,55_3,55_4,55_8,55_9,55_10,55_12,55_13,56_8,56_9,56_12,56_13,57_6,57_7,57_9,57_11,57_12,57_13,58_6,58_9,58_12,58_13,59_4,59_7,59_9,59_10,59_12,59_13,60_4,61_4,61_8,61_10,61_12,62_6,62_8,62_12,63_6,63_7,63_8,64_3,64_4,64_5,64_6,64_7,64_8,64_9,64_10,64_11"; scene_data["default_tile"] = render_outdoors_0013; scene_data["default_tile_name"] = "render_outdoors_0013"; SCENE_DATA = scene_data; end function enter_scene_0080() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 20; scene_data["name"] = "First village east of first map east of desert entrance village"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=60, after_map_y=11, after_player_x=63, after_player_y=12, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=5, y=11, scene_number=79, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=13, after_player_x=5, after_player_y=14, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=8, y=6, scene_number=81, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=6, after_player_y=3, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=10, y=15, scene_number=82, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "The inn appears to be closed", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=11, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=500, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_11|1_11|2_11|3_11|4_11|5_11|6_7|6_11|6_12|7_7|7_12|7_13|7_14|7_15|8_6|8_7|8_8|8_9|8_11|8_12|8_15|9_9|9_12|9_15|10_9|10_10|10_11|10_12|10_15|11_15|12_15|13_15|14_15|15_15"; scene_data["render_fns_list"] = "render_outdoors_0013,render_common_0001,render_warp_0001,render_building_0001,render_building_0010,render_building_0006,render_common_0002,render_building_0005,render_building_0002,render_building_0004"; scene_data["render_common_0001_coordinates"] = "0_11,1_11,2_11,3_11,4_11,6_7,6_11,6_12,7_7,7_12,7_13,7_14,7_15,8_7,8_8,8_9,8_12,8_15,9_9,9_12,9_15,10_9,10_10,10_11,10_12,11_15,12_15,13_15,14_15,15_15"; scene_data["render_warp_0001_coordinates"] = "5_11,10_15"; scene_data["render_building_0001_coordinates"] = "6_5,7_10"; scene_data["render_building_0010_coordinates"] = "6_6"; scene_data["render_building_0006_coordinates"] = "7_5"; scene_data["render_common_0002_coordinates"] = "7_6"; scene_data["render_building_0005_coordinates"] = "7_11"; scene_data["render_building_0002_coordinates"] = "8_5,8_10"; scene_data["render_building_0004_coordinates"] = "8_6,8_11"; scene_data["default_tile"] = render_outdoors_0013; scene_data["default_tile_name"] = "render_outdoors_0013"; SCENE_DATA = scene_data; end function enter_scene_0081() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 12; scene_data["tile_y_count"] = 20; scene_data["name"] = "House in second desert inn save point"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=4, txt="Man: {{new_line}} We haven't seen a seeker in centuries. Legend has it that the desert gem was only found once in Odessia's history. You look up to the task of finding it, but do keep in mind that you will have to use your intuition to find it. Are you in fact intuitive? We have a special cactus in our region. You might try eating it's fruit.", required_dir="left", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=8, after_player_y=7, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=5, y=15, scene_number=80, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|5_6|5_7|5_9|5_10|5_11|5_12|5_14|5_15|5_16|5_17|5_18|5_19|6_4|6_5|6_7|6_8|6_9|6_12|6_13|6_14"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_person_0010,render_common_0001,render_warp_0001,render_indoors_asset_0008"; scene_data["render_person_0010_coordinates"] = "5_4"; scene_data["render_common_0001_coordinates"] = "5_5,5_6,5_7,5_9,5_10,5_11,5_12,5_14,5_16,5_17,5_18,5_19,6_4,6_5,6_7,6_8,6_9,6_12,6_13,6_14"; scene_data["render_warp_0001_coordinates"] = "5_15"; scene_data["render_indoors_asset_0008_coordinates"] = "6_11"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0082() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 53; scene_data["tile_y_count"] = 18; scene_data["name"] = "Second map east of initial desert village"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 250;ALPHA_GREEN = 250;ALPHA_BLUE = 250;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="All clan members: Please continue moving east. Danger is anticipated. For the sake of your health, please do not be skeptical of this.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=28, y=10, txt="You obtained 4000g", required_dir="up", callback=function() PUT_STATE("b1", 82, 1, "treasure box"); GET_MONEY(4000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 82) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=44, y=8, txt="Hello, young seeker. We are all headed east, taking shelter in the caves. The behavior of the birds has changed, and they have grown more agitated. We take this as a sign that something grave is approaching. Take caution, and feel welcome amongst our clan members.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=44, y=10, txt="Hello, young seeker. We are all headed east, taking shelter in the caves. The behavior of the birds has changed, and they have grown more agitated. We take this as a sign that something grave is approaching. Take caution, and feel welcome amongst our clan members.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=14, after_player_x=9, after_player_y=15, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=5, y=3, scene_number=80, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=2, after_map_y=2, after_player_x=4, after_player_y=3, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=46, y=9, scene_number=83, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|6_3|6_4|7_4|7_9|7_10|7_11|7_12|7_13|8_4|8_5|8_9|8_13|9_4|9_5|9_9|9_13|10_4|10_5|10_6|10_7|10_8|10_9|10_13|11_13|12_13|12_14|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|13_12|13_13|14_4|15_4|16_4|16_6|16_7|16_8|16_10|16_11|16_12|16_13|16_14|17_4|17_6|17_8|17_10|17_14|18_4|18_6|18_8|18_10|18_14|19_4|19_5|19_6|19_8|19_9|19_10|19_14|20_14|21_6|21_7|21_8|21_12|21_13|21_14|22_5|22_6|22_8|22_12|23_4|23_5|23_8|23_11|23_12|24_3|24_4|24_8|24_10|24_11|25_3|25_8|25_9|25_10|26_3|27_3|27_4|27_5|27_7|27_8|27_9|27_10|27_12|28_5|28_6|28_7|28_10|28_11|28_12|29_12|30_7|30_8|30_9|30_12|31_7|31_9|31_12|32_7|32_9|32_10|32_12|33_7|33_10|33_12|34_7|34_9|34_10|34_12|35_7|35_9|35_12|36_7|36_9|36_10|36_12|37_7|37_10|37_12|38_7|38_10|38_11|38_12|39_7|40_7|40_8|40_9|40_10|40_11|40_12|41_12|42_9|42_10|42_11|42_12|43_9|44_8|44_9|44_10|45_9|46_9"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_warp_0001,render_outdoors_0013,render_common_0004,render_common_0003,render_person_0011,render_outdoors_0009,render_common_0002"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,6_3,6_4,7_4,7_9,7_10,7_11,7_12,7_13,8_4,8_5,8_9,8_13,9_4,9_5,9_9,9_13,10_4,10_5,10_6,10_7,10_8,10_9,10_13,11_13,12_13,12_14,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_11,13_12,13_13,14_4,15_4,16_4,16_6,16_7,16_8,16_10,16_11,16_12,16_13,16_14,17_4,17_6,17_8,17_10,17_14,18_4,18_6,18_8,18_10,18_14,19_4,19_5,19_6,19_8,19_9,19_10,19_14,20_14,21_6,21_7,21_8,21_12,21_13,21_14,22_5,22_6,22_8,22_12,23_4,23_5,23_8,23_11,23_12,24_3,24_4,24_8,24_10,24_11,25_3,25_8,25_9,25_10,26_3,27_3,27_4,27_5,27_7,27_8,27_9,27_10,27_12,28_5,28_6,28_7,28_10,28_11,28_12,29_12,30_7,30_8,30_9,30_12,31_7,31_9,31_12,32_7,32_9,32_10,32_12,33_7,33_10,33_12,34_7,34_9,34_10,34_12,35_7,35_9,35_12,36_7,36_9,36_10,36_12,37_7,37_10,37_12,38_7,38_10,38_11,38_12,39_7,40_7,40_8,40_9,40_10,40_11,40_12,41_12,42_9,42_10,42_11,42_12,43_9,44_8,44_9,44_10,45_9"; scene_data["render_warp_0001_coordinates"] = "5_3"; scene_data["render_outdoors_0013_coordinates"] = "5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,6_14,7_5,7_6,7_7,7_8,7_14,8_3,8_6,8_7,8_8,8_10,8_11,8_12,8_14,9_3,9_6,9_7,9_8,9_10,9_11,9_12,9_14,10_3,10_10,10_11,10_12,10_14,11_3,11_4,11_5,11_6,11_7,11_8,11_9,11_10,11_11,11_12,11_14,12_3,12_4,12_6,12_8,12_10,13_14,14_3,14_5,14_7,14_9,14_10,14_11,15_3,15_5,15_7,15_9,15_10,15_13,15_14,16_3,16_5,16_9,17_5,17_9,17_15,18_5,18_9,18_13,18_15,19_7,19_12,19_13,19_15,20_7,20_12,22_7,23_6,23_7,24_5,24_6,25_4,25_5,25_6,26_15,27_6,27_11,28_4,28_13,28_14,28_15,29_6,29_7,29_11,29_13,29_14,30_3,30_4,30_5,30_6,30_13,30_14,31_3,31_4,31_5,31_6,31_8,31_10,31_11,32_5,32_8,32_13,32_14,33_11,34_3,34_4,34_8,34_11,35_5,35_6,35_10,35_11,35_13,36_4,36_5,36_6,37_3,37_8,37_9,37_11,38_3,38_6,38_8,38_9,39_8,39_12,39_13,39_14,40_13,41_3,41_4,41_5,41_7,41_8,41_11,42_7,42_8,42_13,42_14,43_7,43_8,43_10,44_7,44_11,45_7,45_11"; scene_data["render_common_0004_coordinates"] = "7_3"; scene_data["render_common_0003_coordinates"] = "28_9"; scene_data["render_person_0011_coordinates"] = "45_8,45_10"; scene_data["render_outdoors_0009_coordinates"] = "46_8,46_10,46_11,47_8,47_9,47_10,47_11,48_8,48_9,48_10,49_8,49_9,49_10,50_8,50_9,50_10,51_8,51_9,51_10,52_8,52_9,52_10"; scene_data["render_common_0002_coordinates"] = "46_9"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0083() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 13; scene_data["name"] = "First Mogi Cave Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Hey player! It's dark in this cave. If you can't see, please adjust your lighting"; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 30; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=43, after_map_y=7, after_player_x=45, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=3, y=3, scene_number=82, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=24, after_player_x=6, after_player_y=26, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=16, y=9, scene_number=84, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|4_4|5_4|6_4|6_5|7_5|8_5|9_5|9_6|10_6|11_6|12_6|12_9|13_6|13_7|13_8|13_9|14_9|15_9|16_9|17_9|18_9|19_9"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,4_3,4_4,5_4,6_4,6_5,7_5,8_5,9_5,9_6,10_6,11_6,12_6,12_9,13_6,13_7,13_8,13_9,14_9,15_9,17_9,18_9,19_9"; scene_data["render_warp_0001_coordinates"] = "3_3,16_9"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0084() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 43; scene_data["tile_y_count"] = 30; scene_data["name"] = "First cave room w/house and inn - Mogi Desert"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=23, txt="Man: {{new_line}} You will always be welcome amongst our people. Good luck in your search. {{new_line}} {{new_line}} You: {{new_line}} Thank you!", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=10, y=19, txt="Man: {{new_line}} Your presence may be allowed, but not all of us believe you are who you say you are. {{new_line}} {{new_line}} You: {{new_line}} I don't require your belief. I wish you a pleasant day.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true; end, eligibility_failure_msg=function()return "";end }, { x=22, y=16, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 84, 1, "treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 84) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=8, after_player_x=15, after_player_y=9, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=26, scene_number=83, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=8, after_player_x=9, after_player_y=9, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=20, y=15, scene_number=85, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=9, after_player_x=6, after_player_y=11, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=37, y=5, scene_number=86, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "The inn appears to be closed", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=9, y=25, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=205, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_26|1_26|2_26|3_26|4_26|5_9|5_10|5_11|5_14|5_15|5_16|5_17|5_19|5_20|5_21|5_22|5_26|6_4|6_5|6_6|6_7|6_8|6_9|6_11|6_14|6_16|6_20|6_22|6_26|7_4|7_8|7_11|7_13|7_14|7_16|7_17|7_19|7_20|7_22|7_26|8_4|8_5|8_6|8_10|8_11|8_13|8_17|8_19|8_22|8_26|9_6|9_8|9_9|9_10|9_13|9_14|9_17|9_19|9_21|9_22|9_25|9_26|10_6|10_8|10_14|10_17|10_18|10_19|10_21|10_26|11_6|11_8|11_9|11_10|11_11|11_12|11_13|11_14|11_21|11_22|11_23|11_24|11_26|12_3|12_4|12_5|12_6|12_24|12_25|12_26|13_3|14_3|14_6|14_7|14_8|14_10|14_11|14_12|14_13|14_14|14_21|14_22|14_23|14_24|14_25|14_26|15_3|15_5|15_6|15_8|15_10|15_14|15_17|15_18|15_19|15_21|15_26|16_3|16_4|16_5|16_6|16_8|16_10|16_14|16_17|16_19|16_21|16_26|17_8|17_9|17_10|17_14|17_15|17_16|17_17|17_19|17_20|17_21|17_26|18_26|19_12|19_16|19_17|19_18|19_19|19_23|19_24|19_25|19_26|20_10|20_11|20_12|20_15|20_16|20_19|20_21|20_22|20_23|21_10|21_12|21_16|21_19|21_21|22_10|22_12|22_16|22_18|22_19|22_21|22_22|22_23|22_24|23_10|23_12|23_13|23_14|23_15|23_16|23_18|23_24|23_25|24_10|24_18|24_19|24_25|24_26|25_10|25_11|25_12|25_19|25_26|26_12|26_13|26_14|26_19|26_20|26_21|26_22|26_23|26_25|26_26|27_14|27_15|27_23|27_25|27_26|28_15|28_16|28_17|28_23|28_25|29_11|29_12|29_13|29_16|29_17|29_20|29_21|29_22|29_23|29_25|29_26|30_11|30_13|30_14|30_17|30_20|30_26|31_11|31_14|31_16|31_17|31_20|31_21|31_22|31_23|31_25|31_26|32_3|32_4|32_5|32_6|32_9|32_10|32_11|32_14|32_16|32_23|32_25|33_3|33_6|33_9|33_14|33_16|33_17|33_22|33_23|33_25|33_26|34_3|34_4|34_6|34_7|34_9|34_11|34_12|34_13|34_14|34_17|34_21|34_22|34_23|34_26|35_4|35_7|35_9|35_11|35_16|35_17|35_20|35_21|35_22|35_23|35_26|36_4|36_5|36_7|36_8|36_9|36_11|36_13|36_14|36_15|36_16|36_20|36_26|37_5|37_7|37_9|37_11|37_12|37_13|37_20|37_21|37_22|37_23|37_24|37_25|37_26|38_5|39_5|40_5|41_5|42_5"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0002,render_building_0009,render_building_0005,render_building_0004,render_person_0011,render_common_0003"; scene_data["render_common_0001_coordinates"] = "0_26,1_26,2_26,3_26,4_26,5_9,5_10,5_11,5_14,5_15,5_16,5_17,5_19,5_20,5_21,5_22,6_4,6_5,6_6,6_7,6_8,6_9,6_11,6_14,6_16,6_20,6_22,6_26,7_4,7_8,7_11,7_13,7_14,7_16,7_17,7_19,7_20,7_22,7_26,8_4,8_5,8_6,8_10,8_11,8_13,8_17,8_19,8_22,8_26,9_6,9_8,9_9,9_10,9_13,9_14,9_17,9_19,9_21,9_22,9_26,10_6,10_8,10_14,10_17,10_18,10_19,10_21,10_26,11_6,11_8,11_9,11_10,11_11,11_12,11_13,11_14,11_21,11_22,11_23,11_24,11_26,12_3,12_4,12_5,12_6,12_24,12_25,12_26,13_3,14_3,14_6,14_7,14_8,14_10,14_11,14_12,14_13,14_14,14_21,14_22,14_23,14_24,14_25,14_26,15_3,15_5,15_6,15_8,15_10,15_14,15_17,15_18,15_19,15_21,15_26,16_3,16_4,16_5,16_6,16_8,16_10,16_14,16_17,16_19,16_21,16_26,17_8,17_9,17_10,17_14,17_15,17_16,17_17,17_19,17_20,17_21,17_26,18_26,19_12,19_16,19_17,19_18,19_19,19_23,19_24,19_25,19_26,20_10,20_11,20_12,20_16,20_19,20_21,20_22,20_23,21_10,21_12,21_16,21_19,21_21,22_10,22_12,22_16,22_18,22_19,22_21,22_22,22_23,22_24,23_10,23_12,23_13,23_14,23_15,23_16,23_18,23_24,23_25,24_10,24_18,24_19,24_25,24_26,25_10,25_11,25_12,25_19,25_26,26_12,26_13,26_14,26_19,26_20,26_21,26_22,26_23,26_25,26_26,27_14,27_15,27_23,27_25,27_26,28_15,28_16,28_17,28_23,28_25,29_11,29_12,29_13,29_16,29_17,29_20,29_21,29_22,29_23,29_25,29_26,30_11,30_13,30_14,30_17,30_20,30_26,31_11,31_14,31_16,31_17,31_20,31_21,31_22,31_23,31_25,31_26,32_3,32_4,32_5,32_6,32_9,32_10,32_11,32_14,32_16,32_23,32_25,33_3,33_6,33_9,33_14,33_16,33_17,33_22,33_23,33_25,33_26,34_3,34_4,34_6,34_7,34_9,34_11,34_12,34_13,34_14,34_17,34_21,34_22,34_23,34_26,35_4,35_7,35_9,35_11,35_16,35_17,35_20,35_21,35_22,35_23,35_26,36_4,36_5,36_7,36_8,36_9,36_11,36_13,36_14,36_15,36_16,36_20,36_26,37_7,37_9,37_11,37_12,37_13,37_20,37_21,37_22,37_23,37_24,37_25,37_26,38_5,39_5,40_5,41_5,42_5"; scene_data["render_warp_0001_coordinates"] = "5_26,37_5"; scene_data["render_common_0002_coordinates"] = "6_24,6_25,7_24,8_24,9_24"; scene_data["render_building_0009_coordinates"] = "7_25,20_14,21_14,21_15"; scene_data["render_building_0005_coordinates"] = "8_25"; scene_data["render_building_0004_coordinates"] = "9_25,20_15"; scene_data["render_person_0011_coordinates"] = "11_19,12_23"; scene_data["render_common_0003_coordinates"] = "22_15"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0085() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 14; scene_data["name"] = "Single House"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 250;ALPHA_BLUE = 250;ALPHA_GREEN = 250;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=4, txt="Man: {{new_line}} Hello, young seeker. Welcome. {{new_line}} {{new_line}} You: {{new_line}} Thank you. It's a pleasure to meet you. {{new_line}} {{new_line}} Man: {{new_line}} Do you have any money to spare? {{new_line}} {{new_line}} You: {{new_line}} Sure. Here's what I can give you. I'm giving you a considerable amount so that you can return the favor and give some of it to someone else. Money is like a boomerang...when you throw it out, it always comes back to you. You'll come across more of it on your own in the future, I'm sure of it. {{new_line}} {{new_line}} Man: {{new_line}} You are an unusually kind young man. {{new_line}} {{new_line}} You: {{new_line}} Thank you!", required_dir="right", callback=function() PUT_STATE("spoke", 85, 1, "spoke with guy"); local money = PEEK_MONEY(); local one_tenth = money * 0.1; local one_tenth_as_integer = math.floor(one_tenth); SPEND_MONEY(one_tenth_as_integer); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("spoke", 85) == -1;end, eligibility_failure_msg=function() return "Farewell, I wish you a pleasent journey."; end } } scene_data["warp_points"] = { { warp_allowed = function() return GET_STATE("spoke", 85) == 1; end, on_warp_not_allowed_msg = "Maybe I should check to see who's home.", after_map_x=19, after_map_y=13, after_player_x=20, after_player_y=16, after_screen_x=1, after_screen_y=3, after_player_dir="down", x=9, y=10, scene_number=84, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_8|6_6|6_7|6_8|6_9|7_5|7_6|7_8|7_10|8_4|8_5|8_6|9_5|9_6|9_7|9_8|9_9|9_10|9_11|9_12|9_13|10_6|11_6|11_8|12_6|12_7|12_8|12_9|12_10"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_person_0011,render_warp_0001,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_6,5_8,6_6,6_7,6_8,6_9,7_5,7_6,7_8,7_10,8_4,8_5,8_6,9_5,9_6,9_7,9_8,9_9,9_11,9_12,9_13,10_6,11_6,11_8,12_6,12_7,12_8,12_9,12_10"; scene_data["render_indoors_asset_0008_coordinates"] = "6_10,11_10,13_10"; scene_data["render_person_0011_coordinates"] = "9_4"; scene_data["render_warp_0001_coordinates"] = "9_10"; scene_data["render_indoors_asset_0014_coordinates"] = "13_8,13_9"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0086() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 30; scene_data["tile_y_count"] = 16; scene_data["name"] = "Another cave room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 10; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=34, after_map_y=3, after_player_x=36, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=11, scene_number=84, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=2, after_player_x=6, after_player_y=3, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=24, y=6, scene_number=87, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_11|1_11|2_11|3_11|4_11|5_3|5_4|5_5|5_7|5_8|5_9|5_11|6_3|6_5|6_7|6_9|6_11|7_3|7_5|7_6|7_7|7_9|7_10|7_11|7_12|8_3|9_3|9_4|9_6|9_7|9_8|9_10|9_11|9_12|10_4|10_6|10_8|10_10|10_12|11_4|11_5|11_6|11_8|11_9|11_10|11_12|12_12|13_3|13_4|13_5|13_6|13_7|13_9|13_10|13_11|13_12|14_3|14_7|14_8|14_9|15_3|16_3|16_4|16_5|16_7|16_8|16_9|17_3|17_5|17_6|17_7|17_9|17_10|17_11|17_12|18_12|19_3|19_4|19_5|19_6|19_11|19_12|20_4|20_6|20_7|20_11|21_4|21_7|21_8|21_11|21_12|22_4|22_5|22_6|22_8|22_9|22_12|23_6|23_9|23_11|23_12|24_6|24_9|24_10|24_11|25_6|26_6|27_6|28_6|29_6"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_11,1_11,2_11,3_11,4_11,5_3,5_4,5_5,5_7,5_8,5_9,6_3,6_5,6_7,6_9,6_11,7_3,7_5,7_6,7_7,7_9,7_10,7_11,7_12,8_3,9_3,9_4,9_6,9_7,9_8,9_10,9_11,9_12,10_4,10_6,10_8,10_10,10_12,11_4,11_5,11_6,11_8,11_9,11_10,11_12,12_12,13_3,13_4,13_5,13_6,13_7,13_9,13_10,13_11,13_12,14_3,14_7,14_8,14_9,15_3,16_3,16_4,16_5,16_7,16_8,16_9,17_3,17_5,17_6,17_7,17_9,17_10,17_11,17_12,18_12,19_3,19_4,19_5,19_6,19_11,19_12,20_4,20_6,20_7,20_11,21_4,21_7,21_8,21_11,21_12,22_4,22_5,22_6,22_8,22_9,22_12,23_6,23_9,23_11,23_12,24_9,24_10,24_11,25_6,26_6,27_6,28_6,29_6"; scene_data["render_warp_0001_coordinates"] = "5_11,24_6"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0087() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 72; scene_data["tile_y_count"] = 25; scene_data["name"] = "General Cave Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=7, txt="All subjects, please continue gathering east of here.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=6, y=7, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("zzz1", 87, 1, "first treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("zzz1", 87) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=20, y=18, txt="May you rest in peace, elusive mother. I wish you the deepest sleep, and the soonest reincarnation. I have faith that you will return from the grave in some shape or form, because you always beamed with shining life.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=31, y=10, txt="You obtained 600g", required_dir="up", callback=function() GET_MONEY(600); PUT_STATE("zzz2", 87, 1, "second treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("zzz2", 87) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end }, { x=58, y=19, txt="You obtained 10g", required_dir="up", callback=function() GET_MONEY(10); PUT_STATE("zzz3", 87, 1, "third treasure box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("zzz3", 87) == -1;end, eligibility_failure_msg=function() return "You have already retrieved this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=4, after_player_x=23, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=86, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=1, after_player_x=6, after_player_y=3, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=66, y=3, scene_number=88, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=13, y=7, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=420, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_7|5_8|5_9|5_11|5_13|5_21|6_3|6_7|6_9|6_10|6_11|6_13|6_14|6_15|6_16|6_17|6_18|6_19|6_20|6_21|7_3|7_7|7_11|7_13|7_15|7_17|7_19|7_21|8_3|8_4|8_5|8_6|8_7|8_11|8_12|8_13|8_21|9_21|10_3|10_4|10_5|10_6|10_7|10_8|10_9|10_10|10_11|10_13|10_14|10_15|10_16|10_17|10_18|10_20|10_21|11_3|11_4|11_5|11_11|11_13|11_17|11_20|12_5|12_8|12_9|12_10|12_11|12_13|12_14|12_15|12_17|12_18|12_20|12_21|13_5|13_7|13_8|13_15|13_18|13_21|14_3|14_4|14_5|14_8|14_9|14_15|14_17|14_18|14_20|14_21|15_3|15_9|15_13|15_14|15_15|15_17|15_20|16_3|16_4|16_5|16_7|16_9|16_10|16_11|16_13|16_17|16_20|17_5|17_6|17_7|17_11|17_13|17_14|17_15|17_17|17_18|17_20|18_7|18_9|18_10|18_11|18_15|18_18|18_20|18_21|19_7|19_9|19_15|19_18|19_21|20_3|20_4|20_5|20_6|20_7|20_9|20_11|20_15|20_18|20_21|21_3|21_7|21_9|21_10|21_11|21_12|21_13|21_14|21_15|21_18|21_19|21_20|21_21|22_3|23_3|24_3|24_4|25_3|25_4|25_5|25_6|26_6|26_7|27_7|27_8|27_12|27_13|27_14|27_15|27_17|27_18|27_19|27_20|27_21|28_8|28_9|28_12|28_15|28_17|28_21|29_9|29_10|29_12|29_14|29_15|29_17|29_21|29_22|30_10|30_12|30_14|30_17|30_21|31_10|31_11|31_12|31_14|31_15|31_16|31_17|31_20|31_21|32_21|33_13|33_14|33_15|33_16|33_18|33_19|33_20|33_21|34_11|34_12|34_13|34_16|34_18|35_10|35_11|35_15|35_16|35_18|36_9|36_10|36_15|36_18|37_8|37_9|37_15|37_18|37_19|37_20|37_21|38_7|38_8|38_15|38_21|39_5|39_6|39_7|39_15|39_16|39_18|39_19|39_20|39_21|40_3|40_4|40_5|40_16|40_18|41_3|41_16|41_18|41_19|41_20|41_21|42_3|42_16|42_21|43_3|43_5|43_6|43_7|43_9|43_10|43_11|43_15|43_16|43_18|43_19|43_20|43_21|44_3|44_4|44_5|44_7|44_8|44_9|44_11|44_12|44_15|44_18|45_12|45_15|45_16|45_18|46_6|46_7|46_8|46_10|46_11|46_12|46_16|46_18|47_3|47_4|47_5|47_6|47_8|47_9|47_10|47_15|47_16|47_18|47_19|47_20|48_3|48_15|48_20|48_21|49_3|49_5|49_6|49_7|49_9|49_10|49_11|49_15|49_16|49_21|50_3|50_4|50_5|50_7|50_8|50_9|50_11|50_12|50_13|50_16|50_20|50_21|51_13|51_15|51_16|51_20|52_3|52_4|52_5|52_6|52_7|52_8|52_9|52_13|52_15|52_18|52_19|52_20|53_3|53_9|53_12|53_13|53_15|53_16|53_18|54_3|54_5|54_6|54_7|54_9|54_12|54_16|54_18|54_19|54_20|54_21|55_3|55_4|55_5|55_7|55_9|55_10|55_12|55_13|55_15|55_16|55_21|56_7|56_10|56_13|56_15|56_19|56_20|56_21|57_3|57_4|57_5|57_7|57_9|57_10|57_12|57_13|57_15|57_16|57_19|57_21|58_3|58_5|58_6|58_7|58_9|58_12|58_16|58_19|59_3|59_9|59_12|59_13|59_15|59_16|59_19|59_20|59_21|60_3|60_4|60_5|60_6|60_9|60_10|60_13|60_15|60_21|61_3|61_4|61_6|61_7|61_10|61_12|61_13|61_15|61_16|61_21|62_7|62_9|62_10|62_12|62_16|62_20|62_21|63_3|63_4|63_5|63_7|63_9|63_12|63_13|63_15|63_16|63_20|64_3|64_5|64_7|64_9|64_13|64_15|64_20|64_21|65_3|65_5|65_7|65_9|65_10|65_12|65_13|65_15|65_16|65_21|66_3|66_5|66_6|66_7|66_9|66_10|66_11|66_12|66_13|66_15|66_16|66_17|66_18|66_19|66_20|66_21|67_3|68_3|69_3|70_3|71_3"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0004,render_common_0003,render_building_0005,render_building_0004"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_7,5_8,5_9,5_11,5_13,5_21,6_3,6_7,6_9,6_10,6_11,6_13,6_14,6_15,6_16,6_17,6_18,6_19,6_20,6_21,7_3,7_7,7_11,7_13,7_15,7_17,7_19,7_21,8_3,8_4,8_5,8_6,8_7,8_11,8_12,8_13,8_21,9_21,10_3,10_4,10_5,10_6,10_7,10_8,10_9,10_10,10_11,10_13,10_14,10_15,10_16,10_17,10_18,10_20,10_21,11_3,11_4,11_5,11_11,11_13,11_17,11_20,12_5,12_8,12_9,12_10,12_11,12_13,12_14,12_15,12_17,12_18,12_20,12_21,13_5,13_8,13_15,13_18,13_21,14_3,14_4,14_5,14_8,14_9,14_15,14_17,14_18,14_20,14_21,15_3,15_9,15_13,15_14,15_15,15_17,15_20,16_3,16_4,16_5,16_7,16_9,16_10,16_11,16_13,16_17,16_20,17_5,17_6,17_7,17_11,17_13,17_14,17_15,17_17,17_18,17_20,18_7,18_9,18_10,18_11,18_15,18_18,18_20,18_21,19_7,19_9,19_15,19_18,19_21,20_3,20_4,20_5,20_6,20_7,20_9,20_11,20_15,20_18,20_21,21_3,21_7,21_9,21_10,21_11,21_12,21_13,21_14,21_15,21_18,21_19,21_20,21_21,22_3,23_3,24_3,24_4,25_3,25_4,25_5,25_6,26_6,26_7,27_7,27_8,27_12,27_13,27_14,27_15,27_17,27_18,27_19,27_20,27_21,28_8,28_9,28_12,28_15,28_17,28_21,29_9,29_10,29_12,29_14,29_15,29_17,29_21,29_22,30_10,30_12,30_14,30_17,30_21,31_10,31_11,31_12,31_14,31_15,31_16,31_17,31_20,31_21,32_21,33_13,33_14,33_15,33_16,33_18,33_19,33_20,33_21,34_11,34_12,34_13,34_16,34_18,35_10,35_11,35_15,35_16,35_18,36_9,36_10,36_15,36_18,37_8,37_9,37_15,37_18,37_19,37_20,37_21,38_7,38_8,38_15,38_21,39_5,39_6,39_7,39_15,39_16,39_18,39_19,39_20,39_21,40_3,40_4,40_5,40_16,40_18,41_3,41_16,41_18,41_19,41_20,41_21,42_3,42_16,42_21,43_3,43_5,43_6,43_7,43_9,43_10,43_11,43_15,43_16,43_18,43_19,43_20,43_21,44_3,44_4,44_5,44_7,44_8,44_9,44_11,44_12,44_15,44_18,45_12,45_15,45_16,45_18,46_6,46_7,46_8,46_10,46_11,46_12,46_16,46_18,47_3,47_4,47_5,47_6,47_8,47_9,47_10,47_15,47_16,47_18,47_19,47_20,48_3,48_15,48_20,48_21,49_3,49_5,49_6,49_7,49_9,49_10,49_11,49_15,49_16,49_21,50_3,50_4,50_5,50_7,50_8,50_9,50_11,50_12,50_13,50_16,50_20,50_21,51_13,51_15,51_16,51_20,52_3,52_4,52_5,52_6,52_7,52_8,52_9,52_13,52_15,52_18,52_19,52_20,53_3,53_9,53_12,53_13,53_15,53_16,53_18,54_3,54_5,54_6,54_7,54_9,54_12,54_16,54_18,54_19,54_20,54_21,55_3,55_4,55_5,55_7,55_9,55_10,55_12,55_13,55_15,55_16,55_21,56_7,56_10,56_13,56_15,56_19,56_20,56_21,57_3,57_4,57_5,57_7,57_9,57_10,57_12,57_13,57_15,57_16,57_19,57_21,58_3,58_5,58_6,58_7,58_9,58_12,58_16,58_19,59_3,59_9,59_12,59_13,59_15,59_16,59_19,59_20,59_21,60_3,60_4,60_5,60_6,60_9,60_10,60_13,60_15,60_21,61_3,61_4,61_6,61_7,61_10,61_12,61_13,61_15,61_16,61_21,62_7,62_9,62_10,62_12,62_16,62_20,62_21,63_3,63_4,63_5,63_7,63_9,63_12,63_13,63_15,63_16,63_20,64_3,64_5,64_7,64_9,64_13,64_15,64_20,64_21,65_3,65_5,65_7,65_9,65_10,65_12,65_13,65_15,65_16,65_21,66_5,66_6,66_7,66_9,66_10,66_11,66_12,66_13,66_15,66_16,66_17,66_18,66_19,66_20,66_21,67_3,68_3,69_3,70_3,71_3"; scene_data["render_warp_0001_coordinates"] = "5_3,66_3"; scene_data["render_common_0004_coordinates"] = "5_6,20_17"; scene_data["render_common_0003_coordinates"] = "6_6,31_9,58_18"; scene_data["render_building_0005_coordinates"] = "12_7"; scene_data["render_building_0004_coordinates"] = "13_7"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0088() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 56; scene_data["tile_y_count"] = 40; scene_data["name"] = "Another cave room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=12, y=13, txt="You obtained 3000g", required_dir="up", callback=function() PUT_STATE("b1", 88, 1, "got the money"); GET_MONEY(3000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 88) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=13, txt="You obtained 1000g", required_dir="up", callback=function() PUT_STATE("b2", 88, 1, "got the money"); GET_MONEY(1000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 88) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=13, txt="You obtained 700g", required_dir="up", callback=function() PUT_STATE("b3", 88, 1, "got the money"); GET_MONEY(700); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 88) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=63, after_map_y=2, after_player_x=65, after_player_y=3, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=3, scene_number=87, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=25, after_player_x=6, after_player_y=27, after_screen_x=3, after_screen_y=2, after_player_dir="right", x=50, y=3, scene_number=89, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_6|5_7|5_8|5_9|5_10|5_12|5_17|5_18|5_19|5_20|5_21|5_25|5_26|5_27|5_28|5_30|5_31|5_32|6_3|6_6|6_10|6_12|6_13|6_14|6_17|6_21|6_25|6_27|6_30|6_32|6_33|6_34|6_35|6_36|7_3|7_4|7_6|7_10|7_12|7_14|7_17|7_21|7_22|7_25|7_27|7_28|7_30|7_36|8_4|8_6|8_10|8_12|8_14|8_17|8_18|8_19|8_22|8_24|8_25|8_28|8_30|8_31|8_32|8_34|8_35|8_36|9_4|9_6|9_10|9_12|9_14|9_19|9_21|9_22|9_24|9_28|9_32|9_34|10_4|10_5|10_6|10_10|10_11|10_12|10_14|10_15|10_16|10_17|10_18|10_19|10_21|10_22|10_23|10_24|10_25|10_27|10_28|10_29|10_30|10_31|10_32|10_34|11_34|12_3|12_4|12_5|12_6|12_7|12_8|12_10|12_13|12_14|12_15|12_16|12_18|12_19|12_20|12_21|12_22|12_23|12_24|12_26|12_27|12_28|12_29|12_30|12_31|12_32|12_34|13_3|13_4|13_8|13_10|13_11|13_12|13_13|13_16|13_18|13_19|13_24|13_26|13_32|13_34|13_35|13_36|14_4|14_6|14_7|14_8|14_10|14_16|14_18|14_19|14_21|14_22|14_23|14_24|14_26|14_27|14_29|14_30|14_31|14_32|14_35|14_36|15_3|15_4|15_6|15_7|15_10|15_13|15_14|15_15|15_16|15_18|15_19|15_21|15_27|15_29|15_31|15_32|15_35|16_3|16_6|16_9|16_10|16_13|16_14|16_16|16_19|16_21|16_22|16_23|16_24|16_26|16_27|16_29|16_32|16_35|16_36|17_3|17_4|17_6|17_7|17_9|17_10|17_16|17_18|17_19|17_21|17_24|17_26|17_29|17_30|17_36|18_4|18_7|18_9|18_12|18_13|18_14|18_15|18_16|18_19|18_24|18_26|18_27|18_30|18_31|18_35|18_36|19_3|19_4|19_6|19_7|19_9|19_10|19_12|19_19|19_21|19_22|19_23|19_24|19_27|19_31|19_32|19_36|20_3|20_6|20_7|20_10|20_12|20_13|20_19|20_21|20_26|20_27|20_32|20_33|20_35|20_36|21_3|21_7|21_10|21_13|21_14|21_18|21_19|21_21|21_26|21_33|21_36|22_3|22_7|22_8|22_9|22_10|22_11|22_14|22_15|22_18|22_19|22_21|22_22|22_23|22_24|22_26|22_33|22_34|22_36|23_3|23_7|23_9|23_10|23_11|23_12|23_15|23_16|23_17|23_18|23_19|23_21|23_22|23_24|23_25|23_26|23_34|23_35|23_36|24_3|25_3|25_4|25_6|25_7|25_8|25_9|25_10|25_12|25_13|25_14|25_15|25_16|25_19|25_20|25_21|25_24|25_25|25_26|25_31|25_32|25_33|25_34|25_35|26_3|26_4|26_6|26_10|26_12|26_16|26_18|26_19|26_21|26_24|26_26|26_27|26_28|26_29|26_31|26_34|27_3|27_4|27_5|27_6|27_10|27_12|27_16|27_18|27_21|27_24|27_26|27_29|27_31|27_34|27_35|27_36|28_3|28_4|28_10|28_11|28_12|28_16|28_17|28_18|28_19|28_21|28_22|28_23|28_24|28_26|28_28|28_29|28_30|28_31|28_36|29_36|30_6|30_7|30_8|30_9|30_10|30_11|30_12|30_16|30_17|30_18|30_19|30_20|30_21|30_33|30_34|30_35|30_36|31_4|31_5|31_6|31_7|31_12|31_16|31_21|31_28|31_29|31_30|31_31|31_33|32_4|32_10|32_11|32_12|32_16|32_17|32_21|32_22|32_23|32_28|32_31|32_33|32_34|32_35|32_36|33_4|33_5|33_6|33_7|33_8|33_10|33_17|33_18|33_23|33_25|33_26|33_27|33_28|33_31|33_36|34_8|34_10|34_18|34_19|34_23|34_25|34_31|34_36|35_8|35_10|35_11|35_12|35_19|35_21|35_22|35_23|35_25|35_26|35_28|35_29|35_30|35_31|35_36|36_8|36_12|36_19|36_21|36_26|36_28|36_33|36_34|36_35|36_36|37_6|37_7|37_8|37_12|37_16|37_17|37_18|37_19|37_21|37_22|37_23|37_25|37_26|37_28|37_29|37_30|37_33|38_6|38_12|38_14|38_15|38_16|38_18|38_19|38_23|38_25|38_30|38_33|38_34|38_35|39_6|39_10|39_11|39_12|39_14|39_21|39_22|39_23|39_25|39_26|39_28|39_30|39_35|39_36|40_3|40_4|40_5|40_6|40_10|40_14|40_15|40_16|40_17|40_18|40_19|40_21|40_26|40_28|40_29|40_30|40_36|41_3|41_10|41_11|41_14|41_15|41_16|41_19|41_21|41_22|41_23|41_26|41_28|41_33|41_34|41_35|41_36|42_3|42_11|42_19|42_23|42_25|42_26|42_28|42_29|42_30|42_31|42_33|43_3|43_4|43_11|43_19|43_23|43_25|43_28|43_29|43_33|43_34|43_35|43_36|44_4|44_11|44_17|44_18|44_19|44_21|44_22|44_23|44_25|44_26|44_28|44_29|44_30|44_31|44_36|45_4|45_5|45_6|45_7|45_8|45_10|45_11|45_12|45_15|45_16|45_17|45_21|45_26|45_31|45_35|45_36|46_8|46_12|46_15|46_16|46_21|46_25|46_26|46_28|46_29|46_30|46_31|46_35|47_4|47_8|47_12|47_14|47_15|47_21|47_25|47_28|47_35|48_3|48_4|48_5|48_8|48_10|48_11|48_12|48_14|48_21|48_25|48_26|48_28|48_29|48_30|48_31|48_35|48_36|49_3|49_5|49_6|49_7|49_8|49_10|49_14|49_21|49_22|49_23|49_26|49_31|49_36|50_3|50_8|50_10|50_11|50_12|50_13|50_14|50_21|50_22|50_23|50_24|50_25|50_26|50_31|50_32|50_33|50_34|50_35|50_36|51_3|52_3|53_3|54_3|55_3"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_6,5_7,5_8,5_9,5_10,5_12,5_17,5_18,5_19,5_20,5_21,5_25,5_26,5_27,5_28,5_30,5_31,5_32,6_3,6_6,6_10,6_12,6_13,6_14,6_17,6_21,6_25,6_27,6_30,6_32,6_33,6_34,6_35,6_36,7_3,7_4,7_6,7_10,7_12,7_14,7_17,7_21,7_22,7_25,7_27,7_28,7_30,7_36,8_4,8_6,8_10,8_12,8_14,8_17,8_18,8_19,8_22,8_24,8_25,8_28,8_30,8_31,8_32,8_34,8_35,8_36,9_4,9_6,9_10,9_12,9_14,9_19,9_21,9_22,9_24,9_28,9_32,9_34,10_4,10_5,10_6,10_10,10_11,10_12,10_14,10_15,10_16,10_17,10_18,10_19,10_21,10_22,10_23,10_24,10_25,10_27,10_28,10_29,10_30,10_31,10_32,10_34,11_34,12_3,12_4,12_5,12_6,12_7,12_8,12_10,12_13,12_14,12_15,12_16,12_18,12_19,12_20,12_21,12_22,12_23,12_24,12_26,12_27,12_28,12_29,12_30,12_31,12_32,12_34,13_3,13_4,13_8,13_10,13_11,13_12,13_13,13_16,13_18,13_19,13_24,13_26,13_32,13_34,13_35,13_36,14_4,14_6,14_7,14_8,14_10,14_16,14_18,14_19,14_21,14_22,14_23,14_24,14_26,14_27,14_29,14_30,14_31,14_32,14_35,14_36,15_3,15_4,15_6,15_7,15_10,15_13,15_14,15_15,15_16,15_18,15_19,15_21,15_27,15_29,15_31,15_32,15_35,16_3,16_6,16_9,16_10,16_13,16_14,16_16,16_19,16_21,16_22,16_23,16_24,16_26,16_27,16_29,16_32,16_35,16_36,17_3,17_4,17_6,17_7,17_9,17_10,17_16,17_18,17_19,17_21,17_24,17_26,17_29,17_30,17_36,18_4,18_7,18_9,18_12,18_13,18_14,18_15,18_16,18_19,18_24,18_26,18_27,18_30,18_31,18_35,18_36,19_3,19_4,19_6,19_7,19_9,19_10,19_12,19_19,19_21,19_22,19_23,19_24,19_27,19_31,19_32,19_36,20_3,20_6,20_7,20_10,20_12,20_13,20_19,20_21,20_26,20_27,20_32,20_33,20_35,20_36,21_3,21_7,21_10,21_13,21_14,21_18,21_19,21_21,21_26,21_33,21_36,22_3,22_7,22_8,22_9,22_10,22_11,22_14,22_15,22_18,22_19,22_21,22_22,22_23,22_24,22_26,22_33,22_34,22_36,23_3,23_7,23_9,23_10,23_11,23_12,23_15,23_16,23_17,23_18,23_19,23_21,23_22,23_24,23_25,23_26,23_34,23_35,23_36,24_3,25_3,25_4,25_6,25_7,25_8,25_9,25_10,25_12,25_13,25_14,25_15,25_16,25_19,25_20,25_21,25_24,25_25,25_26,25_31,25_32,25_33,25_34,25_35,26_3,26_4,26_6,26_10,26_12,26_16,26_18,26_19,26_21,26_24,26_26,26_27,26_28,26_29,26_31,26_34,27_3,27_4,27_5,27_6,27_10,27_12,27_16,27_18,27_21,27_24,27_26,27_29,27_31,27_34,27_35,27_36,28_3,28_4,28_10,28_11,28_12,28_16,28_17,28_18,28_19,28_21,28_22,28_23,28_24,28_26,28_28,28_29,28_30,28_31,28_36,29_36,30_6,30_7,30_8,30_9,30_10,30_11,30_12,30_16,30_17,30_18,30_19,30_20,30_21,30_33,30_34,30_35,30_36,31_4,31_5,31_6,31_7,31_12,31_16,31_21,31_28,31_29,31_30,31_31,31_33,32_4,32_10,32_11,32_12,32_16,32_17,32_21,32_22,32_23,32_28,32_31,32_33,32_34,32_35,32_36,33_4,33_5,33_6,33_7,33_8,33_10,33_17,33_18,33_23,33_25,33_26,33_27,33_28,33_31,33_36,34_8,34_10,34_18,34_19,34_23,34_25,34_31,34_36,35_8,35_10,35_11,35_12,35_19,35_21,35_22,35_23,35_25,35_26,35_28,35_29,35_30,35_31,35_36,36_8,36_12,36_19,36_21,36_26,36_28,36_33,36_34,36_35,36_36,37_6,37_7,37_8,37_12,37_16,37_17,37_18,37_19,37_21,37_22,37_23,37_25,37_26,37_28,37_29,37_30,37_33,38_6,38_12,38_14,38_15,38_16,38_18,38_19,38_23,38_25,38_30,38_33,38_34,38_35,39_6,39_10,39_11,39_12,39_14,39_21,39_22,39_23,39_25,39_26,39_28,39_30,39_35,39_36,40_3,40_4,40_5,40_6,40_10,40_14,40_15,40_16,40_17,40_18,40_19,40_21,40_26,40_28,40_29,40_30,40_36,41_3,41_10,41_11,41_14,41_15,41_16,41_19,41_21,41_22,41_23,41_26,41_28,41_33,41_34,41_35,41_36,42_3,42_11,42_19,42_23,42_25,42_26,42_28,42_29,42_30,42_31,42_33,43_3,43_4,43_11,43_19,43_23,43_25,43_28,43_29,43_33,43_34,43_35,43_36,44_4,44_11,44_17,44_18,44_19,44_21,44_22,44_23,44_25,44_26,44_28,44_29,44_30,44_31,44_36,45_4,45_5,45_6,45_7,45_8,45_10,45_11,45_12,45_15,45_16,45_17,45_21,45_26,45_31,45_35,45_36,46_8,46_12,46_15,46_16,46_21,46_25,46_26,46_28,46_29,46_30,46_31,46_35,47_4,47_8,47_12,47_14,47_15,47_21,47_25,47_28,47_35,48_3,48_4,48_5,48_8,48_10,48_11,48_12,48_14,48_21,48_25,48_26,48_28,48_29,48_30,48_31,48_35,48_36,49_3,49_5,49_6,49_7,49_8,49_10,49_14,49_21,49_22,49_23,49_26,49_31,49_36,50_8,50_10,50_11,50_12,50_13,50_14,50_21,50_22,50_23,50_24,50_25,50_26,50_31,50_32,50_33,50_34,50_35,50_36,51_3,52_3,53_3,54_3,55_3"; scene_data["render_warp_0001_coordinates"] = "5_3,50_3"; scene_data["render_common_0003_coordinates"] = "12_12,15_12,16_12"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0089() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 30; scene_data["tile_y_count"] = 32; scene_data["name"] = "Last cave room before inn save point (scene 90)"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=26, txt="Speech should be intentional {{new_line}} Thought should be natural {{new_line}} Live by these rules {{new_line}} And you will find the gems and the jewels", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=47, after_map_y=2, after_player_x=49, after_player_y=3, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=27, scene_number=88, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=24, y=4, scene_number=90, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_27|1_27|2_27|3_27|4_27|5_3|5_5|5_6|5_7|5_8|5_10|5_11|5_12|5_13|5_14|5_15|5_20|5_21|5_22|5_23|5_26|5_27|6_3|6_4|6_5|6_8|6_10|6_11|6_15|6_17|6_18|6_19|6_20|6_22|6_23|6_25|6_26|6_27|6_28|7_3|7_7|7_8|7_10|7_13|7_14|7_15|7_17|7_23|7_28|8_3|8_4|8_5|8_7|8_10|8_13|8_17|8_18|8_19|8_20|8_22|8_23|8_25|8_26|8_27|8_28|9_5|9_7|9_8|9_10|9_11|9_13|9_14|9_20|9_22|9_25|10_5|10_8|10_11|10_14|10_17|10_18|10_19|10_20|10_22|10_25|11_3|11_4|11_5|11_8|11_11|11_14|11_15|11_17|11_22|11_25|12_3|12_4|12_7|12_8|12_10|12_11|12_15|12_17|12_18|12_19|12_20|12_22|12_23|12_25|12_26|12_27|12_28|13_4|13_7|13_10|13_15|13_20|13_23|13_25|13_28|14_4|14_7|14_8|14_10|14_13|14_14|14_15|14_20|14_22|14_23|14_28|15_3|15_4|15_8|15_10|15_11|15_13|15_20|15_22|15_25|15_26|15_27|15_28|16_3|16_4|16_7|16_8|16_11|16_13|16_17|16_18|16_19|16_20|16_22|16_23|16_25|17_3|17_7|17_11|17_13|17_17|17_23|17_25|17_26|17_27|17_28|18_3|18_4|18_7|18_10|18_11|18_13|18_17|18_18|18_19|18_20|18_23|18_28|19_4|19_7|19_8|19_10|19_13|19_14|19_20|19_22|19_23|19_27|19_28|20_4|20_8|20_10|20_14|20_15|20_20|20_22|20_26|20_27|21_4|21_7|21_8|21_10|21_11|21_15|21_17|21_18|21_19|21_20|21_22|21_23|21_25|21_26|22_3|22_4|22_7|22_11|22_15|22_17|22_23|22_25|23_3|23_7|23_11|23_15|23_17|23_22|23_23|23_25|24_3|24_4|24_5|24_7|24_8|24_9|24_10|24_11|24_14|24_15|24_16|24_17|24_22|24_23|24_24|24_25|25_4|26_4|27_4|28_4|29_4"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_common_0004,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_27,1_27,2_27,3_27,4_27,5_3,5_5,5_6,5_7,5_8,5_10,5_11,5_12,5_13,5_14,5_15,5_20,5_21,5_22,5_23,5_26,6_3,6_4,6_5,6_8,6_10,6_11,6_15,6_17,6_18,6_19,6_20,6_22,6_23,6_25,6_26,6_27,6_28,7_3,7_7,7_8,7_10,7_13,7_14,7_15,7_17,7_23,7_28,8_3,8_4,8_5,8_7,8_10,8_13,8_17,8_18,8_19,8_20,8_22,8_23,8_25,8_26,8_27,8_28,9_5,9_7,9_8,9_10,9_11,9_13,9_14,9_20,9_22,9_25,10_5,10_8,10_11,10_14,10_17,10_18,10_19,10_20,10_22,10_25,11_3,11_4,11_5,11_8,11_11,11_14,11_15,11_17,11_22,11_25,12_3,12_4,12_7,12_8,12_10,12_11,12_15,12_17,12_18,12_19,12_20,12_22,12_23,12_25,12_26,12_27,12_28,13_4,13_7,13_10,13_15,13_20,13_23,13_25,13_28,14_4,14_7,14_8,14_10,14_13,14_14,14_15,14_20,14_22,14_23,14_28,15_3,15_4,15_8,15_10,15_11,15_13,15_20,15_22,15_25,15_26,15_27,15_28,16_3,16_4,16_7,16_8,16_11,16_13,16_17,16_18,16_19,16_20,16_22,16_23,16_25,17_3,17_7,17_11,17_13,17_17,17_23,17_25,17_26,17_27,17_28,18_3,18_4,18_7,18_10,18_11,18_13,18_17,18_18,18_19,18_20,18_23,18_28,19_4,19_7,19_8,19_10,19_13,19_14,19_20,19_22,19_23,19_27,19_28,20_4,20_8,20_10,20_14,20_15,20_20,20_22,20_26,20_27,21_4,21_7,21_8,21_10,21_11,21_15,21_17,21_18,21_19,21_20,21_22,21_23,21_25,21_26,22_3,22_4,22_7,22_11,22_15,22_17,22_23,22_25,23_3,23_7,23_11,23_15,23_17,23_22,23_23,23_25,24_3,24_5,24_7,24_8,24_9,24_10,24_11,24_14,24_15,24_16,24_17,24_22,24_23,24_24,24_25,25_4,26_4,27_4,28_4,29_4"; scene_data["render_common_0004_coordinates"] = "5_25"; scene_data["render_warp_0001_coordinates"] = "5_27,24_4"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0090() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 12; scene_data["name"] = "Rest Point w/inn after lots of battle"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=4, txt="You obtained 1000g", required_dir="up", callback=function() PUT_STATE("b1", 90, 1, "Top-Left treasure box"); GET_MONEY(1000); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 90) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=4, txt="You obtained 375g", required_dir="up", callback=function() PUT_STATE("b2", 90, 1, "Top-Right treasure box"); GET_MONEY(375); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 90) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=14, y=6, txt="You obtained 50g", required_dir="up", callback=function() PUT_STATE("b3", 90, 1, "Bottom treasure box"); GET_MONEY(50); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 90) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=2, after_player_x=24, after_player_y=3, after_screen_x=3, after_screen_y=1, after_player_dir="up", x=5, y=5, scene_number=89, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=14, after_player_x=5, after_player_y=17, after_screen_x=1, after_screen_y=3, after_player_dir="up", x=16, y=8, scene_number=91, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=10, y=6, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=600, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_5|1_5|2_5|3_5|4_5|5_5|5_7|6_3|6_4|6_5|6_6|6_7|7_3|7_7|8_3|8_7|9_3|9_7|10_3|10_6|10_7|11_3|11_7|12_3|12_4|12_5|12_6|12_7|13_4|14_4|14_6|14_7|15_4|15_5|15_6|15_7|15_8|16_8|17_8|18_8|19_8|20_8|21_8"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_building_0001,render_building_0009,render_building_0005,render_building_0006,render_building_0002,render_common_0002,render_building_0004,render_common_0003"; scene_data["render_common_0001_coordinates"] = "0_5,1_5,2_5,3_5,4_5,5_7,6_3,6_4,6_5,6_6,6_7,7_3,7_7,8_3,8_7,9_3,9_7,10_3,10_7,11_3,11_7,12_3,12_4,12_5,12_6,12_7,13_4,14_4,14_6,14_7,15_4,15_5,15_6,15_7,15_8,17_8,18_8,19_8,20_8,21_8"; scene_data["render_warp_0001_coordinates"] = "5_5,16_8"; scene_data["render_building_0001_coordinates"] = "7_4"; scene_data["render_building_0009_coordinates"] = "7_5,8_5,8_6,9_5,9_6"; scene_data["render_building_0005_coordinates"] = "7_6"; scene_data["render_building_0006_coordinates"] = "8_4,9_4"; scene_data["render_building_0002_coordinates"] = "10_4"; scene_data["render_common_0002_coordinates"] = "10_5"; scene_data["render_building_0004_coordinates"] = "10_6"; scene_data["render_common_0003_coordinates"] = "14_3,14_5,15_3"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0091() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 36; scene_data["tile_y_count"] = 22; scene_data["name"] = "Another cave room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=11, txt="Please continue heading east.... {{new_line}} {{new_line}} I declare our shared presence inevitable {{new_line}} Renounce the notion of life before you {{new_line}} Would rescind everything in order to {{new_line}} Maintain this feeling", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=17, y=11, txt="Runs, pumps, beats incessantly {{new_line}} Lord of time, if by chance you exist {{new_line}} Would you mind loaning to this {{new_line}} Sweet moment a sliver of your eternity?", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=6, after_player_x=15, after_player_y=8, after_screen_x=3, after_screen_y=2, after_player_dir="left", x=5, y=18, scene_number=90, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=7, after_player_x=5, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=30, y=11, scene_number=92, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_18|1_18|2_18|3_18|4_18|5_14|5_15|5_16|5_17|5_18|6_14|7_11|7_12|7_13|7_14|8_8|8_9|8_10|8_11|9_5|9_6|9_7|9_8|10_5|11_3|11_4|11_5|12_3|12_13|13_3|13_8|13_9|13_10|13_11|13_12|13_13|13_14|13_15|13_16|13_17|14_3|14_4|14_8|14_13|14_17|15_4|15_8|15_17|16_4|16_5|16_8|16_12|16_13|16_14|16_15|16_16|16_17|17_4|17_7|17_8|17_11|17_12|17_15|18_4|18_5|18_7|18_10|18_11|19_5|19_7|19_10|20_3|20_4|20_5|20_7|20_10|20_11|20_12|20_13|20_15|20_16|20_17|20_18|21_3|21_7|21_8|21_13|21_14|21_15|21_17|21_18|22_3|22_4|22_5|22_8|22_17|23_5|23_7|23_8|23_10|23_11|23_12|23_13|23_17|23_18|24_4|24_5|24_7|24_10|24_11|24_13|24_18|25_4|25_7|25_8|25_11|25_13|25_14|25_18|26_4|26_8|26_10|26_11|26_13|26_18|27_4|27_8|27_10|27_13|27_14|27_17|27_18|28_3|28_4|28_7|28_8|28_10|28_11|28_13|28_17|29_3|29_7|29_11|29_13|29_17|30_3|30_4|30_5|30_6|30_7|30_8|30_11|30_13|30_14|30_15|30_16|30_17|31_11|32_11|33_11|34_11|35_11"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0004"; scene_data["render_common_0001_coordinates"] = "0_18,1_18,2_18,3_18,4_18,5_14,5_15,5_16,5_17,6_14,7_11,7_12,7_13,7_14,8_8,8_9,8_10,8_11,9_5,9_6,9_7,9_8,10_5,11_3,11_4,11_5,12_3,12_13,13_3,13_8,13_9,13_10,13_11,13_12,13_13,13_14,13_15,13_16,13_17,14_3,14_4,14_8,14_13,14_17,15_4,15_8,15_17,16_4,16_5,16_8,16_12,16_13,16_14,16_15,16_16,16_17,17_4,17_7,17_8,17_11,17_12,17_15,18_4,18_5,18_7,18_10,18_11,19_5,19_7,19_10,20_3,20_4,20_5,20_7,20_10,20_11,20_12,20_13,20_15,20_16,20_17,20_18,21_3,21_7,21_8,21_13,21_14,21_15,21_17,21_18,22_3,22_4,22_5,22_8,22_17,23_5,23_7,23_8,23_10,23_11,23_12,23_13,23_17,23_18,24_4,24_5,24_7,24_10,24_11,24_13,24_18,25_4,25_7,25_8,25_11,25_13,25_14,25_18,26_4,26_8,26_10,26_11,26_13,26_18,27_4,27_8,27_10,27_13,27_14,27_17,27_18,28_3,28_4,28_7,28_8,28_10,28_11,28_13,28_17,29_3,29_7,29_11,29_13,29_17,30_3,30_4,30_5,30_6,30_7,30_8,30_13,30_14,30_15,30_16,30_17,31_11,32_11,33_11,34_11,35_11"; scene_data["render_warp_0001_coordinates"] = "5_18,30_11"; scene_data["render_common_0004_coordinates"] = "7_10,17_10"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0092() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 90; scene_data["tile_y_count"] = 21; scene_data["name"] = "Another Cave Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {1}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=20, y=10, txt="Please continue heading east! {{new_line}} {{new_line}} The time for gathering is upon us. Hesitation could be destruction, heed this warning seriously.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=81, y=13, txt="You obtained 5 vials of 10MG Blue Ginseng", required_dir="up", callback=function() GET_ITEM("bmg10_g", 5); PUT_STATE("b1", 92, 1, "box of ginseng"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 92) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=26, after_map_y=9, after_player_x=29, after_player_y=11, after_screen_x=3, after_screen_y=2, after_player_dir="left", x=5, y=8, scene_number=91, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=0, after_screen_y=2, after_player_dir="up", x=84, y=6, scene_number=93, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_8|5_9|5_12|5_14|5_15|5_16|5_17|6_9|6_10|6_11|6_12|6_13|6_14|6_17|7_17|8_17|9_17|10_3|10_4|10_5|10_6|10_7|10_9|10_10|10_11|10_14|10_16|10_17|11_3|11_7|11_9|11_11|11_12|11_13|11_14|11_15|11_16|11_17|12_3|12_7|12_8|12_9|12_11|12_13|12_15|13_3|14_3|14_5|14_6|14_7|14_8|14_9|14_11|14_12|14_13|14_14|14_15|15_3|15_5|15_9|15_11|15_15|16_3|16_5|16_9|16_11|16_13|16_14|16_15|17_3|17_4|17_5|17_9|17_10|17_11|17_13|18_13|19_11|19_12|19_13|20_10|20_11|21_8|21_9|21_10|22_6|22_7|22_8|23_6|24_4|24_5|24_6|25_3|25_4|26_3|27_3|28_3|28_4|29_4|29_5|30_5|30_6|31_6|31_7|31_8|32_6|32_8|32_9|32_10|33_10|33_11|34_11|34_12|35_12|36_3|36_4|36_5|36_6|36_7|36_12|37_3|37_7|37_12|37_14|37_15|37_16|38_3|38_4|38_5|38_7|38_12|38_13|38_14|38_16|38_17|39_5|39_7|39_17|40_3|40_4|40_5|40_7|40_8|40_9|40_10|40_11|40_13|40_14|40_15|40_17|41_3|41_7|41_11|41_13|41_15|41_17|42_3|42_7|42_11|42_12|42_13|42_15|42_16|42_17|43_3|44_3|44_4|44_6|44_7|44_8|44_9|44_11|44_12|44_13|44_14|44_15|45_3|45_4|45_5|45_6|45_9|45_10|45_11|45_15|45_16|46_16|47_7|47_8|47_9|47_10|47_11|47_13|47_14|47_15|47_16|47_17|48_7|48_10|48_11|48_13|49_7|49_8|49_11|49_13|50_8|50_10|50_11|50_13|50_15|50_16|50_17|51_7|51_8|51_10|51_13|51_14|51_15|51_17|52_7|52_10|52_11|52_17|53_7|53_11|53_12|53_13|53_15|53_16|53_17|54_4|54_5|54_6|54_7|54_8|54_11|54_13|54_14|54_15|54_17|55_4|56_4|56_6|56_7|56_8|56_9|56_11|56_12|56_13|56_14|57_4|57_6|57_8|57_11|57_14|57_15|58_4|58_6|58_8|58_9|58_11|58_15|58_16|59_4|59_6|59_9|59_11|59_16|59_17|60_4|60_5|60_6|60_8|60_9|60_10|60_11|60_17|61_17|62_8|62_9|62_10|62_11|62_16|62_17|63_8|63_11|63_16|64_7|64_8|64_10|64_11|64_15|64_16|65_7|65_10|65_15|66_6|66_7|66_10|66_13|66_14|66_15|66_16|67_5|67_6|67_10|67_16|68_3|68_5|68_10|68_11|68_12|68_13|68_14|68_16|68_17|69_3|69_4|69_5|69_10|69_11|69_14|69_15|69_16|69_17|70_3|71_3|71_5|71_7|71_8|71_9|71_13|71_14|71_15|71_16|71_17|72_3|72_4|72_5|72_6|72_7|72_9|72_10|72_11|72_12|72_13|72_17|73_17|74_7|74_8|74_9|74_10|74_11|74_12|74_13|74_14|74_17|75_6|75_7|75_12|75_13|75_16|75_17|76_5|76_6|76_12|76_15|76_16|77_4|77_5|77_11|77_12|77_14|77_15|78_3|78_4|78_11|78_14|79_3|79_10|79_11|79_14|80_3|80_10|80_14|81_3|81_4|81_10|81_13|81_14|82_3|82_4|82_5|82_6|82_7|82_8|82_10|82_14|83_8|83_10|83_11|83_13|83_14|84_6|84_7|84_8|84_10|84_11|84_12|84_13|84_14"; scene_data["render_fns_list"] = "render_outdoors_0009,render_warp_0001,render_common_0001,render_common_0004,render_common_0003"; scene_data["render_warp_0001_coordinates"] = "5_8,84_6"; scene_data["render_common_0001_coordinates"] = "5_9,5_12,5_14,5_15,5_16,5_17,6_9,6_10,6_11,6_12,6_13,6_14,6_17,7_17,8_17,9_17,10_3,10_4,10_5,10_6,10_7,10_9,10_10,10_11,10_14,10_16,10_17,11_3,11_7,11_9,11_11,11_12,11_13,11_14,11_15,11_16,11_17,12_3,12_7,12_8,12_9,12_11,12_13,12_15,13_3,14_3,14_5,14_6,14_7,14_8,14_9,14_11,14_12,14_13,14_14,14_15,15_3,15_5,15_9,15_11,15_15,16_3,16_5,16_9,16_11,16_13,16_14,16_15,17_3,17_4,17_5,17_9,17_10,17_11,17_13,18_13,19_11,19_12,19_13,20_10,20_11,21_8,21_9,21_10,22_6,22_7,22_8,23_6,24_4,24_5,24_6,25_3,25_4,26_3,27_3,28_3,28_4,29_4,29_5,30_5,30_6,31_6,31_7,31_8,32_6,32_8,32_9,32_10,33_10,33_11,34_11,34_12,35_12,36_3,36_4,36_5,36_6,36_7,36_12,37_3,37_7,37_12,37_14,37_15,37_16,38_3,38_4,38_5,38_7,38_12,38_13,38_14,38_16,38_17,39_5,39_7,39_17,40_3,40_4,40_5,40_7,40_8,40_9,40_10,40_11,40_13,40_14,40_15,40_17,41_3,41_7,41_11,41_13,41_15,41_17,42_3,42_7,42_11,42_12,42_13,42_15,42_16,42_17,43_3,44_3,44_4,44_6,44_7,44_8,44_9,44_11,44_12,44_13,44_14,44_15,45_3,45_4,45_5,45_6,45_9,45_10,45_11,45_15,45_16,46_16,47_7,47_8,47_9,47_10,47_11,47_13,47_14,47_15,47_16,47_17,48_7,48_10,48_11,48_13,49_7,49_8,49_11,49_13,50_8,50_10,50_11,50_13,50_15,50_16,50_17,51_7,51_8,51_10,51_13,51_14,51_15,51_17,52_7,52_10,52_11,52_17,53_7,53_11,53_12,53_13,53_15,53_16,53_17,54_4,54_5,54_6,54_7,54_8,54_11,54_13,54_14,54_15,54_17,55_4,56_4,56_6,56_7,56_8,56_9,56_11,56_12,56_13,56_14,57_4,57_6,57_8,57_11,57_14,57_15,58_4,58_6,58_8,58_9,58_11,58_15,58_16,59_4,59_6,59_9,59_11,59_16,59_17,60_4,60_5,60_6,60_8,60_9,60_10,60_11,60_17,61_17,62_8,62_9,62_10,62_11,62_16,62_17,63_8,63_11,63_16,64_7,64_8,64_10,64_11,64_15,64_16,65_7,65_10,65_15,66_6,66_7,66_10,66_13,66_14,66_15,66_16,67_5,67_6,67_10,67_16,68_3,68_5,68_10,68_11,68_12,68_13,68_14,68_16,68_17,69_3,69_4,69_5,69_10,69_11,69_14,69_15,69_16,69_17,70_3,71_3,71_5,71_7,71_8,71_9,71_13,71_14,71_15,71_16,71_17,72_3,72_4,72_5,72_6,72_7,72_9,72_10,72_11,72_12,72_13,72_17,73_17,74_7,74_8,74_9,74_10,74_11,74_12,74_13,74_14,74_17,75_6,75_7,75_12,75_13,75_16,75_17,76_5,76_6,76_12,76_15,76_16,77_4,77_5,77_11,77_12,77_14,77_15,78_3,78_4,78_11,78_14,79_3,79_10,79_11,79_14,80_3,80_10,80_14,81_3,81_4,81_10,81_13,81_14,82_3,82_4,82_5,82_6,82_7,82_8,82_10,82_14,83_8,83_10,83_11,83_13,83_14,84_7,84_8,84_10,84_11,84_12,84_13,84_14"; scene_data["render_common_0004_coordinates"] = "20_9"; scene_data["render_common_0003_coordinates"] = "81_12"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0093() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 20; scene_data["tile_y_count"] = 10; scene_data["name"] = "Inn save point"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=82, after_map_y=6, after_player_x=84, after_player_y=7, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=7, y=6, scene_number=92, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=14, y=6, scene_number=94, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=4, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=800, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_5|7_5|7_6|7_7|7_8|7_9|8_4|8_5|9_5|10_5|11_3|11_4|11_5|11_6|12_3|13_3|13_4|13_5|13_6|14_6|15_6|16_6|17_6|18_6|19_6"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_building_0001,render_building_0005,render_warp_0001,render_building_0002,render_building_0004"; scene_data["render_common_0001_coordinates"] = "6_5,7_5,7_7,7_8,7_9,8_5,9_5,10_5,11_3,11_4,11_5,11_6,12_3,13_3,13_4,13_5,13_6,15_6,16_6,17_6,18_6,19_6"; scene_data["render_building_0001_coordinates"] = "7_3"; scene_data["render_building_0005_coordinates"] = "7_4"; scene_data["render_warp_0001_coordinates"] = "7_6,14_6"; scene_data["render_building_0002_coordinates"] = "8_3"; scene_data["render_building_0004_coordinates"] = "8_4"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0094() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 10; scene_data["name"] = "Trap Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=5, after_player_x=13, after_player_y=6, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=5, scene_number=93, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=8, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=10, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=12, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=14, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=16, y=3, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=6, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=8, y=6, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=10, y=6, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=12, y=6, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=3, after_player_x=7, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=14, y=6, scene_number=95, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=1, after_player_x=6, after_player_y=3, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=16, y=5, scene_number=96, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_5|1_5|2_5|3_5|4_5|5_5|6_3|6_4|6_5|6_6|7_4|7_5|8_3|8_4|8_5|8_6|9_4|9_5|10_3|10_4|10_5|10_6|11_4|11_5|12_3|12_4|12_5|12_6|13_4|13_5|14_3|14_4|14_5|14_6|15_4|15_5|16_3|16_4|16_5"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001,render_warp_0001,render_common_0002"; scene_data["render_common_0001_coordinates"] = "0_5,1_5,2_5,3_5,4_5,6_4,6_5,7_4,7_5,8_4,8_5,9_4,9_5,10_4,10_5,11_4,11_5,12_4,12_5,13_4,13_5,14_4,14_5,15_4,15_5,16_4"; scene_data["render_warp_0001_coordinates"] = "5_5"; scene_data["render_common_0002_coordinates"] = "6_3,6_6,8_3,8_6,10_3,10_6,12_3,12_6,14_3,14_6,16_3,16_5"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0095() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "Trap Room - Force Respawn"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "(You fell through to a trap room) {{new_line}} {{new_line}} And so the gemseeker fell prey to a soldier's trap {{new_line}} To die, but not to perish {{new_line}} The many crevices, the one-way gap {{new_line}} Cost the world freedom, something to always cherish {{new_line}} {{new_line}} The cosmos and astral planes live on {{new_line}} And too, the gemseeker will always be reborn {{new_line}} While the moons wax, the stars welcome the morning dawn {{new_line}} Fallen heroes will come back with the blow of an ancient horn"; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_BLUE = 65;ALPHA_GREEN = 65;platform.window:invalidate();local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_5"; scene_data["render_fns_list"] = "render_outdoors_0009,render_common_0001"; scene_data["render_common_0001_coordinates"] = "7_5"; scene_data["default_tile"] = render_outdoors_0009; scene_data["default_tile_name"] = "render_outdoors_0009"; SCENE_DATA = scene_data; end function enter_scene_0096() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 37; scene_data["tile_y_count"] = 36; scene_data["name"] = "Village after cave exits"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() SCENE_DATA["movement_allowed_at_5,3"] = true;ALPHA_RED = 250;ALPHA_BLUE = 250;ALPHA_GREEN = 250;platform.window:invalidate();local do_insert = (GET_STATE("spoke", 97)) == 1;local n_w = {};if do_insert then n_w.warp_allowed = function() return true; end; end;if do_insert then n_w.on_warp_not_allowed_msg = "";end;if do_insert then n_w.after_player_x = 5; end;if do_insert then n_w.after_player_y = 14; end;if do_insert then n_w.after_screen_x = 2; end;if do_insert then n_w.after_screen_y = 2; end;if do_insert then n_w.after_map_x = 3; end;if do_insert then n_w.after_map_y = 12; end;if do_insert then n_w.after_player_dir = "right"; end;if do_insert then n_w.x = 31; end;if do_insert then n_w.y = 7; end;if do_insert then n_w.scene_number = 100; end;if do_insert then n_w.inn_item_keys = nil; end;if do_insert then n_w.inn_price = 0; end;if do_insert then n_w.on_finished = function() end; end;if do_insert then table.insert(SCENE_DATA.warp_points, n_w); end;if do_insert and GET_STATE("qf", 97) == 1 then n_w.after_player_x = 52; n_w.after_player_y = 6; n_w.after_screen_x = 2; n_w.after_screen_y = 1; n_w.after_map_x = 50; n_w.after_map_y = 5; end;if do_insert then SCENE_DATA["tile_at_31,7"] = render_warp_0001; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=13, y=26, txt="Guy: {{new_line}} You've made it this far! Congratulations. Our tribes have set traps for soliders, and they sometimes set traps for us. {{new_line}} {{new_line}} You: {{new_line}} That's crazy! How long have you guys had bad blood with each other? {{new_line}} {{new_line}} Guy: {{new_line}} As a desert people, we have always been persecuted. People envy that we have eliminated poverty. No one in all of our tribes goes hungry. Each person has a place to sleep indoors. {{new_line}} {{new_line}} You: {{new_line}} I'm in a hurry, but that sounds wonderful. I think the rest of Odessia should mirror what you guys are doing. {{new_line}} {{new_line}} Guy: {{new_line}} Yes, that would be great. Farewell, young man. A path will be cleared for you in the north-east corner of this village", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=27, txt="Guy: Please speak with my partner", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=15, y=9, txt="Guy: {{new_line}} Have you come to help us, or have we stayed to help you? {{new_line}} {{new_line}} You: {{new_line}} I'm not sure I understand the question. {{new_line}} {{new_line}} {{new_line}} Guy: {{new_line}} Neither do I, young man...neither do I. Would you care for a drink?", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=16, y=6, txt="Guy: {{new_line}} We make a spiced drink here in this village. Rocks...run...rum. Hum hum hum? {{new_line}} {{new_line}} You: {{new_line}} Continue enjoying yourself, friend. I'm glad you're happy.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=15, y=4, txt="Guy: {{new_line}} Here in the desert...our drink is dry like the air. (chugging drink) Is that fair? {{new_line}} {{new_line}} (You nod your head and politely walk away)", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=11, after_map_y=3, after_player_x=15, after_player_y=5, after_screen_x=4, after_screen_y=2, after_player_dir="left", x=6, y=20, scene_number=94, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=3, after_player_x=15, after_player_y=5, after_screen_x=4, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=94, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=15, after_map_y=4, after_player_x=18, after_player_y=5, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=23, y=30, scene_number=97, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=12, after_player_x=8, after_player_y=14, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=22, y=7, scene_number=99, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=7, after_map_y=12, after_player_x=8, after_player_y=14, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=26, y=7, scene_number=99, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=6, after_player_x=15, after_player_y=7, after_screen_x=3, after_screen_y=1, after_player_dir="up", x=21, y=15, scene_number=98, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=7, y=12, scene_number=1000, inn_item_keys={"bmg10_g","bye_1"}, inn_price=500, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "4_16|5_13|5_14|5_15|5_16|5_17|5_18|5_21|5_23|5_24|5_25|6_3|6_4|6_5|6_13|6_18|6_20|6_21|6_23|6_25|6_26|7_5|7_6|7_12|7_13|7_18|7_19|7_21|7_23|7_26|7_27|8_6|8_7|8_13|8_18|8_19|8_20|8_21|8_23|8_24|8_27|8_28|8_29|9_7|9_8|9_9|9_10|9_12|9_13|9_21|9_24|9_25|9_29|10_9|10_10|10_12|10_18|10_21|10_25|10_26|10_27|10_29|10_30|11_10|11_12|11_21|11_27|11_30|11_31|12_10|12_12|12_21|12_22|12_25|12_27|12_31|12_32|13_10|13_11|13_12|13_22|13_23|13_24|13_25|13_26|13_27|13_31|13_32|14_31|14_32|15_3|15_4|15_5|15_6|15_7|15_8|15_9|15_10|15_11|15_12|15_13|15_16|15_17|15_18|15_19|15_20|15_21|15_31|15_32|16_3|16_5|16_6|16_8|16_10|16_13|16_16|16_21|16_31|16_32|17_3|17_7|17_11|17_12|17_13|17_16|17_17|17_18|17_21|17_31|17_32|18_3|18_11|18_18|18_21|18_22|18_23|18_24|18_32|19_3|19_11|19_12|19_13|19_16|19_17|19_18|19_24|19_31|19_32|20_3|20_13|20_16|20_24|20_31|21_3|21_4|21_8|21_13|21_15|21_16|21_24|21_31|21_32|22_4|22_7|22_8|22_13|22_16|22_20|22_21|22_22|22_23|22_24|22_32|23_4|23_8|23_13|23_16|23_17|23_18|23_20|23_30|23_31|23_32|24_4|24_5|24_6|24_7|24_8|24_9|24_13|24_18|24_20|24_21|24_31|25_4|25_8|25_11|25_12|25_13|25_15|25_16|25_17|25_18|25_21|25_22|25_30|25_31|26_3|26_4|26_7|26_8|26_11|26_15|26_22|26_23|26_29|26_30|27_3|27_4|27_8|27_11|27_12|27_13|27_15|27_16|27_17|27_18|27_23|27_24|27_28|27_29|28_3|28_13|28_18|28_24|28_25|28_26|28_27|28_28|29_3|29_5|29_6|29_7|29_11|29_12|29_13|29_18|29_24|30_3|30_5|30_7|30_11|30_18|31_3|31_4|31_5|31_7|31_11|31_12|31_13|31_14|31_15|31_16|31_17|31_18"; scene_data["render_fns_list"] = "render_outdoors_0012,render_outdoors_0009,render_common_0001,render_common_0002,render_building_0001,render_building_0011,render_building_0005,render_building_0007,render_building_0009,render_building_0002,render_building_0004,render_person_0011"; scene_data["render_outdoors_0009_coordinates"] = "0_2,0_3,0_4,1_2,1_3,1_4,2_2,2_3,2_4,3_2,3_3,3_4,4_2,4_3,4_4,5_2,5_4,6_2,7_2"; scene_data["render_common_0001_coordinates"] = "4_16,5_13,5_14,5_15,5_16,5_17,5_18,5_21,5_23,5_24,5_25,6_3,6_4,6_5,6_13,6_18,6_21,6_23,6_25,6_26,7_5,7_6,7_13,7_18,7_19,7_21,7_23,7_26,7_27,8_6,8_7,8_13,8_18,8_19,8_20,8_21,8_23,8_24,8_27,8_28,8_29,9_7,9_8,9_9,9_10,9_12,9_13,9_21,9_24,9_25,9_29,10_9,10_10,10_12,10_18,10_21,10_25,10_26,10_27,10_29,10_30,11_10,11_12,11_21,11_27,11_30,11_31,12_10,12_12,12_21,12_22,12_25,12_27,12_31,12_32,13_10,13_11,13_12,13_22,13_23,13_24,13_25,13_26,13_27,13_31,13_32,14_31,14_32,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_11,15_12,15_13,15_16,15_17,15_18,15_19,15_20,15_21,15_31,15_32,16_3,16_5,16_6,16_8,16_10,16_13,16_16,16_21,16_31,16_32,17_3,17_7,17_11,17_12,17_13,17_16,17_17,17_18,17_21,17_31,17_32,18_3,18_11,18_18,18_21,18_22,18_23,18_24,18_32,19_3,19_11,19_12,19_13,19_16,19_17,19_18,19_24,19_31,19_32,20_3,20_13,20_16,20_24,20_31,21_3,21_4,21_8,21_13,21_16,21_24,21_31,21_32,22_4,22_8,22_13,22_16,22_20,22_21,22_22,22_23,22_24,22_32,23_4,23_8,23_13,23_16,23_17,23_18,23_20,23_31,23_32,24_4,24_5,24_6,24_7,24_8,24_9,24_13,24_18,24_20,24_21,24_31,25_4,25_8,25_11,25_12,25_13,25_15,25_16,25_17,25_18,25_21,25_22,25_30,25_31,26_3,26_4,26_8,26_11,26_15,26_22,26_23,26_29,26_30,27_3,27_4,27_8,27_11,27_12,27_13,27_15,27_16,27_17,27_18,27_23,27_24,27_28,27_29,28_3,28_13,28_18,28_24,28_25,28_26,28_27,28_28,29_3,29_5,29_6,29_7,29_11,29_12,29_13,29_18,29_24,30_3,30_5,30_7,30_11,30_18,31_3,31_4,31_5,31_7,31_11,31_12,31_13,31_14,31_15,31_16,31_17,31_18"; scene_data["render_common_0002_coordinates"] = "5_3,5_20,6_12,18_29,20_29,22_29"; scene_data["render_building_0001_coordinates"] = "5_10,5_19,17_14,17_28,21_6,25_6"; scene_data["render_building_0011_coordinates"] = "5_11,17_15,17_29,17_30,21_7,25_7"; scene_data["render_building_0005_coordinates"] = "5_12"; scene_data["render_building_0007_coordinates"] = "6_10,18_14,18_28,19_14,19_28,20_14,20_28,21_28,22_28"; scene_data["render_building_0009_coordinates"] = "6_11,7_11,18_15,18_30,19_15,19_29,19_30,20_15,20_30,21_29,21_30,22_30,23_29"; scene_data["render_building_0002_coordinates"] = "6_19,7_10,21_14,22_6,23_28,26_6"; scene_data["render_building_0004_coordinates"] = "6_20,7_12,21_15,22_7,23_30,26_7"; scene_data["render_person_0011_coordinates"] = "14_26,14_27,16_4,16_9,17_6"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0097() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 25; scene_data["tile_y_count"] = 12; scene_data["name"] = "Large House at the bottom"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("kq", 100) == 1 then PUT_STATE("qf", 97, 1, "quest finished"); SCENE_DATA.dialogs[1].eligibility = function() return true; end; SCENE_DATA.dialogs[1].txt = "Man: {{new_line}} Thank you for killing the queen monster. The portal near her death will now take you farther in your journey. Again, thank you. {{new_line}} {{new_line}} You: {{new_line}} Thanks. It was a pleasure helping you, and now I'll be on my way. {{new_line}} {{new_line}} Man: {{new_line}} Best of luck in your search for the gems."; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=8, txt="Village Leader: {{new_line}} Young man! Your arrival is both timely and gracious. There is a monster east of here that is responsible for respawning new children. Her fertility is unfortunately strong. Many of my people have died as a result of these monsters. May I dispatch you to take care of the monster queen? You will be handsomely rewarded. Will you accept this quest? {{new_line}} {{new_line}} You: {{new_line}} Yes, I accept. I believe that mankind's life is above all else. We must be loyal to each other and help when in need. {{new_line}} {{new_line}} Village Leader: {{new_line}} Thank you, young seeker.", required_dir="left", callback=function() PUT_STATE("spoke", 97, 1, "accepted quest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("spoke", 97) == -1;end, eligibility_failure_msg=function() return "Best of luck! Thank you for helping us"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=29, after_player_x=23, after_player_y=31, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=19, y=5, scene_number=96, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|6_3|6_4|6_5|6_8|7_3|7_5|7_8|8_3|8_5|8_8|9_3|9_5|9_6|9_7|9_8|10_3|11_3|11_6|12_3|12_6|13_3|13_6|14_3|14_4|14_5|14_6|14_7|14_8|15_8|16_8|17_8|18_5|18_6|18_7|18_8|19_5|19_8|20_5|21_5|22_5|23_5|24_5"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_person_0002,render_indoors_asset_0008,render_indoors_asset_0014,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "5_3,6_3,6_4,6_5,6_8,7_3,7_5,7_8,8_3,8_5,8_8,9_3,9_5,9_6,9_7,9_8,10_3,11_3,11_6,12_3,12_6,13_3,13_6,14_3,14_4,14_5,14_6,14_7,14_8,15_8,16_8,17_8,18_5,18_6,18_7,18_8,19_8,20_5,21_5,22_5,23_5,24_5"; scene_data["render_person_0002_coordinates"] = "5_8"; scene_data["render_indoors_asset_0008_coordinates"] = "11_5,12_5"; scene_data["render_indoors_asset_0014_coordinates"] = "13_5"; scene_data["render_warp_0001_coordinates"] = "19_5"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0098() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 25; scene_data["tile_y_count"] = 12; scene_data["name"] = "Middle Large House"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=4, txt="Man: {{new_line}} Welcome to our modest village, a bit of a concentration of greenery in this humid land. {{new_line}} {{new_line}} You: {{new_line}} Thanks, and I'm glad to be here.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=3, txt="Man: {{new_line}} May you always find water, wherever you seek shade. {{new_line}} {{new_line}} You: {{new_line}} Thank you!", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=14, after_player_x=21, after_player_y=16, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=15, y=8, scene_number=96, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|6_3|6_4|6_8|7_3|7_4|7_8|8_3|8_4|8_6|8_7|8_8|9_3|9_8|10_3|10_6|10_7|10_8|11_3|11_4|11_8|12_3|12_6|12_7|12_8|13_3|13_4|13_7|13_8|14_4|14_7|15_4|15_7|15_8|16_4|17_4|18_4|19_4"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_person_0011,render_warp_0001,render_indoors_asset_0014,render_indoors_asset_0008"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,6_3,6_4,6_8,7_3,7_4,7_8,8_3,8_4,8_6,8_7,8_8,9_3,9_8,10_3,10_6,10_7,10_8,11_3,11_4,11_8,12_3,12_6,12_7,12_8,13_3,13_4,13_7,13_8,14_4,14_7,15_4,15_7,16_4,17_4,18_4,19_4"; scene_data["render_person_0011_coordinates"] = "12_4,14_3"; scene_data["render_warp_0001_coordinates"] = "15_8"; scene_data["render_indoors_asset_0014_coordinates"] = "16_3,19_3"; scene_data["render_indoors_asset_0008_coordinates"] = "17_3,18_3"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0099() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 18; scene_data["tile_y_count"] = 19; scene_data["name"] = "Upper-left corner small house"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "This appears to be a militia barracks"; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=6, after_player_x=22, after_player_y=8, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=8, y=15, scene_number=96, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_9|5_10|5_12|6_4|6_5|6_6|6_9|6_10|6_12|7_4|7_8|7_9|8_3|8_4|8_5|8_6|8_7|8_8|8_9|8_10|8_11|8_12|8_14|8_15|8_16|8_17|8_18|9_3|9_4|9_5|9_6|9_7|9_8|9_9|9_11|9_12|9_13|9_14|10_4|10_8|10_9|11_4|11_5|11_6|11_9|11_10|11_12|12_4|12_9|12_10|12_12"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_warp_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3,5_4,5_5,5_6,5_8,6_3,6_8,7_3,7_5,7_6,11_11,12_11"; scene_data["render_common_0001_coordinates"] = "5_9,5_10,5_12,6_4,6_5,6_6,6_9,6_10,6_12,7_4,7_8,7_9,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,8_14,8_16,8_17,8_18,9_3,9_4,9_5,9_6,9_7,9_8,9_9,9_11,9_12,9_13,9_14,10_4,10_8,10_9,11_4,11_5,11_6,11_9,11_10,11_12,12_4,12_9,12_10,12_12"; scene_data["render_indoors_asset_0014_coordinates"] = "5_11,6_11,10_3,10_5,10_6,11_3,11_8,12_3,12_5,12_6,12_8"; scene_data["render_warp_0001_coordinates"] = "8_15"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0100() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 65; scene_data["tile_y_count"] = 18; scene_data["name"] = "Queen Monster Map"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {5000}; scene_data["monster_exp_inflation"] = {500}; scene_data["monster_gold_inflation"] = {10000}; scene_data["on_entrance"] = function() if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[2].eligibility = function() return false; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[2].eligibility_failure_msg = function() return "My heart will continue. You may have won this battle, but the worse is yet to come."; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[3].eligibility = function() return false; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[3].eligibility_failure_msg = function() return "My heart will continue. You may have won this battle, but the worse is yet to come."; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[4].eligibility = function() return false; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.dialogs[4].eligibility_failure_msg = function() return "My heart will continue. You may have won this battle, but the worse is yet to come."; end; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.monsters_enabled = false; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA["tile_at_52,6"] = render_common_0001; SCENE_DATA["movement_allowed_at_52,6"] = true; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_player_x = 5; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_player_y = 4; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_screen_x = 1; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_screen_y = 1; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_map_x = 4; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_map_y = 3; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_map_y = 3; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].after_player_dir = "down"; end;if GET_STATE("qf", 97) == 1 then SCENE_DATA.warp_points[1].scene_number = 101; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=14, txt="Queen's Room. Absence is strongly advised.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=49, y=6, txt="This sign is a warning. I will only warn you three times. Dare you continue, or dare you read another warning and yet another warning after?", required_dir="up", callback=function() local curr_state = GET_STATE("warn", 100); local to_add = 1; if curr_state == -1 then to_add = to_add + 1; end; PUT_STATE("warn", 100, curr_state + to_add, "queen signs"); if to_add + curr_state == 3 then SCENE_DATA["monsters_enabled"] = true; end; if to_add + curr_state == 3 then SCENE_DATA["monster_apperance_frequency_percentage"] = 100; end; ON_BATTLE_WON = function() SCENE_DATA["tile_at_52,6"] = render_common_0001; SCENE_DATA["movement_allowed_at_52,6"] = true; SCENE_DATA.monsters_enabled = false; PUT_STATE("kq", 100, 1, "killed queen"); end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=50, y=6, txt="This sign is a warning. You may see the luck of three, but what you will get is the fire tree's seed.", required_dir="up", callback=function() local curr_state = GET_STATE("warn", 100); local to_add = 1; if curr_state == -1 then to_add = to_add + 1; end; PUT_STATE("warn", 100, curr_state + to_add, "queen signs"); if to_add + curr_state == 3 then SCENE_DATA["monsters_enabled"] = true; end; if to_add + curr_state == 3 then SCENE_DATA["monster_apperance_frequency_percentage"] = 100; end; ON_BATTLE_WON = function() SCENE_DATA["tile_at_52,6"] = render_common_0001; SCENE_DATA["movement_allowed_at_52,6"] = true; SCENE_DATA.monsters_enabled = false; PUT_STATE("kq", 100, 1, "killed queen"); end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=51, y=6, txt="This sign is a warning. Go now, at once. Otherwise, you shall forfeit your last breath and lunch", required_dir="up", callback=function() local curr_state = GET_STATE("warn", 100); local to_add = 1; if curr_state == -1 then to_add = to_add + 1; end; PUT_STATE("warn", 100, curr_state + to_add, "queen signs"); if to_add + curr_state == 3 then SCENE_DATA["monsters_enabled"] = true; end; if to_add + curr_state == 3 then SCENE_DATA["monster_apperance_frequency_percentage"] = 100; end; ON_BATTLE_WON = function() SCENE_DATA["tile_at_52,6"] = render_common_0001; SCENE_DATA["movement_allowed_at_52,6"] = true; SCENE_DATA.monsters_enabled = false; PUT_STATE("kq", 100, 1, "killed queen"); end; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=7, after_player_x=6, after_player_y=8, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=53, y=6, scene_number=97, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_6|5_7|5_8|5_9|5_10|5_11|5_14|6_6|6_11|6_14|7_4|7_5|7_6|7_8|7_9|7_10|7_11|7_14|8_4|8_8|8_9|8_13|8_14|9_3|9_4|9_8|9_9|9_10|9_11|9_12|9_13|9_14|10_3|10_4|11_3|11_4|12_3|12_4|12_6|12_7|12_8|12_9|12_11|12_12|12_13|12_14|13_3|13_4|13_6|13_9|13_11|13_14|14_3|14_4|14_5|14_6|14_9|14_10|14_11|14_14|15_14|16_6|16_7|16_8|16_10|16_11|16_12|16_14|17_6|17_8|17_10|17_12|17_14|18_4|18_5|18_6|18_8|18_9|18_10|18_12|18_13|18_14|19_3|19_4|20_3|20_5|20_6|20_7|20_9|20_10|20_11|20_12|20_13|20_14|21_3|21_5|21_7|21_9|21_14|22_3|22_4|22_5|22_7|22_8|22_9|22_14|23_14|24_3|24_4|24_5|24_6|24_7|24_8|24_9|24_10|24_11|24_12|24_13|24_14|25_3|25_14|26_3|27_3|27_4|28_4|28_5|29_5|29_6|30_6|30_7|31_7|32_7|32_8|33_8|33_9|34_9|34_10|35_9|35_10|35_11|36_11|36_12|37_12|37_13|37_14|38_14|39_3|39_4|39_5|39_7|39_8|39_9|39_11|39_12|39_13|39_14|40_3|40_5|40_6|40_7|40_9|40_10|40_11|41_3|42_3|42_4|42_5|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_13|42_14|43_14|44_3|44_4|44_5|44_6|44_7|44_8|44_14|45_3|45_8|45_13|45_14|46_3|46_4|46_5|46_6|46_8|46_13|47_6|47_8|47_12|47_13|48_6|48_8|48_11|48_12|49_6|49_8|49_11|49_14|50_6|50_8|50_11|50_14|51_6|51_8|51_10|51_11|51_12|51_13|51_14|52_8|52_14|53_6|53_8|53_10|53_11|53_12|53_13|53_14|54_6|54_8|54_10|55_6|55_8|55_10|55_11|55_12|55_13|55_14|56_6|56_8|56_14|57_6|57_8|57_10|57_11|57_12|57_14|58_6|58_8|58_10|58_12|58_14|59_6|59_8|59_9|59_10|59_12|59_13|59_14|60_6|61_6|62_6|63_6|64_6"; scene_data["render_fns_list"] = "render_outdoors_0012,render_outdoors_0013,render_common_0001,render_common_0004,render_warp_0001"; scene_data["render_outdoors_0012_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,5_0,5_1,5_2,5_5,5_12,5_13,5_15,5_16,5_17,6_0,6_1,6_2,6_5,6_8,6_9,6_12,6_13,6_15,6_16,6_17,7_0,7_1,7_2,7_15,7_16,7_17,8_5,8_6,9_0,9_1,9_2,9_5,9_7,9_15,9_16,9_17,10_7,10_8,10_9,10_10,10_11,10_12,10_14,11_0,11_1,11_2,11_6,11_11,11_14,11_15,11_16,11_17,16_3,16_4,16_5,16_9,16_13,17_0,17_1,17_2,17_3,17_4,17_5,17_7,17_9,17_11,17_13,17_15,17_16,17_17,18_0,18_1,18_2,18_3,18_7,18_11,18_15,18_16,18_17,19_0,19_1,19_2,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_14,19_15,19_16,19_17,21_10,22_0,22_1,22_2,22_10,22_15,22_16,22_17,23_3,23_5,23_7,23_10,24_0,24_1,24_2,24_15,24_16,24_17,25_4,25_7,25_10,25_12,25_13,26_0,26_1,26_2,26_4,26_5,26_6,26_7,26_10,26_11,26_13,26_14,26_15,26_16,26_17,27_0,27_1,27_2,27_5,27_6,27_10,27_11,27_14,27_15,27_16,27_17,28_0,28_1,28_2,28_3,28_6,28_7,28_8,28_10,28_11,28_12,28_13,28_14,28_15,28_16,28_17,29_0,29_1,29_2,29_3,29_4,29_7,29_8,29_10,29_11,29_15,29_16,29_17,30_0,30_1,30_2,30_3,30_4,30_5,30_8,30_10,30_11,30_15,30_16,30_17,31_3,31_4,31_10,31_11,31_12,31_13,32_3,32_4,32_11,32_12,32_13,33_3,33_12,33_13,34_0,34_1,34_2,34_13,34_15,34_16,34_17,35_3,35_4,35_6,35_7,36_0,36_1,36_2,36_3,36_4,36_5,36_6,36_7,36_8,36_9,36_10,36_15,36_16,36_17,37_6,37_7,37_8,37_9,37_10,37_11,38_0,38_1,38_2,38_7,38_8,38_10,38_12,38_13,38_15,38_16,38_17,39_10,40_12,40_13,40_14,41_0,41_1,41_2,41_6,41_10,41_11,41_12,41_13,41_14,41_15,41_16,41_17,42_0,42_1,42_2,42_15,42_16,42_17,43_4,43_5,43_6,43_9,43_10,43_12,45_7,45_9,45_12,46_0,46_1,46_2,46_9,46_10,46_11,46_12,46_14,46_15,46_16,46_17,47_0,47_1,47_2,47_3,47_4,47_5,47_7,47_14,47_15,47_16,47_17,48_0,48_1,48_2,48_3,48_4,48_5,48_9,48_15,48_16,48_17,49_3,49_4,49_7,49_9,49_10,49_12,49_13,50_3,50_4,50_7,50_9,50_10,50_12,50_13,51_3,51_4,51_7,52_9,52_10,52_11,52_12,52_13,53_0,53_1,53_2,53_3,53_4,53_7,53_15,53_16,53_17,54_0,54_1,54_2,54_3,54_4,54_15,54_16,54_17,55_0,55_1,55_2,55_3,55_4,55_7,55_9,55_15,55_16,55_17,56_0,56_1,56_2,56_3,56_4,56_10,56_11,56_13,56_15,56_16,56_17,57_3,57_4,57_5,57_13,58_0,58_1,58_2,58_3,58_4,58_5,58_7,58_9,58_13,58_15,58_16,58_17,59_3,59_4,59_5,59_7,60_0,60_1,60_2,60_3,60_4,60_5,60_7,60_8,60_9,60_10,60_11,60_12,60_13,60_14,60_15,60_16,60_17,62_0,62_1,62_2,62_3,62_4,62_5,62_7,62_8,62_9,62_10,62_11,62_12,62_13,62_14,62_15,62_16,62_17"; scene_data["render_common_0001_coordinates"] = "5_6,5_7,5_8,5_9,5_10,5_11,5_14,6_6,6_11,6_14,7_4,7_5,7_6,7_8,7_9,7_10,7_11,7_14,8_4,8_8,8_9,8_13,8_14,9_3,9_4,9_8,9_9,9_10,9_11,9_12,9_13,9_14,10_3,10_4,11_3,11_4,12_3,12_4,12_6,12_7,12_8,12_9,12_11,12_12,12_13,12_14,13_3,13_4,13_6,13_9,13_11,13_14,14_3,14_4,14_5,14_6,14_9,14_10,14_11,14_14,15_14,16_6,16_7,16_8,16_10,16_11,16_12,16_14,17_6,17_8,17_10,17_12,17_14,18_4,18_5,18_6,18_8,18_9,18_10,18_12,18_13,18_14,19_3,19_4,20_3,20_5,20_6,20_7,20_9,20_10,20_11,20_12,20_13,20_14,21_3,21_5,21_7,21_9,21_14,22_3,22_4,22_5,22_7,22_8,22_9,22_14,23_14,24_3,24_4,24_5,24_6,24_7,24_8,24_9,24_10,24_11,24_12,24_13,24_14,25_3,25_14,26_3,27_3,27_4,28_4,28_5,29_5,29_6,30_6,30_7,31_7,32_7,32_8,33_8,33_9,34_9,34_10,35_9,35_10,35_11,36_11,36_12,37_12,37_13,37_14,38_14,39_3,39_4,39_5,39_7,39_8,39_9,39_11,39_12,39_13,39_14,40_3,40_5,40_6,40_7,40_9,40_10,40_11,41_3,42_3,42_4,42_5,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_13,42_14,43_14,44_3,44_4,44_5,44_6,44_7,44_8,44_14,45_3,45_8,45_13,45_14,46_3,46_4,46_5,46_6,46_8,46_13,47_6,47_8,47_12,47_13,48_6,48_8,48_11,48_12,49_6,49_8,49_11,49_14,50_6,50_8,50_11,50_14,51_6,51_8,51_10,51_11,51_12,51_13,51_14,52_8,52_14,53_8,53_10,53_11,53_12,53_13,53_14,54_6,54_8,54_10,55_6,55_8,55_10,55_11,55_12,55_13,55_14,56_6,56_8,56_14,57_6,57_8,57_10,57_11,57_12,57_14,58_6,58_8,58_10,58_12,58_14,59_6,59_8,59_9,59_10,59_12,59_13,59_14,60_6,61_6,62_6,63_6,64_6"; scene_data["render_common_0004_coordinates"] = "7_13,49_5,50_5,51_5"; scene_data["render_warp_0001_coordinates"] = "53_6"; scene_data["default_tile"] = render_outdoors_0013; scene_data["default_tile_name"] = "render_outdoors_0013"; SCENE_DATA = scene_data; end function enter_scene_0101() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 44; scene_data["tile_y_count"] = 21; scene_data["name"] = "Finally East of the Monster Graveyard"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "I need to move forward...never looking back. The weight of the world is on my shoulders, and I'm very happy to have you with me, Princess Anaya."; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 8; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {1}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {500}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b1", 101, 1, "box 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 101) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=7, y=12, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b2", 101, 1, "box 2"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 101) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=32, y=17, txt="You obtained 520g", required_dir="up", callback=function() GET_MONEY(520); PUT_STATE("b3", 101, 1, "box 3"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 101) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "I need to move forward...never looking back. The weight of the world is on my shoulders, and I'm very happy to have you with me, Princess Anaya.", after_map_x=21, after_map_y=29, after_player_x=23, after_player_y=31, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=5, y=3, scene_number=96, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=13, after_player_x=6, after_player_y=15, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=38, y=3, scene_number=102, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_5|5_6|6_6|6_12|7_4|7_5|7_6|7_12|7_13|7_14|7_15|7_16|8_6|8_7|8_12|8_16|9_7|9_8|9_12|9_13|9_16|9_17|10_8|10_9|10_13|10_17|11_9|11_10|11_11|11_12|11_13|11_17|12_17|13_4|13_5|13_6|13_7|13_9|13_11|13_12|13_13|13_15|13_16|13_17|14_4|14_6|14_9|14_11|14_13|14_15|14_17|15_4|15_6|15_7|15_8|15_9|15_10|15_11|15_13|15_14|15_15|15_17|16_4|17_3|17_4|17_6|17_7|17_8|17_10|17_11|17_12|17_13|17_15|17_16|17_17|18_3|18_6|18_8|18_10|18_13|18_15|18_17|19_3|19_4|19_6|19_8|19_10|19_12|19_13|19_15|19_17|20_4|20_6|20_8|20_10|20_12|20_15|20_17|21_4|21_6|21_8|21_10|21_12|21_13|21_14|21_15|21_17|22_4|22_5|22_6|22_8|22_9|22_10|22_15|22_17|23_17|24_3|24_4|24_5|24_17|25_3|25_5|25_16|25_17|26_3|26_5|26_15|26_16|27_3|27_5|27_6|27_14|27_15|28_3|28_6|28_13|28_14|29_3|29_5|29_6|29_12|29_13|30_3|30_5|30_11|30_12|30_15|30_16|30_17|31_3|31_5|31_6|31_10|31_11|31_14|31_15|31_17|32_3|32_6|32_9|32_10|32_13|32_14|32_17|33_3|33_5|33_6|33_9|33_12|33_13|33_17|34_3|34_6|34_9|34_11|34_12|34_17|35_3|35_4|35_6|35_8|35_9|35_10|35_11|35_17|36_4|36_6|36_17|37_4|37_6|37_8|37_9|37_10|37_11|37_12|37_14|37_15|37_16|37_17|38_3|38_4|38_6|38_7|38_8|38_12|38_13|38_14|38_16|38_17|39_3|40_3|41_3|42_3|43_3"; scene_data["render_fns_list"] = "render_outdoors_0013,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_5,5_6,6_6,6_12,7_4,7_5,7_6,7_12,7_13,7_14,7_15,7_16,8_6,8_7,8_12,8_16,9_7,9_8,9_12,9_13,9_16,9_17,10_8,10_9,10_13,10_17,11_9,11_10,11_11,11_12,11_13,11_17,12_17,13_4,13_5,13_6,13_7,13_9,13_11,13_12,13_13,13_15,13_16,13_17,14_4,14_6,14_9,14_11,14_13,14_15,14_17,15_4,15_6,15_7,15_8,15_9,15_10,15_11,15_13,15_14,15_15,15_17,16_4,17_3,17_4,17_6,17_7,17_8,17_10,17_11,17_12,17_13,17_15,17_16,17_17,18_3,18_6,18_8,18_10,18_13,18_15,18_17,19_3,19_4,19_6,19_8,19_10,19_12,19_13,19_15,19_17,20_4,20_6,20_8,20_10,20_12,20_15,20_17,21_4,21_6,21_8,21_10,21_12,21_13,21_14,21_15,21_17,22_4,22_5,22_6,22_8,22_9,22_10,22_15,22_17,23_17,24_3,24_4,24_5,24_17,25_3,25_5,25_16,25_17,26_3,26_5,26_15,26_16,27_3,27_5,27_6,27_14,27_15,28_3,28_6,28_13,28_14,29_3,29_5,29_6,29_12,29_13,30_3,30_5,30_11,30_12,30_15,30_16,30_17,31_3,31_5,31_6,31_10,31_11,31_14,31_15,31_17,32_3,32_6,32_9,32_10,32_13,32_14,32_17,33_3,33_5,33_6,33_9,33_12,33_13,33_17,34_3,34_6,34_9,34_11,34_12,34_17,35_3,35_4,35_6,35_8,35_9,35_10,35_11,35_17,36_4,36_6,36_17,37_4,37_6,37_8,37_9,37_10,37_11,37_12,37_14,37_15,37_16,37_17,38_4,38_6,38_7,38_8,38_12,38_13,38_14,38_16,38_17,39_3,40_3,41_3,42_3,43_3"; scene_data["render_warp_0001_coordinates"] = "5_3,38_3"; scene_data["render_common_0003_coordinates"] = "7_3,7_11,32_16"; scene_data["default_tile"] = render_outdoors_0013; scene_data["default_tile_name"] = "render_outdoors_0013"; SCENE_DATA = scene_data; end function enter_scene_0102() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 37; scene_data["tile_y_count"] = 19; scene_data["name"] = ""; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=17, y=15, txt="Princess Anaya: {{new_line}} The journey is tough, but I appreciate your protection, Ren. You are saving Odessia, and I am honored to help you. {{new_line}} {{new_line}} You: {{new_line}} Likewise. It is a symbiotic relationship.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=35, after_map_y=3, after_player_x=38, after_player_y=4, after_screen_x=3, after_screen_y=1, after_player_dir="down", x=5, y=15, scene_number=101, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=28, after_player_x=6, after_player_y=30, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=31, y=7, scene_number=103, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=14, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=410, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_15|1_15|2_15|3_15|4_15|5_3|5_4|5_5|5_6|5_8|5_9|5_10|5_11|5_13|5_14|5_15|6_3|6_6|6_8|6_11|6_15|7_3|7_4|7_6|7_8|7_11|7_15|8_4|8_6|8_8|8_10|8_11|8_14|8_15|9_3|9_4|9_6|9_8|9_10|9_15|10_3|10_6|10_7|10_8|10_10|10_11|10_12|10_13|10_14|10_15|11_3|12_3|12_8|12_9|12_10|12_11|12_15|13_3|13_4|13_8|13_11|13_15|14_3|14_4|14_5|14_8|14_10|14_11|14_12|14_15|15_3|15_4|15_5|15_6|15_7|15_8|15_10|15_11|15_12|15_13|15_14|15_15|16_15|17_6|17_7|17_8|17_15|18_6|18_8|18_15|19_6|19_8|19_11|19_12|19_13|19_14|19_15|20_6|20_8|20_9|20_10|20_11|20_14|20_15|21_6|22_6|22_9|22_10|22_11|22_12|22_13|22_14|22_15|23_6|23_9|23_13|23_15|24_6|24_7|24_8|24_9|24_15|25_13|25_14|25_15|26_7|26_8|26_9|26_10|26_13|26_15|27_5|27_6|27_7|27_10|27_13|27_15|28_4|28_5|28_10|28_12|28_13|28_15|29_3|29_4|29_7|29_10|29_12|29_15|30_3|30_6|30_7|30_10|30_12|30_13|30_15|31_3|31_4|31_5|31_6|31_7|31_10|31_11|31_12|31_13|31_15|32_7|33_7|34_7|35_7|36_7"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_warp_0001,render_building_0001,render_building_0005,render_building_0006,render_building_0009,render_building_0002,render_building_0004,render_common_0004"; scene_data["render_common_0001_coordinates"] = "0_15,1_15,2_15,3_15,4_15,5_3,5_4,5_5,5_6,5_8,5_9,5_10,5_11,5_13,5_14,6_3,6_6,6_8,6_11,6_15,7_3,7_4,7_6,7_8,7_11,7_15,8_4,8_6,8_8,8_10,8_11,8_15,9_3,9_4,9_6,9_8,9_10,9_15,10_3,10_6,10_7,10_8,10_10,10_11,10_12,10_13,10_14,10_15,11_3,12_3,12_8,12_9,12_10,12_11,12_15,13_3,13_4,13_8,13_11,13_15,14_3,14_4,14_5,14_8,14_10,14_11,14_12,14_15,15_3,15_4,15_5,15_6,15_7,15_8,15_10,15_11,15_12,15_13,15_14,15_15,16_15,17_6,17_7,17_8,17_15,18_6,18_8,18_15,19_6,19_8,19_11,19_12,19_13,19_14,19_15,20_6,20_8,20_9,20_10,20_11,20_14,20_15,21_6,22_6,22_9,22_10,22_11,22_12,22_13,22_14,22_15,23_6,23_9,23_13,23_15,24_6,24_7,24_8,24_9,24_15,25_13,25_14,25_15,26_7,26_8,26_9,26_10,26_13,26_15,27_5,27_6,27_7,27_10,27_13,27_15,28_4,28_5,28_10,28_12,28_13,28_15,29_3,29_4,29_7,29_10,29_12,29_15,30_3,30_6,30_7,30_10,30_12,30_13,30_15,31_3,31_4,31_5,31_6,31_10,31_11,31_12,31_13,31_15,32_7,33_7,34_7,35_7,36_7"; scene_data["render_warp_0001_coordinates"] = "5_15,31_7"; scene_data["render_building_0001_coordinates"] = "6_13"; scene_data["render_building_0005_coordinates"] = "6_14"; scene_data["render_building_0006_coordinates"] = "7_13"; scene_data["render_building_0009_coordinates"] = "7_14"; scene_data["render_building_0002_coordinates"] = "8_13"; scene_data["render_building_0004_coordinates"] = "8_14"; scene_data["render_common_0004_coordinates"] = "17_14"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0103() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 65; scene_data["tile_y_count"] = 34; scene_data["name"] = "Really long map"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {1}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {500}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=30, after_map_y=5, after_player_x=31, after_player_y=6, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=5, y=30, scene_number=102, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=3, after_player_x=5, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="down", x=59, y=6, scene_number=104, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_30|1_30|2_30|3_30|4_30|5_7|5_8|5_9|5_11|5_12|5_13|5_15|5_16|5_17|5_19|5_20|5_21|5_22|5_23|5_25|5_26|5_27|5_30|6_7|6_9|6_11|6_13|6_15|6_17|6_19|6_23|6_24|6_25|6_27|6_29|6_30|7_3|7_4|7_5|7_6|7_7|7_9|7_10|7_11|7_13|7_14|7_15|7_17|7_18|7_19|7_23|7_24|7_25|7_27|7_28|7_29|7_30|8_3|9_3|9_5|9_6|9_7|9_9|9_10|9_11|9_13|9_14|9_15|9_18|9_19|9_20|9_22|9_23|9_24|9_26|9_27|9_28|9_29|9_30|10_3|10_5|10_7|10_9|10_11|10_13|10_15|10_18|10_20|10_22|10_24|10_26|10_30|11_3|11_5|11_7|11_9|11_11|11_13|11_15|11_18|11_20|11_22|11_24|11_26|11_30|12_3|12_4|12_5|12_7|12_8|12_9|12_11|12_12|12_13|12_15|12_16|12_17|12_18|12_20|12_21|12_22|12_24|12_25|12_26|12_30|13_30|14_4|14_5|14_6|14_8|14_9|14_10|14_12|14_13|14_14|14_16|14_17|14_18|14_20|14_21|14_22|14_23|14_24|14_25|14_26|14_28|14_29|14_30|15_3|15_4|15_6|15_7|15_8|15_10|15_11|15_12|15_14|15_15|15_16|15_18|15_19|15_20|15_24|15_25|15_26|15_28|16_3|16_22|16_26|16_28|17_3|17_5|17_6|17_7|17_9|17_10|17_11|17_13|17_14|17_15|17_17|17_18|17_19|17_20|17_21|17_22|17_24|17_25|17_26|17_28|17_29|17_30|18_3|18_5|18_7|18_9|18_11|18_13|18_15|18_17|18_22|18_24|18_30|19_3|19_5|19_7|19_9|19_11|19_13|19_15|19_17|19_19|19_20|19_21|19_22|19_24|19_25|19_26|19_27|19_28|19_29|19_30|20_3|20_5|20_7|20_9|20_11|20_13|20_15|20_17|20_19|21_3|21_5|21_7|21_9|21_11|21_13|21_15|21_17|21_19|21_20|21_22|21_23|21_24|21_26|21_27|21_28|21_30|22_3|22_4|22_5|22_7|22_8|22_9|22_11|22_12|22_13|22_15|22_16|22_17|22_19|22_20|22_21|22_22|22_24|22_25|22_26|22_28|22_29|22_30|23_30|24_7|24_8|24_9|24_12|24_13|24_14|24_16|24_17|24_18|24_22|24_23|24_24|24_25|24_26|24_27|24_28|24_30|25_6|25_7|25_9|25_12|25_14|25_16|25_18|25_20|25_21|25_22|25_27|25_28|25_30|26_5|26_6|26_9|26_12|26_14|26_16|26_18|26_21|26_26|26_27|26_30|27_4|27_5|27_9|27_10|27_12|27_14|27_16|27_18|27_20|27_21|27_23|27_25|27_26|27_29|27_30|28_3|28_4|28_10|28_12|28_14|28_16|28_18|28_20|28_23|28_24|28_25|28_28|28_29|29_3|29_9|29_10|29_12|29_14|29_16|29_18|29_19|29_20|29_21|29_23|29_27|29_28|30_3|30_9|30_10|30_11|30_12|30_14|30_15|30_16|30_18|30_23|30_24|30_25|30_26|30_27|31_3|32_3|32_4|32_5|32_6|32_8|32_9|32_10|32_12|32_13|32_14|32_17|32_18|32_19|32_20|32_23|32_24|32_25|32_26|32_27|33_3|33_4|33_6|33_7|33_8|33_10|33_11|33_12|33_14|33_15|33_16|33_17|33_20|33_21|33_22|33_23|33_27|33_28|33_29|33_30|34_30|35_8|35_9|35_10|35_11|35_12|35_13|35_15|35_16|35_17|35_19|35_20|35_21|35_23|35_24|35_25|35_26|35_27|35_28|35_30|36_8|36_13|36_15|36_17|36_19|36_21|36_23|36_28|36_30|37_8|37_10|37_11|37_12|37_13|37_15|37_17|37_19|37_21|37_23|37_24|37_26|37_27|37_28|37_30|38_7|38_8|38_10|38_15|38_17|38_19|38_21|38_24|38_26|38_30|39_6|39_7|39_8|39_10|39_11|39_12|39_13|39_14|39_15|39_17|39_18|39_19|39_21|39_22|39_23|39_24|39_26|39_27|39_28|39_29|39_30|40_5|40_6|41_6|41_7|41_8|41_10|41_11|41_12|41_15|41_16|41_17|41_21|41_22|41_23|41_25|41_26|41_27|41_28|41_29|41_30|42_8|42_10|42_12|42_14|42_15|42_17|42_19|42_20|42_21|42_23|42_25|42_30|43_8|43_10|43_12|43_14|43_17|43_19|43_23|43_25|43_27|43_28|43_29|43_30|44_8|44_10|44_12|44_14|44_15|44_17|44_19|44_20|44_21|44_23|44_25|44_27|45_8|45_10|45_12|45_15|45_17|45_21|45_23|45_25|45_27|46_8|46_9|46_10|46_12|46_13|46_14|46_15|46_17|46_18|46_19|46_20|46_21|46_23|46_24|46_25|46_27|46_28|46_29|46_30|47_30|48_15|48_16|48_17|48_25|48_26|48_27|48_28|48_29|48_30|49_14|49_15|49_17|49_24|49_25|50_13|50_14|50_17|50_18|50_19|50_20|50_21|50_23|50_24|51_12|51_13|51_21|51_23|52_11|52_12|52_16|52_17|52_18|52_19|52_20|52_21|52_23|53_10|53_11|53_16|53_23|53_24|53_25|53_26|53_27|53_28|53_29|53_30|54_9|54_10|54_16|54_17|54_18|54_19|54_20|54_21|54_30|55_8|55_9|55_21|55_23|55_24|55_25|55_26|55_28|55_29|55_30|56_7|56_8|56_16|56_17|56_18|56_19|56_20|56_21|56_23|56_24|56_26|56_28|57_6|57_7|57_16|57_23|57_26|57_28|57_29|57_30|58_6|58_16|58_17|58_18|58_19|58_21|58_23|58_26|58_30|59_6|59_16|59_17|59_19|59_20|59_21|59_22|59_23|59_26|59_27|59_28|59_29|59_30"; scene_data["render_fns_list"] = "render_outdoors_0013,render_outdoors_0012,render_common_0001,render_warp_0001"; scene_data["render_outdoors_0013_coordinates"] = "0_0,0_2,0_6,0_7,0_8,0_9,0_11,0_13,0_16,0_23,0_24,0_27,0_28,0_29,1_2,1_7,1_10,1_11,1_12,1_13,1_16,1_17,1_21,1_26,1_27,1_31,1_32,1_33,2_2,2_3,2_4,2_5,2_6,2_7,2_12,2_13,2_14,2_16,2_18,2_19,2_22,2_23,2_25,2_27,2_33,3_1,3_2,3_3,3_4,3_5,3_7,3_9,3_10,3_11,3_12,3_18,3_19,3_25,3_26,3_28,3_29,3_32,3_33,4_1,4_7,4_8,4_9,4_10,4_14,4_15,4_16,4_21,4_24,4_25,4_28,4_29,5_4,5_5,5_6,5_10,5_18,5_24,5_28,5_29,5_31,5_33,6_0,6_1,6_2,6_4,6_5,6_6,6_10,6_12,6_14,6_18,6_22,6_28,6_31,6_33,7_0,7_31,8_4,8_5,8_6,8_7,8_10,8_11,8_16,8_17,8_18,8_19,8_23,8_24,8_25,8_28,8_29,8_30,8_31,8_33,9_0,9_2,9_4,9_16,9_17,9_32,9_33,10_2,10_4,10_10,10_14,10_16,10_17,10_19,10_27,10_28,10_29,10_32,10_33,11_0,11_1,11_2,11_4,11_10,11_14,11_16,11_17,11_19,11_27,11_28,11_29,11_32,12_1,12_10,12_14,12_19,12_27,12_28,12_29,12_31,13_0,13_1,13_7,13_8,13_9,13_10,13_13,13_14,13_16,13_17,13_18,13_19,13_26,13_27,13_28,13_29,13_31,14_1,14_2,14_7,14_11,14_15,14_19,14_27,14_31,14_33,15_2,15_5,15_9,15_13,15_17,15_21,15_22,15_27,15_29,15_30,15_31,15_33,16_0,16_2,16_4,16_5,16_6,16_7,16_8,16_9,16_10,16_11,16_12,16_13,16_14,16_15,16_16,16_17,16_18,16_19,16_20,16_21,16_27,16_29,16_30,16_32,17_0,17_1,17_8,17_12,17_32,18_0,18_8,18_10,18_12,18_19,18_20,18_21,18_32,19_0,19_2,19_8,19_10,19_12,19_31,20_0,20_1,20_2,20_8,20_10,20_12,20_28,20_32,21_0,21_1,21_8,21_10,21_12,21_31,21_33,22_1,22_10,22_31,23_1,23_7,23_8,23_9,23_10,23_11,23_12,23_32,23_33,24_0,24_1,24_2,24_10,24_15,24_29,24_31,24_32,24_33,25_8,25_10,25_15,25_17,25_29,25_31,25_33,26_7,26_8,26_10,26_15,26_17,26_28,26_29,26_31,26_33,27_1,27_2,27_6,27_7,27_8,27_15,27_17,27_27,27_28,27_31,28_1,28_5,28_6,28_7,28_8,28_9,28_15,28_17,28_26,28_27,28_30,28_32,29_1,29_4,29_5,29_6,29_7,29_8,29_15,29_17,29_25,29_26,29_29,29_30,29_32,29_33,30_2,30_4,30_5,30_6,30_7,30_8,30_17,30_28,30_29,30_30,30_31,30_33,31_0,31_2,31_4,31_5,31_6,31_7,31_15,31_16,31_17,31_18,31_25,31_26,31_27,31_28,31_29,31_30,31_31,32_0,32_2,32_7,32_11,32_15,32_16,32_21,32_22,32_28,32_29,32_30,32_31,33_0,33_2,33_5,33_9,33_13,33_18,33_19,33_24,33_25,33_26,33_31,33_33,34_0,34_1,34_2,34_3,34_4,34_5,34_6,34_7,34_8,34_9,34_10,34_11,34_12,34_13,34_14,34_15,34_16,34_17,34_18,34_19,34_20,34_21,34_22,34_23,34_24,34_25,34_26,34_27,34_28,34_29,34_31,34_33,35_1,35_2,35_3,35_4,35_5,35_6,35_7,35_32,35_33,36_1,36_7,36_32,36_33,37_1,37_6,37_7,37_32,38_0,38_1,38_2,38_5,38_6,38_32,39_0,39_3,39_4,39_5,39_32,40_2,40_3,40_4,40_31,41_0,41_2,41_3,41_4,41_5,41_9,41_31,41_33,42_0,42_2,42_3,42_4,42_5,42_11,42_18,42_31,42_32,43_1,43_9,43_11,43_13,43_18,43_32,44_1,44_11,44_13,44_18,44_31,44_32,44_33,45_1,45_2,45_9,45_14,45_16,45_19,45_20,45_22,45_32,46_2,46_7,46_16,47_0,47_1,47_3,47_4,47_5,47_6,47_7,47_8,47_9,47_12,47_16,47_18,47_19,47_20,47_21,47_22,47_23,47_33,48_0,48_9,48_10,48_11,48_12,48_18,48_19,48_20,48_21,48_22,48_23,48_33,49_0,49_9,49_10,49_11,49_18,49_19,49_20,49_21,49_22,49_23,49_27,49_28,49_29,49_30,49_32,50_0,50_2,50_3,50_4,50_9,50_10,50_11,50_22,50_27,50_28,50_29,50_30,50_31,51_1,51_2,51_3,51_4,51_22,51_27,51_28,51_29,51_30,51_31,51_33,52_1,52_2,52_3,52_22,52_32,52_33,53_0,53_1,53_2,53_15,53_17,53_18,53_19,53_20,53_21,53_22,53_32,53_33,54_0,54_3,54_4,54_15,54_24,54_25,54_27,54_29,54_31,54_33,55_3,55_4,55_12,55_14,55_27,55_31,56_1,56_11,56_12,56_14,56_27,56_29,56_30,56_31,57_1,57_10,57_11,57_12,57_14,57_15,57_17,57_18,57_19,57_20,57_21,57_27,57_31,57_33,58_1,58_2,58_3,58_10,58_11,58_12,58_15,58_20,58_27,58_28,58_29,58_31,58_33,59_0,59_1,59_10,59_11,59_12,59_15,59_32,60_1,60_2,60_3,60_7,60_8,60_12,60_13,60_14,60_15,60_16,60_21,60_22,60_23,60_26,60_27,60_28,60_29,60_32,61_2,61_6,61_7,61_11,61_12,61_13,61_14,61_19,61_20,61_21,61_24,61_26,61_29,61_30,61_32,62_2,62_7,62_8,62_9,62_14,62_15,62_16,62_18,62_19,62_20,62_25,62_26,62_29,62_30,62_32,62_33,63_0,63_4,63_5,63_6,63_9,63_10,63_16,63_17,63_19,63_21,63_22,63_23,63_26,63_27,63_30,63_32,63_33,64_0,64_3,64_4,64_8,64_9,64_13,64_14,64_15,64_17,64_20,64_21,64_22,64_23,64_26,64_27,64_28,64_30,64_32,64_33"; scene_data["render_common_0001_coordinates"] = "0_30,1_30,2_30,3_30,4_30,5_7,5_8,5_9,5_11,5_12,5_13,5_15,5_16,5_17,5_19,5_20,5_21,5_22,5_23,5_25,5_26,5_27,6_7,6_9,6_11,6_13,6_15,6_17,6_19,6_23,6_24,6_25,6_27,6_29,6_30,7_3,7_4,7_5,7_6,7_7,7_9,7_10,7_11,7_13,7_14,7_15,7_17,7_18,7_19,7_23,7_24,7_25,7_27,7_28,7_29,7_30,8_3,9_3,9_5,9_6,9_7,9_9,9_10,9_11,9_13,9_14,9_15,9_18,9_19,9_20,9_22,9_23,9_24,9_26,9_27,9_28,9_29,9_30,10_3,10_5,10_7,10_9,10_11,10_13,10_15,10_18,10_20,10_22,10_24,10_26,10_30,11_3,11_5,11_7,11_9,11_11,11_13,11_15,11_18,11_20,11_22,11_24,11_26,11_30,12_3,12_4,12_5,12_7,12_8,12_9,12_11,12_12,12_13,12_15,12_16,12_17,12_18,12_20,12_21,12_22,12_24,12_25,12_26,12_30,13_30,14_4,14_5,14_6,14_8,14_9,14_10,14_12,14_13,14_14,14_16,14_17,14_18,14_20,14_21,14_22,14_23,14_24,14_25,14_26,14_28,14_29,14_30,15_3,15_4,15_6,15_7,15_8,15_10,15_11,15_12,15_14,15_15,15_16,15_18,15_19,15_20,15_24,15_25,15_26,15_28,16_3,16_22,16_26,16_28,17_3,17_5,17_6,17_7,17_9,17_10,17_11,17_13,17_14,17_15,17_17,17_18,17_19,17_20,17_21,17_22,17_24,17_25,17_26,17_28,17_29,17_30,18_3,18_5,18_7,18_9,18_11,18_13,18_15,18_17,18_22,18_24,18_30,19_3,19_5,19_7,19_9,19_11,19_13,19_15,19_17,19_19,19_20,19_21,19_22,19_24,19_25,19_26,19_27,19_28,19_29,19_30,20_3,20_5,20_7,20_9,20_11,20_13,20_15,20_17,20_19,21_3,21_5,21_7,21_9,21_11,21_13,21_15,21_17,21_19,21_20,21_22,21_23,21_24,21_26,21_27,21_28,21_30,22_3,22_4,22_5,22_7,22_8,22_9,22_11,22_12,22_13,22_15,22_16,22_17,22_19,22_20,22_21,22_22,22_24,22_25,22_26,22_28,22_29,22_30,23_30,24_7,24_8,24_9,24_12,24_13,24_14,24_16,24_17,24_18,24_22,24_23,24_24,24_25,24_26,24_27,24_28,24_30,25_6,25_7,25_9,25_12,25_14,25_16,25_18,25_20,25_21,25_22,25_27,25_28,25_30,26_5,26_6,26_9,26_12,26_14,26_16,26_18,26_21,26_26,26_27,26_30,27_4,27_5,27_9,27_10,27_12,27_14,27_16,27_18,27_20,27_21,27_23,27_25,27_26,27_29,27_30,28_3,28_4,28_10,28_12,28_14,28_16,28_18,28_20,28_23,28_24,28_25,28_28,28_29,29_3,29_9,29_10,29_12,29_14,29_16,29_18,29_19,29_20,29_21,29_23,29_27,29_28,30_3,30_9,30_10,30_11,30_12,30_14,30_15,30_16,30_18,30_23,30_24,30_25,30_26,30_27,31_3,32_3,32_4,32_5,32_6,32_8,32_9,32_10,32_12,32_13,32_14,32_17,32_18,32_19,32_20,32_23,32_24,32_25,32_26,32_27,33_3,33_4,33_6,33_7,33_8,33_10,33_11,33_12,33_14,33_15,33_16,33_17,33_20,33_21,33_22,33_23,33_27,33_28,33_29,33_30,34_30,35_8,35_9,35_10,35_11,35_12,35_13,35_15,35_16,35_17,35_19,35_20,35_21,35_23,35_24,35_25,35_26,35_27,35_28,35_30,36_8,36_13,36_15,36_17,36_19,36_21,36_23,36_28,36_30,37_8,37_10,37_11,37_12,37_13,37_15,37_17,37_19,37_21,37_23,37_24,37_26,37_27,37_28,37_30,38_7,38_8,38_10,38_15,38_17,38_19,38_21,38_24,38_26,38_30,39_6,39_7,39_8,39_10,39_11,39_12,39_13,39_14,39_15,39_17,39_18,39_19,39_21,39_22,39_23,39_24,39_26,39_27,39_28,39_29,39_30,40_5,40_6,41_6,41_7,41_8,41_10,41_11,41_12,41_15,41_16,41_17,41_21,41_22,41_23,41_25,41_26,41_27,41_28,41_29,41_30,42_8,42_10,42_12,42_14,42_15,42_17,42_19,42_20,42_21,42_23,42_25,42_30,43_8,43_10,43_12,43_14,43_17,43_19,43_23,43_25,43_27,43_28,43_29,43_30,44_8,44_10,44_12,44_14,44_15,44_17,44_19,44_20,44_21,44_23,44_25,44_27,45_8,45_10,45_12,45_15,45_17,45_21,45_23,45_25,45_27,46_8,46_9,46_10,46_12,46_13,46_14,46_15,46_17,46_18,46_19,46_20,46_21,46_23,46_24,46_25,46_27,46_28,46_29,46_30,47_30,48_15,48_16,48_17,48_25,48_26,48_27,48_28,48_29,48_30,49_14,49_15,49_17,49_24,49_25,50_13,50_14,50_17,50_18,50_19,50_20,50_21,50_23,50_24,51_12,51_13,51_21,51_23,52_11,52_12,52_16,52_17,52_18,52_19,52_20,52_21,52_23,53_10,53_11,53_16,53_23,53_24,53_25,53_26,53_27,53_28,53_29,53_30,54_9,54_10,54_16,54_17,54_18,54_19,54_20,54_21,54_30,55_8,55_9,55_21,55_23,55_24,55_25,55_26,55_28,55_29,55_30,56_7,56_8,56_16,56_17,56_18,56_19,56_20,56_21,56_23,56_24,56_26,56_28,57_6,57_7,57_16,57_23,57_26,57_28,57_29,57_30,58_6,58_16,58_17,58_18,58_19,58_21,58_23,58_26,58_30,59_16,59_17,59_19,59_20,59_21,59_22,59_23,59_26,59_27,59_28,59_29,59_30"; scene_data["render_warp_0001_coordinates"] = "5_30,59_6"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0104() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 43; scene_data["tile_y_count"] = 26; scene_data["name"] = "Map just before another cave entrance w/quest"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {6}; scene_data["monster_defense_inflation"] = {10}; scene_data["monster_hp_inflation"] = {200}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {1000}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=21, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=750, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=56, after_map_y=5, after_player_x=58, after_player_y=6, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=3, scene_number=103, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=6, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=36, y=18, scene_number=105, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_5|5_6|5_8|5_9|5_10|5_12|5_13|5_14|5_16|5_17|5_18|6_6|6_7|6_8|6_10|6_11|6_12|6_14|6_15|6_16|6_18|6_19|6_20|6_21|6_22|7_18|7_19|7_22|8_21|8_22|9_22|10_20|10_21|10_22|11_18|11_19|11_20|12_17|12_18|13_15|13_16|13_17|14_14|14_15|15_13|15_14|16_11|16_12|16_13|17_10|17_11|18_9|18_10|19_7|19_8|19_9|20_6|20_7|20_8|21_5|21_6|22_4|22_5|23_4|24_4|25_4|25_5|25_6|25_8|25_9|25_10|25_11|25_12|25_13|25_15|25_16|25_17|25_18|25_19|26_6|26_8|26_13|26_15|26_19|27_4|27_5|27_6|27_8|27_10|27_11|27_12|27_13|27_15|27_19|28_4|28_8|28_10|28_15|28_19|29_4|29_5|29_6|29_8|29_10|29_11|29_12|29_13|29_15|29_17|29_18|29_19|30_6|30_8|30_13|30_15|30_17|31_4|31_5|31_6|31_8|31_10|31_11|31_12|31_13|31_15|31_17|31_19|32_4|32_8|32_10|32_15|32_17|32_18|32_19|33_4|33_5|33_6|33_8|33_10|33_11|33_12|33_13|33_15|33_19|34_6|34_8|34_12|34_13|34_15|34_17|34_18|34_19|35_4|35_5|35_6|35_8|35_10|35_11|35_12|35_13|35_15|35_17|36_4|36_8|36_10|36_15|36_17|36_18|37_4|37_5|37_6|37_7|37_8|37_10|37_11|37_12|37_13|37_14|37_15"; scene_data["render_fns_list"] = "render_outdoors_0012,render_outdoors_0013,render_common_0001,render_warp_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004"; scene_data["render_outdoors_0013_coordinates"] = "0_1,0_4,0_5,0_7,0_11,0_12,0_14,0_19,0_21,0_24,1_0,1_2,1_8,1_9,1_11,1_12,1_16,1_17,1_22,1_23,1_24,2_0,2_2,2_5,2_6,2_11,2_12,2_13,2_14,2_18,2_20,2_21,2_25,3_0,3_2,3_6,3_7,3_8,3_10,3_13,3_16,3_22,3_23,4_0,4_1,4_4,4_5,4_6,4_10,4_12,4_13,4_17,4_18,4_19,4_20,4_24,4_25,5_1,5_19,5_20,5_24,6_0,6_2,6_3,6_4,6_5,6_9,6_13,6_17,6_24,7_1,7_3,7_9,7_10,7_13,7_15,7_16,7_17,7_24,8_1,8_3,8_6,8_7,8_8,8_9,8_11,8_13,8_14,8_15,8_23,8_25,9_1,9_4,9_6,9_8,9_10,9_12,9_14,9_16,9_18,9_23,9_25,10_1,10_4,10_5,10_7,10_8,10_9,10_11,10_13,10_15,10_16,10_18,10_23,10_25,11_0,11_2,11_4,11_6,11_8,11_10,11_16,11_17,11_21,11_24,12_0,12_2,12_3,12_6,12_7,12_8,12_9,12_11,12_13,12_14,12_15,12_16,12_20,12_21,12_22,12_24,13_0,13_2,13_4,13_7,13_11,13_12,13_14,13_22,13_23,13_25,14_1,14_3,14_5,14_7,14_9,14_10,14_11,14_16,14_19,14_21,14_22,14_23,14_25,15_0,15_2,15_4,15_9,15_17,15_21,15_24,16_1,16_4,16_5,16_6,16_9,16_10,16_16,16_18,16_20,16_23,16_25,17_1,17_4,17_6,17_7,17_9,17_12,17_13,17_15,17_16,17_17,17_18,17_20,17_22,17_24,18_0,18_2,18_4,18_5,18_7,18_12,18_16,18_19,18_20,18_23,18_25,19_0,19_2,19_3,19_12,19_13,19_14,19_17,19_19,19_21,19_22,19_24,20_1,20_3,20_9,20_11,20_12,20_15,20_18,20_20,20_24,21_0,21_2,21_3,21_10,21_13,21_14,21_16,21_18,21_19,21_21,21_22,21_23,21_25,22_1,22_3,22_8,22_10,22_14,22_15,22_18,22_20,22_23,22_25,23_0,23_2,23_3,23_5,23_7,23_8,23_11,23_13,23_14,23_16,23_20,23_22,23_24,24_1,24_3,24_8,24_9,24_10,24_11,24_12,24_14,24_16,24_17,24_18,24_21,24_24,25_1,25_3,25_14,25_20,25_22,25_24,25_25,26_1,26_7,26_16,26_17,26_18,26_20,26_22,26_23,26_25,27_1,27_3,27_9,27_14,27_18,27_22,27_23,27_25,28_1,28_5,28_6,28_7,28_9,28_11,28_12,28_13,28_14,28_21,28_23,29_0,29_2,29_3,29_7,29_14,29_20,29_21,29_24,30_0,30_2,30_3,30_4,30_9,30_11,30_16,30_22,30_23,30_25,31_0,31_2,31_9,31_16,31_20,31_21,31_24,32_1,32_3,32_5,32_14,32_20,32_21,32_23,32_25,33_0,33_2,33_7,33_9,33_16,33_17,33_18,33_20,33_22,33_24,34_1,34_3,34_10,34_11,34_14,34_20,34_22,35_0,35_2,35_7,35_9,35_16,35_22,35_24,36_1,36_3,36_5,36_6,36_7,36_16,36_20,36_21,36_23,36_25,37_0,37_2,37_9,37_16,37_17,37_18,37_19,37_20,37_21,37_23,37_25,38_1,38_4,38_5,38_6,38_9,38_11,38_16,38_17,38_18,38_21,38_23,39_0,39_2,39_3,39_7,39_8,39_10,39_12,39_13,39_14,39_15,39_19,39_20,39_21,39_22,39_23,40_1,40_5,40_6,40_8,40_9,40_10,40_14,40_16,40_17,40_19,40_23,40_25,41_0,41_2,41_3,41_4,41_5,41_9,41_10,41_11,41_14,41_15,41_17,41_21,41_22,41_24,41_25,42_1,42_3,42_4,42_9,42_12,42_13,42_14,42_15,42_18,42_19,42_20,42_24"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_5,5_6,5_8,5_9,5_10,5_12,5_13,5_14,5_16,5_17,5_18,6_6,6_7,6_8,6_10,6_11,6_12,6_14,6_15,6_16,6_18,6_19,6_20,6_21,6_22,7_18,7_19,7_22,8_22,9_22,10_20,10_21,10_22,11_18,11_19,11_20,12_17,12_18,13_15,13_16,13_17,14_14,14_15,15_13,15_14,16_11,16_12,16_13,17_10,17_11,18_9,18_10,19_7,19_8,19_9,20_6,20_7,20_8,21_5,21_6,22_4,22_5,23_4,24_4,25_4,25_5,25_6,25_8,25_9,25_10,25_11,25_12,25_13,25_15,25_16,25_17,25_18,25_19,26_6,26_8,26_13,26_15,26_19,27_4,27_5,27_6,27_8,27_10,27_11,27_12,27_13,27_15,27_19,28_4,28_8,28_10,28_15,28_19,29_4,29_5,29_6,29_8,29_10,29_11,29_12,29_13,29_15,29_17,29_18,29_19,30_6,30_8,30_13,30_15,30_17,31_4,31_5,31_6,31_8,31_10,31_11,31_12,31_13,31_15,31_17,31_19,32_4,32_8,32_10,32_15,32_17,32_18,32_19,33_4,33_5,33_6,33_8,33_10,33_11,33_12,33_13,33_15,33_19,34_6,34_8,34_12,34_13,34_15,34_17,34_18,34_19,35_4,35_5,35_6,35_8,35_10,35_11,35_12,35_13,35_15,35_17,36_4,36_8,36_10,36_15,36_17,37_4,37_5,37_6,37_7,37_8,37_10,37_11,37_12,37_13,37_14,37_15"; scene_data["render_warp_0001_coordinates"] = "5_3,36_18"; scene_data["render_building_0001_coordinates"] = "7_20"; scene_data["render_building_0005_coordinates"] = "7_21"; scene_data["render_building_0002_coordinates"] = "8_20"; scene_data["render_building_0004_coordinates"] = "8_21"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0105() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 19; scene_data["tile_y_count"] = 15; scene_data["name"] = "Quest acceptance spot - scene 105"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("ho", 105) == 1 then SCENE_DATA["movement_allowed_at_10,7"] = true; end;if GET_STATE("fk", 109) == 1 then SCENE_DATA.dialogs[1].txt = "Thank you for returning the key. Please explore my house and enjoy what is there."; end;if GET_STATE("fk", 109) == 1 then SCENE_DATA.dialogs[1].eligibility = function() return true; end; end;if GET_STATE("fk", 109) == 1 then SCENE_DATA.dialogs[1].callback = function() PUT_STATE("ho", 105, 1,"house opened"); SET_MODE("scene"); platform.window:invalidate(); end; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=8, txt="Old Man: {{new_line}} I am locked out of my house. My keys were coated with olive oil, because I wanted to restore them to their original shininess. Unfortunately, a badger stole them and burrowed them underground. Can you please assist? {{new_line}} {{new_line}} Ren: {{new_line}} I don't think I can help you, unfortunately. We are a bit busy on another quest. {{new_line}} {{new_line}} Princess Anaya: {{new_line}} Ren, imagine if you were this man? Would you not want help? {{new_line}} {{new_line}} Ren: {{new_line}} You are right, princess. Let's accept the quest. {{new_line}} {{new_line}} Old Man: {{new_line}} Thank you very much.", required_dir="right", callback=function() PUT_STATE("aq", 105, 1, "accepted quest"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("aq", 105) == -1;end, eligibility_failure_msg=function() return "Thank you for your help."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=34, after_map_y=16, after_player_x=36, after_player_y=17, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=5, y=7, scene_number=104, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("aq", 105) == 1; end, on_warp_not_allowed_msg = "I think I should explore this camp some more", after_map_x=4, after_map_y=1, after_player_x=6, after_player_y=3, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=13, y=7, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("ho", 105) == 1; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=8, after_map_y=4, after_player_x=10, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=10, y=7, scene_number=111, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=10, y=10, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=755, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_7|1_7|2_7|3_7|4_7|5_3|5_5|5_7|5_8|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|7_4|7_8|7_9|7_10|7_11|8_3|8_4|8_8|8_11|9_3|9_8|9_11|10_3|10_4|10_7|10_8|10_10|10_11|11_4|11_9|11_11|12_7|12_8|12_9|12_10|12_11|13_7"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_warp_0001,render_building_0001,render_building_0010,render_building_0006,render_building_0009,render_building_0005,render_building_0002,render_building_0004,render_person_0011"; scene_data["render_common_0001_coordinates"] = "0_7,1_7,2_7,3_7,4_7,5_3,5_5,5_8,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,7_4,7_8,7_9,7_10,7_11,8_3,8_4,8_8,8_11,9_3,9_8,9_11,10_3,10_4,10_8,10_11,11_4,11_9,11_11,12_7,12_8,12_9,12_10,12_11"; scene_data["render_warp_0001_coordinates"] = "5_7,13_7"; scene_data["render_building_0001_coordinates"] = "7_6,9_9"; scene_data["render_building_0010_coordinates"] = "7_7"; scene_data["render_building_0006_coordinates"] = "8_6,9_6"; scene_data["render_building_0009_coordinates"] = "8_7,9_7"; scene_data["render_building_0005_coordinates"] = "9_10"; scene_data["render_building_0002_coordinates"] = "10_6,10_9"; scene_data["render_building_0004_coordinates"] = "10_7,10_10"; scene_data["render_person_0011_coordinates"] = "11_8"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0106() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 17; scene_data["tile_y_count"] = 11; scene_data["name"] = "Area before badger caves"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 250;ALPHA_GREEN = 250;ALPHA_BLUE = 250;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=5, after_player_x=12, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=105, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=5, after_player_x=14, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=7, y=5, scene_number=107, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=1, after_player_x=7, after_player_y=3, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=9, y=5, scene_number=108, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=13, after_player_x=15, after_player_y=14, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=7, y=7, scene_number=109, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=4, after_player_x=7, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=9, y=7, scene_number=110, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("a3", 111) == 1; end, on_warp_not_allowed_msg = "Princes: {{new_line}} You should probably look for the missing house keys, as agreed. You are in fact a nice young man", after_map_x=4, after_map_y=2, after_player_x=5, after_player_y=3, after_screen_x=1, after_screen_y=1, after_player_dir="up", x=11, y=6, scene_number=112, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_6|6_3|6_4|6_5|6_6|6_7|7_5|7_6|7_7|8_4|8_5|8_6|8_7|9_4|9_5|9_6|9_7|10_6|11_6|12_6|13_6|14_6|15_6|16_6"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_warp_0001,render_cave_0001"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_6,6_3,6_4,6_5,6_6,6_7,7_6,8_4,8_5,8_6,8_7,9_4,9_6,10_6,12_6,13_6,14_6,15_6,16_6"; scene_data["render_warp_0001_coordinates"] = "5_3,11_6"; scene_data["render_cave_0001_coordinates"] = "7_5,7_7,9_5,9_7"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0107() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 28; scene_data["tile_y_count"] = 18; scene_data["name"] = "Cave top-left corner from sc. 106"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Hey player, it's a bit dark in here. If you can't see, please try adjusting your lighting."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=5, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b1", 107, 1, "gold"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 107) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=14, y=8, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_9|5_10|5_11|5_12|5_13|6_3|6_5|6_6|6_7|6_8|6_9|6_10|6_12|6_13|7_3|7_5|7_6|7_7|7_8|7_10|7_13|8_3|8_6|8_7|8_10|8_11|8_13|8_14|9_3|9_4|9_9|9_10|9_11|9_12|9_14|10_3|10_4|10_5|10_6|10_7|10_8|10_9|10_10|10_11|10_12|10_14|11_3|11_6|11_7|11_8|11_9|11_10|11_11|11_12|11_14|12_3|12_4|12_5|12_7|12_8|12_9|12_10|12_13|12_14|13_3|13_5|13_7|13_11|13_12|13_13|13_14|14_5|14_7|14_8|14_9|14_10|14_11|14_14|15_3|15_5|15_7|15_11|15_12|15_13|15_14|16_3|16_4|16_5|16_7|16_8|16_9|16_10|16_13|16_14|17_3|17_6|17_7|17_8|17_9|17_10|17_11|17_14|18_3|18_4|18_5|18_6|18_10|18_11|18_12|18_14|19_3|19_4|19_5|19_6|19_7|19_8|19_10|19_11|19_12|19_14|20_3|20_5|20_7|20_8|20_10|20_11|20_14|21_3|21_7|21_10|21_13|21_14|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_10|22_11|22_12|22_13|22_14"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_common_0003,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_9,5_10,5_11,5_12,5_13,6_3,6_5,6_6,6_7,6_8,6_9,6_10,6_12,6_13,7_3,7_5,7_6,7_7,7_8,7_10,7_13,8_3,8_6,8_7,8_10,8_11,8_13,8_14,9_3,9_4,9_9,9_10,9_11,9_12,9_14,10_3,10_4,10_5,10_6,10_7,10_8,10_9,10_10,10_11,10_12,10_14,11_3,11_6,11_7,11_8,11_9,11_10,11_11,11_12,11_14,12_3,12_4,12_5,12_7,12_8,12_9,12_10,12_13,12_14,13_3,13_5,13_7,13_11,13_12,13_13,13_14,14_5,14_7,14_9,14_10,14_11,14_14,15_3,15_5,15_7,15_11,15_12,15_13,15_14,16_3,16_4,16_5,16_7,16_8,16_9,16_10,16_13,16_14,17_3,17_6,17_7,17_8,17_9,17_10,17_11,17_14,18_3,18_4,18_5,18_6,18_10,18_11,18_12,18_14,19_3,19_4,19_5,19_6,19_7,19_8,19_10,19_11,19_12,19_14,20_3,20_5,20_7,20_8,20_10,20_11,20_14,21_3,21_7,21_10,21_13,21_14,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_10,22_11,22_12,22_13,22_14"; scene_data["render_common_0003_coordinates"] = "14_4"; scene_data["render_cave_0003_coordinates"] = "14_8"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0108() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "Hole Top-Right Corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "It's a bit dark, player. If you can't see the screen, please try adjusting your lighting."; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=4, txt="You obtained 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("b1", 108, 1, "box 1 upper-left corner"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 108) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=9, y=4, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b2", 108, 1, "box 2 upper-right corner"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 108) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=5, y=6, txt="You obtained 175g", required_dir="up", callback=function() GET_MONEY(175); PUT_STATE("b3", 108, 1, "box 3 lower-left corner"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 108) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=9, y=6, txt="You obtained 150g", required_dir="up", callback=function() GET_MONEY(150); PUT_STATE("b4", 108, 1, "box 4 lower-right corner"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 108) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=7, after_map_y=2, after_player_x=8, after_player_y=5, after_screen_x=1, after_screen_y=3, after_player_dir="left", x=7, y=4, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_6|6_3|6_4|6_5|6_6|7_3|7_4|7_5|7_6|8_3|8_4|8_5|8_6|9_4|9_6"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0003,render_common_0001,render_cave_0003"; scene_data["render_common_0003_coordinates"] = "5_3,5_5,9_3,9_5"; scene_data["render_common_0001_coordinates"] = "5_4,5_6,6_3,6_4,6_5,6_6,7_3,7_5,7_6,8_3,8_4,8_5,8_6,9_4,9_6"; scene_data["render_cave_0003_coordinates"] = "7_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0109() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 32; scene_data["tile_y_count"] = 20; scene_data["name"] = "Cave in lower-left corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=20, y=5, txt="You obtained 2500g", required_dir="up", callback=function() GET_MONEY(2500); PUT_STATE("b1", 109, 1, "box at top of screen"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 109) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=18, y=16, txt="You obtained the missing keys", required_dir="up", callback=function() PUT_STATE("fk", 109, 1, "found keys"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("fk", 109) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=4, after_player_x=7, after_player_y=6, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=15, y=15, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=4, after_player_x=7, after_player_y=6, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=22, y=12, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_15|5_16|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_13|6_14|6_15|6_16|7_3|7_4|7_5|7_8|7_11|7_12|7_13|7_15|8_3|8_4|8_8|8_9|8_11|8_12|8_15|9_3|9_6|9_8|9_9|9_11|9_15|9_16|10_3|10_6|10_9|10_11|10_12|10_16|11_3|11_4|11_6|11_8|11_9|11_12|11_13|11_15|11_16|12_3|12_4|12_6|12_8|12_9|12_11|12_12|12_15|13_4|13_6|13_8|13_11|13_12|13_14|13_15|13_16|14_3|14_4|14_6|14_8|14_9|14_12|15_3|15_6|15_9|15_11|15_12|15_14|15_15|15_16|16_3|16_4|16_5|16_6|16_8|16_9|16_11|16_12|16_13|16_14|16_16|17_4|17_6|17_8|17_9|18_3|18_4|18_5|18_6|18_7|18_8|18_9|18_10|18_11|18_14|18_16|19_5|19_6|19_7|19_9|19_11|19_12|19_13|19_14|19_15|19_16|20_5|20_16|21_13|21_16|22_12|22_13|22_14|22_15|22_16|23_13"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_cave_0003,render_common_0003"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_15,5_16,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,6_14,6_15,6_16,7_3,7_4,7_5,7_8,7_11,7_12,7_13,7_15,8_3,8_4,8_8,8_9,8_11,8_12,8_15,9_3,9_6,9_8,9_9,9_11,9_15,9_16,10_3,10_6,10_9,10_11,10_12,10_16,11_3,11_4,11_6,11_8,11_9,11_12,11_13,11_15,11_16,12_3,12_4,12_6,12_8,12_9,12_11,12_12,12_15,13_4,13_6,13_8,13_11,13_12,13_14,13_15,13_16,14_3,14_4,14_6,14_8,14_9,14_12,15_3,15_6,15_9,15_11,15_12,15_14,15_16,16_3,16_4,16_5,16_6,16_8,16_9,16_11,16_12,16_13,16_14,16_16,17_4,17_6,17_8,17_9,18_3,18_4,18_5,18_6,18_7,18_8,18_9,18_10,18_11,18_14,18_16,19_5,19_6,19_7,19_9,19_11,19_12,19_13,19_14,19_15,19_16,20_5,20_16,21_13,21_16,22_13,22_14,22_15,22_16,23_13"; scene_data["render_cave_0003_coordinates"] = "15_15,22_12"; scene_data["render_common_0003_coordinates"] = "18_15,20_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0110() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 12; scene_data["name"] = "Cave in Lower-Right Corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=4, after_player_x=9, after_player_y=6, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=7, y=6, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "6_3|6_5|6_6|6_8|7_3|7_4|7_5|7_6|7_7|7_8|8_5|8_6|8_8"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "6_3,6_5,6_6,6_8,7_3,7_4,7_5,7_7,7_8,8_5,8_6,8_8"; scene_data["render_cave_0003_coordinates"] = "7_6"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_0111() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 11; scene_data["name"] = "House that was originally locked up"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=5, txt="You obtained a special vial of a special substance. It looks like there are two of these that go together. Perhaps you should place them inside the ale glasses in this house and take a sip.", required_dir="up", callback=function() PUT_STATE("v1", 111, 1, "first vial"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("v1", 111) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=11, y=5, txt="You obtained a special vial of a special substance. It looks like there are two of these that go together. Perhaps you should place them inside the ale glasses in this house and take a sip.", required_dir="up", callback=function() PUT_STATE("v2", 111, 1, "second vial"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("v2", 111) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=8, y=4, txt="You poured some of the vial contents into the ale. It tastes special, and now you feel dizzy. It is a pleasant dizziness, euphoria and relaxation combined.", required_dir="up", callback=function() PUT_STATE("a1", 111, 1, "first ale"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("v1", 111) == 1 and GET_STATE("v2", 111) == 1;end, eligibility_failure_msg=function() return "Let's try opening the boxes."; end }, { x=10, y=4, txt="You poured some of the vial contents into the ale. It tastes special, and now you feel dizzy. It is a pleasant dizziness, euphoria and relaxation combined.", required_dir="up", callback=function() PUT_STATE("a2", 111, 1, "second ale"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("v1", 111) == 1 and GET_STATE("v2", 111) == 1;end, eligibility_failure_msg=function() return "Let's try opening the boxes."; end }, { x=12, y=4, txt="You poured some of the vial contents into the ale. It tastes special, and now you feel dizzy. It is a pleasant dizziness, euphoria and relaxation combined.", required_dir="up", callback=function() PUT_STATE("a3", 111, 1, "third ale"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("v1", 111) == 1 and GET_STATE("v2", 111) == 1;end, eligibility_failure_msg=function() return "Let's try opening the boxes."; end } } scene_data["warp_points"] = { { warp_allowed = function() return GET_STATE("a1", 111) == 1 and GET_STATE("a2", 111) == 1 and GET_STATE("a3", 111) == 1 and GET_STATE("po", 111) == 1; end, on_warp_not_allowed_msg = function() local drank_ale_one = (GET_STATE("a1", 111) == 1); local drank_ale_two = (GET_STATE("a2", 111) == 1); local drank_ale_three = (GET_STATE("a3", 111) == 1); if drank_ale_one == false or drank_ale_two == false or dranke_ale_three == false then return "There seems to be something more about this house."; end;local poetry = "Ren: {{new_line}} Princess Anaya...when I drank the ale, your skin became more glowy and soft. It just occured to me how grateful I am for your help. You always say I'm brave, and somehow I sometimes doubt that. After the ale, I've realized it would actually be brave of me to believe you, and that's just exactly what I'll do now. The way your hair moves in the wind, and the way your pupils adjust size when we go inside and outside of the caves. I've never seen such beauty, and I couldn't be more than happy with your gift of medicine and omnipresence. {{new_line}} {{new_line}} Princess: {{new_line}} I think you've had a bit too much to drink, but you're very sweet with spirits."; PUT_STATE("po", 111, 1, "poetry"); return poetry; end, after_map_x=9, after_map_y=7, after_player_x=10, after_player_y=8, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=10, y=7, scene_number=105, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "7_4|7_5|8_4|8_5|9_5|9_6|10_4|10_5|10_6|10_7|11_5|11_6|12_4|12_5|13_6"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_common_0003,render_warp_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "6_4,6_5,13_4,13_5"; scene_data["render_common_0001_coordinates"] = "7_4,7_5,8_4,8_5,9_5,9_6,10_4,10_5,10_6,11_5,11_6,12_4,12_5,13_6"; scene_data["render_indoors_asset_0014_coordinates"] = "8_3,10_3,12_3"; scene_data["render_common_0003_coordinates"] = "9_4,11_4"; scene_data["render_warp_0001_coordinates"] = "10_7"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0112() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 50; scene_data["tile_y_count"] = 33; scene_data["name"] = "Long map after keys quest"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {90}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {250}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=4, txt="You obtained 5g", required_dir="up", callback=function() GET_MONEY(5); PUT_STATE("b1", 112, 1, "first box (left to right)"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 112) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=26, y=4, txt="You obtained 15g", required_dir="up", callback=function() GET_MONEY(15); PUT_STATE("b2", 112, 1, "second box (left to right)"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 112) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=27, y=4, txt="You obtained 30g", required_dir="up", callback=function() GET_MONEY(30); PUT_STATE("b3", 112, 1, "third box (left to right)"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 112) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=28, y=4, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b4", 112, 1, "fourth (left to right)"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 112) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=4, after_player_x=10, after_player_y=6, after_screen_x=1, after_screen_y=2, after_player_dir="left", x=5, y=4, scene_number=106, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=10, after_player_x=6, after_player_y=11, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=44, y=7, scene_number=113, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_4|1_4|2_4|3_4|4_4|5_3|5_4|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|6_3|6_7|6_8|6_17|6_18|6_19|7_3|7_6|7_7|7_19|7_20|7_21|8_3|8_4|8_5|8_6|8_21|8_22|9_3|9_11|9_12|9_13|9_14|9_15|9_22|9_23|9_24|9_25|9_26|10_10|10_11|10_15|10_26|10_27|11_4|11_5|11_6|11_7|11_8|11_9|11_10|11_15|11_16|11_17|11_27|11_28|12_4|12_17|12_28|12_29|13_4|13_15|13_17|13_18|13_19|13_20|13_21|13_29|14_4|14_5|14_21|14_29|15_5|15_15|15_21|15_22|15_23|15_24|15_25|15_26|15_27|15_28|15_29|16_3|16_4|16_5|17_3|18_3|18_4|18_5|18_7|18_8|18_9|18_11|18_12|18_13|18_15|18_16|18_17|18_19|18_20|18_21|18_23|18_24|18_25|19_3|19_5|19_7|19_9|19_11|19_13|19_15|19_17|19_19|19_21|19_23|19_25|20_3|20_5|20_6|20_7|20_9|20_10|20_11|20_13|20_14|20_15|20_17|20_18|20_19|20_21|20_22|20_23|20_25|20_26|20_27|20_28|20_29|21_28|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_10|22_11|22_12|22_13|22_14|22_15|22_16|22_17|22_18|22_19|22_20|22_21|22_22|22_23|22_24|22_25|22_26|22_27|22_28|22_29|23_5|24_5|24_6|24_7|24_9|24_10|24_11|24_12|24_14|24_15|24_16|24_21|25_7|25_9|25_12|25_14|25_16|25_18|25_19|25_20|25_21|26_4|26_6|26_7|26_9|26_11|26_12|26_14|26_16|26_18|26_19|26_21|26_23|26_24|26_25|26_26|27_4|27_6|27_9|27_11|27_14|27_16|27_18|27_21|27_23|27_26|28_4|28_5|28_6|28_7|28_8|28_9|28_11|28_12|28_13|28_14|28_16|28_17|28_18|28_19|28_21|28_22|28_23|28_24|28_26|29_26|30_12|30_13|30_14|30_15|30_16|30_24|30_25|30_26|31_11|31_12|31_16|31_23|31_24|32_9|32_10|32_11|32_16|32_17|32_23|32_26|32_27|32_28|33_8|33_9|33_17|33_21|33_22|33_23|33_26|33_28|34_8|34_16|34_17|34_20|34_21|34_26|34_28|35_8|35_16|35_19|35_20|35_26|35_28|35_29|36_8|36_14|36_16|36_17|36_19|36_22|36_23|36_24|36_25|36_26|36_29|37_8|37_9|37_10|37_11|37_12|37_13|37_14|37_17|37_19|37_21|37_22|37_28|37_29|38_14|38_16|38_17|38_19|38_20|38_21|38_23|38_24|38_25|38_26|38_27|38_28|39_7|39_8|39_9|39_10|39_11|39_12|39_13|39_14|39_16|39_23|40_7|40_16|40_17|40_23|40_24|40_25|40_26|40_27|40_28|40_29|41_7|41_16|41_17|41_29|42_7|42_16|42_17|42_18|42_19|42_20|42_21|42_22|42_23|42_24|42_25|42_26|42_27|42_28|42_29|43_7|44_7|45_7|46_7|47_7|48_7|49_7"; scene_data["render_fns_list"] = "render_outdoors_0012,render_outdoors_0013,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_outdoors_0013_coordinates"] = "0_2,0_6,0_7,0_10,0_14,0_15,0_17,0_19,0_22,0_24,0_27,0_28,0_29,0_32,1_0,1_2,1_3,1_8,1_9,1_10,1_12,1_14,1_17,1_19,1_22,1_24,1_26,1_31,2_0,2_5,2_6,2_7,2_8,2_10,2_17,2_20,2_22,2_25,2_26,2_28,2_31,2_32,3_0,3_1,3_5,3_7,3_10,3_12,3_14,3_15,3_17,3_20,3_21,3_23,3_24,3_26,3_27,3_28,3_30,4_0,4_1,4_3,4_7,4_8,4_9,4_10,4_12,4_13,4_16,4_17,4_19,4_20,4_22,4_24,4_28,4_30,5_1,5_2,5_18,5_19,5_20,5_25,5_28,5_32,6_1,6_2,6_5,6_6,6_9,6_12,6_14,6_16,6_20,6_21,6_24,6_25,6_27,6_28,6_29,6_30,6_32,7_5,7_8,7_9,7_11,7_12,7_17,7_18,7_24,7_26,7_28,7_29,7_32,8_0,8_9,8_11,8_12,8_14,8_15,8_17,8_18,8_19,8_23,8_27,8_29,8_30,8_31,9_0,9_1,9_5,9_6,9_9,9_16,9_27,9_28,10_1,10_5,10_9,10_13,10_14,10_16,10_17,10_19,10_20,10_23,10_24,10_25,10_30,10_31,10_32,11_2,11_3,11_19,11_21,11_22,11_24,11_25,12_0,12_1,12_2,12_3,12_5,12_7,12_9,12_10,12_11,12_12,12_13,12_16,12_30,12_31,13_2,13_3,13_7,13_11,13_12,13_14,13_16,13_23,13_24,13_25,13_26,13_32,14_0,14_1,14_6,14_9,14_14,14_18,14_24,14_25,14_27,14_31,14_32,15_0,15_6,15_8,15_9,15_10,15_11,15_12,15_13,15_14,15_16,15_17,15_18,15_19,15_32,16_1,16_2,16_7,16_12,16_14,16_16,16_21,16_23,16_27,16_30,16_32,17_1,17_2,17_8,17_9,17_11,17_12,17_13,17_16,17_17,17_19,17_20,17_23,17_25,17_26,17_27,17_32,18_18,18_26,18_27,18_28,18_31,18_32,19_0,19_1,19_4,19_8,19_12,19_18,19_24,19_26,19_27,20_0,20_1,20_4,20_12,20_16,20_24,20_30,20_31,20_32,21_0,21_2,21_3,21_4,21_7,21_8,21_9,21_10,21_13,21_15,21_18,21_22,21_24,21_26,21_32,22_1,22_2,22_30,22_31,22_32,23_2,23_3,23_4,23_8,23_11,23_12,23_15,23_16,23_17,23_19,23_21,23_23,23_26,23_27,23_28,23_31,24_0,24_8,24_17,24_18,24_19,24_20,24_23,24_24,24_27,24_28,24_30,24_31,24_32,25_2,25_3,25_4,25_5,25_6,25_8,25_10,25_11,25_15,25_17,25_22,25_23,25_24,25_25,25_26,25_27,25_30,25_32,26_1,26_8,26_17,26_22,26_27,27_1,27_2,27_7,27_8,27_10,27_15,27_22,27_24,27_25,27_29,27_32,28_15,28_25,28_28,28_29,28_31,28_32,29_0,29_1,29_8,29_15,29_21,29_22,29_23,29_24,29_25,29_28,30_0,30_3,30_5,30_6,30_7,30_18,30_22,30_23,30_27,30_28,30_29,30_31,30_32,31_0,31_2,31_3,31_5,31_6,31_7,31_8,31_14,31_21,31_22,31_26,31_27,31_28,31_29,31_30,31_31,32_0,32_2,32_7,32_8,32_14,32_19,32_20,32_21,32_22,32_29,32_30,32_32,33_1,33_3,33_4,33_5,33_10,33_11,33_13,33_14,33_18,33_19,33_20,33_32,34_2,34_3,34_5,34_6,34_9,34_10,34_11,34_12,34_13,34_14,34_15,34_22,34_23,34_29,34_30,35_1,35_3,35_7,35_13,35_15,35_31,35_32,36_0,36_1,36_5,36_6,36_7,36_10,36_13,36_15,36_30,36_31,37_0,37_2,37_3,37_4,37_6,37_7,37_18,38_2,38_4,38_5,38_11,38_13,38_15,38_18,38_29,38_30,38_31,39_5,39_6,39_17,39_18,39_19,39_20,39_21,39_22,39_25,39_28,39_29,40_0,40_3,40_4,40_6,40_8,40_10,40_13,40_14,40_15,40_19,40_20,40_30,40_31,41_1,41_2,41_4,41_8,41_13,41_14,41_21,41_22,41_23,41_26,41_27,41_31,42_0,42_1,42_2,42_6,42_8,42_10,42_11,42_13,42_14,42_15,42_30,42_31,43_4,43_5,43_6,43_8,43_9,43_10,43_11,43_13,43_15,43_19,43_20,43_22,43_23,43_25,43_28,43_29,43_30,44_0,44_1,44_2,44_4,44_6,44_8,44_9,44_11,44_12,44_17,44_18,44_20,44_21,44_23,44_27,44_28,44_29,44_30,44_31,44_32,45_1,45_2,45_3,45_5,45_8,45_9,45_11,45_12,45_13,45_14,45_16,45_20,45_22,45_24,45_25,45_29,46_0,46_3,46_5,46_9,46_11,46_13,46_16,46_18,46_20,46_22,46_29,46_32,47_0,47_2,47_3,47_6,47_13,47_18,47_21,47_24,47_26,47_28,47_30,47_31,47_32,48_0,48_2,48_3,48_6,48_8,48_10,48_12,48_15,48_17,48_18,48_19,48_21,48_23,48_26,48_27,48_28,48_31,49_3,49_6,49_8,49_10,49_12,49_15,49_17,49_19,49_21,49_23,49_24,49_25,49_26,49_28,49_29,49_30,49_31"; scene_data["render_common_0001_coordinates"] = "0_4,1_4,2_4,3_4,4_4,5_3,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,6_3,6_7,6_8,6_17,6_18,6_19,7_3,7_6,7_7,7_19,7_20,7_21,8_3,8_4,8_5,8_6,8_21,8_22,9_3,9_11,9_12,9_13,9_14,9_15,9_22,9_23,9_24,9_25,9_26,10_10,10_11,10_15,10_26,10_27,11_4,11_5,11_6,11_7,11_8,11_9,11_10,11_15,11_16,11_17,11_27,11_28,12_4,12_17,12_28,12_29,13_4,13_15,13_17,13_18,13_19,13_20,13_21,13_29,14_4,14_5,14_21,14_29,15_5,15_15,15_21,15_22,15_23,15_24,15_25,15_26,15_27,15_28,15_29,16_3,16_4,16_5,17_3,18_3,18_4,18_5,18_7,18_8,18_9,18_11,18_12,18_13,18_15,18_16,18_17,18_19,18_20,18_21,18_23,18_24,18_25,19_3,19_5,19_7,19_9,19_11,19_13,19_15,19_17,19_19,19_21,19_23,19_25,20_3,20_5,20_6,20_7,20_9,20_10,20_11,20_13,20_14,20_15,20_17,20_18,20_19,20_21,20_22,20_23,20_25,20_26,20_27,20_28,20_29,21_28,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_10,22_11,22_12,22_13,22_14,22_15,22_16,22_17,22_18,22_19,22_20,22_21,22_22,22_23,22_24,22_25,22_26,22_27,22_28,22_29,23_5,24_5,24_6,24_7,24_9,24_10,24_11,24_12,24_14,24_15,24_16,24_21,25_7,25_9,25_12,25_14,25_16,25_18,25_19,25_20,25_21,26_4,26_6,26_7,26_9,26_11,26_12,26_14,26_16,26_18,26_19,26_21,26_23,26_24,26_25,26_26,27_4,27_6,27_9,27_11,27_14,27_16,27_18,27_21,27_23,27_26,28_4,28_5,28_6,28_7,28_8,28_9,28_11,28_12,28_13,28_14,28_16,28_17,28_18,28_19,28_21,28_22,28_23,28_24,28_26,29_26,30_12,30_13,30_14,30_15,30_16,30_24,30_25,30_26,31_11,31_12,31_16,31_23,31_24,32_9,32_10,32_11,32_16,32_17,32_23,32_26,32_27,32_28,33_8,33_9,33_17,33_21,33_22,33_23,33_26,33_28,34_8,34_16,34_17,34_20,34_21,34_26,34_28,35_8,35_16,35_19,35_20,35_26,35_28,35_29,36_8,36_14,36_16,36_17,36_19,36_22,36_23,36_24,36_25,36_26,36_29,37_8,37_9,37_10,37_11,37_12,37_13,37_14,37_17,37_19,37_21,37_22,37_28,37_29,38_14,38_16,38_17,38_19,38_20,38_21,38_23,38_24,38_25,38_26,38_27,38_28,39_7,39_8,39_9,39_10,39_11,39_12,39_13,39_14,39_16,39_23,40_7,40_16,40_17,40_23,40_24,40_25,40_26,40_27,40_28,40_29,41_7,41_16,41_17,41_29,42_7,42_16,42_17,42_18,42_19,42_20,42_21,42_22,42_23,42_24,42_25,42_26,42_27,42_28,42_29,43_7,45_7,46_7,47_7,48_7,49_7"; scene_data["render_warp_0001_coordinates"] = "5_4,44_7"; scene_data["render_common_0003_coordinates"] = "14_3,26_3,27_3,28_3"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0113() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 30; scene_data["tile_y_count"] = 15; scene_data["name"] = "General Town"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=42, after_map_y=6, after_player_x=43, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=11, scene_number=112, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=4, after_player_x=7, after_player_y=6, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=7, y=8, scene_number=114, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=10, after_player_x=11, after_player_y=12, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=13, y=8, scene_number=115, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=9, after_map_y=10, after_player_x=11, after_player_y=12, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=20, y=10, scene_number=115, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=19, y=6, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=1900, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=18, after_player_x=5, after_player_y=20, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=24, y=7, scene_number=116, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_11|1_11|2_11|3_11|4_11|5_5|5_6|5_7|5_8|5_9|5_10|5_11|6_3|6_4|6_5|6_11|7_3|7_4|7_8|7_9|7_10|7_11|8_3|8_6|8_7|8_8|8_9|8_10|9_3|9_5|9_6|9_7|9_10|9_11|10_3|10_5|10_9|10_10|11_3|11_4|11_5|11_9|11_10|11_11|12_3|12_11|13_3|13_8|13_9|13_10|13_11|14_3|14_10|15_3|15_4|15_5|15_6|15_7|15_8|15_9|15_10|16_5|16_10|17_3|17_4|17_5|17_6|17_8|17_9|17_10|17_11|18_3|18_7|18_11|19_3|19_6|19_7|19_11|20_3|20_7|20_10|20_11|21_3|21_7|21_8|21_9|21_11|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_10|22_11|23_7|24_7"; scene_data["render_fns_list"] = "render_outdoors_0012,render_common_0001,render_warp_0001,render_building_0001,render_building_0010,render_building_0002,render_building_0004,render_building_0009,render_building_0006,render_building_0005"; scene_data["render_common_0001_coordinates"] = "0_11,1_11,2_11,3_11,4_11,5_5,5_6,5_7,5_8,5_9,5_10,6_3,6_4,6_5,6_11,7_3,7_4,7_9,7_10,7_11,8_3,8_6,8_7,8_8,8_9,8_10,9_3,9_5,9_6,9_7,9_10,9_11,10_3,10_5,10_9,10_10,11_3,11_4,11_5,11_9,11_10,11_11,12_3,12_11,13_3,13_9,13_10,13_11,14_3,14_10,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,16_5,16_10,17_3,17_4,17_5,17_6,17_8,17_9,17_10,17_11,18_3,18_7,18_11,19_3,19_7,19_11,20_3,20_7,20_11,21_3,21_7,21_8,21_9,21_11,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_10,22_11,23_7"; scene_data["render_warp_0001_coordinates"] = "5_11,24_7"; scene_data["render_building_0001_coordinates"] = "6_7,10_6,18_4,18_9"; scene_data["render_building_0010_coordinates"] = "6_8,10_8,18_10,20_6,21_6"; scene_data["render_building_0002_coordinates"] = "7_7,13_6,20_9,21_4"; scene_data["render_building_0004_coordinates"] = "7_8,13_8,19_6,20_10"; scene_data["render_building_0009_coordinates"] = "10_7,11_7,11_8,12_7,12_8,13_7,18_5,19_5,19_10,20_5,21_5"; scene_data["render_building_0006_coordinates"] = "11_6,12_6,19_4,19_9,20_4"; scene_data["render_building_0005_coordinates"] = "18_6"; scene_data["default_tile"] = render_outdoors_0012; scene_data["default_tile_name"] = "render_outdoors_0012"; SCENE_DATA = scene_data; end function enter_scene_0114() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 14; scene_data["tile_y_count"] = 11; scene_data["name"] = "First small house from the left"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="We are a drinking culture. I see, young man that, you are not from here. I caution you: drinking brings great joy to mankind. However, too much can steal your soul. Please kindly think of what that means? Just for a moment...think. With that being said, cheers to your next trip. {{new_line}} {{new_line}} Princess: {{new_line}} Don't worry. I can keep him in check.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=8, after_player_x=7, after_player_y=9, after_screen_x=3, after_screen_y=1, after_player_dir="down", x=7, y=7, scene_number=113, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_6|6_3|6_4|6_6|7_4|7_5|7_6|7_7|8_3|8_5"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_warp_0001,render_person_0011"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_6,6_3,6_4,6_6,7_4,7_5,7_6,8_3,8_5"; scene_data["render_indoors_asset_0014_coordinates"] = "7_3"; scene_data["render_warp_0001_coordinates"] = "7_7"; scene_data["render_person_0011_coordinates"] = "8_4"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0115() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 17; scene_data["name"] = "Larger non-inn house"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=8, txt="Man: {{new_line}} Wow. You are very beautiful, miss Princess.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=8, txt="Man: {{new_line}} You are approaching the path to the large ocean. Few fare their way this far, and even fewer beyond. {{new_line}} {{new_line}} Princess: {{new_line}} We have important work to do. Is there any advice for us? {{new_line}} {{new_line}} Man: {{new_line}} Stay together. That much is pertinent. {{new_line}} {{new_line}} Princess: {{new_line}} Thank you!", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=8, after_player_x=13, after_player_y=9, after_screen_x=2, after_screen_y=1, after_player_dir="down", x=11, y=13, scene_number=113, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_7|5_8|5_9|5_13|6_4|6_7|6_9|6_10|6_11|6_12|6_13|7_9|7_13|8_3|8_4|8_5|8_6|8_7|8_8|8_9|8_10|8_11|8_12|8_13|9_4|9_9|9_13|10_4|10_5|10_6|10_7|10_8|10_9|10_10|10_11|10_12|10_13|11_4|11_8|11_12|11_13|11_14|11_15|11_16|12_3|12_4|12_5|12_6|12_7|12_8|12_9|12_10|12_11|12_12|12_13|13_4|13_8|13_9|13_13|14_3|14_4|14_5|14_6|14_7|14_9|14_10|14_11|14_12|14_13|15_3|15_6|15_9|15_13|16_3|16_4|16_5|16_6|16_7|16_8|16_9|16_10|16_11|16_12|16_13"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_person_0011,render_indoors_asset_0014,render_warp_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3,6_3,10_3,11_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_7,5_8,5_9,5_13,6_4,6_7,6_9,6_10,6_11,6_12,6_13,7_9,7_13,8_3,8_4,8_5,8_6,8_7,8_8,8_9,8_10,8_11,8_12,8_13,9_4,9_9,9_13,10_4,10_5,10_6,10_7,10_8,10_9,10_10,10_11,10_12,10_13,11_4,11_8,11_12,11_14,11_15,11_16,12_3,12_4,12_5,12_6,12_7,12_8,12_9,12_10,12_11,12_12,12_13,13_4,13_8,13_9,13_13,14_3,14_4,14_5,14_6,14_7,14_9,14_10,14_11,14_12,14_13,15_3,15_6,15_9,15_13,16_3,16_4,16_5,16_6,16_7,16_8,16_9,16_10,16_11,16_12,16_13"; scene_data["render_person_0011_coordinates"] = "6_8,14_8"; scene_data["render_indoors_asset_0014_coordinates"] = "9_3,13_3"; scene_data["render_warp_0001_coordinates"] = "11_13"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0116() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 42; scene_data["tile_y_count"] = 26; scene_data["name"] = "First map w/new assets"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Princess: {{new_line}} Ren, you have been great at fighting monsters. I enjoy helping you, and am very thankful for that. Together, we make a formidable team. This journey has been fun. Now...let's keep going!"; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 9; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {100}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {250}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=5, after_player_x=23, after_player_y=7, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=21, scene_number=113, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=36, y=9, scene_number=117, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_21|1_21|2_21|3_21|4_21|5_3|5_4|5_5|5_6|5_8|5_9|5_10|5_14|5_15|5_16|5_20|5_21|6_3|6_4|6_6|6_8|6_10|6_14|6_16|6_18|6_19|6_20|7_3|7_4|7_6|7_7|7_8|7_10|7_11|7_12|7_13|7_14|7_16|7_17|7_18|7_19|8_3|9_3|10_3|10_4|11_3|11_4|11_5|12_5|12_6|13_6|13_7|14_7|14_8|15_8|15_9|16_9|17_9|18_9|18_10|19_10|19_11|20_11|20_12|20_13|21_13|21_14|21_15|22_15|22_16|23_16|23_17|24_17|24_18|25_18|25_19|26_3|26_19|27_13|27_14|27_15|27_19|27_20|28_13|28_15|28_20|28_21|29_13|29_15|29_18|29_21|30_13|30_15|30_16|30_20|30_21|31_13|31_16|31_17|31_18|31_20|32_9|32_10|32_11|32_13|32_18|32_20|32_21|33_9|33_11|33_13|33_15|33_16|33_17|33_18|33_21|34_9|34_11|34_13|34_15|34_20|34_21|35_9|35_11|35_13|35_15|35_16|35_17|35_18|35_19|35_20|36_9|36_11|36_12|36_13|37_9|38_9|39_9|40_9|41_9"; scene_data["render_fns_list"] = "render_desert2,render_common_0001,render_desert1,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_21,1_21,2_21,3_21,4_21,5_3,5_4,5_5,5_6,5_8,5_9,5_10,5_14,5_15,5_16,5_20,6_3,6_4,6_6,6_8,6_10,6_14,6_16,6_18,6_19,6_20,7_3,7_4,7_6,7_7,7_8,7_10,7_11,7_12,7_13,7_14,7_16,7_17,7_18,7_19,8_3,9_3,10_3,10_4,11_3,11_4,11_5,12_5,12_6,13_6,13_7,14_7,14_8,15_8,15_9,16_9,17_9,18_9,18_10,19_10,19_11,20_11,20_12,20_13,21_13,21_14,21_15,22_15,22_16,23_16,23_17,24_17,24_18,25_18,25_19,26_3,26_19,27_13,27_14,27_15,27_19,27_20,28_13,28_15,28_20,28_21,29_13,29_15,29_18,29_21,30_13,30_15,30_16,30_20,30_21,31_13,31_16,31_17,31_18,31_20,32_9,32_10,32_11,32_13,32_18,32_20,32_21,33_9,33_11,33_13,33_15,33_16,33_17,33_18,33_21,34_9,34_11,34_13,34_15,34_20,34_21,35_9,35_11,35_13,35_15,35_16,35_17,35_18,35_19,35_20,36_11,36_12,36_13,37_9,38_9,39_9,40_9,41_9"; scene_data["render_desert1_coordinates"] = "5_13,5_18,5_19,5_22,6_9,6_13,6_21,6_22,7_9,7_20,7_21,7_22,8_7,8_8,8_9,8_10,8_12,8_16,8_17,8_19,8_20,8_21,8_22,9_7,9_12,9_13,9_15,9_17,10_5,10_6,10_7,10_8,10_9,10_12,10_15,10_17,10_18,10_21,11_6,11_7,11_9,11_11,11_12,11_15,11_16,11_18,11_20,12_7,12_12,12_13,12_15,12_16,12_17,12_19,12_21,12_22,13_3,13_5,13_10,13_11,13_13,13_15,13_19,13_20,13_22,14_3,14_5,14_10,14_11,14_15,14_17,14_18,14_21,15_3,15_4,15_7,15_10,15_11,15_12,15_15,15_19,15_20,16_5,16_6,16_7,16_8,16_10,16_11,16_15,16_16,16_17,16_18,16_20,16_21,16_22,17_3,17_4,17_6,17_10,17_11,17_12,17_15,17_17,17_18,17_20,18_6,18_11,18_12,18_14,18_15,18_16,18_19,18_21,18_22,19_4,19_5,19_14,19_16,19_19,20_4,20_8,20_14,20_16,20_17,20_19,21_4,21_6,21_8,21_9,21_11,21_12,21_16,21_17,21_19,21_20,21_21,21_22,22_4,22_5,22_6,22_8,22_9,22_10,22_11,22_12,22_13,22_17,22_19,22_21,23_5,23_11,23_19,23_20,23_21,24_3,24_4,24_5,24_7,24_9,24_12,24_14,24_19,24_22,25_5,25_7,25_9,25_11,25_12,25_13,25_14,25_15,25_20,25_22,26_4,26_5,26_7,26_8,26_9,26_10,26_12,26_14,26_15,26_20,26_22,27_3,27_5,27_7,27_10,27_11,27_12,27_17,27_21,27_22,28_5,28_6,28_8,28_9,28_11,28_12,28_14,28_17,28_22,29_7,29_8,29_17,29_22,30_3,30_4,30_5,30_6,30_10,30_14,30_17,30_18,30_19,30_22,31_4,31_7,31_8,31_9,31_10,31_11,31_12,31_15,31_19,31_21,31_22,32_3,32_7,32_8,32_17,32_22,33_3,33_6,33_8,33_10,33_12,33_14,33_22,34_4,34_5,34_7,34_8,34_12,34_14,34_16,34_18,34_19,34_22,35_5,35_6,35_8,35_21,35_22,36_5,36_6,36_8,36_10,36_15,36_19,36_20,36_21,36_22"; scene_data["render_warp_0001_coordinates"] = "5_21,36_9"; scene_data["default_tile"] = render_desert2; scene_data["default_tile_name"] = "render_desert2"; SCENE_DATA = scene_data; end function enter_scene_0117() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 19; scene_data["tile_y_count"] = 12; scene_data["name"] = "Small innpoint after LOOONG battles"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=11, y=6, txt="Princess: {{new_line}} Hello there! {{new_line}} {{new_line}} Guy: {{new_line}} Welcome, your highness. I must advise that you are approaching danger. Please reconsider entering this far east. {{new_line}} {{new_line}} Princess: {{new_line}} We are on an important mission. We might die heading east, but eventually, all of odessia will die if we don't. We appreciate your concern. {{new_line}} {{new_line}} Guy: {{new_line}} We will keep you graciously in our thoughts. {{new_line}} {{new_line}} Princess: {{new_line}} Thanks!", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=11, y=7, txt="Princess: {{new_line}} Hello there! {{new_line}} {{new_line}} Guy: {{new_line}} Welcome, your highness. I must advise that you are approaching danger. Please reconsider entering this far east. {{new_line}} {{new_line}} Princess: {{new_line}} We are on an important mission. We might die heading east, but eventually, all of odessia will die if we don't. We appreciate your concern. {{new_line}} {{new_line}} Guy: {{new_line}} We will keep you graciously in our thoughts. {{new_line}} {{new_line}} Princess: {{new_line}} Thanks!", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=33, after_map_y=7, after_player_x=35, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=116, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=13, y=5, scene_number=118, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=11, y=5, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=15, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_5|5_6|6_6|7_6|7_7|7_8|8_8|9_3|9_4|9_5|9_6|9_8|10_3|10_6|10_7|10_8|11_3|11_5|11_6|11_7|12_3|12_4|13_4|13_5|14_5|15_5|16_5|17_5|18_5"; scene_data["render_fns_list"] = "render_desert1,render_desert2,render_common_0001,render_warp_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_person_0011"; scene_data["render_desert2_coordinates"] = "0_1,0_2,0_6,0_7,0_8,0_10,1_2,1_4,1_5,1_8,1_11,2_2,2_5,2_6,2_9,2_10,2_11,3_0,3_1,3_7,3_9,3_11,4_0,4_4,4_5,4_6,4_8,4_10,5_2,5_8,5_10,6_0,6_3,6_4,6_10,7_0,7_2,7_3,7_9,7_11,8_0,8_1,8_5,8_6,8_9,8_11,9_1,9_10,10_1,10_2,10_9,10_10,11_8,11_11,12_1,12_2,12_5,12_8,12_9,12_11,13_0,13_6,13_9,13_10,13_11,14_1,14_6,14_7,14_8,14_9,15_0,15_2,15_3,15_4,15_6,15_10,16_1,16_2,16_6,16_8,16_9,17_0,17_1,17_3,17_7,17_10,17_11,18_1,18_3,18_7,18_10"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_5,5_6,6_6,7_6,7_7,7_8,8_8,9_3,9_4,9_5,9_6,9_8,10_3,10_6,10_7,10_8,11_3,11_6,11_7,12_3,12_4,13_4,14_5,15_5,16_5,17_5,18_5"; scene_data["render_warp_0001_coordinates"] = "5_3,13_5"; scene_data["render_building_0001_coordinates"] = "10_4"; scene_data["render_building_0005_coordinates"] = "10_5"; scene_data["render_building_0002_coordinates"] = "11_4"; scene_data["render_building_0004_coordinates"] = "11_5"; scene_data["render_person_0011_coordinates"] = "12_6,12_7"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0118() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 29; scene_data["tile_y_count"] = 12; scene_data["name"] = "Cave in lower-left corner"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 7; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {165}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {550}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=6, txt="Princess: {{new_line}} I cannot make out the words, it appears to be in the ancient script. I was taught the basics, but this dialect is unfamiliar to me.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=11, after_map_y=2, after_player_x=13, after_player_y=4, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=117, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=23, y=4, scene_number=119, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_6|5_7|5_8|6_4|6_5|6_6|6_8|7_8|8_8|9_8|10_7|10_8|11_6|11_7|12_5|12_6|13_3|13_4|13_5|14_3|15_3|16_3|16_4|16_5|16_6|16_7|17_7|17_8|18_8|19_8|20_5|20_6|20_7|20_8|21_4|21_5|22_4|23_4"; scene_data["render_fns_list"] = "render_desert2,render_common_0001,render_warp_0001,render_common_0004"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_6,5_7,5_8,6_4,6_5,6_6,6_8,7_8,8_8,9_8,10_7,10_8,11_6,11_7,12_5,12_6,13_3,13_4,13_5,14_3,15_3,16_3,16_4,16_5,16_6,16_7,17_7,17_8,18_8,19_8,20_5,20_6,20_7,20_8,21_4,21_5,22_4"; scene_data["render_warp_0001_coordinates"] = "5_3,23_4"; scene_data["render_common_0004_coordinates"] = "5_5"; scene_data["default_tile"] = render_desert2; scene_data["default_tile_name"] = "render_desert2"; SCENE_DATA = scene_data; end function enter_scene_0119() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 29; scene_data["tile_y_count"] = 12; scene_data["name"] = "Scene just before boat port"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=6, txt="Man: {{new_line}} You have made it this far. Congratulations, to the both of you. The sea port is up ahead. Best of luck moving forward, I have great faith that you will find the eastern gem stone.", required_dir="right", callback=function() SCENE_DATA["tile_at_16,7"] = render_common_0001; SCENE_DATA["tile_at_17,7"] = render_common_0001; SCENE_DATA["movement_allowed_at_16,7"] = true; SCENE_DATA["movement_allowed_at_17,7"] = true; SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=11, y=6, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=3, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=21, after_map_y=3, after_player_x=22, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=5, scene_number=118, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=7, after_player_x=6, after_player_y=8, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=23, y=4, scene_number=120, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_5|1_5|2_5|3_5|4_5|5_3|5_4|5_5|5_6|5_7|5_8|6_3|6_4|6_5|6_6|6_7|7_7|7_8|8_3|8_7|9_3|9_7|9_8|10_3|10_7|11_3|11_6|11_7|12_3|12_7|13_3|13_6|13_7|14_3|14_5|14_6|14_7|15_3|15_4|15_5|15_7|17_8|18_7|18_8|19_6|19_7|20_5|20_6|21_4|21_5|22_4|23_4|24_4|25_4|26_4|27_4|28_3|28_4"; scene_data["render_fns_list"] = "render_desert1,render_common_0001,render_warp_0001,render_building_0001,render_building_0009,render_building_0006,render_building_0005,render_building_0002,render_building_0004,render_person_0011"; scene_data["render_common_0001_coordinates"] = "0_5,1_5,2_5,3_5,4_5,5_3,5_4,5_6,5_7,5_8,6_3,6_4,6_5,6_6,6_7,7_7,7_8,8_3,8_7,9_3,9_7,9_8,10_3,10_7,11_3,11_7,12_3,12_7,13_3,13_6,13_7,14_3,14_5,14_6,14_7,15_3,15_4,15_5,15_7,17_8,18_7,18_8,19_6,19_7,20_5,20_6,21_4,21_5,22_4,24_4,25_4,26_4,27_4,28_3,28_4"; scene_data["render_warp_0001_coordinates"] = "5_5,23_4"; scene_data["render_building_0001_coordinates"] = "7_4"; scene_data["render_building_0009_coordinates"] = "7_5,7_6,8_5,8_6,9_5,9_6,10_5,11_5"; scene_data["render_building_0006_coordinates"] = "8_4,9_4,10_4"; scene_data["render_building_0005_coordinates"] = "10_6"; scene_data["render_building_0002_coordinates"] = "11_4"; scene_data["render_building_0004_coordinates"] = "11_6"; scene_data["render_person_0011_coordinates"] = "15_6"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0120() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 25; scene_data["tile_y_count"] = 18; scene_data["name"] = "Boat Harbor"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() if GET_STATE("bship", 120) == 1 then SCENE_DATA["movement_allowed_at_11,9"] = true; SCENE_DATA["tile_at_11,9"] = render_common_0001; end;if GET_STATE("eoto", 121) == 1 then SCENE_DATA["tile_at_13,9"] = render_ocean_0008; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {"13,9"}; scene_data["boat_exit_coords"] = {"12,9"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_13,9"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_13,9"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_13,9"] = render_ocean_0010; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=12, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 120, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 120) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=8, y=12, txt="Harbor. Embark upon your journey, and keep your sense of yearning. Boats and ships. Beautiful sirens with perfect lips. Man and woman together. Women and women together. Men and men, too. Whatever appeals to you is valid in every possible case.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=10, y=9, txt="Guy: {{new_line}} If you want my ship, you can certainly have it. Seeker though you may be, this ship has been in my family for ages. It's yours for 5000g, but no less. Deal? {{new_line}} {{new_line}} A bit expensive, but we've got no other choice. Here you are!", required_dir="right", callback=function() SPEND_MONEY(5000); if PEEK_MONEY() < 0 then PUT_STATE("money", 0, 0, "resetting wallet") end; table.remove(SCENE_DATA.dialogs, 3); SCENE_DATA["movement_allowed_at_11,9"] = true; SCENE_DATA["tile_at_11,9"] = render_common_0001; platform.window:invalidate(); PUT_STATE("bship", 120, 1, "bought the ship"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=20, after_map_y=3, after_player_x=22, after_player_y=4, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=8, scene_number=119, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=14, after_player_x=6, after_player_y=16, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=16, y=9, scene_number=121, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=8, y=9, scene_number=1000, inn_item_keys={"bmg10_g"}, inn_price=3, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_8|1_8|2_8|3_8|4_8|5_8|6_8|6_9|6_10|7_10|7_11|7_12|8_9|8_10|8_12|9_10|9_12|10_8|10_9|10_10|10_11|10_12|12_9|13_9|14_9|15_9|16_8|16_9|16_10|17_3|17_4|17_5|17_6|17_7|17_8|17_9|17_10|17_11|17_12|17_13|17_14|18_3|18_4|18_5|18_6|18_7|18_8|18_9|18_10|18_11|18_12|18_13|18_14|19_3|19_4|19_5|19_6|19_7|19_8|19_9|19_10|19_11|19_12|19_13|19_14|20_3|20_4|20_5|20_6|20_7|20_8|20_9|20_10|20_11|20_12|20_13|20_14|21_3|21_4|21_5|21_6|21_7|21_8|21_9|21_10|21_11|21_12|21_13|21_14|22_3|22_4|22_5|22_6|22_7|22_8|22_9|22_10|22_11|22_12|22_13|22_14|23_3|23_4|23_5|23_6|23_7|23_8|23_9|23_10|23_11|23_12|23_13|23_14|24_3|24_4|24_5|24_6|24_7|24_8|24_9|24_10|24_11|24_12|24_13|24_14"; scene_data["render_fns_list"] = "render_desert2,render_common_0001,render_warp_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_common_0004,render_common_0003,render_indoors_asset_0009,render_person_0011,render_ocean_0006,render_ocean_0008,render_ocean_0005"; scene_data["render_common_0001_coordinates"] = "0_8,1_8,2_8,3_8,4_8,6_8,6_9,6_10,7_10,7_11,7_12,8_10,8_12,9_10,9_12,10_8,10_9,10_10,10_11,10_12,12_9"; scene_data["render_warp_0001_coordinates"] = "5_8,16_9"; scene_data["render_building_0001_coordinates"] = "7_8"; scene_data["render_building_0005_coordinates"] = "7_9"; scene_data["render_building_0002_coordinates"] = "8_8"; scene_data["render_building_0004_coordinates"] = "8_9"; scene_data["render_common_0004_coordinates"] = "8_11"; scene_data["render_common_0003_coordinates"] = "9_11"; scene_data["render_indoors_asset_0009_coordinates"] = "11_8,11_10,12_8,12_10,13_8,13_10,14_8,14_10,15_8,15_10"; scene_data["render_person_0011_coordinates"] = "11_9"; scene_data["render_ocean_0006_coordinates"] = "13_9"; scene_data["render_ocean_0008_coordinates"] = "14_9,15_9,16_8,16_10,17_3,17_4,17_5,17_6,17_7,17_8,17_9,17_10,17_11,17_12,17_13,17_14,18_3,18_4,18_5,18_6,18_7,18_8,18_9,18_10,18_11,18_12,18_13,18_14,19_3,19_4,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_14,20_3,20_4,20_5,20_6,20_7,20_8,20_9,20_10,20_11,20_12,20_13,20_14,21_3,21_4,21_5,21_6,21_7,21_8,21_9,21_10,21_11,21_12,21_13,21_14,22_3,22_4,22_5,22_6,22_7,22_8,22_9,22_10,22_11,22_12,22_13,22_14,23_3,23_4,23_5,23_6,23_7,23_8,23_9,23_10,23_11,23_12,23_13,23_14,24_3,24_4,24_5,24_6,24_7,24_8,24_9,24_10,24_11,24_12,24_13,24_14"; scene_data["render_ocean_0005_coordinates"] = "16_3,16_4,16_5,16_6,16_7,16_11,16_12,16_13,16_14"; scene_data["default_tile"] = render_desert2; scene_data["default_tile_name"] = "render_desert2"; SCENE_DATA = scene_data; end function enter_scene_0121() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 132; scene_data["tile_y_count"] = 40; scene_data["name"] = "Faros Islands First Scene"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {-4}; scene_data["monster_gold_inflation"] = {55}; scene_data["on_entrance"] = function() PUT_STATE("eoto", 121, 1, "entered the scene");local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"10,13","14,29","34,22","45,22","63,14","90,35","113,21"}; scene_data["boat_exit_coords"] = {"10,12","14,28","34,21","45,21","63,13","90,34","113,20"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_10,13"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_14,29"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_34,22"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_45,22"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_63,14"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_90,35"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_113,21"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_10,13"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_10,13"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_14,29"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_14,29"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_34,22"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_34,22"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_45,22"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_45,22"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_64,14"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_64,14"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_90,35"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_90,35"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_113,21"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_113,21"] = render_ocean_0010; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=9, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b1", 121, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=11, y=11, txt="You obtained 250g", required_dir="up", callback=function() GET_MONEY(250); PUT_STATE("b2", 121, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=11, y=26, txt="You obtained 50g", required_dir="up", callback=function() GET_MONEY(50); PUT_STATE("b3", 121, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=13, y=26, txt="You obtained 750g", required_dir="up", callback=function() GET_MONEY(750); PUT_STATE("b4", 121, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=15, y=26, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b5", 121, 1, "fifth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b5", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=30, y=20, txt="Mermaid: {{new_line}} Hello there Mr. good-looking. Welcome to the Faros Islands. Please enjoy your stay. {{new_line}} {{new_line}} Ren: Thank you! {{new_line}} {{new_line}} Princess Anaya (gasping): {{new_line}} Excuse me?", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=37, y=20, txt="Welcome to the Faros Islands. Should we welcome you, or should you welcome us? Please enjoy your stay, please enjoy your travel. We hope it's the stay.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=65, y=11, txt="You obtained 800g", required_dir="up", callback=function() GET_MONEY(800); PUT_STATE("b8", 121, 1, "box on island"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b8", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=80, y=33, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b9", 121, 1, "box on island"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b9", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=110, y=9, txt="You obtained 400g", required_dir="up", callback=function() GET_MONEY(400); PUT_STATE("b11", 121, 1, "box on island"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b11", 121) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=113, y=17, txt="The path ahead lies east.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=8, after_player_x=15, after_player_y=9, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=5, y=16, scene_number=120, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=12, after_map_y=8, after_player_x=15, after_player_y=9, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=31, y=18, scene_number=0, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=12, after_map_y=8, after_player_x=15, after_player_y=9, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=47, y=19, scene_number=0, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=64, y=10, scene_number=122, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked.", after_map_x=4, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=79, y=32, scene_number=0, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=7, after_player_x=11, after_player_y=8, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=114, y=12, scene_number=123, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=10, after_player_x=6, after_player_y=11, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=126, y=14, scene_number=124, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=36, y=19, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=100, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|0_26|0_27|0_28|0_29|0_30|0_31|0_32|0_33|0_34|0_35|0_36|0_37|0_38|0_39|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|1_26|1_27|1_28|1_29|1_30|1_31|1_32|1_33|1_34|1_35|1_36|1_37|1_38|1_39|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|2_26|2_27|2_28|2_29|2_30|2_31|2_32|2_33|2_34|2_35|2_36|2_37|2_38|2_39|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|3_26|3_27|3_28|3_29|3_30|3_31|3_32|3_33|3_34|3_35|3_36|3_37|3_38|3_39|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|4_26|4_27|4_28|4_29|4_30|4_31|4_32|4_33|4_34|4_35|4_36|4_37|4_38|4_39|5_0|5_1|5_2|5_15|5_17|5_37|5_38|5_39|6_0|6_1|6_2|6_37|6_38|6_39|7_0|7_1|7_2|7_9|7_37|7_38|7_39|8_0|8_1|8_2|8_37|8_38|8_39|9_0|9_1|9_2|9_8|9_9|9_10|9_11|9_12|9_24|9_25|9_26|9_27|9_28|9_37|9_38|9_39|10_0|10_1|10_2|10_8|10_24|10_28|10_32|10_34|10_37|10_38|10_39|11_0|11_1|11_2|11_8|11_10|11_12|11_16|11_19|11_24|11_25|11_28|11_37|11_38|11_39|12_0|12_1|12_2|12_8|12_12|12_16|12_19|12_24|12_28|12_32|12_34|12_37|12_38|12_39|13_0|13_1|13_2|13_8|13_9|13_10|13_11|13_12|13_16|13_17|13_19|13_24|13_25|13_28|13_37|13_38|13_39|14_0|14_1|14_2|14_4|14_16|14_19|14_24|14_33|14_37|14_38|14_39|15_0|15_1|15_2|15_16|15_24|15_25|15_28|15_33|15_37|15_38|15_39|16_0|16_1|16_2|16_4|16_6|16_13|16_24|16_25|16_26|16_27|16_28|16_37|16_38|16_39|17_0|17_1|17_2|17_37|17_38|17_39|18_0|18_1|18_2|18_37|18_38|18_39|19_0|19_1|19_2|19_6|19_37|19_38|19_39|20_0|20_1|20_2|20_17|20_18|20_19|20_24|20_25|20_26|20_37|20_38|20_39|21_0|21_1|21_2|21_11|21_17|21_18|21_19|21_30|21_31|21_37|21_38|21_39|22_0|22_1|22_2|22_6|22_7|22_8|22_11|22_25|22_26|22_37|22_38|22_39|23_0|23_1|23_2|23_11|23_37|23_38|23_39|24_0|24_1|24_2|24_11|24_19|24_28|24_31|24_37|24_38|24_39|25_0|25_1|25_2|25_11|25_37|25_38|25_39|26_0|26_1|26_2|26_14|26_37|26_38|26_39|27_0|27_1|27_2|27_18|27_19|27_20|27_21|27_24|27_25|27_28|27_30|27_31|27_37|27_38|27_39|28_0|28_1|28_2|28_16|28_21|28_24|28_25|28_28|28_31|28_32|28_37|28_38|28_39|29_0|29_1|29_2|29_16|29_17|29_18|29_21|29_28|29_32|29_33|29_37|29_38|29_39|30_0|30_1|30_2|30_16|30_17|30_18|30_19|30_21|30_33|30_34|30_35|30_37|30_38|30_39|31_0|31_1|31_2|31_7|31_9|31_12|31_14|31_16|31_17|31_21|31_37|31_38|31_39|32_0|32_1|32_2|32_5|32_6|32_7|32_8|32_9|32_10|32_11|32_12|32_13|32_14|32_16|32_18|32_20|32_21|32_37|32_38|32_39|33_0|33_1|33_2|33_16|33_20|33_21|33_24|33_29|33_30|33_37|33_38|33_39|34_0|34_1|34_2|34_6|34_7|34_8|34_9|34_10|34_11|34_12|34_16|34_37|34_38|34_39|35_0|35_1|35_2|35_7|35_9|35_11|35_16|35_18|35_19|35_21|35_37|35_38|35_39|36_0|36_1|36_2|36_16|36_18|36_21|36_24|36_25|36_26|36_27|36_37|36_38|36_39|37_0|37_1|37_2|37_16|37_19|37_21|37_24|37_25|37_26|37_27|37_33|37_34|37_37|37_38|37_39|38_0|38_1|38_2|38_7|38_14|38_16|38_19|38_21|38_33|38_37|38_38|38_39|39_0|39_1|39_2|39_6|39_7|39_14|39_16|39_17|39_19|39_21|39_29|39_37|39_38|39_39|40_0|40_1|40_2|40_6|40_7|40_14|40_16|40_21|40_29|40_37|40_38|40_39|41_0|41_1|41_2|41_6|41_7|41_11|41_16|41_17|41_18|41_19|41_20|41_21|41_24|41_29|41_37|41_38|41_39|42_0|42_1|42_2|42_6|42_7|42_11|42_16|42_19|42_21|42_24|42_29|42_33|42_37|42_38|42_39|43_0|43_1|43_2|43_7|43_11|43_14|43_16|43_21|43_33|43_34|43_35|43_37|43_38|43_39|44_0|44_1|44_2|44_16|44_18|44_19|44_20|44_21|44_33|44_37|44_38|44_39|45_0|45_1|45_2|45_16|45_24|45_29|45_37|45_38|45_39|46_0|46_1|46_2|46_9|46_10|46_11|46_12|46_16|46_18|46_19|46_21|46_24|46_29|46_37|46_38|46_39|47_0|47_1|47_2|47_16|47_18|47_21|47_26|47_31|47_32|47_37|47_38|47_39|48_0|48_1|48_2|48_16|48_21|48_37|48_38|48_39|49_0|49_1|49_2|49_17|49_18|49_19|49_20|49_21|49_37|49_38|49_39|50_0|50_1|50_2|50_37|50_38|50_39|51_0|51_1|51_2|51_37|51_38|51_39|52_0|52_1|52_2|52_11|52_15|52_16|52_17|52_37|52_38|52_39|53_0|53_1|53_2|53_11|53_16|53_17|53_18|53_24|53_25|53_26|53_37|53_38|53_39|54_0|54_1|54_2|54_10|54_11|54_24|54_25|54_26|54_37|54_38|54_39|55_0|55_1|55_2|55_37|55_38|55_39|56_0|56_1|56_2|56_11|56_29|56_31|56_37|56_38|56_39|57_0|57_1|57_2|57_7|57_11|57_12|57_19|57_20|57_29|57_31|57_37|57_38|57_39|58_0|58_1|58_2|58_7|58_24|58_29|58_37|58_38|58_39|59_0|59_1|59_2|59_7|59_24|59_37|59_38|59_39|60_0|60_1|60_2|60_7|60_13|60_14|60_17|60_33|60_37|60_38|60_39|61_0|61_1|61_2|61_8|61_9|61_10|61_11|61_12|61_13|61_17|61_33|61_37|61_38|61_39|62_0|62_1|62_2|62_7|62_13|62_20|62_21|62_22|62_23|62_33|62_34|62_37|62_38|62_39|63_0|63_1|63_2|63_7|63_9|63_10|63_33|63_37|63_38|63_39|64_0|64_1|64_2|64_7|64_9|64_13|64_17|64_24|64_25|64_26|64_33|64_37|64_38|64_39|65_0|65_1|65_2|65_7|65_10|65_13|65_17|65_26|65_27|65_37|65_38|65_39|66_0|66_1|66_2|66_7|66_13|66_17|66_27|66_37|66_38|66_39|67_0|67_1|67_2|67_8|67_9|67_10|67_11|67_12|67_13|67_14|67_15|67_16|67_17|67_18|67_19|67_20|67_21|67_22|67_23|67_37|67_38|67_39|68_0|68_1|68_2|68_23|68_24|68_29|68_30|68_31|68_37|68_38|68_39|69_0|69_1|69_2|69_7|69_11|69_37|69_38|69_39|70_0|70_1|70_2|70_8|70_9|70_10|70_11|70_17|70_18|70_37|70_38|70_39|71_0|71_1|71_2|71_33|71_34|71_37|71_38|71_39|72_0|72_1|72_2|72_5|72_11|72_12|72_13|72_14|72_15|72_18|72_24|72_25|72_26|72_27|72_28|72_30|72_37|72_38|72_39|73_0|73_1|73_2|73_24|73_25|73_26|73_27|73_28|73_37|73_38|73_39|74_0|74_1|74_2|74_5|74_11|74_37|74_38|74_39|75_0|75_1|75_2|75_15|75_28|75_37|75_38|75_39|76_0|76_1|76_2|76_28|76_31|76_32|76_33|76_34|76_37|76_38|76_39|77_0|77_1|77_2|77_8|77_9|77_10|77_11|77_16|77_17|77_30|77_34|77_37|77_38|77_39|78_0|78_1|78_2|78_24|78_25|78_30|78_31|78_32|78_34|78_37|78_38|78_39|79_0|79_1|79_2|79_24|79_25|79_30|79_31|79_34|79_37|79_38|79_39|80_0|80_1|80_2|80_5|80_12|80_30|80_32|80_34|80_37|80_38|80_39|81_0|81_1|81_2|81_30|81_34|81_37|81_38|81_39|82_0|82_1|82_2|82_21|82_22|82_25|82_26|82_30|82_32|82_33|82_34|82_37|82_38|82_39|83_0|83_1|83_2|83_8|83_9|83_10|83_11|83_14|83_16|83_19|83_30|83_34|83_37|83_38|83_39|84_0|84_1|84_2|84_5|84_8|84_9|84_10|84_11|84_14|84_16|84_19|84_30|84_31|84_32|84_34|84_37|84_38|84_39|85_0|85_1|85_2|85_30|85_32|85_34|85_37|85_38|85_39|86_0|86_1|86_2|86_30|86_34|86_37|86_38|86_39|87_0|87_1|87_2|87_5|87_24|87_25|87_26|87_30|87_32|87_33|87_34|87_37|87_38|87_39|88_0|88_1|88_2|88_30|88_34|88_37|88_38|88_39|89_0|89_1|89_2|89_8|89_11|89_12|89_13|89_17|89_18|89_20|89_22|89_30|89_31|89_34|89_37|89_38|89_39|90_0|90_1|90_2|90_28|90_30|90_37|90_38|90_39|91_0|91_1|91_2|91_30|91_31|91_34|91_37|91_38|91_39|92_0|92_1|92_2|92_31|92_32|92_33|92_34|92_37|92_38|92_39|93_0|93_1|93_2|93_5|93_37|93_38|93_39|94_0|94_1|94_2|94_12|94_13|94_14|94_37|94_38|94_39|95_0|95_1|95_2|95_37|95_38|95_39|96_0|96_1|96_2|96_24|96_30|96_31|96_32|96_37|96_38|96_39|97_0|97_1|97_2|97_5|97_24|97_37|97_38|97_39|98_0|98_1|98_2|98_8|98_9|98_10|98_11|98_24|98_37|98_38|98_39|99_0|99_1|99_2|99_8|99_9|99_10|99_11|99_24|99_37|99_38|99_39|100_0|100_1|100_2|100_13|100_16|100_19|100_24|100_30|100_37|100_38|100_39|101_0|101_1|101_2|101_5|101_30|101_34|101_37|101_38|101_39|102_0|102_1|102_2|102_37|102_38|102_39|103_0|103_1|103_2|103_37|103_38|103_39|104_0|104_1|104_2|104_24|104_30|104_31|104_37|104_38|104_39|105_0|105_1|105_2|105_5|105_9|105_10|105_13|105_14|105_15|105_24|105_34|105_37|105_38|105_39|106_0|106_1|106_2|106_37|106_38|106_39|107_0|107_1|107_2|107_37|107_38|107_39|108_0|108_1|108_2|108_37|108_38|108_39|109_0|109_1|109_2|109_8|109_9|109_10|109_11|109_12|109_13|109_14|109_15|109_16|109_17|109_18|109_19|109_20|109_37|109_38|109_39|110_0|110_1|110_2|110_7|110_8|110_10|110_11|110_12|110_13|110_20|110_37|110_38|110_39|111_0|111_1|111_2|111_7|111_8|111_10|111_11|111_12|111_16|111_20|111_24|111_26|111_28|111_32|111_37|111_38|111_39|112_0|112_1|112_2|112_4|112_7|112_8|112_10|112_11|112_12|112_14|112_16|112_19|112_20|112_24|112_26|112_32|112_37|112_38|112_39|113_0|113_1|113_2|113_4|113_7|113_10|113_11|113_12|113_16|113_24|113_32|113_37|113_38|113_39|114_0|114_1|114_2|114_4|114_7|114_10|114_11|114_14|114_15|114_16|114_19|114_20|114_37|114_38|114_39|115_0|115_1|115_2|115_7|115_12|115_16|115_20|115_37|115_38|115_39|116_0|116_1|116_2|116_7|116_8|116_10|116_11|116_12|116_16|116_17|116_18|116_20|116_34|116_37|116_38|116_39|117_0|117_1|117_2|117_7|117_8|117_20|117_37|117_38|117_39|118_0|118_1|118_2|118_8|118_9|118_10|118_11|118_12|118_13|118_14|118_15|118_16|118_17|118_18|118_19|118_20|118_37|118_38|118_39|119_0|119_1|119_2|119_24|119_25|119_32|119_33|119_34|119_37|119_38|119_39|120_0|120_1|120_2|120_18|120_19|120_20|120_28|120_37|120_38|120_39|121_0|121_1|121_2|121_6|121_13|121_15|121_37|121_38|121_39|122_0|122_1|122_2|122_6|122_9|122_13|122_15|122_25|122_26|122_37|122_38|122_39|123_0|123_1|123_2|123_9|123_13|123_15|123_18|123_33|123_37|123_38|123_39|124_0|124_1|124_2|124_13|124_15|124_37|124_38|124_39|125_0|125_1|125_2|125_13|125_15|125_37|125_38|125_39|126_0|126_1|126_2|126_15|126_37|126_38|126_39|127_0|127_1|127_2|127_3|127_4|127_5|127_6|127_7|127_8|127_9|127_10|127_11|127_12|127_13|127_15|127_16|127_17|127_18|127_19|127_20|127_21|127_22|127_23|127_24|127_25|127_26|127_27|127_28|127_29|127_30|127_31|127_32|127_33|127_34|127_35|127_36|127_37|127_38|127_39|128_0|128_1|128_2|128_3|128_4|128_5|128_6|128_7|128_8|128_9|128_10|128_11|128_12|128_13|128_15|128_16|128_17|128_18|128_19|128_20|128_21|128_22|128_23|128_24|128_25|128_26|128_27|128_28|128_29|128_30|128_31|128_32|128_33|128_34|128_35|128_36|128_37|128_38|128_39|129_0|129_1|129_2|129_3|129_4|129_5|129_6|129_7|129_8|129_9|129_10|129_11|129_12|129_13|129_15|129_16|129_17|129_18|129_19|129_20|129_21|129_22|129_23|129_24|129_25|129_26|129_27|129_28|129_29|129_30|129_31|129_32|129_33|129_34|129_35|129_36|129_37|129_38|129_39|130_0|130_1|130_2|130_3|130_4|130_5|130_6|130_7|130_8|130_9|130_10|130_11|130_12|130_13|130_15|130_16|130_17|130_18|130_19|130_20|130_21|130_22|130_23|130_24|130_25|130_26|130_27|130_28|130_29|130_30|130_31|130_32|130_33|130_34|130_35|130_36|130_37|130_38|130_39|131_0|131_1|131_2|131_3|131_4|131_5|131_6|131_7|131_8|131_9|131_10|131_11|131_12|131_13|131_15|131_16|131_17|131_18|131_19|131_20|131_21|131_22|131_23|131_24|131_25|131_26|131_27|131_28|131_29|131_30|131_31|131_32|131_33|131_34|131_35|131_36|131_37|131_38|131_39"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_common_0003,render_common_0001,render_ocean_0003,render_desert2,render_ocean_0005,render_building_0001,render_building_0011,render_building_0006,render_common_0002,render_person_0013,render_building_0002,render_building_0004,render_building_0005,render_common_0004,render_building_0009"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,0_26,0_27,0_28,0_29,0_30,0_31,0_32,0_33,0_34,0_35,0_36,0_37,0_38,0_39,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,1_26,1_27,1_28,1_29,1_30,1_31,1_32,1_33,1_34,1_35,1_36,1_37,1_38,1_39,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,2_26,2_27,2_28,2_29,2_30,2_31,2_32,2_33,2_34,2_35,2_36,2_37,2_38,2_39,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,3_26,3_27,3_28,3_29,3_30,3_31,3_32,3_33,3_34,3_35,3_36,3_37,3_38,3_39,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,4_26,4_27,4_28,4_29,4_30,4_31,4_32,4_33,4_34,4_35,4_36,4_37,4_38,4_39,5_0,5_1,5_2,5_15,5_17,5_37,5_38,5_39,6_0,6_1,6_2,6_37,6_38,6_39,7_0,7_1,7_2,7_9,7_37,7_38,7_39,8_0,8_1,8_2,8_37,8_38,8_39,9_0,9_1,9_2,9_37,9_38,9_39,10_0,10_1,10_2,10_32,10_34,10_37,10_38,10_39,11_0,11_1,11_2,11_37,11_38,11_39,12_0,12_1,12_2,12_32,12_34,12_37,12_38,12_39,13_0,13_1,13_2,13_37,13_38,13_39,14_0,14_1,14_2,14_4,14_33,14_37,14_38,14_39,15_0,15_1,15_2,15_33,15_37,15_38,15_39,16_0,16_1,16_2,16_4,16_6,16_13,16_37,16_38,16_39,17_0,17_1,17_2,17_37,17_38,17_39,18_0,18_1,18_2,18_37,18_38,18_39,19_0,19_1,19_2,19_6,19_37,19_38,19_39,20_0,20_1,20_2,20_37,20_38,20_39,21_0,21_1,21_2,21_37,21_38,21_39,22_0,22_1,22_2,22_6,22_7,22_8,22_37,22_38,22_39,23_0,23_1,23_2,23_37,23_38,23_39,24_0,24_1,24_2,24_19,24_37,24_38,24_39,25_0,25_1,25_2,25_37,25_38,25_39,26_0,26_1,26_2,26_14,26_37,26_38,26_39,27_0,27_1,27_2,27_28,27_30,27_31,27_37,27_38,27_39,28_0,28_1,28_2,28_28,28_31,28_32,28_37,28_38,28_39,29_0,29_1,29_2,29_28,29_32,29_33,29_37,29_38,29_39,30_0,30_1,30_2,30_33,30_34,30_35,30_37,30_38,30_39,31_0,31_1,31_2,31_7,31_9,31_12,31_14,31_37,31_38,31_39,32_0,32_1,32_2,32_5,32_6,32_7,32_8,32_9,32_10,32_11,32_12,32_13,32_14,32_37,32_38,32_39,33_0,33_1,33_2,33_37,33_38,33_39,34_0,34_1,34_2,34_6,34_7,34_8,34_9,34_10,34_11,34_12,34_37,34_38,34_39,35_0,35_1,35_2,35_7,35_9,35_11,35_37,35_38,35_39,36_0,36_1,36_2,36_37,36_38,36_39,37_0,37_1,37_2,37_33,37_34,37_37,37_38,37_39,38_0,38_1,38_2,38_7,38_14,38_33,38_37,38_38,38_39,39_0,39_1,39_2,39_6,39_7,39_14,39_37,39_38,39_39,40_0,40_1,40_2,40_6,40_7,40_14,40_37,40_38,40_39,41_0,41_1,41_2,41_6,41_7,41_11,41_37,41_38,41_39,42_0,42_1,42_2,42_6,42_7,42_11,42_33,42_37,42_38,42_39,43_0,43_1,43_2,43_7,43_11,43_14,43_33,43_34,43_35,43_37,43_38,43_39,44_0,44_1,44_2,44_33,44_37,44_38,44_39,45_0,45_1,45_2,45_37,45_38,45_39,46_0,46_1,46_2,46_37,46_38,46_39,47_0,47_1,47_2,47_37,47_38,47_39,48_0,48_1,48_2,48_37,48_38,48_39,49_0,49_1,49_2,49_37,49_38,49_39,50_0,50_1,50_2,50_37,50_38,50_39,51_0,51_1,51_2,51_37,51_38,51_39,52_0,52_1,52_2,52_11,52_37,52_38,52_39,53_0,53_1,53_2,53_11,53_37,53_38,53_39,54_0,54_1,54_2,54_10,54_11,54_37,54_38,54_39,55_0,55_1,55_2,55_37,55_38,55_39,56_0,56_1,56_2,56_11,56_37,56_38,56_39,57_0,57_1,57_2,57_7,57_11,57_12,57_19,57_20,57_37,57_38,57_39,58_0,58_1,58_2,58_7,58_37,58_38,58_39,59_0,59_1,59_2,59_7,59_37,59_38,59_39,60_0,60_1,60_2,60_7,60_13,60_14,60_17,60_33,60_37,60_38,60_39,61_0,61_1,61_2,61_17,61_33,61_37,61_38,61_39,62_0,62_1,62_2,62_33,62_34,62_37,62_38,62_39,63_0,63_1,63_2,63_33,63_37,63_38,63_39,64_0,64_1,64_2,64_17,64_24,64_25,64_26,64_33,64_37,64_38,64_39,65_0,65_1,65_2,65_17,65_26,65_27,65_37,65_38,65_39,66_0,66_1,66_2,66_17,66_27,66_37,66_38,66_39,67_0,67_1,67_2,67_14,67_15,67_16,67_17,67_18,67_19,67_20,67_21,67_22,67_23,67_37,67_38,67_39,68_0,68_1,68_2,68_23,68_24,68_29,68_30,68_31,68_37,68_38,68_39,69_0,69_1,69_2,69_37,69_38,69_39,70_0,70_1,70_2,70_17,70_18,70_37,70_38,70_39,71_0,71_1,71_2,71_33,71_34,71_37,71_38,71_39,72_0,72_1,72_2,72_18,72_30,72_37,72_38,72_39,73_0,73_1,73_2,73_37,73_38,73_39,74_0,74_1,74_2,74_37,74_38,74_39,75_0,75_1,75_2,75_37,75_38,75_39,76_0,76_1,76_2,76_37,76_38,76_39,77_0,77_1,77_2,77_16,77_17,77_37,77_38,77_39,78_0,78_1,78_2,78_37,78_38,78_39,79_0,79_1,79_2,79_37,79_38,79_39,80_0,80_1,80_2,80_37,80_38,80_39,81_0,81_1,81_2,81_37,81_38,81_39,82_0,82_1,82_2,82_21,82_22,82_25,82_26,82_37,82_38,82_39,83_0,83_1,83_2,83_37,83_38,83_39,84_0,84_1,84_2,84_37,84_38,84_39,85_0,85_1,85_2,85_37,85_38,85_39,86_0,86_1,86_2,86_37,86_38,86_39,87_0,87_1,87_2,87_37,87_38,87_39,88_0,88_1,88_2,88_37,88_38,88_39,89_0,89_1,89_2,89_8,89_11,89_12,89_13,89_17,89_18,89_20,89_22,89_37,89_38,89_39,90_0,90_1,90_2,90_37,90_38,90_39,91_0,91_1,91_2,91_37,91_38,91_39,92_0,92_1,92_2,92_37,92_38,92_39,93_0,93_1,93_2,93_37,93_38,93_39,94_0,94_1,94_2,94_37,94_38,94_39,95_0,95_1,95_2,95_37,95_38,95_39,96_0,96_1,96_2,96_37,96_38,96_39,97_0,97_1,97_2,97_37,97_38,97_39,98_0,98_1,98_2,98_37,98_38,98_39,99_0,99_1,99_2,99_37,99_38,99_39,100_0,100_1,100_2,100_13,100_16,100_19,100_37,100_38,100_39,101_0,101_1,101_2,101_34,101_37,101_38,101_39,102_0,102_1,102_2,102_37,102_38,102_39,103_0,103_1,103_2,103_37,103_38,103_39,104_0,104_1,104_2,104_37,104_38,104_39,105_0,105_1,105_2,105_34,105_37,105_38,105_39,106_0,106_1,106_2,106_37,106_38,106_39,107_0,107_1,107_2,107_37,107_38,107_39,108_0,108_1,108_2,108_37,108_38,108_39,109_0,109_1,109_2,109_37,109_38,109_39,110_0,110_1,110_2,110_37,110_38,110_39,111_0,111_1,111_2,111_37,111_38,111_39,112_0,112_1,112_2,112_37,112_38,112_39,113_0,113_1,113_2,113_37,113_38,113_39,114_0,114_1,114_2,114_37,114_38,114_39,115_0,115_1,115_2,115_37,115_38,115_39,116_0,116_1,116_2,116_34,116_37,116_38,116_39,117_0,117_1,117_2,117_37,117_38,117_39,118_0,118_1,118_2,118_37,118_38,118_39,119_0,119_1,119_2,119_37,119_38,119_39,120_0,120_1,120_2,120_37,120_38,120_39,121_0,121_1,121_2,121_13,121_15,121_37,121_38,121_39,122_0,122_1,122_2,122_13,122_15,122_37,122_38,122_39,123_0,123_1,123_2,123_13,123_15,123_18,123_37,123_38,123_39,124_0,124_1,124_2,124_13,124_15,124_37,124_38,124_39,125_0,125_1,125_2,125_13,125_15,125_37,125_38,125_39,126_0,126_1,126_2,126_15,126_37,126_38,126_39,127_0,127_1,127_2,127_3,127_4,127_5,127_6,127_7,127_8,127_9,127_10,127_11,127_12,127_13,127_15,127_16,127_17,127_18,127_19,127_20,127_21,127_22,127_23,127_24,127_25,127_26,127_27,127_28,127_29,127_30,127_31,127_32,127_33,127_34,127_35,127_36,127_37,127_38,127_39,128_0,128_1,128_2,128_3,128_4,128_5,128_6,128_7,128_8,128_9,128_10,128_11,128_12,128_13,128_15,128_16,128_17,128_18,128_19,128_20,128_21,128_22,128_23,128_24,128_25,128_26,128_27,128_28,128_29,128_30,128_31,128_32,128_33,128_34,128_35,128_36,128_37,128_38,128_39,129_0,129_1,129_2,129_3,129_4,129_5,129_6,129_7,129_8,129_9,129_10,129_11,129_12,129_13,129_15,129_16,129_17,129_18,129_19,129_20,129_21,129_22,129_23,129_24,129_25,129_26,129_27,129_28,129_29,129_30,129_31,129_32,129_33,129_34,129_35,129_36,129_37,129_38,129_39,130_0,130_1,130_2,130_3,130_4,130_5,130_6,130_7,130_8,130_9,130_10,130_11,130_12,130_13,130_15,130_16,130_17,130_18,130_19,130_20,130_21,130_22,130_23,130_24,130_25,130_26,130_27,130_28,130_29,130_30,130_31,130_32,130_33,130_34,130_35,130_36,130_37,130_38,130_39,131_0,131_1,131_2,131_3,131_4,131_5,131_6,131_7,131_8,131_9,131_10,131_11,131_12,131_13,131_15,131_16,131_17,131_18,131_19,131_20,131_21,131_22,131_23,131_24,131_25,131_26,131_27,131_28,131_29,131_30,131_31,131_32,131_33,131_34,131_35,131_36,131_37,131_38,131_39"; scene_data["render_warp_0001_coordinates"] = "5_16,126_14"; scene_data["render_ocean_0004_coordinates"] = "9_8,9_9,9_10,9_11,9_12,9_24,9_25,9_26,9_27,9_28,20_17,20_18,20_19,20_24,20_25,20_26,22_25,22_26,27_18,27_19,27_20,27_21,27_24,27_25,33_24,33_29,33_30,36_24,36_25,36_26,36_27,46_9,46_10,46_11,46_12,47_26,47_31,47_32,52_15,52_16,52_17,53_16,53_17,53_18,53_24,53_25,53_26,58_24,61_8,61_9,61_10,61_11,61_12,61_13,62_20,62_21,62_22,62_23,69_7,69_11,70_8,70_9,70_10,70_11,72_24,72_25,72_26,72_27,72_28,74_11,75_28,76_31,76_32,76_33,76_34,77_8,77_9,77_10,77_11,78_24,78_25,83_8,83_9,83_10,83_11,83_14,83_16,83_19,90_28,96_30,96_31,96_32,98_8,98_9,98_10,98_11,104_30,104_31,109_8,109_9,109_10,109_11,109_12,109_13,109_14,109_15,109_16,109_17,109_18,109_19,109_20,119_24,119_25,119_32,119_33,119_34,120_18,120_19,120_20,122_25,122_26,123_33"; scene_data["render_common_0003_coordinates"] = "10_8,11_10,11_25,13_25,15_25,65_10,80_32,110_8"; scene_data["render_common_0001_coordinates"] = "10_9,10_10,10_11,10_12,10_25,10_26,10_27,11_9,11_11,11_26,11_27,12_9,12_10,12_11,12_25,12_26,12_27,13_26,13_27,14_25,14_26,14_27,14_28,15_26,15_27,28_17,28_18,28_19,28_20,29_19,29_20,30_20,31_19,31_20,32_17,32_19,33_17,33_18,33_19,34_17,34_18,34_19,34_20,34_21,35_17,35_20,36_17,36_20,37_17,37_18,37_20,38_17,38_18,38_20,39_18,39_20,40_17,40_18,40_19,40_20,42_17,42_18,42_20,43_17,43_18,43_19,43_20,44_17,45_17,45_18,45_19,45_20,45_21,46_17,46_20,47_17,47_20,48_17,48_18,48_19,48_20,62_8,62_9,62_10,62_11,62_12,63_8,63_11,63_12,63_13,64_8,64_11,64_12,65_8,65_9,65_11,65_12,66_8,66_9,66_10,66_11,66_12,77_31,77_32,77_33,78_33,79_33,80_31,80_33,81_31,81_32,81_33,82_31,83_31,83_32,83_33,84_33,85_31,85_33,86_31,86_32,86_33,87_31,88_31,88_32,88_33,89_32,89_33,90_31,90_32,90_33,90_34,91_32,91_33,110_9,110_14,110_15,110_16,110_17,110_18,110_19,111_9,111_13,111_14,111_15,111_17,111_18,111_19,112_9,112_13,112_15,112_17,112_18,113_8,113_9,113_13,113_14,113_15,113_17,113_18,113_19,113_20,114_8,114_9,114_13,114_17,114_18,115_8,115_9,115_10,115_11,115_13,115_14,115_15,115_17,115_18,115_19,116_9,116_13,116_14,116_15,116_19,117_9,117_10,117_11,117_12,117_13,117_14,117_15,117_16,117_17,117_18,117_19"; scene_data["render_ocean_0003_coordinates"] = "10_24,11_16,11_19,11_24,12_16,12_19,12_24,13_16,13_17,13_19,13_24,14_16,14_19,14_24,15_16,15_24,21_11,22_11,23_11,24_11,25_11,28_16,29_16,30_16,31_16,32_16,33_16,34_16,35_16,36_16,37_16,38_16,39_16,39_29,40_16,40_29,41_16,41_24,41_29,42_16,42_24,42_29,43_16,44_16,45_16,45_24,45_29,46_16,46_24,46_29,47_16,48_16,56_29,56_31,57_29,57_31,58_29,62_7,63_7,64_7,65_7,66_7,77_30,78_30,79_30,80_30,81_30,82_30,83_30,84_30,85_30,86_30,87_30,88_30,89_30,90_30,91_30,96_24,97_24,98_24,99_24,100_24,100_30,101_30,104_24,105_24,110_7,111_7,111_24,111_26,111_28,111_32,112_4,112_7,112_24,112_26,112_32,113_4,113_7,113_24,113_32,114_4,114_7,115_7,116_7,117_7,120_28,121_6,122_6,122_9,123_9"; scene_data["render_desert2_coordinates"] = "10_28,11_8,11_12,11_28,12_8,12_12,12_28,13_28,15_28,28_21,29_21,30_21,31_21,32_18,32_20,32_21,33_20,33_21,35_21,36_21,37_21,38_19,38_21,39_17,39_19,39_21,40_21,41_17,41_18,41_19,41_20,41_21,42_19,42_21,43_21,44_18,44_19,44_20,44_21,46_21,47_21,48_21,62_13,64_13,65_13,66_13,77_34,78_34,79_34,80_34,81_34,82_32,82_33,82_34,83_34,84_31,84_32,84_34,85_32,85_34,86_34,87_32,87_33,87_34,88_34,89_31,89_34,91_31,91_34,110_13,110_20,111_8,111_16,111_20,112_8,112_14,112_16,112_19,112_20,114_14,114_15,114_16,114_19,114_20,115_12,115_16,115_20,116_8,116_10,116_11,116_12,116_16,116_17,116_18,116_20,117_8,117_20"; scene_data["render_ocean_0005_coordinates"] = "13_8,13_9,13_10,13_11,13_12,16_24,16_25,16_26,16_27,16_28,21_17,21_18,21_19,21_30,21_31,24_28,24_31,28_24,28_25,37_24,37_25,37_26,37_27,49_17,49_18,49_19,49_20,49_21,54_24,54_25,54_26,59_24,67_8,67_9,67_10,67_11,67_12,67_13,72_5,72_11,72_12,72_13,72_14,72_15,73_24,73_25,73_26,73_27,73_28,74_5,75_15,76_28,79_24,79_25,80_5,80_12,84_5,84_8,84_9,84_10,84_11,84_14,84_16,84_19,87_5,87_24,87_25,87_26,92_31,92_32,92_33,92_34,93_5,94_12,94_13,94_14,97_5,99_8,99_9,99_10,99_11,101_5,105_5,105_9,105_10,105_13,105_14,105_15,118_8,118_9,118_10,118_11,118_12,118_13,118_14,118_15,118_16,118_17,118_18,118_19,118_20"; scene_data["render_building_0001_coordinates"] = "29_17,35_18,46_18,63_9,78_31,110_10"; scene_data["render_building_0011_coordinates"] = "29_18,46_19,63_10,78_32,110_11,110_12"; scene_data["render_building_0006_coordinates"] = "30_17,111_10,112_10,113_10"; scene_data["render_common_0002_coordinates"] = "30_18,111_11,111_12"; scene_data["render_person_0013_coordinates"] = "30_19"; scene_data["render_building_0002_coordinates"] = "31_17,36_18,47_18,64_9,79_31,114_10"; scene_data["render_building_0004_coordinates"] = "31_18,36_19,47_19,64_10,79_32,114_12"; scene_data["render_building_0005_coordinates"] = "35_19"; scene_data["render_common_0004_coordinates"] = "37_19,113_16"; scene_data["render_building_0009_coordinates"] = "112_11,112_12,113_11,113_12,114_11"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0122() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 10; scene_data["name"] = "House - Top row of islands - second from the left"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=6, y=5, txt="Woman: {{new_line}} Indeed. Our islands are large, and we welcome you to our great gravitas. Lovely young woman, there with you. {{new_line}} {{new_line}} Princess Anaya: {{new_line}} Why thank you!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=62, after_map_y=8, after_player_x=64, after_player_y=11, after_screen_x=2, after_screen_y=3, after_player_dir="down", x=6, y=6, scene_number=121, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|6_5|6_6|7_4|7_5|8_4|8_5|8_6|9_3|9_4|10_4|10_5|10_6"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_person_0013,render_warp_0001,render_indoors_asset_0008,render_indoors_asset_0014"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,6_5,7_4,7_5,8_4,8_5,8_6,9_3,9_4,10_4,10_5,10_6"; scene_data["render_person_0013_coordinates"] = "6_4"; scene_data["render_warp_0001_coordinates"] = "6_6"; scene_data["render_indoors_asset_0008_coordinates"] = "8_3"; scene_data["render_indoors_asset_0014_coordinates"] = "10_3"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0123() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 18; scene_data["tile_y_count"] = 14; scene_data["name"] = "Last House on the right side of map"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="Mermaid: {{new_line}} You are searching for our land's gem? Rumor has spoken that it always lies in the east. Do be careful to take caution, however. It will be heavily guarded. {{new_line}} {{new_line}} Princess Anaya: {{new_line}} Can you say more? {{new_line}} {{new_line}} Ren: {{new_line}} Yes, more clarity would help. {{new_line}} {{new_line}} Mermaid: {{new_line}} Splash splash, enjoy the waves (winks).", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=112, after_map_y=11, after_player_x=114, after_player_y=13, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=11, y=10, scene_number=121, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_10|6_4|6_10|7_4|7_5|7_6|7_7|7_8|7_9|7_10|8_4|8_10|9_4|9_7|9_8|9_9|9_10|10_4|10_7|10_8|11_3|11_4|11_5|11_7|11_8|11_9|11_10|12_4|12_7|12_8"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_person_0013,render_warp_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3,5_5,10_3,12_3"; scene_data["render_common_0001_coordinates"] = "5_4,5_10,6_4,6_10,7_4,7_5,7_6,7_7,7_8,7_9,7_10,8_4,8_10,9_4,9_7,9_8,9_9,9_10,10_4,10_7,10_8,11_3,11_4,11_5,11_7,11_8,11_9,12_4,12_7,12_8"; scene_data["render_indoors_asset_0014_coordinates"] = "6_3,6_5,10_5,12_5"; scene_data["render_person_0013_coordinates"] = "7_3"; scene_data["render_warp_0001_coordinates"] = "11_10"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0124() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 114; scene_data["tile_y_count"] = 26; scene_data["name"] = "second scene in faros islands"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"20,13","71,18"}; scene_data["boat_exit_coords"] = {"20,12","71,17"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_20,13"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_71,18"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_20,13"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_20,13"] = render_ocean_0010; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_71,18"] = render_ocean_0001; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_71,18"] = render_ocean_0010; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=68, y=15, txt="You obtained 2500g", required_dir="up", callback=function() GET_MONEY(2500); PUT_STATE("b1", 124, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 124) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=123, after_map_y=12, after_player_x=125, after_player_y=14, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=11, scene_number=121, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=8, after_player_x=6, after_player_y=9, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=108, y=16, scene_number=125, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=18, y=8, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=800, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|5_0|5_1|5_2|5_23|5_24|5_25|6_0|6_1|6_2|6_23|6_24|6_25|7_0|7_1|7_2|7_5|7_7|7_8|7_13|7_14|7_15|7_18|7_23|7_24|7_25|8_0|8_1|8_2|8_5|8_18|8_20|8_23|8_24|8_25|9_0|9_1|9_2|9_5|9_12|9_18|9_20|9_23|9_24|9_25|10_0|10_1|10_2|10_5|10_10|10_12|10_13|10_16|10_18|10_23|10_24|10_25|11_0|11_1|11_2|11_5|11_8|11_10|11_12|11_13|11_16|11_23|11_24|11_25|12_0|12_1|12_2|12_23|12_24|12_25|13_0|13_1|13_2|13_7|13_10|13_13|13_19|13_23|13_24|13_25|14_0|14_1|14_2|14_19|14_23|14_24|14_25|15_0|15_1|15_2|15_6|15_7|15_8|15_9|15_10|15_11|15_15|15_19|15_23|15_24|15_25|16_0|16_1|16_2|16_5|16_6|16_7|16_8|16_9|16_10|16_12|16_15|16_23|16_24|16_25|17_0|17_1|17_2|17_5|17_6|17_7|17_8|17_10|17_12|17_13|17_15|17_17|17_20|17_23|17_24|17_25|18_0|18_1|18_2|18_5|18_6|18_7|18_10|18_12|18_23|18_24|18_25|19_0|19_1|19_2|19_5|19_6|19_8|19_10|19_11|19_12|19_17|19_23|19_24|19_25|20_0|20_1|20_2|20_5|20_6|20_17|20_19|20_23|20_24|20_25|21_0|21_1|21_2|21_5|21_6|21_8|21_10|21_11|21_12|21_19|21_23|21_24|21_25|22_0|22_1|22_2|22_5|22_6|22_7|22_8|22_9|22_10|22_12|22_23|22_24|22_25|23_0|23_1|23_2|23_6|23_7|23_8|23_9|23_10|23_11|23_14|23_15|23_17|23_23|23_24|23_25|24_0|24_1|24_2|24_12|24_20|24_23|24_24|24_25|25_0|25_1|25_2|25_5|25_23|25_24|25_25|26_0|26_1|26_2|26_8|26_9|26_10|26_14|26_15|26_16|26_18|26_19|26_23|26_24|26_25|27_0|27_1|27_2|27_7|27_11|27_13|27_17|27_23|27_24|27_25|28_0|28_1|28_2|28_5|28_7|28_11|28_13|28_17|28_23|28_24|28_25|29_0|29_1|29_2|29_5|29_7|29_11|29_13|29_17|29_18|29_20|29_23|29_24|29_25|30_0|30_1|30_2|30_5|30_7|30_11|30_14|30_15|30_16|30_18|30_20|30_23|30_24|30_25|31_0|31_1|31_2|31_5|31_7|31_11|31_12|31_15|31_18|31_23|31_24|31_25|32_0|32_1|32_2|32_5|32_7|32_11|32_15|32_23|32_24|32_25|33_0|33_1|33_2|33_8|33_9|33_10|33_23|33_24|33_25|34_0|34_1|34_2|34_23|34_24|34_25|35_0|35_1|35_2|35_12|35_13|35_17|35_19|35_23|35_24|35_25|36_0|36_1|36_2|36_7|36_8|36_10|36_13|36_17|36_23|36_24|36_25|37_0|37_1|37_2|37_23|37_24|37_25|38_0|38_1|38_2|38_6|38_7|38_8|38_9|38_10|38_11|38_12|38_13|38_14|38_15|38_16|38_17|38_18|38_20|38_21|38_22|38_23|38_24|38_25|39_0|39_1|39_2|39_3|39_4|39_5|39_6|39_8|39_11|39_15|39_16|39_17|39_18|39_21|39_22|39_23|39_24|39_25|40_0|40_1|40_2|40_20|40_21|40_22|40_23|40_24|40_25|41_0|41_1|41_2|41_9|41_10|41_11|41_12|41_13|41_14|41_15|41_16|41_17|41_18|41_20|41_21|41_23|41_24|41_25|42_0|42_1|42_2|42_3|42_5|42_6|42_7|42_8|42_12|42_15|42_18|42_19|42_20|42_21|42_23|42_24|42_25|43_0|43_1|43_2|43_5|43_23|43_24|43_25|44_0|44_1|44_2|44_5|44_6|44_23|44_24|44_25|45_0|45_1|45_2|45_3|45_6|45_7|45_8|45_23|45_24|45_25|46_0|46_1|46_2|46_3|46_4|46_7|46_8|46_9|46_23|46_24|46_25|47_0|47_1|47_2|47_4|47_5|47_8|47_9|47_23|47_24|47_25|48_0|48_1|48_2|48_4|48_5|48_9|48_10|48_23|48_24|48_25|49_0|49_1|49_2|49_5|49_6|49_10|49_11|49_23|49_24|49_25|50_0|50_1|50_2|50_6|50_7|50_11|50_12|50_23|50_24|50_25|51_0|51_1|51_2|51_7|51_8|51_12|51_13|51_23|51_24|51_25|52_0|52_1|52_2|52_8|52_9|52_13|52_23|52_24|52_25|53_0|53_1|53_2|53_9|53_10|53_13|53_14|53_23|53_24|53_25|54_0|54_1|54_2|54_10|54_14|54_15|54_23|54_24|54_25|55_0|55_1|55_2|55_11|55_12|55_15|55_16|55_17|55_23|55_24|55_25|56_0|56_1|56_2|56_12|56_13|56_16|56_17|56_23|56_24|56_25|57_0|57_1|57_2|57_13|57_14|57_17|57_18|57_23|57_24|57_25|58_0|58_1|58_2|58_14|58_15|58_18|58_19|58_23|58_24|58_25|59_0|59_1|59_2|59_15|59_16|59_19|59_20|59_21|59_22|59_23|59_24|59_25|60_0|60_1|60_2|60_16|60_20|60_21|60_22|60_23|60_24|60_25|61_0|61_1|61_2|61_16|61_23|61_24|61_25|62_0|62_1|62_2|62_3|62_4|62_5|62_6|62_7|62_8|62_9|62_10|62_11|62_12|62_13|62_14|62_15|62_16|62_17|62_18|62_19|62_20|62_21|62_23|62_24|62_25|63_0|63_1|63_2|63_23|63_24|63_25|64_0|64_1|64_2|64_4|64_7|64_8|64_12|64_16|64_21|64_23|64_24|64_25|65_0|65_1|65_2|65_23|65_24|65_25|66_0|66_1|66_2|66_12|66_13|66_14|66_15|66_16|66_21|66_23|66_24|66_25|67_0|67_1|67_2|67_4|67_11|67_16|67_17|67_19|67_23|67_24|67_25|68_0|68_1|68_2|68_6|68_8|68_11|68_13|68_14|68_17|68_19|68_23|68_24|68_25|69_0|69_1|69_2|69_11|69_13|69_14|69_17|69_23|69_24|69_25|70_0|70_1|70_2|70_6|70_8|70_11|70_13|70_14|70_17|70_19|70_23|70_24|70_25|71_0|71_1|71_2|71_11|71_23|71_24|71_25|72_0|72_1|72_2|72_12|72_13|72_14|72_15|72_16|72_23|72_24|72_25|73_0|73_1|73_2|73_19|73_23|73_24|73_25|74_0|74_1|74_2|74_7|74_8|74_13|74_14|74_23|74_24|74_25|75_0|75_1|75_2|75_23|75_24|75_25|76_0|76_1|76_2|76_5|76_14|76_16|76_19|76_23|76_24|76_25|77_0|77_1|77_2|77_5|77_23|77_24|77_25|78_0|78_1|78_2|78_5|78_9|78_23|78_24|78_25|79_0|79_1|79_2|79_8|79_9|79_12|79_15|79_18|79_23|79_24|79_25|80_0|80_1|80_2|80_23|80_24|80_25|81_0|81_1|81_2|81_23|81_24|81_25|82_0|82_1|82_2|82_10|82_16|82_19|82_23|82_24|82_25|83_0|83_1|83_2|83_4|83_6|83_19|83_23|83_24|83_25|84_0|84_1|84_2|84_4|84_6|84_12|84_13|84_23|84_24|84_25|85_0|85_1|85_2|85_4|85_9|85_23|85_24|85_25|86_0|86_1|86_2|86_9|86_15|86_16|86_19|86_23|86_24|86_25|87_0|87_1|87_2|87_9|87_11|87_19|87_23|87_24|87_25|88_0|88_1|88_2|88_4|88_11|88_16|88_17|88_23|88_24|88_25|89_0|89_1|89_2|89_4|89_5|89_8|89_11|89_14|89_23|89_24|89_25|90_0|90_1|90_2|90_5|90_8|90_19|90_23|90_24|90_25|91_0|91_1|91_2|91_11|91_13|91_19|91_23|91_24|91_25|92_0|92_1|92_2|92_13|92_16|92_19|92_23|92_24|92_25|93_0|93_1|93_2|93_5|93_13|93_16|93_23|93_24|93_25|94_0|94_1|94_2|94_23|94_24|94_25|95_0|95_1|95_2|95_23|95_24|95_25|96_0|96_1|96_2|96_7|96_8|96_9|96_12|96_13|96_23|96_24|96_25|97_0|97_1|97_2|97_4|97_5|97_6|97_7|97_9|97_10|97_11|97_12|97_13|97_14|97_15|97_16|97_23|97_24|97_25|98_0|98_1|98_2|98_4|98_16|98_17|98_18|98_19|98_23|98_24|98_25|99_0|99_1|99_2|99_4|99_17|99_19|99_20|99_21|99_22|99_23|99_24|99_25|100_0|100_1|100_2|100_7|100_8|100_9|100_10|100_17|100_23|100_24|100_25|101_0|101_1|101_2|101_3|101_4|101_5|101_6|101_7|101_10|101_11|101_17|101_23|101_24|101_25|102_0|102_1|102_2|102_11|102_12|102_13|102_17|102_23|102_24|102_25|103_0|103_1|103_2|103_13|103_17|103_23|103_24|103_25|104_0|104_1|104_2|104_13|104_17|104_23|104_24|104_25|105_0|105_1|105_2|105_13|105_14|105_17|105_23|105_24|105_25|106_0|106_1|106_2|106_14|106_15|106_17|106_23|106_24|106_25|107_0|107_1|107_2|107_14|107_15|107_17|107_23|107_24|107_25|108_0|108_1|108_2|108_14|108_15|108_17|108_23|108_24|108_25|109_0|109_1|109_2|109_3|109_4|109_5|109_6|109_7|109_8|109_9|109_10|109_11|109_12|109_13|109_14|109_15|109_17|109_18|109_19|109_20|109_21|109_22|109_23|109_24|109_25|110_0|110_1|110_2|110_3|110_4|110_5|110_6|110_7|110_8|110_9|110_10|110_11|110_12|110_13|110_14|110_15|110_17|110_18|110_19|110_20|110_21|110_22|110_23|110_24|110_25|111_0|111_1|111_2|111_3|111_4|111_5|111_6|111_7|111_8|111_9|111_10|111_11|111_12|111_13|111_14|111_15|111_17|111_18|111_19|111_20|111_21|111_22|111_23|111_24|111_25|112_0|112_1|112_2|112_3|112_4|112_5|112_6|112_7|112_8|112_9|112_10|112_11|112_12|112_13|112_14|112_15|112_17|112_18|112_19|112_20|112_21|112_22|112_23|112_24|112_25|113_0|113_1|113_2|113_3|113_4|113_5|113_6|113_7|113_8|113_9|113_10|113_11|113_12|113_13|113_14|113_15|113_17|113_18|113_19|113_20|113_21|113_22|113_23|113_24|113_25"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0002,render_ocean_0004,render_ocean_0003,render_desert1,render_common_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_ocean_0005,render_common_0003"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,5_0,5_1,5_2,5_23,5_24,5_25,6_0,6_1,6_2,6_23,6_24,6_25,7_0,7_1,7_2,7_23,7_24,7_25,8_0,8_1,8_2,8_23,8_24,8_25,9_0,9_1,9_2,9_23,9_24,9_25,10_0,10_1,10_2,10_23,10_24,10_25,11_0,11_1,11_2,11_23,11_24,11_25,12_0,12_1,12_2,12_23,12_24,12_25,13_0,13_1,13_2,13_23,13_24,13_25,14_0,14_1,14_2,14_23,14_24,14_25,15_0,15_1,15_2,15_23,15_24,15_25,16_0,16_1,16_2,16_23,16_24,16_25,17_0,17_1,17_2,17_23,17_24,17_25,18_0,18_1,18_2,18_23,18_24,18_25,19_0,19_1,19_2,19_23,19_24,19_25,20_0,20_1,20_2,20_23,20_24,20_25,21_0,21_1,21_2,21_23,21_24,21_25,22_0,22_1,22_2,22_23,22_24,22_25,23_0,23_1,23_2,23_23,23_24,23_25,24_0,24_1,24_2,24_23,24_24,24_25,25_0,25_1,25_2,25_23,25_24,25_25,26_0,26_1,26_2,26_23,26_24,26_25,27_0,27_1,27_2,27_23,27_24,27_25,28_0,28_1,28_2,28_23,28_24,28_25,29_0,29_1,29_2,29_23,29_24,29_25,30_0,30_1,30_2,30_23,30_24,30_25,31_0,31_1,31_2,31_23,31_24,31_25,32_0,32_1,32_2,32_23,32_24,32_25,33_0,33_1,33_2,33_23,33_24,33_25,34_0,34_1,34_2,34_23,34_24,34_25,35_0,35_1,35_2,35_23,35_24,35_25,36_0,36_1,36_2,36_23,36_24,36_25,37_0,37_1,37_2,37_23,37_24,37_25,38_0,38_1,38_2,38_23,38_24,38_25,39_0,39_1,39_2,39_23,39_24,39_25,40_0,40_1,40_2,40_23,40_24,40_25,41_0,41_1,41_2,41_23,41_24,41_25,42_0,42_1,42_2,42_23,42_24,42_25,43_0,43_1,43_2,43_23,43_24,43_25,44_0,44_1,44_2,44_23,44_24,44_25,45_0,45_1,45_2,45_3,45_23,45_24,45_25,46_0,46_1,46_2,46_3,46_4,46_23,46_24,46_25,47_0,47_1,47_2,47_4,47_5,47_23,47_24,47_25,48_0,48_1,48_2,48_4,48_5,48_23,48_24,48_25,49_0,49_1,49_2,49_5,49_6,49_23,49_24,49_25,50_0,50_1,50_2,50_6,50_7,50_23,50_24,50_25,51_0,51_1,51_2,51_7,51_8,51_23,51_24,51_25,52_0,52_1,52_2,52_8,52_9,52_23,52_24,52_25,53_0,53_1,53_2,53_9,53_10,53_23,53_24,53_25,54_0,54_1,54_2,54_10,54_23,54_24,54_25,55_0,55_1,55_2,55_11,55_12,55_23,55_24,55_25,56_0,56_1,56_2,56_12,56_13,56_23,56_24,56_25,57_0,57_1,57_2,57_13,57_14,57_23,57_24,57_25,58_0,58_1,58_2,58_14,58_15,58_23,58_24,58_25,59_0,59_1,59_2,59_15,59_16,59_23,59_24,59_25,60_0,60_1,60_2,60_16,60_23,60_24,60_25,61_0,61_1,61_2,61_16,61_23,61_24,61_25,62_0,62_1,62_2,62_3,62_4,62_5,62_6,62_7,62_8,62_9,62_10,62_11,62_12,62_13,62_14,62_15,62_16,62_17,62_18,62_19,62_20,62_21,62_23,62_24,62_25,63_0,63_1,63_2,63_23,63_24,63_25,64_0,64_1,64_2,64_23,64_24,64_25,65_0,65_1,65_2,65_23,65_24,65_25,66_0,66_1,66_2,66_23,66_24,66_25,67_0,67_1,67_2,67_23,67_24,67_25,68_0,68_1,68_2,68_23,68_24,68_25,69_0,69_1,69_2,69_23,69_24,69_25,70_0,70_1,70_2,70_23,70_24,70_25,71_0,71_1,71_2,71_23,71_24,71_25,72_0,72_1,72_2,72_23,72_24,72_25,73_0,73_1,73_2,73_23,73_24,73_25,74_0,74_1,74_2,74_23,74_24,74_25,75_0,75_1,75_2,75_23,75_24,75_25,76_0,76_1,76_2,76_23,76_24,76_25,77_0,77_1,77_2,77_23,77_24,77_25,78_0,78_1,78_2,78_23,78_24,78_25,79_0,79_1,79_2,79_12,79_15,79_18,79_23,79_24,79_25,80_0,80_1,80_2,80_23,80_24,80_25,81_0,81_1,81_2,81_23,81_24,81_25,82_0,82_1,82_2,82_23,82_24,82_25,83_0,83_1,83_2,83_23,83_24,83_25,84_0,84_1,84_2,84_23,84_24,84_25,85_0,85_1,85_2,85_23,85_24,85_25,86_0,86_1,86_2,86_23,86_24,86_25,87_0,87_1,87_2,87_23,87_24,87_25,88_0,88_1,88_2,88_23,88_24,88_25,89_0,89_1,89_2,89_23,89_24,89_25,90_0,90_1,90_2,90_23,90_24,90_25,91_0,91_1,91_2,91_23,91_24,91_25,92_0,92_1,92_2,92_23,92_24,92_25,93_0,93_1,93_2,93_23,93_24,93_25,94_0,94_1,94_2,94_23,94_24,94_25,95_0,95_1,95_2,95_23,95_24,95_25,96_0,96_1,96_2,96_7,96_8,96_9,96_12,96_13,96_23,96_24,96_25,97_0,97_1,97_2,97_4,97_5,97_6,97_7,97_9,97_10,97_11,97_12,97_13,97_14,97_15,97_16,97_23,97_24,97_25,98_0,98_1,98_2,98_4,98_16,98_17,98_18,98_19,98_23,98_24,98_25,99_0,99_1,99_2,99_4,99_17,99_19,99_20,99_21,99_22,99_23,99_24,99_25,100_0,100_1,100_2,100_7,100_8,100_9,100_10,100_17,100_23,100_24,100_25,101_0,101_1,101_2,101_3,101_4,101_5,101_6,101_7,101_10,101_11,101_17,101_23,101_24,101_25,102_0,102_1,102_2,102_11,102_12,102_13,102_17,102_23,102_24,102_25,103_0,103_1,103_2,103_13,103_17,103_23,103_24,103_25,104_0,104_1,104_2,104_13,104_17,104_23,104_24,104_25,105_0,105_1,105_2,105_13,105_14,105_17,105_23,105_24,105_25,106_0,106_1,106_2,106_14,106_15,106_17,106_23,106_24,106_25,107_0,107_1,107_2,107_14,107_15,107_17,107_23,107_24,107_25,108_0,108_1,108_2,108_14,108_15,108_17,108_23,108_24,108_25,109_0,109_1,109_2,109_3,109_4,109_5,109_6,109_7,109_8,109_9,109_10,109_11,109_12,109_13,109_14,109_15,109_17,109_18,109_19,109_20,109_21,109_22,109_23,109_24,109_25,110_0,110_1,110_2,110_3,110_4,110_5,110_6,110_7,110_8,110_9,110_10,110_11,110_12,110_13,110_14,110_15,110_17,110_18,110_19,110_20,110_21,110_22,110_23,110_24,110_25,111_0,111_1,111_2,111_3,111_4,111_5,111_6,111_7,111_8,111_9,111_10,111_11,111_12,111_13,111_14,111_15,111_17,111_18,111_19,111_20,111_21,111_22,111_23,111_24,111_25,112_0,112_1,112_2,112_3,112_4,112_5,112_6,112_7,112_8,112_9,112_10,112_11,112_12,112_13,112_14,112_15,112_17,112_18,112_19,112_20,112_21,112_22,112_23,112_24,112_25,113_0,113_1,113_2,113_3,113_4,113_5,113_6,113_7,113_8,113_9,113_10,113_11,113_12,113_13,113_14,113_15,113_17,113_18,113_19,113_20,113_21,113_22,113_23,113_24,113_25"; scene_data["render_warp_0001_coordinates"] = "5_11,108_16"; scene_data["render_ocean_0002_coordinates"] = "7_5,8_5,9_5,9_12,10_5,10_10,10_12,11_5,11_8,11_10,11_12,13_19,14_19,15_19,25_5,27_11,27_17,28_5,28_11,28_17,29_5,29_11,29_17,30_5,30_11,31_5,31_11,32_5,32_11"; scene_data["render_ocean_0004_coordinates"] = "7_7,7_8,7_13,7_14,7_15,13_7,13_10,13_13,15_6,15_7,15_8,15_9,15_10,15_11,24_12,26_8,26_9,26_10,26_14,26_15,26_16,26_18,26_19,31_12,38_6,38_7,38_8,38_9,38_10,38_11,38_12,38_13,38_14,38_15,38_16,38_17,38_18,38_20,38_21,38_22,39_21,39_22,40_20,40_21,40_22,41_9,41_10,41_11,41_12,41_13,41_14,41_15,41_16,41_17,41_18,41_20,41_21,42_20,42_21,64_4,64_7,64_8,64_12,64_16,64_21,66_12,66_13,66_14,66_15,66_16,66_21,67_4,74_7,74_8,76_5,77_5,78_5,89_8,90_8"; scene_data["render_ocean_0003_coordinates"] = "7_18,8_18,8_20,9_18,9_20,10_13,10_16,10_18,11_13,11_16,15_15,16_5,16_15,17_5,17_13,17_15,17_17,17_20,18_5,19_5,19_17,20_5,20_17,20_19,21_5,21_19,22_5,24_20,27_7,27_13,28_7,28_13,29_7,29_13,29_18,29_20,30_7,30_18,30_20,31_7,31_15,31_18,32_7,32_15,35_12,35_13,35_17,35_19,36_13,36_17,67_11,67_19,68_6,68_8,68_11,68_19,69_11,70_6,70_8,70_11,70_19,71_11,73_19,76_19,78_9,79_8,79_9,82_16,82_19,83_4,83_6,83_19,84_4,84_6,85_4,85_9,86_9,87_9,87_11,88_4,88_11,89_4,89_5,89_11,90_5,90_19,91_11,91_13,91_19,92_13,92_16,92_19,93_5,93_13,93_16"; scene_data["render_desert1_coordinates"] = "16_6,16_7,16_8,16_9,16_10,16_12,17_6,17_10,17_12,18_6,18_10,18_12,19_6,19_8,19_10,19_11,19_12,20_6,21_6,21_8,21_10,21_11,21_12,22_6,22_7,22_8,22_9,22_10,22_12,67_16,67_17,68_13,68_17,69_13,69_14,69_17,70_13,70_14,70_17"; scene_data["render_common_0001_coordinates"] = "16_11,17_9,17_11,18_9,18_11,19_7,19_9,20_7,20_8,20_9,20_10,20_11,20_12,21_7,21_9,22_11,27_8,27_9,27_10,27_14,27_15,27_16,28_8,28_9,28_10,28_14,28_15,28_16,29_8,29_9,29_10,29_14,29_15,29_16,30_8,30_9,30_10,31_8,31_9,31_10,32_8,32_9,32_10,67_12,67_13,67_14,67_15,68_12,68_15,68_16,69_12,69_15,69_16,70_12,70_15,70_16,71_12,71_13,71_14,71_15,71_16,71_17"; scene_data["render_building_0001_coordinates"] = "17_7"; scene_data["render_building_0005_coordinates"] = "17_8"; scene_data["render_building_0002_coordinates"] = "18_7"; scene_data["render_building_0004_coordinates"] = "18_8"; scene_data["render_ocean_0005_coordinates"] = "23_6,23_7,23_8,23_9,23_10,23_11,23_14,23_15,23_17,30_14,30_15,30_16,33_8,33_9,33_10,36_7,36_8,36_10,39_3,39_4,39_5,39_6,39_8,39_11,39_15,39_16,39_17,39_18,42_3,42_5,42_6,42_7,42_8,42_12,42_15,42_18,42_19,43_5,44_5,44_6,45_6,45_7,45_8,46_7,46_8,46_9,47_8,47_9,48_9,48_10,49_10,49_11,50_11,50_12,51_12,51_13,52_13,53_13,53_14,54_14,54_15,55_15,55_16,55_17,56_16,56_17,57_17,57_18,58_18,58_19,59_19,59_20,59_21,59_22,60_20,60_21,60_22,72_12,72_13,72_14,72_15,72_16,74_13,74_14,76_14,76_16,82_10,84_12,84_13,86_15,86_16,86_19,87_19,88_16,88_17,89_14"; scene_data["render_common_0003_coordinates"] = "68_14"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0125() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 126; scene_data["tile_y_count"] = 26; scene_data["name"] = "3rd scene - faros islands"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=104, after_map_y=15, after_player_x=107, after_player_y=16, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=5, y=9, scene_number=124, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=7, after_player_x=6, after_player_y=8, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=120, y=6, scene_number=126, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|5_0|5_1|5_2|5_8|5_10|5_23|5_24|5_25|6_0|6_1|6_2|6_8|6_10|6_23|6_24|6_25|7_0|7_1|7_2|7_5|7_8|7_10|7_23|7_24|7_25|8_0|8_1|8_2|8_7|8_14|8_15|8_19|8_23|8_24|8_25|9_0|9_1|9_2|9_5|9_12|9_23|9_24|9_25|10_0|10_1|10_2|10_5|10_12|10_19|10_23|10_24|10_25|11_0|11_1|11_2|11_5|11_8|11_10|11_12|11_23|11_24|11_25|12_0|12_1|12_2|12_23|12_24|12_25|13_0|13_1|13_2|13_19|13_23|13_24|13_25|14_0|14_1|14_2|14_13|14_14|14_15|14_19|14_23|14_24|14_25|15_0|15_1|15_2|15_19|15_23|15_24|15_25|16_0|16_1|16_2|16_8|16_12|16_23|16_24|16_25|17_0|17_1|17_2|17_12|17_13|17_17|17_23|17_24|17_25|18_0|18_1|18_2|18_12|18_23|18_24|18_25|19_0|19_1|19_2|19_5|19_7|19_12|19_17|19_20|19_23|19_24|19_25|20_0|20_1|20_2|20_23|20_24|20_25|21_0|21_1|21_2|21_12|21_23|21_24|21_25|22_0|22_1|22_2|22_12|22_23|22_24|22_25|23_0|23_1|23_2|23_7|23_18|23_23|23_24|23_25|24_0|24_1|24_2|24_7|24_8|24_23|24_24|24_25|25_0|25_1|25_2|25_5|25_8|25_11|25_12|25_13|25_18|25_23|25_24|25_25|26_0|26_1|26_2|26_23|26_24|26_25|27_0|27_1|27_2|27_11|27_17|27_23|27_24|27_25|28_0|28_1|28_2|28_5|28_11|28_17|28_18|28_20|28_23|28_24|28_25|29_0|29_1|29_2|29_5|29_11|29_17|29_20|29_23|29_24|29_25|30_0|30_1|30_2|30_5|30_11|30_12|30_14|30_23|30_24|30_25|31_0|31_1|31_2|31_5|31_11|31_23|31_24|31_25|32_0|32_1|32_2|32_5|32_7|32_11|32_23|32_24|32_25|33_0|33_1|33_2|33_7|33_18|33_23|33_24|33_25|34_0|34_1|34_2|34_18|34_23|34_24|34_25|35_0|35_1|35_2|35_7|35_11|35_12|35_13|35_14|35_18|35_23|35_24|35_25|36_0|36_1|36_2|36_23|36_24|36_25|37_0|37_1|37_2|37_23|37_24|37_25|38_0|38_1|38_2|38_11|38_12|38_16|38_23|38_24|38_25|39_0|39_1|39_2|39_4|39_10|39_11|39_23|39_24|39_25|40_0|40_1|40_2|40_4|40_23|40_24|40_25|41_0|41_1|41_2|41_18|41_23|41_24|41_25|42_0|42_1|42_2|42_23|42_24|42_25|43_0|43_1|43_2|43_7|43_8|43_9|43_10|43_12|43_13|43_23|43_24|43_25|44_0|44_1|44_2|44_7|44_8|44_9|44_10|44_23|44_24|44_25|45_0|45_1|45_2|45_23|45_24|45_25|46_0|46_1|46_2|46_17|46_19|46_23|46_24|46_25|47_0|47_1|47_2|47_8|47_17|47_23|47_24|47_25|48_0|48_1|48_2|48_8|48_12|48_17|48_23|48_24|48_25|49_0|49_1|49_2|49_8|49_12|49_17|49_23|49_24|49_25|50_0|50_1|50_2|50_23|50_24|50_25|51_0|51_1|51_2|51_23|51_24|51_25|52_0|52_1|52_2|52_23|52_24|52_25|53_0|53_1|53_2|53_4|53_5|53_7|53_9|53_11|53_12|53_13|53_14|53_16|53_17|53_20|53_23|53_24|53_25|54_0|54_1|54_2|54_23|54_24|54_25|55_0|55_1|55_2|55_6|55_19|55_23|55_24|55_25|56_0|56_1|56_2|56_6|56_11|56_12|56_23|56_24|56_25|57_0|57_1|57_2|57_6|57_14|57_23|57_24|57_25|58_0|58_1|58_2|58_6|58_8|58_17|58_23|58_24|58_25|59_0|59_1|59_2|59_8|59_17|59_23|59_24|59_25|60_0|60_1|60_2|60_10|60_23|60_24|60_25|61_0|61_1|61_2|61_10|61_12|61_19|61_23|61_24|61_25|62_0|62_1|62_2|62_12|62_19|62_23|62_24|62_25|63_0|63_1|63_2|63_7|63_12|63_16|63_19|63_23|63_24|63_25|64_0|64_1|64_2|64_23|64_24|64_25|65_0|65_1|65_2|65_23|65_24|65_25|66_0|66_1|66_2|66_6|66_7|66_8|66_9|66_13|66_14|66_20|66_23|66_24|66_25|67_0|67_1|67_2|67_17|67_23|67_24|67_25|68_0|68_1|68_2|68_17|68_23|68_24|68_25|69_0|69_1|69_2|69_7|69_17|69_20|69_23|69_24|69_25|70_0|70_1|70_2|70_7|70_12|70_13|70_17|70_23|70_24|70_25|71_0|71_1|71_2|71_7|71_23|71_24|71_25|72_0|72_1|72_2|72_23|72_24|72_25|73_0|73_1|73_2|73_9|73_10|73_17|73_23|73_24|73_25|74_0|74_1|74_2|74_4|74_23|74_24|74_25|75_0|75_1|75_2|75_7|75_23|75_24|75_25|76_0|76_1|76_2|76_23|76_24|76_25|77_0|77_1|77_2|77_23|77_24|77_25|78_0|78_1|78_2|78_9|78_13|78_16|78_23|78_24|78_25|79_0|79_1|79_2|79_3|79_4|79_5|79_7|79_8|79_9|79_10|79_11|79_12|79_14|79_15|79_16|79_17|79_18|79_19|79_20|79_21|79_23|79_24|79_25|80_0|80_1|80_2|80_13|80_18|80_23|80_24|80_25|81_0|81_1|81_2|81_13|81_23|81_24|81_25|82_0|82_1|82_2|82_9|82_23|82_24|82_25|83_0|83_1|83_2|83_15|83_18|83_20|83_23|83_24|83_25|84_0|84_1|84_2|84_4|84_7|84_12|84_15|84_18|84_23|84_24|84_25|85_0|85_1|85_2|85_4|85_12|85_18|85_23|85_24|85_25|86_0|86_1|86_2|86_12|86_23|86_24|86_25|87_0|87_1|87_2|87_4|87_5|87_9|87_12|87_18|87_20|87_23|87_24|87_25|88_0|88_1|88_2|88_23|88_24|88_25|89_0|89_1|89_2|89_10|89_23|89_24|89_25|90_0|90_1|90_2|90_23|90_24|90_25|91_0|91_1|91_2|91_23|91_24|91_25|92_0|92_1|92_2|92_9|92_12|92_15|92_16|92_17|92_23|92_24|92_25|93_0|93_1|93_2|93_15|93_23|93_24|93_25|94_0|94_1|94_2|94_15|94_18|94_20|94_23|94_24|94_25|95_0|95_1|95_2|95_15|95_23|95_24|95_25|96_0|96_1|96_2|96_6|96_8|96_11|96_15|96_23|96_24|96_25|97_0|97_1|97_2|97_14|97_15|97_17|97_18|97_20|97_23|97_24|97_25|98_0|98_1|98_2|98_17|98_23|98_24|98_25|99_0|99_1|99_2|99_23|99_24|99_25|100_0|100_1|100_2|100_23|100_24|100_25|101_0|101_1|101_2|101_6|101_7|101_10|101_14|101_23|101_24|101_25|102_0|102_1|102_2|102_3|102_4|102_5|102_6|102_7|102_8|102_9|102_10|102_11|102_12|102_13|102_14|102_15|102_16|102_17|102_18|102_19|102_20|102_23|102_24|102_25|103_0|103_1|103_2|103_7|103_10|103_14|103_23|103_24|103_25|104_0|104_1|104_2|104_14|104_23|104_24|104_25|105_0|105_1|105_2|105_17|105_18|105_23|105_24|105_25|106_0|106_1|106_2|106_10|106_11|106_23|106_24|106_25|107_0|107_1|107_2|107_23|107_24|107_25|108_0|108_1|108_2|108_7|108_8|108_23|108_24|108_25|109_0|109_1|109_2|109_19|109_23|109_24|109_25|110_0|110_1|110_2|110_19|110_23|110_24|110_25|111_0|111_1|111_2|111_11|111_12|111_19|111_23|111_24|111_25|112_0|112_1|112_2|112_5|112_7|112_15|112_23|112_24|112_25|113_0|113_1|113_2|113_5|113_15|113_23|113_24|113_25|114_0|114_1|114_2|114_5|114_15|114_20|114_23|114_24|114_25|115_0|115_1|115_2|115_23|115_24|115_25|116_0|116_1|116_2|116_11|116_23|116_24|116_25|117_0|117_1|117_2|117_23|117_24|117_25|118_0|118_1|118_2|118_5|118_7|118_15|118_23|118_24|118_25|119_0|119_1|119_2|119_5|119_7|119_23|119_24|119_25|120_0|120_1|120_2|120_5|120_7|120_23|120_24|120_25|121_0|121_1|121_2|121_3|121_4|121_5|121_7|121_8|121_9|121_10|121_11|121_12|121_13|121_14|121_15|121_16|121_17|121_18|121_19|121_20|121_21|121_22|121_23|121_24|121_25|122_0|122_1|122_2|122_3|122_4|122_5|122_7|122_8|122_9|122_10|122_11|122_12|122_13|122_14|122_15|122_16|122_17|122_18|122_19|122_20|122_21|122_22|122_23|122_24|122_25|123_0|123_1|123_2|123_3|123_4|123_5|123_7|123_8|123_9|123_10|123_11|123_12|123_13|123_14|123_15|123_16|123_17|123_18|123_19|123_20|123_21|123_22|123_23|123_24|123_25|124_0|124_1|124_2|124_3|124_4|124_5|124_7|124_8|124_9|124_10|124_11|124_12|124_13|124_14|124_15|124_16|124_17|124_18|124_19|124_20|124_21|124_22|124_23|124_24|124_25|125_0|125_1|125_2|125_3|125_4|125_5|125_7|125_8|125_9|125_10|125_11|125_12|125_13|125_14|125_15|125_16|125_17|125_18|125_19|125_20|125_21|125_22|125_23|125_24|125_25"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0002,render_ocean_0005,render_ocean_0003,render_ocean_0004"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,5_0,5_1,5_2,5_8,5_10,5_23,5_24,5_25,6_0,6_1,6_2,6_8,6_10,6_23,6_24,6_25,7_0,7_1,7_2,7_8,7_10,7_23,7_24,7_25,8_0,8_1,8_2,8_23,8_24,8_25,9_0,9_1,9_2,9_23,9_24,9_25,10_0,10_1,10_2,10_23,10_24,10_25,11_0,11_1,11_2,11_23,11_24,11_25,12_0,12_1,12_2,12_23,12_24,12_25,13_0,13_1,13_2,13_23,13_24,13_25,14_0,14_1,14_2,14_23,14_24,14_25,15_0,15_1,15_2,15_23,15_24,15_25,16_0,16_1,16_2,16_23,16_24,16_25,17_0,17_1,17_2,17_23,17_24,17_25,18_0,18_1,18_2,18_23,18_24,18_25,19_0,19_1,19_2,19_23,19_24,19_25,20_0,20_1,20_2,20_23,20_24,20_25,21_0,21_1,21_2,21_23,21_24,21_25,22_0,22_1,22_2,22_23,22_24,22_25,23_0,23_1,23_2,23_23,23_24,23_25,24_0,24_1,24_2,24_23,24_24,24_25,25_0,25_1,25_2,25_23,25_24,25_25,26_0,26_1,26_2,26_23,26_24,26_25,27_0,27_1,27_2,27_23,27_24,27_25,28_0,28_1,28_2,28_23,28_24,28_25,29_0,29_1,29_2,29_23,29_24,29_25,30_0,30_1,30_2,30_23,30_24,30_25,31_0,31_1,31_2,31_23,31_24,31_25,32_0,32_1,32_2,32_23,32_24,32_25,33_0,33_1,33_2,33_23,33_24,33_25,34_0,34_1,34_2,34_23,34_24,34_25,35_0,35_1,35_2,35_23,35_24,35_25,36_0,36_1,36_2,36_23,36_24,36_25,37_0,37_1,37_2,37_23,37_24,37_25,38_0,38_1,38_2,38_23,38_24,38_25,39_0,39_1,39_2,39_23,39_24,39_25,40_0,40_1,40_2,40_23,40_24,40_25,41_0,41_1,41_2,41_23,41_24,41_25,42_0,42_1,42_2,42_23,42_24,42_25,43_0,43_1,43_2,43_23,43_24,43_25,44_0,44_1,44_2,44_23,44_24,44_25,45_0,45_1,45_2,45_23,45_24,45_25,46_0,46_1,46_2,46_23,46_24,46_25,47_0,47_1,47_2,47_23,47_24,47_25,48_0,48_1,48_2,48_23,48_24,48_25,49_0,49_1,49_2,49_23,49_24,49_25,50_0,50_1,50_2,50_23,50_24,50_25,51_0,51_1,51_2,51_23,51_24,51_25,52_0,52_1,52_2,52_23,52_24,52_25,53_0,53_1,53_2,53_23,53_24,53_25,54_0,54_1,54_2,54_23,54_24,54_25,55_0,55_1,55_2,55_23,55_24,55_25,56_0,56_1,56_2,56_23,56_24,56_25,57_0,57_1,57_2,57_23,57_24,57_25,58_0,58_1,58_2,58_23,58_24,58_25,59_0,59_1,59_2,59_23,59_24,59_25,60_0,60_1,60_2,60_23,60_24,60_25,61_0,61_1,61_2,61_23,61_24,61_25,62_0,62_1,62_2,62_23,62_24,62_25,63_0,63_1,63_2,63_23,63_24,63_25,64_0,64_1,64_2,64_23,64_24,64_25,65_0,65_1,65_2,65_23,65_24,65_25,66_0,66_1,66_2,66_23,66_24,66_25,67_0,67_1,67_2,67_23,67_24,67_25,68_0,68_1,68_2,68_23,68_24,68_25,69_0,69_1,69_2,69_23,69_24,69_25,70_0,70_1,70_2,70_23,70_24,70_25,71_0,71_1,71_2,71_23,71_24,71_25,72_0,72_1,72_2,72_23,72_24,72_25,73_0,73_1,73_2,73_23,73_24,73_25,74_0,74_1,74_2,74_23,74_24,74_25,75_0,75_1,75_2,75_23,75_24,75_25,76_0,76_1,76_2,76_23,76_24,76_25,77_0,77_1,77_2,77_23,77_24,77_25,78_0,78_1,78_2,78_23,78_24,78_25,79_0,79_1,79_2,79_23,79_24,79_25,80_0,80_1,80_2,80_23,80_24,80_25,81_0,81_1,81_2,81_23,81_24,81_25,82_0,82_1,82_2,82_23,82_24,82_25,83_0,83_1,83_2,83_23,83_24,83_25,84_0,84_1,84_2,84_23,84_24,84_25,85_0,85_1,85_2,85_23,85_24,85_25,86_0,86_1,86_2,86_23,86_24,86_25,87_0,87_1,87_2,87_23,87_24,87_25,88_0,88_1,88_2,88_23,88_24,88_25,89_0,89_1,89_2,89_23,89_24,89_25,90_0,90_1,90_2,90_23,90_24,90_25,91_0,91_1,91_2,91_23,91_24,91_25,92_0,92_1,92_2,92_23,92_24,92_25,93_0,93_1,93_2,93_23,93_24,93_25,94_0,94_1,94_2,94_23,94_24,94_25,95_0,95_1,95_2,95_23,95_24,95_25,96_0,96_1,96_2,96_23,96_24,96_25,97_0,97_1,97_2,97_23,97_24,97_25,98_0,98_1,98_2,98_23,98_24,98_25,99_0,99_1,99_2,99_23,99_24,99_25,100_0,100_1,100_2,100_23,100_24,100_25,101_0,101_1,101_2,101_23,101_24,101_25,102_0,102_1,102_2,102_23,102_24,102_25,103_0,103_1,103_2,103_23,103_24,103_25,104_0,104_1,104_2,104_23,104_24,104_25,105_0,105_1,105_2,105_23,105_24,105_25,106_0,106_1,106_2,106_23,106_24,106_25,107_0,107_1,107_2,107_23,107_24,107_25,108_0,108_1,108_2,108_23,108_24,108_25,109_0,109_1,109_2,109_23,109_24,109_25,110_0,110_1,110_2,110_23,110_24,110_25,111_0,111_1,111_2,111_23,111_24,111_25,112_0,112_1,112_2,112_23,112_24,112_25,113_0,113_1,113_2,113_23,113_24,113_25,114_0,114_1,114_2,114_23,114_24,114_25,115_0,115_1,115_2,115_23,115_24,115_25,116_0,116_1,116_2,116_23,116_24,116_25,117_0,117_1,117_2,117_23,117_24,117_25,118_0,118_1,118_2,118_5,118_7,118_23,118_24,118_25,119_0,119_1,119_2,119_5,119_7,119_23,119_24,119_25,120_0,120_1,120_2,120_5,120_7,120_23,120_24,120_25,121_0,121_1,121_2,121_3,121_4,121_5,121_7,121_8,121_9,121_10,121_11,121_12,121_13,121_14,121_15,121_16,121_17,121_18,121_19,121_20,121_21,121_22,121_23,121_24,121_25,122_0,122_1,122_2,122_3,122_4,122_5,122_7,122_8,122_9,122_10,122_11,122_12,122_13,122_14,122_15,122_16,122_17,122_18,122_19,122_20,122_21,122_22,122_23,122_24,122_25,123_0,123_1,123_2,123_3,123_4,123_5,123_7,123_8,123_9,123_10,123_11,123_12,123_13,123_14,123_15,123_16,123_17,123_18,123_19,123_20,123_21,123_22,123_23,123_24,123_25,124_0,124_1,124_2,124_3,124_4,124_5,124_7,124_8,124_9,124_10,124_11,124_12,124_13,124_14,124_15,124_16,124_17,124_18,124_19,124_20,124_21,124_22,124_23,124_24,124_25,125_0,125_1,125_2,125_3,125_4,125_5,125_7,125_8,125_9,125_10,125_11,125_12,125_13,125_14,125_15,125_16,125_17,125_18,125_19,125_20,125_21,125_22,125_23,125_24,125_25"; scene_data["render_warp_0001_coordinates"] = "5_9,120_6"; scene_data["render_ocean_0002_coordinates"] = "7_5,8_7,8_19,9_5,9_12,10_5,10_12,10_19,11_5,11_8,11_10,11_12,13_19,14_19,15_19,16_12,17_12,18_12,19_12,21_12,22_12,25_5,27_11,27_17,28_5,28_11,28_17,29_5,29_11,29_17,30_5,30_11,31_5,31_11,32_5,32_11,39_4,40_4,58_17,59_17,67_17,68_17,69_17,70_17,73_17,92_15,92_16,92_17,93_15,94_15,95_15,96_15,97_14,97_15,101_6,101_7,101_10,101_14,102_3,102_4,102_5,102_6,102_7,102_8,102_9,102_10,102_11,102_12,102_13,102_14,102_15,102_16,102_17,102_18,102_19,102_20,103_7,103_10,103_14,104_14,109_19,110_19,111_19"; scene_data["render_ocean_0005_coordinates"] = "8_14,8_15,14_13,14_14,14_15,23_18,25_11,25_12,25_13,25_18,53_4,53_5,53_7,53_9,53_11,53_12,53_13,53_14,53_16,53_17,53_20,55_19,56_11,56_12,63_7,66_6,66_7,66_8,66_9,66_13,66_14,66_20,69_20,70_12,70_13,74_4,78_9,78_13,78_16,79_3,79_4,79_5,79_7,79_8,79_9,79_10,79_11,79_12,79_14,79_15,79_16,79_17,79_18,79_19,79_20,79_21,80_13,80_18,81_13,82_9,83_15,83_18,84_15,84_18,85_18,96_6,96_8,96_11,108_7,108_8"; scene_data["render_ocean_0003_coordinates"] = "16_8,17_13,17_17,19_5,19_7,19_17,19_20,23_7,24_7,24_8,25_8,28_18,28_20,29_20,30_12,30_14,32_7,33_7,33_18,34_18,35_18,38_11,38_12,38_16,39_10,39_11,41_18,46_17,46_19,47_8,47_17,48_8,48_12,48_17,49_8,49_12,49_17,55_6,56_6,57_6,57_14,58_6,58_8,59_8,60_10,61_10,61_12,61_19,62_12,62_19,63_12,63_16,63_19,69_7,70_7,71_7,73_9,73_10,75_7,83_20,84_4,84_7,84_12,85_4,85_12,86_12,87_4,87_5,87_9,87_12,87_18,87_20,89_10,92_9,92_12,94_18,94_20,97_17,97_18,97_20,98_17,112_5,112_7,112_15,113_5,113_15,114_5,114_15,114_20,118_15"; scene_data["render_ocean_0004_coordinates"] = "35_7,35_11,35_12,35_13,35_14,43_7,43_8,43_9,43_10,43_12,43_13,44_7,44_8,44_9,44_10,105_17,105_18,106_10,106_11,111_11,111_12,116_11"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0126() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 126; scene_data["tile_y_count"] = 26; scene_data["name"] = "another ocean scene"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"101,16"}; scene_data["boat_exit_coords"] = {"101,15"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_101,16"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_101,16"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_101,16"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=100, y=13, txt="No tobacco allowed in the Faros Islands. The inn here does not allow travelers to bring tobacco.", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 120, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 120) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=118, after_map_y=4, after_player_x=120, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=8, scene_number=125, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=9, after_player_x=6, after_player_y=10, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=120, y=8, scene_number=127, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=101, y=11, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=3, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|5_0|5_1|5_2|5_7|5_23|5_24|5_25|6_0|6_1|6_2|6_7|6_9|6_23|6_24|6_25|7_0|7_1|7_2|7_7|7_9|7_12|7_13|7_23|7_24|7_25|8_0|8_1|8_2|8_4|8_12|8_13|8_23|8_24|8_25|9_0|9_1|9_2|9_4|9_17|9_23|9_24|9_25|10_0|10_1|10_2|10_17|10_19|10_23|10_24|10_25|11_0|11_1|11_2|11_7|11_13|11_17|11_19|11_23|11_24|11_25|12_0|12_1|12_2|12_7|12_10|12_17|12_23|12_24|12_25|13_0|13_1|13_2|13_7|13_10|13_14|13_23|13_24|13_25|14_0|14_1|14_2|14_10|14_23|14_24|14_25|15_0|15_1|15_2|15_5|15_23|15_24|15_25|16_0|16_1|16_2|16_12|16_16|16_17|16_18|16_23|16_24|16_25|17_0|17_1|17_2|17_12|17_15|17_19|17_23|17_24|17_25|18_0|18_1|18_2|18_4|18_12|18_15|18_19|18_23|18_24|18_25|19_0|19_1|19_2|19_4|19_7|19_12|19_15|19_19|19_21|19_23|19_24|19_25|20_0|20_1|20_2|20_4|20_7|20_12|20_15|20_19|20_21|20_23|20_24|20_25|21_0|21_1|21_2|21_4|21_15|21_19|21_21|21_23|21_24|21_25|22_0|22_1|22_2|22_4|22_15|22_19|22_23|22_24|22_25|23_0|23_1|23_2|23_13|23_15|23_19|23_23|23_24|23_25|24_0|24_1|24_2|24_15|24_19|24_23|24_24|24_25|25_0|25_1|25_2|25_7|25_8|25_9|25_10|25_16|25_17|25_18|25_23|25_24|25_25|26_0|26_1|26_2|26_23|26_24|26_25|27_0|27_1|27_2|27_8|27_9|27_10|27_11|27_23|27_24|27_25|28_0|28_1|28_2|28_7|28_12|28_23|28_24|28_25|29_0|29_1|29_2|29_7|29_12|29_15|29_16|29_19|29_21|29_23|29_24|29_25|30_0|30_1|30_2|30_4|30_7|30_12|30_19|30_23|30_24|30_25|31_0|31_1|31_2|31_4|31_7|31_12|31_23|31_24|31_25|32_0|32_1|32_2|32_4|32_7|32_12|32_23|32_24|32_25|33_0|33_1|33_2|33_7|33_12|33_14|33_15|33_19|33_23|33_24|33_25|34_0|34_1|34_2|34_7|34_12|34_19|34_21|34_23|34_24|34_25|35_0|35_1|35_2|35_6|35_7|35_12|35_19|35_23|35_24|35_25|36_0|36_1|36_2|36_7|36_12|36_23|36_24|36_25|37_0|37_1|37_2|37_7|37_12|37_15|37_16|37_23|37_24|37_25|38_0|38_1|38_2|38_8|38_9|38_10|38_11|38_23|38_24|38_25|39_0|39_1|39_2|39_23|39_24|39_25|40_0|40_1|40_2|40_23|40_24|40_25|41_0|41_1|41_2|41_23|41_24|41_25|42_0|42_1|42_2|42_23|42_24|42_25|43_0|43_1|43_2|43_12|43_19|43_23|43_24|43_25|44_0|44_1|44_2|44_8|44_10|44_12|44_14|44_19|44_23|44_24|44_25|45_0|45_1|45_2|45_7|45_8|45_9|45_10|45_11|45_12|45_13|45_14|45_15|45_19|45_23|45_24|45_25|46_0|46_1|46_2|46_5|46_7|46_8|46_9|46_10|46_11|46_12|46_13|46_14|46_15|46_23|46_24|46_25|47_0|47_1|47_2|47_5|47_7|47_8|47_9|47_10|47_11|47_12|47_13|47_14|47_15|47_23|47_24|47_25|48_0|48_1|48_2|48_7|48_8|48_9|48_10|48_11|48_12|48_14|48_15|48_23|48_24|48_25|49_0|49_1|49_2|49_8|49_10|49_12|49_14|49_19|49_23|49_24|49_25|50_0|50_1|50_2|50_12|50_19|50_23|50_24|50_25|51_0|51_1|51_2|51_19|51_23|51_24|51_25|52_0|52_1|52_2|52_23|52_24|52_25|53_0|53_1|53_2|53_23|53_24|53_25|54_0|54_1|54_2|54_23|54_24|54_25|55_0|55_1|55_2|55_12|55_23|55_24|55_25|56_0|56_1|56_2|56_8|56_12|56_16|56_23|56_24|56_25|57_0|57_1|57_2|57_5|57_8|57_12|57_16|57_19|57_23|57_24|57_25|58_0|58_1|58_2|58_8|58_12|58_23|58_24|58_25|59_0|59_1|59_2|59_12|59_23|59_24|59_25|60_0|60_1|60_2|60_23|60_24|60_25|61_0|61_1|61_2|61_23|61_24|61_25|62_0|62_1|62_2|62_23|62_24|62_25|63_0|63_1|63_2|63_23|63_24|63_25|64_0|64_1|64_2|64_7|64_8|64_9|64_13|64_14|64_15|64_18|64_19|64_23|64_24|64_25|65_0|65_1|65_2|65_23|65_24|65_25|66_0|66_1|66_2|66_23|66_24|66_25|67_0|67_1|67_2|67_23|67_24|67_25|68_0|68_1|68_2|68_4|68_5|68_6|68_9|68_10|68_13|68_16|68_17|68_18|68_19|68_20|68_23|68_24|68_25|69_0|69_1|69_2|69_23|69_24|69_25|70_0|70_1|70_2|70_23|70_24|70_25|71_0|71_1|71_2|71_17|71_23|71_24|71_25|72_0|72_1|72_2|72_3|72_4|72_5|72_6|72_7|72_8|72_9|72_10|72_11|72_12|72_13|72_14|72_15|72_16|72_17|72_18|72_19|72_20|72_23|72_24|72_25|73_0|73_1|73_2|73_14|73_15|73_16|73_23|73_24|73_25|74_0|74_1|74_2|74_13|74_14|74_20|74_21|74_22|74_23|74_24|74_25|75_0|75_1|75_2|75_11|75_12|75_18|75_19|75_20|75_23|75_24|75_25|76_0|76_1|76_2|76_8|76_9|76_10|76_16|76_17|76_18|76_23|76_24|76_25|77_0|77_1|77_2|77_7|77_8|77_14|77_15|77_16|77_23|77_24|77_25|78_0|78_1|78_2|78_6|78_7|78_8|78_12|78_13|78_14|78_23|78_24|78_25|79_0|79_1|79_2|79_5|79_6|79_11|79_12|79_23|79_24|79_25|80_0|80_1|80_2|80_3|80_4|80_5|80_10|80_11|80_18|80_23|80_24|80_25|81_0|81_1|81_2|81_3|81_4|81_9|81_10|81_18|81_23|81_24|81_25|82_0|82_1|82_2|82_8|82_9|82_14|82_16|82_18|82_23|82_24|82_25|83_0|83_1|83_2|83_6|83_7|83_8|83_14|83_23|83_24|83_25|84_0|84_1|84_2|84_5|84_6|84_14|84_23|84_24|84_25|85_0|85_1|85_2|85_4|85_5|85_21|85_23|85_24|85_25|86_0|86_1|86_2|86_23|86_24|86_25|87_0|87_1|87_2|87_23|87_24|87_25|88_0|88_1|88_2|88_5|88_23|88_24|88_25|89_0|89_1|89_2|89_5|89_11|89_14|89_15|89_16|89_19|89_23|89_24|89_25|90_0|90_1|90_2|90_5|90_7|90_11|90_15|90_16|90_19|90_23|90_24|90_25|91_0|91_1|91_2|91_23|91_24|91_25|92_0|92_1|92_2|92_23|92_24|92_25|93_0|93_1|93_2|93_23|93_24|93_25|94_0|94_1|94_2|94_23|94_24|94_25|95_0|95_1|95_2|95_19|95_20|95_21|95_23|95_24|95_25|96_0|96_1|96_2|96_9|96_10|96_11|96_12|96_13|96_14|96_19|96_23|96_24|96_25|97_0|97_1|97_2|97_8|97_14|97_15|97_23|97_24|97_25|98_0|98_1|98_2|98_7|98_8|98_9|98_10|98_11|98_12|98_13|98_14|98_15|98_23|98_24|98_25|99_0|99_1|99_2|99_8|99_9|99_14|99_15|99_23|99_24|99_25|100_0|100_1|100_2|100_4|100_8|100_9|100_10|100_11|100_12|100_14|100_15|100_18|100_19|100_23|100_24|100_25|101_0|101_1|101_2|101_4|101_8|101_9|101_10|101_23|101_24|101_25|102_0|102_1|102_2|102_4|102_8|102_9|102_11|102_14|102_15|102_23|102_24|102_25|103_0|103_1|103_2|103_8|103_9|103_13|103_14|103_15|103_23|103_24|103_25|104_0|104_1|104_2|104_8|104_9|104_10|104_14|104_15|104_23|104_24|104_25|105_0|105_1|105_2|105_8|105_9|105_10|105_11|105_12|105_13|105_14|105_15|105_18|105_19|105_23|105_24|105_25|106_0|106_1|106_2|106_5|106_8|106_14|106_15|106_23|106_24|106_25|107_0|107_1|107_2|107_9|107_10|107_11|107_12|107_13|107_14|107_23|107_24|107_25|108_0|108_1|108_2|108_23|108_24|108_25|109_0|109_1|109_2|109_23|109_24|109_25|110_0|110_1|110_2|110_11|110_16|110_17|110_23|110_24|110_25|111_0|111_1|111_2|111_23|111_24|111_25|112_0|112_1|112_2|112_7|112_23|112_24|112_25|113_0|113_1|113_2|113_7|113_12|113_21|113_23|113_24|113_25|114_0|114_1|114_2|114_7|114_12|114_23|114_24|114_25|115_0|115_1|115_2|115_15|115_18|115_23|115_24|115_25|116_0|116_1|116_2|116_23|116_24|116_25|117_0|117_1|117_2|117_3|117_7|117_9|117_23|117_24|117_25|118_0|118_1|118_2|118_7|118_9|118_15|118_23|118_24|118_25|119_0|119_1|119_2|119_7|119_9|119_23|119_24|119_25|120_0|120_1|120_2|120_7|120_9|120_20|120_23|120_24|120_25|121_0|121_1|121_2|121_3|121_4|121_5|121_6|121_7|121_9|121_10|121_11|121_12|121_13|121_14|121_15|121_16|121_17|121_18|121_19|121_20|121_21|121_22|121_23|121_24|121_25|122_0|122_1|122_2|122_3|122_4|122_5|122_6|122_7|122_9|122_10|122_11|122_12|122_13|122_14|122_15|122_16|122_17|122_18|122_19|122_20|122_21|122_22|122_23|122_24|122_25|123_0|123_1|123_2|123_3|123_4|123_5|123_6|123_7|123_9|123_10|123_11|123_12|123_13|123_14|123_15|123_16|123_17|123_18|123_19|123_20|123_21|123_22|123_23|123_24|123_25|124_0|124_1|124_2|124_3|124_4|124_5|124_6|124_7|124_9|124_10|124_11|124_12|124_13|124_14|124_15|124_16|124_17|124_18|124_19|124_20|124_21|124_22|124_23|124_24|124_25|125_0|125_1|125_2|125_3|125_4|125_5|125_6|125_7|125_9|125_10|125_11|125_12|125_13|125_14|125_15|125_16|125_17|125_18|125_19|125_20|125_21|125_22|125_23|125_24|125_25"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0005,render_ocean_0003,render_ocean_0004,render_ocean_0002,render_common_0001,render_desert2,render_building_0001,render_building_0005,render_common_0004,render_building_0002,render_building_0004"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,5_0,5_1,5_2,5_7,5_23,5_24,5_25,6_0,6_1,6_2,6_7,6_9,6_23,6_24,6_25,7_0,7_1,7_2,7_7,7_9,7_23,7_24,7_25,8_0,8_1,8_2,8_23,8_24,8_25,9_0,9_1,9_2,9_23,9_24,9_25,10_0,10_1,10_2,10_23,10_24,10_25,11_0,11_1,11_2,11_23,11_24,11_25,12_0,12_1,12_2,12_23,12_24,12_25,13_0,13_1,13_2,13_23,13_24,13_25,14_0,14_1,14_2,14_23,14_24,14_25,15_0,15_1,15_2,15_5,15_23,15_24,15_25,16_0,16_1,16_2,16_23,16_24,16_25,17_0,17_1,17_2,17_23,17_24,17_25,18_0,18_1,18_2,18_23,18_24,18_25,19_0,19_1,19_2,19_23,19_24,19_25,20_0,20_1,20_2,20_23,20_24,20_25,21_0,21_1,21_2,21_23,21_24,21_25,22_0,22_1,22_2,22_23,22_24,22_25,23_0,23_1,23_2,23_23,23_24,23_25,24_0,24_1,24_2,24_23,24_24,24_25,25_0,25_1,25_2,25_23,25_24,25_25,26_0,26_1,26_2,26_23,26_24,26_25,27_0,27_1,27_2,27_23,27_24,27_25,28_0,28_1,28_2,28_23,28_24,28_25,29_0,29_1,29_2,29_23,29_24,29_25,30_0,30_1,30_2,30_23,30_24,30_25,31_0,31_1,31_2,31_23,31_24,31_25,32_0,32_1,32_2,32_23,32_24,32_25,33_0,33_1,33_2,33_23,33_24,33_25,34_0,34_1,34_2,34_23,34_24,34_25,35_0,35_1,35_2,35_23,35_24,35_25,36_0,36_1,36_2,36_23,36_24,36_25,37_0,37_1,37_2,37_23,37_24,37_25,38_0,38_1,38_2,38_23,38_24,38_25,39_0,39_1,39_2,39_23,39_24,39_25,40_0,40_1,40_2,40_23,40_24,40_25,41_0,41_1,41_2,41_23,41_24,41_25,42_0,42_1,42_2,42_23,42_24,42_25,43_0,43_1,43_2,43_23,43_24,43_25,44_0,44_1,44_2,44_23,44_24,44_25,45_0,45_1,45_2,45_23,45_24,45_25,46_0,46_1,46_2,46_23,46_24,46_25,47_0,47_1,47_2,47_23,47_24,47_25,48_0,48_1,48_2,48_23,48_24,48_25,49_0,49_1,49_2,49_23,49_24,49_25,50_0,50_1,50_2,50_23,50_24,50_25,51_0,51_1,51_2,51_23,51_24,51_25,52_0,52_1,52_2,52_23,52_24,52_25,53_0,53_1,53_2,53_23,53_24,53_25,54_0,54_1,54_2,54_23,54_24,54_25,55_0,55_1,55_2,55_23,55_24,55_25,56_0,56_1,56_2,56_23,56_24,56_25,57_0,57_1,57_2,57_23,57_24,57_25,58_0,58_1,58_2,58_23,58_24,58_25,59_0,59_1,59_2,59_23,59_24,59_25,60_0,60_1,60_2,60_23,60_24,60_25,61_0,61_1,61_2,61_23,61_24,61_25,62_0,62_1,62_2,62_23,62_24,62_25,63_0,63_1,63_2,63_23,63_24,63_25,64_0,64_1,64_2,64_23,64_24,64_25,65_0,65_1,65_2,65_23,65_24,65_25,66_0,66_1,66_2,66_23,66_24,66_25,67_0,67_1,67_2,67_23,67_24,67_25,68_0,68_1,68_2,68_23,68_24,68_25,69_0,69_1,69_2,69_23,69_24,69_25,70_0,70_1,70_2,70_23,70_24,70_25,71_0,71_1,71_2,71_23,71_24,71_25,72_0,72_1,72_2,72_23,72_24,72_25,73_0,73_1,73_2,73_23,73_24,73_25,74_0,74_1,74_2,74_23,74_24,74_25,75_0,75_1,75_2,75_23,75_24,75_25,76_0,76_1,76_2,76_23,76_24,76_25,77_0,77_1,77_2,77_23,77_24,77_25,78_0,78_1,78_2,78_23,78_24,78_25,79_0,79_1,79_2,79_23,79_24,79_25,80_0,80_1,80_2,80_23,80_24,80_25,81_0,81_1,81_2,81_23,81_24,81_25,82_0,82_1,82_2,82_23,82_24,82_25,83_0,83_1,83_2,83_23,83_24,83_25,84_0,84_1,84_2,84_23,84_24,84_25,85_0,85_1,85_2,85_23,85_24,85_25,86_0,86_1,86_2,86_23,86_24,86_25,87_0,87_1,87_2,87_23,87_24,87_25,88_0,88_1,88_2,88_23,88_24,88_25,89_0,89_1,89_2,89_23,89_24,89_25,90_0,90_1,90_2,90_23,90_24,90_25,91_0,91_1,91_2,91_23,91_24,91_25,92_0,92_1,92_2,92_23,92_24,92_25,93_0,93_1,93_2,93_23,93_24,93_25,94_0,94_1,94_2,94_23,94_24,94_25,95_0,95_1,95_2,95_23,95_24,95_25,96_0,96_1,96_2,96_23,96_24,96_25,97_0,97_1,97_2,97_23,97_24,97_25,98_0,98_1,98_2,98_23,98_24,98_25,99_0,99_1,99_2,99_23,99_24,99_25,100_0,100_1,100_2,100_23,100_24,100_25,101_0,101_1,101_2,101_23,101_24,101_25,102_0,102_1,102_2,102_23,102_24,102_25,103_0,103_1,103_2,103_23,103_24,103_25,104_0,104_1,104_2,104_23,104_24,104_25,105_0,105_1,105_2,105_23,105_24,105_25,106_0,106_1,106_2,106_23,106_24,106_25,107_0,107_1,107_2,107_23,107_24,107_25,108_0,108_1,108_2,108_23,108_24,108_25,109_0,109_1,109_2,109_23,109_24,109_25,110_0,110_1,110_2,110_23,110_24,110_25,111_0,111_1,111_2,111_23,111_24,111_25,112_0,112_1,112_2,112_23,112_24,112_25,113_0,113_1,113_2,113_23,113_24,113_25,114_0,114_1,114_2,114_23,114_24,114_25,115_0,115_1,115_2,115_23,115_24,115_25,116_0,116_1,116_2,116_23,116_24,116_25,117_0,117_1,117_2,117_3,117_23,117_24,117_25,118_0,118_1,118_2,118_23,118_24,118_25,119_0,119_1,119_2,119_23,119_24,119_25,120_0,120_1,120_2,120_20,120_23,120_24,120_25,121_0,121_1,121_2,121_3,121_4,121_5,121_6,121_7,121_9,121_10,121_11,121_12,121_13,121_14,121_15,121_16,121_17,121_18,121_19,121_20,121_21,121_22,121_23,121_24,121_25,122_0,122_1,122_2,122_3,122_4,122_5,122_6,122_7,122_9,122_10,122_11,122_12,122_13,122_14,122_15,122_16,122_17,122_18,122_19,122_20,122_21,122_22,122_23,122_24,122_25,123_0,123_1,123_2,123_3,123_4,123_5,123_6,123_7,123_9,123_10,123_11,123_12,123_13,123_14,123_15,123_16,123_17,123_18,123_19,123_20,123_21,123_22,123_23,123_24,123_25,124_0,124_1,124_2,124_3,124_4,124_5,124_6,124_7,124_9,124_10,124_11,124_12,124_13,124_14,124_15,124_16,124_17,124_18,124_19,124_20,124_21,124_22,124_23,124_24,124_25,125_0,125_1,125_2,125_3,125_4,125_5,125_6,125_7,125_9,125_10,125_11,125_12,125_13,125_14,125_15,125_16,125_17,125_18,125_19,125_20,125_21,125_22,125_23,125_24,125_25"; scene_data["render_warp_0001_coordinates"] = "5_8,120_8"; scene_data["render_ocean_0005_coordinates"] = "7_12,7_13,8_12,8_13,11_7,11_13,12_7,13_7,23_13,25_7,25_8,25_9,25_10,25_16,25_17,25_18,29_15,29_16,33_14,33_15,37_15,37_16,38_8,38_9,38_10,38_11,43_12,44_8,44_10,44_12,44_14,45_7,45_8,45_9,45_10,45_11,45_12,45_13,45_14,45_15,46_5,46_7,46_8,46_9,46_10,46_11,46_12,46_13,46_14,46_15,47_5,47_7,47_8,47_9,47_10,47_11,47_12,47_13,47_14,47_15,48_7,48_8,48_9,48_10,48_11,48_12,48_14,48_15,49_8,49_10,49_12,49_14,50_12,64_7,64_8,64_9,64_13,64_14,64_15,64_18,64_19,68_4,68_5,68_6,68_9,68_10,68_13,68_16,68_17,68_18,68_19,68_20,71_17,72_3,72_4,72_5,72_6,72_7,72_8,72_9,72_10,72_11,72_12,72_13,72_14,72_15,72_16,72_17,72_18,72_19,72_20,73_14,73_15,73_16,74_13,74_14,74_20,74_21,74_22,75_11,75_12,75_18,75_19,75_20,76_8,76_9,76_10,76_16,76_17,76_18,77_7,77_8,77_14,77_15,77_16,78_6,78_7,78_8,78_12,78_13,78_14,79_5,79_6,79_11,79_12,80_3,80_4,80_5,80_10,80_11,81_3,81_4,81_9,81_10,82_8,82_9,83_6,83_7,83_8,84_5,84_6,85_4,85_5,85_21,95_19,95_20,95_21,96_19,100_4,100_18,100_19,101_4,102_4,105_18,105_19,106_5,107_9,107_10,107_11,107_12,107_13,107_14,110_11,110_16,110_17,115_15,115_18,118_15"; scene_data["render_ocean_0003_coordinates"] = "8_4,9_4,9_17,10_17,10_19,11_17,11_19,12_10,12_17,13_10,14_10,17_15,18_4,18_15,19_4,19_7,19_15,19_21,20_4,20_7,20_15,20_21,21_4,21_15,21_21,22_4,22_15,23_15,24_15,28_7,29_7,29_19,29_21,30_4,30_7,30_19,31_4,31_7,32_4,32_7,33_7,33_19,34_7,34_19,34_21,35_6,35_7,35_19,36_7,37_7,43_19,44_19,45_19,49_19,50_19,51_19,97_8,98_8,99_8,100_8,101_8,102_8,103_8,104_8,105_8,106_8"; scene_data["render_ocean_0004_coordinates"] = "13_14,16_16,16_17,16_18,27_8,27_9,27_10,27_11,96_9,96_10,96_11,96_12,96_13,96_14"; scene_data["render_ocean_0002_coordinates"] = "16_12,17_12,17_19,18_12,18_19,19_12,19_19,20_12,20_19,21_19,22_19,23_19,24_19,28_12,29_12,30_12,31_12,32_12,33_12,34_12,35_12,36_12,37_12,55_12,56_8,56_12,56_16,57_5,57_8,57_12,57_16,57_19,58_8,58_12,59_12,80_18,81_18,82_14,82_16,82_18,83_14,84_14,88_5,89_5,89_11,89_14,89_15,89_16,89_19,90_5,90_7,90_11,90_15,90_16,90_19,97_15,98_7,98_15,99_15,100_15,102_15,103_15,104_15,105_15,106_15,112_7,113_7,113_12,113_21,114_7,114_12,117_7,117_9,118_7,118_9,119_7,119_9,120_7,120_9"; scene_data["render_common_0001_coordinates"] = "17_16,17_17,17_18,18_16,18_17,18_18,19_16,19_17,19_18,20_16,20_17,20_18,21_16,21_17,21_18,22_16,22_17,22_18,23_16,23_17,23_18,24_16,24_17,24_18,28_8,28_9,28_10,28_11,29_8,29_9,29_10,29_11,30_8,30_9,30_10,30_11,31_8,31_9,31_10,31_11,32_8,32_9,32_10,32_11,33_8,33_9,33_10,33_11,34_8,34_9,34_10,34_11,35_8,35_9,35_10,35_11,36_8,36_9,36_10,36_11,37_8,37_9,37_10,37_11,97_9,97_10,97_11,97_12,97_13,99_10,99_11,99_12,99_13,100_13,101_12,101_13,101_14,101_15,102_10,102_12,102_13,103_10,103_11,103_12,104_11,104_12,104_13,106_9,106_10,106_11,106_12,106_13"; scene_data["render_desert2_coordinates"] = "97_14,98_9,98_10,98_11,98_12,98_13,98_14,99_9,99_14,100_9,100_14,101_9,102_9,102_11,102_14,103_9,103_13,103_14,104_9,104_10,104_14,105_9,105_10,105_11,105_12,105_13,105_14,106_14"; scene_data["render_building_0001_coordinates"] = "100_10"; scene_data["render_building_0005_coordinates"] = "100_11"; scene_data["render_common_0004_coordinates"] = "100_12"; scene_data["render_building_0002_coordinates"] = "101_10"; scene_data["render_building_0004_coordinates"] = "101_11"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0127() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 90; scene_data["tile_y_count"] = 26; scene_data["name"] = "another boat scene 2"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {0}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"15,15","44,13"}; scene_data["boat_exit_coords"] = {"15,14","44,12"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_15,15"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_44,13"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_15,15"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_15,15"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_44,13"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_44,13"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=12, y=9, txt="You obtained 60g", required_dir="up", callback=function() GET_MONEY(600); PUT_STATE("b1", 127, 1, "top left box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=14, y=9, txt="You obtained 400g", required_dir="up", callback=function() GET_MONEY(400); PUT_STATE("b2", 127, 1, "top middle box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=16, y=9, txt="You obtained 400g", required_dir="up", callback=function() GET_MONEY(400); PUT_STATE("b3", 127, 1, "top right box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=12, y=11, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b4", 127, 1, "bottom left box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=14, y=11, txt="You obtained 25g", required_dir="up", callback=function() GET_MONEY(25); PUT_STATE("b5", 127, 1, "bottom middle box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b5", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=16, y=11, txt="You obtained 750g", required_dir="up", callback=function() GET_MONEY(750); PUT_STATE("b6", 127, 1, "bottom right box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b6", 127) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=43, y=9, txt="The path ahead lies east. {{new_line}} Underwater, there are so many beasts. {{new_line}} Mermaids' beauty never sway. {{new_line}} Above water, under water, there is more than one way.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=44, y=9, txt="Princess Anaya: {{new_line}} Your scaled-tail is beautiful. {{new_line}} {{new_line}} Mermaid: {{new_line}} Thank you! How can I help? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We are seeking the ocean gem. Do you have any hints as to where it might lie? {{new_line}} {{new_line}} Mermaid: {{new_line}} All I can say is that up ahead you will face challenges. If you pass them, you need not any more assistance. {{new_line}} {{new_line}} Princess Anaya: {{new_line}} That's somewhat cryptic, but thank you. Enjoy this lovely day!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=116, after_map_y=6, after_player_x=119, after_player_y=8, after_screen_x=3, after_screen_y=2, after_player_dir="left", x=5, y=10, scene_number=126, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=16, after_player_x=6, after_player_y=18, after_screen_x=2, after_screen_y=2, after_player_dir="up", x=83, y=10, scene_number=128, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|5_0|5_1|5_2|5_23|5_24|5_25|6_0|6_1|6_2|6_23|6_24|6_25|7_0|7_1|7_2|7_5|7_14|7_17|7_20|7_23|7_24|7_25|8_0|8_1|8_2|8_20|8_23|8_24|8_25|9_0|9_1|9_2|9_7|9_8|9_9|9_10|9_11|9_12|9_13|9_23|9_24|9_25|10_0|10_1|10_2|10_6|10_13|10_14|10_23|10_24|10_25|11_0|11_1|11_2|11_6|11_8|11_9|11_10|11_13|11_14|11_20|11_23|11_24|11_25|12_0|12_1|12_2|12_5|12_6|12_8|12_10|12_13|12_14|12_17|12_18|12_23|12_24|12_25|13_0|13_1|13_2|13_6|13_13|13_14|13_23|13_24|13_25|14_0|14_1|14_2|14_6|14_8|14_10|14_12|14_13|14_14|14_23|14_24|14_25|15_0|15_1|15_2|15_6|15_20|15_23|15_24|15_25|16_0|16_1|16_2|16_6|16_8|16_10|16_12|16_13|16_14|16_23|16_24|16_25|17_0|17_1|17_2|17_5|17_6|17_8|17_9|17_10|17_13|17_14|17_18|17_23|17_24|17_25|18_0|18_1|18_2|18_6|18_13|18_14|18_18|18_23|18_24|18_25|19_0|19_1|19_2|19_6|19_13|19_14|19_23|19_24|19_25|20_0|20_1|20_2|20_7|20_8|20_9|20_10|20_11|20_12|20_13|20_23|20_24|20_25|21_0|21_1|21_2|21_23|21_24|21_25|22_0|22_1|22_2|22_7|22_12|22_18|22_21|22_23|22_24|22_25|23_0|23_1|23_2|23_23|23_24|23_25|24_0|24_1|24_2|24_14|24_23|24_24|24_25|25_0|25_1|25_2|25_14|25_19|25_23|25_24|25_25|26_0|26_1|26_2|26_7|26_10|26_14|26_23|26_24|26_25|27_0|27_1|27_2|27_23|27_24|27_25|28_0|28_1|28_2|28_23|28_24|28_25|29_0|29_1|29_2|29_7|29_8|29_9|29_12|29_14|29_15|29_16|29_17|29_19|29_20|29_21|29_22|29_23|29_24|29_25|30_0|30_1|30_2|30_4|30_5|30_6|30_7|30_8|30_9|30_10|30_11|30_12|30_13|30_14|30_15|30_17|30_18|30_19|30_23|30_24|30_25|31_0|31_1|31_2|31_23|31_24|31_25|32_0|32_1|32_2|32_23|32_24|32_25|33_0|33_1|33_2|33_4|33_23|33_24|33_25|34_0|34_1|34_2|34_5|34_6|34_7|34_10|34_13|34_16|34_18|34_19|34_23|34_24|34_25|35_0|35_1|35_2|35_8|35_10|35_18|35_23|35_24|35_25|36_0|36_1|36_2|36_18|36_23|36_24|36_25|37_0|37_1|37_2|37_4|37_9|37_13|37_14|37_18|37_23|37_24|37_25|38_0|38_1|38_2|38_23|38_24|38_25|39_0|39_1|39_2|39_23|39_24|39_25|40_0|40_1|40_2|40_14|40_16|40_21|40_23|40_24|40_25|41_0|41_1|41_2|41_6|41_7|41_8|41_9|41_10|41_23|41_24|41_25|42_0|42_1|42_2|42_5|42_11|42_14|42_23|42_24|42_25|43_0|43_1|43_2|43_5|43_8|43_11|43_12|43_23|43_24|43_25|44_0|44_1|44_2|44_5|44_8|44_18|44_19|44_23|44_24|44_25|45_0|45_1|45_2|45_5|45_11|45_12|45_19|45_23|45_24|45_25|46_0|46_1|46_2|46_5|46_11|46_23|46_24|46_25|47_0|47_1|47_2|47_6|47_7|47_8|47_9|47_10|47_16|47_23|47_24|47_25|48_0|48_1|48_2|48_23|48_24|48_25|49_0|49_1|49_2|49_4|49_23|49_24|49_25|50_0|50_1|50_2|50_4|50_12|50_16|50_18|50_23|50_24|50_25|51_0|51_1|51_2|51_4|51_8|51_12|51_23|51_24|51_25|52_0|52_1|52_2|52_23|52_24|52_25|53_0|53_1|53_2|53_23|53_24|53_25|54_0|54_1|54_2|54_23|54_24|54_25|55_0|55_1|55_2|55_23|55_24|55_25|56_0|56_1|56_2|56_7|56_8|56_9|56_23|56_24|56_25|57_0|57_1|57_2|57_11|57_12|57_13|57_14|57_17|57_19|57_23|57_24|57_25|58_0|58_1|58_2|58_6|58_23|58_24|58_25|59_0|59_1|59_2|59_23|59_24|59_25|60_0|60_1|60_2|60_17|60_19|60_23|60_24|60_25|61_0|61_1|61_2|61_9|61_23|61_24|61_25|62_0|62_1|62_2|62_6|62_9|62_12|62_14|62_23|62_24|62_25|63_0|63_1|63_2|63_23|63_24|63_25|64_0|64_1|64_2|64_16|64_20|64_23|64_24|64_25|65_0|65_1|65_2|65_6|65_10|65_23|65_24|65_25|66_0|66_1|66_2|66_10|66_14|66_17|66_23|66_24|66_25|67_0|67_1|67_2|67_23|67_24|67_25|68_0|68_1|68_2|68_23|68_24|68_25|69_0|69_1|69_2|69_23|69_24|69_25|70_0|70_1|70_2|70_8|70_14|70_17|70_23|70_24|70_25|71_0|71_1|71_2|71_5|71_8|71_11|71_14|71_17|71_23|71_24|71_25|72_0|72_1|72_2|72_8|72_17|72_20|72_23|72_24|72_25|73_0|73_1|73_2|73_20|73_23|73_24|73_25|74_0|74_1|74_2|74_23|74_24|74_25|75_0|75_1|75_2|75_6|75_7|75_12|75_16|75_17|75_23|75_24|75_25|76_0|76_1|76_2|76_23|76_24|76_25|77_0|77_1|77_2|77_18|77_23|77_24|77_25|78_0|78_1|78_2|78_8|78_11|78_15|78_18|78_23|78_24|78_25|79_0|79_1|79_2|79_6|79_7|79_8|79_9|79_10|79_11|79_12|79_13|79_14|79_15|79_16|79_17|79_18|79_19|79_20|79_21|79_22|79_23|79_24|79_25|80_0|80_1|80_2|80_6|80_11|80_23|80_24|80_25|81_0|81_1|81_2|81_6|81_9|81_11|81_13|81_16|81_19|81_23|81_24|81_25|82_0|82_1|82_2|82_6|82_9|82_11|82_19|82_23|82_24|82_25|83_0|83_1|83_2|83_9|83_11|83_23|83_24|83_25|84_0|84_1|84_2|84_3|84_4|84_5|84_6|84_7|84_8|84_9|84_11|84_12|84_13|84_14|84_15|84_16|84_17|84_18|84_19|84_20|84_21|84_22|84_23|84_24|84_25|85_0|85_1|85_2|85_3|85_4|85_5|85_6|85_7|85_8|85_9|85_11|85_12|85_13|85_14|85_15|85_16|85_17|85_18|85_19|85_20|85_21|85_22|85_23|85_24|85_25|86_0|86_1|86_2|86_3|86_4|86_5|86_6|86_7|86_8|86_9|86_11|86_12|86_13|86_14|86_15|86_16|86_17|86_18|86_19|86_20|86_21|86_22|86_23|86_24|86_25|87_0|87_1|87_2|87_3|87_4|87_5|87_6|87_7|87_8|87_9|87_11|87_12|87_13|87_14|87_15|87_16|87_17|87_18|87_19|87_20|87_21|87_22|87_23|87_24|87_25|88_0|88_1|88_2|88_3|88_4|88_5|88_6|88_7|88_8|88_9|88_11|88_12|88_13|88_14|88_15|88_16|88_17|88_18|88_19|88_20|88_21|88_22|88_23|88_24|88_25|89_0|89_1|89_2|89_3|89_4|89_5|89_6|89_7|89_8|89_9|89_11|89_12|89_13|89_14|89_15|89_16|89_17|89_18|89_19|89_20|89_21|89_22|89_23|89_24|89_25"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0002,render_ocean_0004,render_ocean_0003,render_common_0001,render_desert1,render_common_0003,render_ocean_0005,render_common_0004,render_person_0013"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,5_0,5_1,5_2,5_23,5_24,5_25,6_0,6_1,6_2,6_23,6_24,6_25,7_0,7_1,7_2,7_23,7_24,7_25,8_0,8_1,8_2,8_23,8_24,8_25,9_0,9_1,9_2,9_23,9_24,9_25,10_0,10_1,10_2,10_23,10_24,10_25,11_0,11_1,11_2,11_23,11_24,11_25,12_0,12_1,12_2,12_23,12_24,12_25,13_0,13_1,13_2,13_23,13_24,13_25,14_0,14_1,14_2,14_23,14_24,14_25,15_0,15_1,15_2,15_23,15_24,15_25,16_0,16_1,16_2,16_23,16_24,16_25,17_0,17_1,17_2,17_23,17_24,17_25,18_0,18_1,18_2,18_23,18_24,18_25,19_0,19_1,19_2,19_23,19_24,19_25,20_0,20_1,20_2,20_23,20_24,20_25,21_0,21_1,21_2,21_23,21_24,21_25,22_0,22_1,22_2,22_23,22_24,22_25,23_0,23_1,23_2,23_23,23_24,23_25,24_0,24_1,24_2,24_23,24_24,24_25,25_0,25_1,25_2,25_23,25_24,25_25,26_0,26_1,26_2,26_23,26_24,26_25,27_0,27_1,27_2,27_23,27_24,27_25,28_0,28_1,28_2,28_23,28_24,28_25,29_0,29_1,29_2,29_23,29_24,29_25,30_0,30_1,30_2,30_23,30_24,30_25,31_0,31_1,31_2,31_23,31_24,31_25,32_0,32_1,32_2,32_23,32_24,32_25,33_0,33_1,33_2,33_23,33_24,33_25,34_0,34_1,34_2,34_23,34_24,34_25,35_0,35_1,35_2,35_23,35_24,35_25,36_0,36_1,36_2,36_23,36_24,36_25,37_0,37_1,37_2,37_23,37_24,37_25,38_0,38_1,38_2,38_23,38_24,38_25,39_0,39_1,39_2,39_23,39_24,39_25,40_0,40_1,40_2,40_23,40_24,40_25,41_0,41_1,41_2,41_23,41_24,41_25,42_0,42_1,42_2,42_23,42_24,42_25,43_0,43_1,43_2,43_23,43_24,43_25,44_0,44_1,44_2,44_23,44_24,44_25,45_0,45_1,45_2,45_23,45_24,45_25,46_0,46_1,46_2,46_23,46_24,46_25,47_0,47_1,47_2,47_23,47_24,47_25,48_0,48_1,48_2,48_23,48_24,48_25,49_0,49_1,49_2,49_23,49_24,49_25,50_0,50_1,50_2,50_23,50_24,50_25,51_0,51_1,51_2,51_23,51_24,51_25,52_0,52_1,52_2,52_23,52_24,52_25,53_0,53_1,53_2,53_23,53_24,53_25,54_0,54_1,54_2,54_23,54_24,54_25,55_0,55_1,55_2,55_23,55_24,55_25,56_0,56_1,56_2,56_23,56_24,56_25,57_0,57_1,57_2,57_23,57_24,57_25,58_0,58_1,58_2,58_23,58_24,58_25,59_0,59_1,59_2,59_23,59_24,59_25,60_0,60_1,60_2,60_23,60_24,60_25,61_0,61_1,61_2,61_23,61_24,61_25,62_0,62_1,62_2,62_23,62_24,62_25,63_0,63_1,63_2,63_23,63_24,63_25,64_0,64_1,64_2,64_23,64_24,64_25,65_0,65_1,65_2,65_23,65_24,65_25,66_0,66_1,66_2,66_23,66_24,66_25,67_0,67_1,67_2,67_23,67_24,67_25,68_0,68_1,68_2,68_23,68_24,68_25,69_0,69_1,69_2,69_23,69_24,69_25,70_0,70_1,70_2,70_23,70_24,70_25,71_0,71_1,71_2,71_23,71_24,71_25,72_0,72_1,72_2,72_23,72_24,72_25,73_0,73_1,73_2,73_23,73_24,73_25,74_0,74_1,74_2,74_23,74_24,74_25,75_0,75_1,75_2,75_23,75_24,75_25,76_0,76_1,76_2,76_23,76_24,76_25,77_0,77_1,77_2,77_23,77_24,77_25,78_0,78_1,78_2,78_23,78_24,78_25,79_0,79_1,79_2,79_23,79_24,79_25,80_0,80_1,80_2,80_23,80_24,80_25,81_0,81_1,81_2,81_23,81_24,81_25,82_0,82_1,82_2,82_23,82_24,82_25,83_0,83_1,83_2,83_23,83_24,83_25,84_0,84_1,84_2,84_3,84_4,84_5,84_6,84_7,84_8,84_9,84_11,84_12,84_13,84_14,84_15,84_16,84_17,84_18,84_19,84_20,84_21,84_22,84_23,84_24,84_25,85_0,85_1,85_2,85_3,85_4,85_5,85_6,85_7,85_8,85_9,85_11,85_12,85_13,85_14,85_15,85_16,85_17,85_18,85_19,85_20,85_21,85_22,85_23,85_24,85_25,86_0,86_1,86_2,86_3,86_4,86_5,86_6,86_7,86_8,86_9,86_11,86_12,86_13,86_14,86_15,86_16,86_17,86_18,86_19,86_20,86_21,86_22,86_23,86_24,86_25,87_0,87_1,87_2,87_3,87_4,87_5,87_6,87_7,87_8,87_9,87_11,87_12,87_13,87_14,87_15,87_16,87_17,87_18,87_19,87_20,87_21,87_22,87_23,87_24,87_25,88_0,88_1,88_2,88_3,88_4,88_5,88_6,88_7,88_8,88_9,88_11,88_12,88_13,88_14,88_15,88_16,88_17,88_18,88_19,88_20,88_21,88_22,88_23,88_24,88_25,89_0,89_1,89_2,89_3,89_4,89_5,89_6,89_7,89_8,89_9,89_11,89_12,89_13,89_14,89_15,89_16,89_17,89_18,89_19,89_20,89_21,89_22,89_23,89_24,89_25"; scene_data["render_warp_0001_coordinates"] = "5_10,83_10"; scene_data["render_ocean_0002_coordinates"] = "7_5,7_14,7_17,7_20,8_20,10_14,11_14,11_20,12_5,12_14,12_17,12_18,13_14,14_14,15_20,16_14,17_5,17_14,17_18,18_14,18_18,19_14,22_7,22_12,22_18,22_21,24_14,25_14,25_19,26_7,26_10,26_14,34_5,34_6,34_7,34_10,34_13,34_16,34_18,34_19,35_8,35_10,35_18,36_18,37_4,37_9,37_13,37_14,37_18,40_14,40_16,40_21,42_11,42_14,43_11,44_18,44_19,45_11,45_19,46_11,47_16,49_4,50_4,50_12,50_16,50_18,51_4,51_8,51_12,70_8,70_14,70_17,71_5,71_8,71_11,71_14,71_17,72_8,72_17,72_20,73_20,75_6,75_7,75_12,75_16,75_17,80_11,81_11,82_11,83_11"; scene_data["render_ocean_0004_coordinates"] = "9_7,9_8,9_9,9_10,9_11,9_12,9_13,29_7,29_8,29_9,29_12,29_14,29_15,29_16,29_17,29_19,29_20,29_21,29_22,30_4,30_5,30_6,30_7,30_8,30_9,30_10,30_11,30_12,30_13,30_14,30_15,30_17,30_18,30_19,33_4,41_6,41_7,41_8,41_9,41_10,56_7,56_8,56_9,57_11,57_12,57_13,57_14,57_17,57_19,58_6,60_17,60_19,61_9,62_6,62_9,62_12,62_14,64_16,64_20,65_6,65_10,66_10,66_14,66_17,77_18,78_8,78_11,78_15,78_18,79_6,79_7,79_8,79_9,79_10,79_11,79_12,79_13,79_14,79_15,79_16,79_17,79_18,79_19,79_20,79_21,79_22,80_6,81_6,81_9,81_13,81_16,81_19,82_6,82_9,82_19,83_9"; scene_data["render_ocean_0003_coordinates"] = "10_6,11_6,12_6,13_6,14_6,15_6,16_6,17_6,18_6,19_6,42_5,43_5,44_5,45_5,46_5"; scene_data["render_common_0001_coordinates"] = "10_7,10_8,10_9,10_10,10_11,10_12,11_7,11_11,11_12,12_7,12_9,12_11,12_12,13_7,13_8,13_9,13_10,13_11,13_12,14_7,14_9,14_11,15_7,15_8,15_9,15_10,15_11,15_12,15_13,15_14,16_7,16_9,16_11,17_7,17_11,17_12,18_7,18_8,18_9,18_10,18_11,18_12,19_7,19_8,19_9,19_10,19_11,19_12,42_6,42_7,42_8,42_9,42_10,43_6,43_7,43_9,43_10,44_6,44_7,44_9,44_10,44_11,44_12,45_6,45_7,45_8,45_9,45_10,46_6,46_7,46_8,46_9,46_10"; scene_data["render_desert1_coordinates"] = "10_13,11_8,11_9,11_10,11_13,12_13,13_13,14_12,14_13,16_12,16_13,17_8,17_9,17_10,17_13,18_13,19_13,43_12,45_12"; scene_data["render_common_0003_coordinates"] = "12_8,12_10,14_8,14_10,16_8,16_10"; scene_data["render_ocean_0005_coordinates"] = "20_7,20_8,20_9,20_10,20_11,20_12,20_13,47_6,47_7,47_8,47_9,47_10"; scene_data["render_common_0004_coordinates"] = "43_8"; scene_data["render_person_0013_coordinates"] = "44_8"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0128() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 71; scene_data["tile_y_count"] = 26; scene_data["name"] = "Boat Harbor"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 6; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {200}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"24,11","48,14"}; scene_data["boat_exit_coords"] = {"24,10","48,13"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_24,11"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_48,14"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_24,11"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_24,11"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_48,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_48,14"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=25, y=8, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b1", 128, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 128) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=48, y=9, txt="You obtained 1500g", required_dir="up", callback=function() GET_MONEY(1500); PUT_STATE("b2", 128, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 128) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=80, after_map_y=8, after_player_x=82, after_player_y=10, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=6, y=19, scene_number=127, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=15, after_player_x=6, after_player_y=17, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=65, y=10, scene_number=129, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=23, y=7, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=300, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_19|1_19|2_19|3_19|4_19|5_17|5_19|6_16|6_17|6_18|6_19|7_15|7_16|7_17|7_18|8_14|8_15|8_16|9_13|9_14|9_15|10_12|10_13|10_14|11_11|11_12|11_13|12_9|12_10|12_11|12_12|13_7|13_8|13_9|13_10|13_11|14_6|14_7|14_8|15_4|15_5|15_6|16_4|16_5|17_3|17_4|18_3|19_3|19_4|19_5|19_6|19_7|19_8|19_9|19_10|19_11|19_12|19_13|19_14|19_15|19_16|19_17|19_18|19_19|19_20|19_21|19_22|20_3|20_4|20_8|20_10|20_11|20_13|20_14|20_15|20_16|20_17|20_18|20_19|20_21|20_22|21_3|21_11|21_12|21_13|21_14|21_15|21_16|21_17|21_18|21_19|21_20|21_21|21_22|22_3|22_8|22_11|22_12|22_13|22_14|22_15|22_16|22_17|22_18|22_19|22_20|22_21|22_22|23_3|23_7|23_8|23_11|23_12|23_13|23_14|23_15|23_16|23_18|23_19|23_20|23_21|23_22|24_3|24_6|24_7|24_8|24_9|24_10|24_11|24_12|24_13|24_15|24_16|24_17|24_18|24_19|24_20|24_21|24_22|25_3|25_6|25_8|25_11|25_12|25_13|25_14|25_15|25_16|25_17|25_18|25_19|25_20|25_21|25_22|26_3|26_6|26_7|26_8|26_11|26_12|26_13|26_14|26_15|26_17|26_18|26_19|26_21|26_22|27_3|27_11|27_12|27_13|27_14|27_15|27_16|27_17|27_18|27_19|27_20|27_21|27_22|28_3|28_4|28_10|28_11|28_12|28_13|28_14|28_15|28_16|28_17|28_18|28_19|28_20|28_21|28_22|29_3|29_4|29_5|29_6|29_7|29_8|29_9|29_10|29_11|29_12|29_13|29_14|29_15|29_16|29_17|29_18|29_19|29_20|29_21|29_22|30_3|30_4|30_7|30_8|30_10|30_11|30_13|30_15|30_16|30_20|30_21|30_22|31_22|32_3|32_4|32_5|32_6|32_7|32_8|32_9|32_10|32_11|32_12|32_13|32_14|32_15|32_16|32_17|32_18|32_19|32_20|32_21|32_22|33_3|33_4|33_5|33_6|33_7|33_8|33_9|33_10|33_11|33_12|33_13|33_14|33_15|33_16|33_20|33_21|33_22|34_3|34_4|34_5|34_6|34_7|34_8|34_12|34_13|34_14|34_15|34_17|34_18|34_19|34_21|34_22|35_3|35_4|35_6|35_7|35_8|35_9|35_10|35_11|35_12|35_13|35_14|35_15|35_17|35_18|35_19|35_21|35_22|36_3|36_4|36_5|36_6|36_7|36_8|36_9|36_10|36_11|36_12|36_13|36_14|36_15|36_17|36_18|36_19|36_21|36_22|37_3|37_4|37_6|37_7|37_8|37_9|37_10|37_11|37_13|37_14|37_15|37_17|37_18|37_19|37_21|37_22|38_3|38_4|38_5|38_6|38_7|38_8|38_9|38_10|38_11|38_12|38_13|38_14|38_15|38_16|38_20|38_21|38_22|39_3|39_4|39_5|39_6|39_7|39_10|39_11|39_12|39_13|39_14|39_15|39_16|39_17|39_18|39_19|39_20|39_21|39_22|40_3|40_4|40_5|40_6|40_8|40_9|40_11|40_12|40_13|40_14|40_15|40_16|40_17|40_18|40_19|40_20|40_21|40_22|41_3|41_4|41_5|41_6|41_8|41_9|41_11|41_12|41_13|41_15|41_16|41_17|41_18|41_19|41_21|41_22|42_3|42_4|42_5|42_6|42_8|42_9|42_11|42_12|42_13|42_14|42_15|42_16|42_17|42_18|42_19|42_20|42_21|42_22|43_3|43_4|43_6|43_7|43_10|43_11|43_12|43_13|43_14|43_15|43_16|43_17|43_18|43_19|43_20|43_21|43_22|44_3|44_4|44_5|44_6|44_7|44_8|44_9|44_10|44_11|44_12|44_13|44_15|44_16|44_18|44_19|44_20|44_21|44_22|45_3|45_4|45_5|45_6|45_7|45_13|45_14|45_15|45_16|45_17|45_18|45_19|45_20|45_21|45_22|46_3|46_4|46_5|46_6|46_14|46_15|46_16|46_17|46_18|46_19|46_20|46_21|46_22|47_3|47_4|47_5|47_6|47_9|47_10|47_11|47_14|47_15|47_16|47_17|47_18|47_19|47_20|47_21|47_22|48_3|48_4|48_6|48_9|48_10|48_11|48_12|48_13|48_14|48_15|48_16|48_17|48_18|48_19|48_20|48_21|48_22|49_3|49_4|49_5|49_6|49_14|49_15|49_16|49_17|49_18|49_19|49_20|49_21|49_22|50_3|50_4|50_5|50_6|50_7|50_13|50_14|50_15|50_16|50_17|50_18|50_19|50_20|50_21|50_22|51_3|51_4|51_5|51_6|51_7|51_8|51_9|51_10|51_11|51_12|51_13|51_14|51_15|51_16|51_17|51_18|51_19|51_20|51_21|51_22|52_22|53_22|54_21|54_22|55_20|55_21|56_19|56_20|57_18|57_19|58_17|58_18|59_16|59_17|60_13|60_14|60_15|60_16|61_11|61_12|61_13|62_10|62_11|63_9|63_10|64_9|64_10|65_10|66_10|67_10|68_10|69_10|70_10"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_desert1,render_ocean_0002,render_building_0001,render_building_0005,render_common_0001,render_building_0002,render_building_0004,render_common_0003,render_ocean_0005"; scene_data["render_ocean_0008_coordinates"] = "0_19,1_19,2_19,3_19,4_19,5_17,5_19,6_16,6_17,6_18,7_15,7_16,7_17,7_18,8_14,8_15,8_16,9_13,9_14,9_15,10_12,10_13,10_14,11_11,11_12,11_13,12_9,12_10,12_11,12_12,13_7,13_8,13_9,13_10,13_11,14_6,14_7,14_8,15_4,15_5,15_6,16_4,16_5,17_3,17_4,18_3,19_3,19_4,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_14,19_15,19_16,19_17,19_18,19_19,19_20,19_21,19_22,20_3,20_4,20_8,20_10,20_11,20_13,20_14,20_15,20_16,20_17,20_18,20_19,20_21,20_22,21_3,21_11,21_12,21_13,21_14,21_15,21_16,21_17,21_18,21_19,21_20,21_21,21_22,22_3,22_11,22_12,22_13,22_14,22_15,22_16,22_17,22_18,22_19,22_20,22_21,22_22,23_3,23_11,23_12,23_13,23_14,23_15,23_16,23_18,23_19,23_20,23_21,23_22,24_3,24_11,24_12,24_13,24_15,24_16,24_17,24_18,24_19,24_20,24_21,24_22,25_3,25_11,25_12,25_13,25_14,25_15,25_16,25_17,25_18,25_19,25_20,25_21,25_22,26_3,26_11,26_12,26_13,26_14,26_15,26_17,26_18,26_19,26_21,26_22,27_3,27_11,27_12,27_13,27_14,27_15,27_16,27_17,27_18,27_19,27_20,27_21,27_22,28_3,28_4,28_10,28_11,28_12,28_13,28_14,28_15,28_16,28_17,28_18,28_19,28_20,28_21,28_22,29_3,29_4,29_5,29_6,29_7,29_8,29_9,29_10,29_11,29_12,29_13,29_14,29_15,29_16,29_17,29_18,29_19,29_20,29_21,29_22,30_3,30_4,30_7,30_8,30_10,30_11,30_13,30_15,30_16,30_20,30_21,30_22,31_22,32_3,32_4,32_5,32_6,32_7,32_8,32_9,32_10,32_11,32_12,32_13,32_14,32_15,32_16,32_17,32_18,32_19,32_20,32_21,32_22,33_3,33_4,33_5,33_6,33_7,33_8,33_9,33_10,33_11,33_12,33_13,33_14,33_15,33_16,33_20,33_21,33_22,34_3,34_4,34_5,34_6,34_7,34_8,34_12,34_13,34_14,34_15,34_21,34_22,35_3,35_4,35_6,35_7,35_8,35_9,35_10,35_11,35_12,35_13,35_14,35_15,35_21,35_22,36_3,36_4,36_5,36_6,36_7,36_8,36_9,36_10,36_11,36_12,36_13,36_14,36_15,36_21,36_22,37_3,37_4,37_6,37_7,37_8,37_9,37_10,37_11,37_13,37_14,37_15,37_21,37_22,38_3,38_4,38_5,38_6,38_7,38_8,38_9,38_10,38_11,38_12,38_13,38_14,38_15,38_16,38_20,38_21,38_22,39_3,39_4,39_5,39_6,39_7,39_10,39_11,39_12,39_13,39_14,39_15,39_16,39_17,39_18,39_19,39_20,39_21,39_22,40_3,40_4,40_5,40_6,40_11,40_12,40_13,40_14,40_15,40_16,40_17,40_18,40_19,40_20,40_21,40_22,41_3,41_4,41_5,41_6,41_11,41_12,41_13,41_15,41_16,41_17,41_18,41_19,41_21,41_22,42_3,42_4,42_5,42_6,42_11,42_12,42_13,42_14,42_15,42_16,42_17,42_18,42_19,42_20,42_21,42_22,43_3,43_4,43_6,43_7,43_10,43_11,43_12,43_13,43_14,43_15,43_16,43_17,43_18,43_19,43_20,43_21,43_22,44_3,44_4,44_5,44_6,44_7,44_8,44_9,44_10,44_11,44_12,44_13,44_15,44_16,44_18,44_19,44_20,44_21,44_22,45_3,45_4,45_5,45_6,45_7,45_13,45_14,45_15,45_16,45_17,45_18,45_19,45_20,45_21,45_22,46_3,46_4,46_5,46_6,46_14,46_15,46_16,46_17,46_18,46_19,46_20,46_21,46_22,47_3,47_4,47_5,47_6,47_14,47_15,47_16,47_17,47_18,47_19,47_20,47_21,47_22,48_3,48_4,48_6,48_14,48_15,48_16,48_17,48_18,48_19,48_20,48_21,48_22,49_3,49_4,49_5,49_6,49_14,49_15,49_16,49_17,49_18,49_19,49_20,49_21,49_22,50_3,50_4,50_5,50_6,50_7,50_13,50_14,50_15,50_16,50_17,50_18,50_19,50_20,50_21,50_22,51_3,51_4,51_5,51_6,51_7,51_8,51_9,51_10,51_11,51_12,51_13,51_14,51_15,51_16,51_17,51_18,51_19,51_20,51_21,51_22,52_22,53_22,54_21,54_22,55_20,55_21,56_19,56_20,57_18,57_19,58_17,58_18,59_16,59_17,60_13,60_14,60_15,60_16,61_11,61_12,61_13,62_10,62_11,63_9,63_10,64_9,64_10,66_10,67_10,68_10,69_10,70_10"; scene_data["render_warp_0001_coordinates"] = "6_19,65_10"; scene_data["render_ocean_0004_coordinates"] = "20_5,20_6,20_7,20_9,33_17,33_18,33_19,39_8,39_9,45_8,45_9,45_10,45_11,45_12"; scene_data["render_ocean_0003_coordinates"] = "21_4,22_4,23_4,24_4,25_4,26_4,27_4,34_16,35_16,36_16,37_16,40_7,41_7,42_7,46_7,47_7,48_7,49_7"; scene_data["render_desert1_coordinates"] = "21_5,21_6,21_7,21_8,21_9,22_5,22_9,23_5,23_9,24_5,25_5,25_9,26_5,26_9,27_5,27_6,27_7,27_8,27_9,46_8,46_9,46_10,46_11,46_12,47_8,47_12,49_8,49_9,49_10,49_11,49_12"; scene_data["render_ocean_0002_coordinates"] = "21_10,22_10,23_10,25_10,26_10,27_10,34_20,35_20,36_20,37_20,40_10,41_10,42_10,46_13,47_13,49_13"; scene_data["render_building_0001_coordinates"] = "22_6"; scene_data["render_building_0005_coordinates"] = "22_7"; scene_data["render_common_0001_coordinates"] = "22_8,23_8,24_6,24_7,24_8,24_9,24_10,25_6,25_8,26_6,26_7,26_8,34_17,34_18,34_19,35_17,35_18,35_19,36_17,36_18,36_19,37_17,37_18,37_19,40_8,40_9,41_8,41_9,42_8,42_9,47_9,47_10,47_11,48_9,48_10,48_11,48_12,48_13"; scene_data["render_building_0002_coordinates"] = "23_6"; scene_data["render_building_0004_coordinates"] = "23_7"; scene_data["render_common_0003_coordinates"] = "25_7,48_8"; scene_data["render_ocean_0005_coordinates"] = "28_5,28_6,28_7,28_8,28_9,38_17,38_18,38_19,43_8,43_9,50_8,50_9,50_10,50_11,50_12"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0129() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 82; scene_data["tile_y_count"] = 24; scene_data["name"] = "Boat Harbor"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=61, after_map_y=8, after_player_x=64, after_player_y=10, after_screen_x=3, after_screen_y=2, after_player_dir="left", x=5, y=17, scene_number=128, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=3, after_map_y=2, after_player_x=6, after_player_y=4, after_screen_x=3, after_screen_y=2, after_player_dir="right", x=76, y=8, scene_number=130, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_17|1_17|2_17|3_17|4_17|5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_17|5_19|5_20|6_3|6_4|6_5|6_6|6_7|6_14|6_15|6_16|6_17|6_18|6_19|6_20|7_3|7_4|7_5|7_6|7_8|7_9|7_10|7_11|7_12|7_13|7_15|7_16|7_17|7_18|7_19|7_20|8_3|8_4|8_6|8_8|8_9|8_10|8_11|8_12|8_13|8_15|8_19|8_20|9_3|9_4|9_5|9_6|9_8|9_9|9_10|9_11|9_12|9_13|9_15|9_16|9_17|9_18|9_19|9_20|10_3|10_4|10_5|10_6|10_8|10_9|10_10|10_11|10_12|10_13|10_15|10_19|10_20|11_3|11_4|11_5|11_6|11_8|11_9|11_10|11_11|11_12|11_13|11_16|11_17|11_18|11_20|12_3|12_4|12_5|12_6|12_8|12_9|12_10|12_11|12_12|12_13|12_16|12_17|12_18|12_20|13_3|13_6|13_8|13_9|13_10|13_11|13_12|13_13|13_15|13_19|13_20|14_3|14_4|14_5|14_6|14_8|14_9|14_10|14_11|14_12|14_13|14_15|14_16|14_17|14_18|14_19|14_20|15_3|15_4|15_5|15_6|15_8|15_9|15_10|15_11|15_12|15_13|15_15|15_16|15_17|15_18|15_19|15_20|16_3|16_4|16_5|16_6|16_7|16_14|16_15|16_17|16_20|17_3|17_4|17_5|17_6|17_7|17_8|17_9|17_10|17_12|17_13|17_14|17_15|17_16|17_17|17_18|17_19|17_20|18_3|18_4|18_6|18_7|18_8|18_9|18_10|18_11|18_12|18_13|18_14|18_15|18_16|18_17|18_18|18_19|18_20|19_3|19_4|19_5|19_6|19_7|19_10|19_11|19_12|19_18|19_19|19_20|20_3|20_4|20_5|20_6|20_8|20_9|20_11|20_13|20_14|20_15|20_16|20_17|20_19|20_20|21_3|21_4|21_5|21_6|21_8|21_9|21_11|21_13|21_14|21_15|21_16|21_17|21_19|21_20|22_3|22_5|22_6|22_7|22_10|22_11|22_13|22_14|22_15|22_16|22_17|22_19|22_20|23_3|23_4|23_5|23_6|23_7|23_8|23_9|23_10|23_11|23_12|23_18|23_19|23_20|24_3|24_4|24_5|24_7|24_8|24_9|24_10|24_11|24_12|24_13|24_14|24_15|24_16|24_17|24_18|24_20|25_3|25_4|25_5|25_6|25_7|25_8|25_9|25_11|25_12|25_13|25_14|25_17|25_18|25_19|25_20|26_3|26_4|26_5|26_6|26_7|26_8|26_9|26_10|26_11|26_12|26_13|26_14|26_15|26_16|26_17|26_18|26_19|26_20|27_20|28_3|28_4|28_5|28_6|28_7|28_8|28_9|28_10|28_11|28_12|28_13|28_14|28_15|28_16|28_17|28_18|28_19|28_20|29_3|29_4|29_5|29_6|29_7|29_8|29_9|29_10|29_11|29_12|29_13|29_14|29_15|29_16|29_17|29_18|29_19|29_20|30_3|30_4|30_5|30_6|30_7|30_10|30_11|30_12|30_15|30_16|30_19|30_20|31_3|31_4|31_6|31_8|31_9|31_11|31_13|31_14|31_17|31_18|31_20|32_3|32_8|32_9|32_11|32_13|32_14|32_17|32_18|32_20|33_3|33_4|33_6|33_7|33_10|33_11|33_12|33_15|33_16|33_19|33_20|34_3|34_4|34_5|34_6|34_7|34_8|34_20|35_3|35_4|35_5|35_6|35_7|35_9|35_10|35_11|35_12|35_13|35_14|35_15|35_16|35_17|35_18|35_19|36_3|36_4|36_9|36_10|36_11|36_12|36_13|36_14|36_15|36_16|36_17|36_18|36_19|37_3|37_6|37_7|37_9|37_10|37_11|37_12|37_13|37_14|37_15|37_16|37_17|37_18|37_19|38_3|38_4|38_6|38_7|38_8|38_20|39_3|39_4|39_5|39_6|39_7|39_8|39_9|39_10|39_11|39_12|39_13|39_14|39_15|39_16|39_17|39_18|39_19|39_20|40_3|40_4|40_5|40_6|40_7|40_8|40_9|40_10|40_11|40_13|40_14|40_15|40_16|40_17|40_18|40_19|40_20|41_3|41_4|41_6|41_7|41_10|41_11|41_12|41_13|41_14|41_16|41_17|41_19|41_20|42_3|42_4|42_5|42_6|42_8|42_9|42_11|42_12|42_13|42_14|42_16|42_17|42_18|42_19|42_20|43_3|43_4|43_5|43_6|43_8|43_9|43_11|43_12|43_13|43_14|43_15|43_16|43_17|43_18|43_19|43_20|44_3|44_4|44_5|44_6|44_8|44_9|44_11|44_12|44_15|44_16|44_17|44_18|44_19|44_20|45_3|45_4|45_5|45_6|45_8|45_9|45_11|45_13|45_14|45_16|45_19|45_20|46_4|46_5|46_8|46_9|46_11|46_13|46_14|46_17|46_18|46_20|47_3|47_4|47_5|47_6|47_8|47_9|47_11|47_13|47_14|47_17|47_18|47_20|48_3|48_4|48_5|48_6|48_8|48_9|48_11|48_13|48_14|48_16|48_19|48_20|49_3|49_4|49_5|49_6|49_8|49_9|49_11|49_12|49_15|49_16|49_17|49_18|49_19|49_20|50_3|50_6|50_8|50_9|50_12|50_13|50_14|50_15|50_16|50_17|50_18|50_19|50_20|51_3|51_4|51_5|51_6|51_8|51_9|51_11|51_12|51_13|51_18|51_19|51_20|52_3|52_4|52_5|52_6|52_8|52_9|52_11|52_12|52_13|52_14|52_15|52_16|52_17|52_18|52_19|52_20|53_3|53_5|53_6|53_8|53_9|53_11|53_12|53_13|53_14|53_15|53_16|53_17|53_18|53_19|53_20|54_3|54_4|54_5|54_6|54_7|54_10|54_11|54_12|54_13|54_14|54_15|54_17|54_18|54_19|54_20|55_3|55_4|55_5|55_6|55_7|55_8|55_9|55_10|55_11|55_14|55_15|55_17|55_19|55_20|56_20|57_3|57_4|57_5|57_6|57_7|57_8|57_10|57_11|57_13|57_14|57_15|57_16|57_17|57_18|57_19|57_20|58_3|58_4|58_7|58_8|58_9|58_10|58_11|58_12|58_13|58_14|58_15|58_16|58_17|58_18|58_19|58_20|59_3|59_5|59_6|59_8|59_9|59_10|59_11|59_12|59_13|59_14|59_19|59_20|60_3|60_5|60_6|60_8|60_9|60_10|60_11|60_12|60_13|60_15|60_16|60_17|60_18|60_20|61_3|61_5|61_6|61_8|61_10|61_11|61_13|61_15|61_16|61_17|61_18|61_20|62_3|62_5|62_6|62_9|62_11|62_12|62_13|62_15|62_16|62_17|62_18|62_20|63_3|63_5|63_6|63_9|63_11|63_12|63_13|63_15|63_16|63_17|63_18|63_20|64_3|64_5|64_6|64_8|64_10|64_11|64_12|64_13|64_14|64_19|64_20|65_3|65_5|65_6|65_8|65_9|65_10|65_11|65_12|65_13|65_14|65_15|65_16|65_17|65_18|65_19|65_20|66_3|66_5|66_6|66_8|66_10|66_11|66_12|66_13|66_14|66_15|66_16|66_18|66_19|66_20|67_3|67_5|67_6|67_8|67_9|67_10|67_11|67_17|67_18|67_19|67_20|68_3|68_5|68_6|68_8|68_9|68_10|68_12|68_13|68_14|68_15|68_16|68_18|68_19|68_20|69_3|69_4|69_7|69_8|69_9|69_10|69_12|69_13|69_14|69_15|69_16|69_18|69_19|69_20|70_3|70_4|70_5|70_6|70_7|70_8|70_9|70_10|70_11|70_17|70_18|70_19|70_20|71_3|71_4|71_5|71_6|71_8|71_9|71_11|71_12|71_13|71_15|71_16|71_17|71_20|72_9|73_9|74_9|75_9|75_10|76_8|76_9|76_10|76_11|77_8|78_8|79_8|80_8|81_8"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_ocean_0002,render_ocean_0005"; scene_data["render_ocean_0008_coordinates"] = "0_17,1_17,2_17,3_17,4_17,5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_19,5_20,6_3,6_4,6_5,6_6,6_7,6_14,6_15,6_16,6_17,6_18,6_19,6_20,7_3,7_4,7_5,7_6,7_15,7_16,7_17,7_18,7_19,7_20,8_3,8_4,8_6,8_15,8_19,8_20,9_3,9_4,9_5,9_6,9_15,9_16,9_17,9_18,9_19,9_20,10_3,10_4,10_5,10_6,10_15,10_19,10_20,11_3,11_4,11_5,11_6,11_20,12_3,12_4,12_5,12_6,12_20,13_3,13_6,13_15,13_19,13_20,14_3,14_4,14_5,14_6,14_15,14_16,14_17,14_18,14_19,14_20,15_3,15_4,15_5,15_6,15_15,15_16,15_17,15_18,15_19,15_20,16_3,16_4,16_5,16_6,16_7,16_14,16_15,16_17,16_20,17_3,17_4,17_5,17_6,17_7,17_8,17_9,17_10,17_12,17_13,17_14,17_15,17_16,17_17,17_18,17_19,17_20,18_3,18_4,18_6,18_7,18_8,18_9,18_10,18_11,18_12,18_13,18_14,18_15,18_16,18_17,18_18,18_19,18_20,19_3,19_4,19_5,19_6,19_7,19_10,19_11,19_12,19_18,19_19,19_20,20_3,20_4,20_5,20_6,20_11,20_19,20_20,21_3,21_4,21_5,21_6,21_11,21_19,21_20,22_3,22_5,22_6,22_7,22_10,22_11,22_19,22_20,23_3,23_4,23_5,23_6,23_7,23_8,23_9,23_10,23_11,23_12,23_18,23_19,23_20,24_3,24_4,24_5,24_7,24_8,24_9,24_10,24_11,24_12,24_13,24_14,24_15,24_16,24_17,24_18,24_20,25_3,25_4,25_5,25_6,25_7,25_8,25_9,25_11,25_12,25_13,25_14,25_17,25_18,25_19,25_20,26_3,26_4,26_6,26_7,26_8,26_9,26_10,26_11,26_12,26_13,26_14,26_15,26_16,26_17,26_18,26_19,26_20,27_20,28_3,28_4,28_5,28_6,28_7,28_8,28_9,28_10,28_11,28_12,28_13,28_14,28_15,28_16,28_17,28_18,28_19,28_20,29_3,29_4,29_5,29_6,29_7,29_8,29_9,29_10,29_11,29_12,29_13,29_14,29_15,29_16,29_17,29_18,29_19,29_20,30_3,30_4,30_5,30_6,30_7,30_10,30_11,30_12,30_15,30_16,30_19,30_20,31_3,31_4,31_6,31_11,31_20,32_3,32_11,32_20,33_3,33_4,33_6,33_7,33_10,33_11,33_12,33_15,33_16,33_19,33_20,34_3,34_4,34_5,34_6,34_7,34_8,34_20,35_3,35_4,35_5,35_6,35_7,36_3,36_4,37_3,37_6,37_7,38_3,38_4,38_6,38_7,38_8,38_20,39_3,39_4,39_5,39_6,39_7,39_8,39_9,39_10,39_11,39_12,39_13,39_14,39_15,39_16,39_17,39_18,39_19,39_20,40_3,40_4,40_5,40_6,40_7,40_8,40_9,40_10,40_11,40_13,40_14,40_15,40_16,40_17,40_18,40_19,40_20,41_3,41_4,41_6,41_7,41_10,41_11,41_12,41_13,41_14,41_16,41_17,41_19,41_20,42_3,42_4,42_5,42_6,42_11,42_12,42_13,42_14,42_16,42_17,42_18,42_19,42_20,43_3,43_4,43_5,43_6,43_11,43_12,43_13,43_14,43_15,43_16,43_17,43_18,43_19,43_20,44_3,44_4,44_5,44_6,44_11,44_12,44_15,44_16,44_17,44_18,44_19,44_20,45_3,45_4,45_5,45_6,45_11,45_16,45_19,45_20,46_4,46_5,46_11,46_20,47_3,47_4,47_5,47_6,47_11,47_20,48_3,48_4,48_5,48_6,48_11,48_16,48_19,48_20,49_3,49_4,49_5,49_6,49_11,49_12,49_15,49_16,49_17,49_18,49_19,49_20,50_3,50_6,50_12,50_13,50_14,50_15,50_16,50_17,50_18,50_19,50_20,51_3,51_4,51_5,51_6,51_11,51_12,51_13,51_18,51_19,51_20,52_3,52_4,52_5,52_6,52_11,52_12,52_13,52_14,52_15,52_16,52_17,52_18,52_19,52_20,53_3,53_5,53_6,53_11,53_12,53_13,53_14,53_15,53_16,53_17,53_18,53_19,53_20,54_3,54_4,54_5,54_6,54_7,54_10,54_11,54_12,54_13,54_14,54_15,54_17,54_18,54_19,54_20,55_3,55_4,55_5,55_6,55_7,55_8,55_9,55_10,55_11,55_14,55_15,55_17,55_19,55_20,56_20,57_3,57_4,57_5,57_6,57_7,57_8,57_10,57_11,57_13,57_14,57_15,57_16,57_17,57_18,57_19,57_20,58_3,58_4,58_7,58_8,58_9,58_10,58_11,58_12,58_13,58_14,58_15,58_16,58_17,58_18,58_19,58_20,59_3,59_8,59_9,59_10,59_11,59_12,59_13,59_14,59_19,59_20,60_3,60_8,60_9,60_10,60_11,60_12,60_13,60_20,61_3,61_8,61_10,61_11,61_13,61_20,62_3,62_11,62_12,62_13,62_20,63_3,63_11,63_12,63_13,63_20,64_3,64_8,64_10,64_11,64_12,64_13,64_14,64_19,64_20,65_3,65_8,65_9,65_10,65_11,65_12,65_13,65_14,65_15,65_16,65_17,65_18,65_19,65_20,66_3,66_8,66_10,66_11,66_12,66_13,66_14,66_15,66_16,66_18,66_19,66_20,67_3,67_8,67_9,67_10,67_11,67_17,67_18,67_19,67_20,68_3,68_8,68_9,68_10,68_18,68_19,68_20,69_3,69_4,69_7,69_8,69_9,69_10,69_18,69_19,69_20,70_3,70_4,70_5,70_6,70_7,70_8,70_9,70_10,70_11,70_17,70_18,70_19,70_20,71_3,71_4,71_5,71_6,71_8,71_9,71_11,71_12,71_13,71_15,71_16,71_17,71_20,72_9,73_9,74_9,75_9,75_10,76_9,76_10,76_11,77_8,78_8,79_8,80_8,81_8"; scene_data["render_warp_0001_coordinates"] = "5_17,76_8"; scene_data["render_ocean_0004_coordinates"] = "6_8,6_9,6_10,6_11,6_12,6_13,10_16,10_17,10_18,19_8,19_9,19_13,19_14,19_15,19_16,19_17,30_8,30_9,30_13,30_14,30_17,30_18,34_9,34_10,34_11,34_12,34_13,34_14,34_15,34_16,34_17,34_18,34_19,41_8,41_9,44_13,44_14,45_17,45_18,58_5,58_6,59_15,59_16,59_17,59_18,61_9,67_12,67_13,67_14,67_15,67_16"; scene_data["render_ocean_0003_coordinates"] = "7_7,8_7,9_7,10_7,11_7,11_15,12_7,12_15,13_7,14_7,15_7,20_7,20_12,21_7,21_12,22_12,31_7,31_12,31_16,32_7,32_12,32_16,35_8,36_8,37_8,42_7,43_7,44_7,45_7,45_12,46_7,46_12,46_16,47_7,47_12,47_16,48_7,48_12,49_7,50_7,51_7,52_7,53_7,59_4,60_4,60_14,61_4,61_14,62_4,62_8,62_14,63_4,63_8,63_14,64_4,65_4,66_4,67_4,68_4,68_11,69_11"; scene_data["render_common_0001_coordinates"] = "7_8,7_9,7_10,7_11,7_12,7_13,8_8,8_9,8_10,8_11,8_12,8_13,9_8,9_9,9_10,9_11,9_12,9_13,10_8,10_9,10_10,10_11,10_12,10_13,11_8,11_9,11_10,11_11,11_12,11_13,11_16,11_17,11_18,12_8,12_9,12_10,12_11,12_12,12_13,12_16,12_17,12_18,13_8,13_9,13_10,13_11,13_12,13_13,14_8,14_9,14_10,14_11,14_12,14_13,15_8,15_9,15_10,15_11,15_12,15_13,20_8,20_9,20_13,20_14,20_15,20_16,20_17,21_8,21_9,21_13,21_14,21_15,21_16,21_17,22_13,22_14,22_15,22_16,22_17,26_5,31_8,31_9,31_13,31_14,31_17,31_18,32_8,32_9,32_13,32_14,32_17,32_18,35_9,35_10,35_11,35_12,35_13,35_14,35_15,35_16,35_17,35_18,35_19,36_9,36_10,36_11,36_12,36_13,36_14,36_15,36_16,36_17,36_18,36_19,37_9,37_10,37_11,37_12,37_13,37_14,37_15,37_16,37_17,37_18,37_19,42_8,42_9,43_8,43_9,44_8,44_9,45_8,45_9,45_13,45_14,46_8,46_9,46_13,46_14,46_17,46_18,47_8,47_9,47_13,47_14,47_17,47_18,48_8,48_9,48_13,48_14,49_8,49_9,50_8,50_9,51_8,51_9,52_8,52_9,53_8,53_9,59_5,59_6,60_5,60_6,60_15,60_16,60_17,60_18,61_5,61_6,61_15,61_16,61_17,61_18,62_5,62_6,62_9,62_15,62_16,62_17,62_18,63_5,63_6,63_9,63_15,63_16,63_17,63_18,64_5,64_6,65_5,65_6,66_5,66_6,67_5,67_6,68_5,68_6,68_12,68_13,68_14,68_15,68_16,69_12,69_13,69_14,69_15,69_16"; scene_data["render_ocean_0002_coordinates"] = "7_14,8_14,9_14,10_14,11_14,11_19,12_14,12_19,13_14,14_14,15_14,20_10,20_18,21_10,21_18,22_18,31_10,31_15,31_19,32_10,32_15,32_19,35_20,36_20,37_20,42_10,43_10,44_10,45_10,45_15,46_10,46_15,46_19,47_10,47_15,47_19,48_10,48_15,49_10,50_10,51_10,52_10,53_10,59_7,60_7,60_19,61_7,61_19,62_7,62_10,62_19,63_7,63_10,63_19,64_7,65_7,66_7,67_7,68_7,68_17,69_17"; scene_data["render_ocean_0005_coordinates"] = "13_16,13_17,13_18,16_8,16_9,16_10,16_11,16_12,16_13,22_8,22_9,23_13,23_14,23_15,23_16,23_17,33_8,33_9,33_13,33_14,33_17,33_18,38_9,38_10,38_11,38_12,38_13,38_14,38_15,38_16,38_17,38_18,38_19,48_17,48_18,49_13,49_14,54_8,54_9,64_9,64_15,64_16,64_17,64_18,69_5,69_6,70_12,70_13,70_14,70_15,70_16"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0130() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 26; scene_data["tile_y_count"] = 24; scene_data["name"] = "Scene with hole"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() if GET_STATE("n", 135) == 1 then table.remove(SCENE_DATA.warp_points, 2); end;if GET_STATE("n", 135) == 1 then SCENE_DATA["tile_at_11,6"] = render_common_0001; end;if GET_STATE("n", 135) == 1 then SCENE_DATA["tile_at_20,8"] = render_ocean_0008; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[2].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[2].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[3].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[3].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[4].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[4].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[5].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[5].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[6].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[6].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[7].txt = "Mermaid: {{new_line}} Thank you for returning the necklace. Come to think of it...after losing it, and regaining it, I've realized I don't necessarily need it. Would you be able to give it to my sister farther east? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We would gladly fulfill your request. Thank you!"; end;if GET_STATE("n", 135) == 1 then SCENE_DATA.dialogs[7].eligibility = function() return true; end; end;if GET_STATE("n", 135) == 1 then table.remove(SCENE_DATA.dialogs, 1); end;if GET_STATE("n", 135) == 1 then SCENE_DATA["movement_allowed_at_20,8"] = true; end;if GET_STATE("n", 135) == 1 then platform.window:invalidate(); end;local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"11,14","9,20"}; scene_data["boat_exit_coords"] = {"11,13","9,19"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_11,14"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_9,20"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_11,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_11,14"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_9,20"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_9,20"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=19, y=8, txt="None may pass. The merwomen have not given you permission to continue. If you take issue, ask them to grant you an exception and we shall then not prevent your journey east.", required_dir="right", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=7, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end }, { x=8, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end }, { x=9, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end }, { x=13, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end }, { x=14, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end }, { x=15, y=7, txt="Mermaid: {{new_line}} Can you please help us? We are missing necklaces, a scorpion took them from us. Transport yourself here, and you shall be rewarded handsomely. In part, because you certainly are handsome. {{new_line}} {{new_line}} (Merwomen giggle) {{new_line}} {{new_line}} Princess Anaya: {{new_line}} We accept your quest, although you may keep your comments about the seeker to yourself. {{new_line}} {{new_line}} Mermaid: {{new_line}} It shall be as you say.", required_dir="up", callback=function() PUT_STATE("mt", 130, 1, "talked with mermaids round 1"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("mt", 130) == -1;end, eligibility_failure_msg=function() return "Good luck!"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=74, after_map_y=7, after_player_x=76, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=4, scene_number=129, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("mt", 130) == 1; end, on_warp_not_allowed_msg = "Perhaps I should speak with the merwomen first.", after_map_x=23, after_map_y=21, after_player_x=25, after_player_y=22, after_screen_x=2, after_screen_y=1, after_player_dir="up", x=11, y=6, scene_number=131, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "Perhaps I should speak with the merwomen first.", after_map_x=5, after_map_y=2, after_player_x=6, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=21, y=8, scene_number=136, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=9, y=17, scene_number=1000, inn_item_keys={"fxt_1","bye_1"}, inn_price=30, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_4|1_4|2_4|3_4|4_4|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_19|5_20|6_4|6_5|6_12|6_13|6_16|6_17|6_18|6_19|6_20|7_3|7_4|7_7|7_8|7_9|7_10|7_11|7_13|7_14|7_15|7_19|7_20|8_3|8_4|8_7|8_8|8_13|8_14|8_18|8_20|9_3|9_4|9_7|9_8|9_10|9_13|9_14|9_17|9_18|9_19|9_20|10_3|10_4|10_6|10_7|10_10|10_14|10_16|10_17|10_18|10_20|11_3|11_4|11_6|11_7|11_8|11_9|11_10|11_11|11_12|11_13|11_14|11_15|11_20|12_3|12_4|12_6|12_7|12_10|12_14|12_15|12_16|12_17|12_18|12_19|12_20|13_3|13_4|13_7|13_8|13_10|13_13|13_14|13_15|13_16|13_17|13_18|13_19|13_20|14_3|14_4|14_7|14_8|14_10|14_13|14_14|14_15|14_17|14_18|14_19|14_20|15_3|15_4|15_7|15_8|15_13|15_14|15_15|15_17|15_18|15_19|15_20|16_3|16_4|16_5|16_13|16_14|16_15|16_17|16_18|16_20|17_3|17_4|17_5|17_6|17_7|17_8|17_9|17_10|17_11|17_12|17_13|17_14|17_15|17_17|17_18|17_19|17_20|18_3|18_4|18_6|18_7|18_8|18_11|18_15|18_16|18_17|18_18|18_19|18_20|19_3|19_4|19_5|19_6|19_7|19_8|19_9|19_10|19_11|19_12|19_13|19_14|19_15|19_16|19_17|19_18|19_19|19_20|20_3|20_4|20_5|20_6|20_10|20_11|20_12|20_13|20_14|20_15|20_16|20_17|20_18|20_19|20_20|21_8|22_8|23_8|24_8|25_8"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0005,render_ocean_0003,render_person_0013,render_common_0001,render_ocean_0002,render_desert1,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_ocean_0010"; scene_data["render_ocean_0008_coordinates"] = "0_4,1_4,2_4,3_4,4_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,5_20,6_4,6_5,6_12,6_13,6_16,6_17,6_18,6_19,6_20,7_3,7_4,7_13,7_14,7_15,7_19,7_20,8_3,8_4,8_13,8_14,8_20,9_3,9_4,9_13,9_14,9_20,10_3,10_4,10_14,10_20,11_3,11_4,11_14,11_15,11_20,12_3,12_4,12_14,12_15,12_16,12_17,12_18,12_19,12_20,13_3,13_4,13_13,13_14,13_15,13_16,13_17,13_18,13_19,13_20,14_3,14_4,14_13,14_14,14_15,14_17,14_18,14_19,14_20,15_3,15_4,15_13,15_14,15_15,15_17,15_18,15_19,15_20,16_3,16_4,16_5,16_13,16_14,16_15,16_17,16_18,16_20,17_3,17_4,17_5,17_6,17_7,17_8,17_9,17_10,17_11,17_12,17_13,17_14,17_15,17_17,17_18,17_19,17_20,18_3,18_4,18_6,18_7,18_8,18_11,18_15,18_16,18_17,18_18,18_19,18_20,19_3,19_4,19_5,19_6,19_7,19_8,19_9,19_10,19_11,19_12,19_13,19_14,19_15,19_16,19_17,19_18,19_19,19_20,20_3,20_4,20_5,20_6,20_10,20_11,20_12,20_13,20_14,20_15,20_16,20_17,20_18,20_19,20_20,22_8,23_8,24_8,25_8"; scene_data["render_warp_0001_coordinates"] = "5_4,11_6,21_8"; scene_data["render_ocean_0004_coordinates"] = "6_6,6_7,6_8,6_9,6_10,6_11,7_16,7_17,7_18"; scene_data["render_ocean_0005_coordinates"] = "6_14,6_15,11_16,11_17,11_18,11_19,16_6,16_7,16_8,16_9,16_10,16_11,16_12,18_9,18_10,18_12,18_13,18_14"; scene_data["render_ocean_0003_coordinates"] = "7_5,8_5,8_15,9_5,9_15,10_5,10_15,11_5,12_5,13_5,14_5,14_16,15_5,15_16,16_16,16_19,17_16"; scene_data["render_person_0013_coordinates"] = "7_6,8_6,9_6,13_6,14_6,15_6"; scene_data["render_common_0001_coordinates"] = "7_7,7_8,7_9,7_10,7_11,8_7,8_8,8_18,9_7,9_8,9_10,9_18,9_19,10_6,10_7,10_10,10_16,10_17,10_18,11_7,11_8,11_9,11_10,11_11,11_12,11_13,12_6,12_7,12_10,13_7,13_8,13_10,14_7,14_8,14_10,15_7,15_8"; scene_data["render_ocean_0002_coordinates"] = "7_12,8_12,9_12,13_12,14_12,15_12,18_5"; scene_data["render_desert1_coordinates"] = "8_9,8_10,8_11,8_19,9_9,9_11,10_8,10_9,10_11,10_12,10_13,10_19,12_8,12_9,12_11,12_12,12_13,13_9,13_11,14_9,14_11,15_9,15_10,15_11"; scene_data["render_building_0001_coordinates"] = "8_16"; scene_data["render_building_0005_coordinates"] = "8_17"; scene_data["render_building_0002_coordinates"] = "9_16"; scene_data["render_building_0004_coordinates"] = "9_17"; scene_data["render_ocean_0010_coordinates"] = "20_8"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0131() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 51; scene_data["tile_y_count"] = 28; scene_data["name"] = "First map on mermaid quest"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Princess Anaya: {{new_line}} This place gives me the creeps. Let's get out of here ASAP, there are signs in an ancient troll tongue"; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {2}; scene_data["monster_hp_inflation"] = {90}; scene_data["monster_exp_inflation"] = {1}; scene_data["monster_gold_inflation"] = {510}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=25, y=22, txt="(Illegible archaic script)", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=10, y=6, txt="You obtained 2 bottles of boysenberry extract.", required_dir="up", callback=function() GET_ITEM("bye_1", 2); PUT_STATE("b1", 131, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 131) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=26, y=16, txt="You obtained 5000g", required_dir="up", callback=function() GET_MONEY(5000); PUT_STATE("b2", 131, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 131) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=45, y=17, scene_number=132, inn_item_keys={}, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|6_3|6_4|6_6|7_3|7_6|8_3|8_4|8_6|9_3|9_6|10_3|10_4|10_6|11_3|11_6|12_3|12_4|12_6|12_7|12_8|12_9|13_3|13_9|14_3|14_9|14_10|14_11|14_12|15_3|15_11|15_12|16_3|16_12|16_13|16_14|16_15|17_3|17_6|17_7|17_8|17_9|17_15|18_3|18_4|18_5|18_6|18_9|18_10|18_15|18_16|18_17|18_18|19_10|19_17|19_18|20_10|20_11|20_12|20_13|20_14|20_15|20_18|20_19|21_5|21_6|21_7|21_8|21_15|21_16|21_18|21_19|21_20|22_3|22_4|22_5|22_8|22_9|22_10|22_11|22_12|22_13|22_16|22_17|22_20|22_21|23_3|23_4|23_13|23_17|23_18|23_19|23_21|23_22|24_3|24_9|24_10|24_11|24_12|24_13|24_19|24_22|25_3|25_4|25_5|25_6|25_7|25_9|25_15|25_16|25_17|25_19|25_22|26_7|26_9|26_10|26_11|26_12|26_13|26_16|26_17|26_19|27_3|27_4|27_5|27_6|27_7|27_13|27_15|27_16|27_17|27_19|27_20|27_21|27_22|27_23|28_3|28_9|28_10|28_11|28_12|28_13|28_17|28_23|29_3|29_4|29_5|29_6|29_7|29_9|29_15|29_16|29_17|29_18|29_19|29_23|30_7|30_9|30_10|30_11|30_12|30_13|30_15|30_19|30_23|31_3|31_4|31_5|31_6|31_7|31_13|31_15|31_19|31_23|32_3|32_4|32_9|32_10|32_11|32_12|32_13|32_15|32_16|32_17|32_19|32_20|32_21|32_23|33_3|33_10|33_16|33_17|33_21|33_23|34_3|34_4|34_5|34_6|34_7|34_9|34_10|34_11|34_12|34_13|34_14|34_15|34_16|34_17|34_19|34_20|34_21|34_23|35_6|35_7|35_19|35_23|36_7|36_19|36_20|36_21|36_22|36_23|37_3|37_4|37_5|37_6|37_7|38_3|39_3|40_3|40_4|40_5|40_6|40_12|40_13|40_14|40_15|40_16|40_17|41_6|41_12|41_17|42_3|42_4|42_5|42_6|42_11|42_12|42_17|43_3|43_10|43_11|43_17|44_3|44_4|44_5|44_6|44_10|44_17|45_6|45_7|45_8|45_9|45_10|45_17|46_17|47_17|48_17|49_17|50_17"; scene_data["render_fns_list"] = "render_desert2,render_desert1,render_common_0001,render_common_0003,render_common_0004,render_warp_0001"; scene_data["render_desert2_coordinates"] = "0_0,0_2,0_3,0_4,0_8,0_9,0_12,0_15,0_16,0_20,0_21,0_22,0_24,0_27,1_2,1_5,1_6,1_7,1_11,1_12,1_14,1_15,1_16,1_19,1_20,1_23,1_24,1_26,2_1,2_2,2_3,2_4,2_8,2_9,2_10,2_13,2_17,2_18,2_21,2_22,2_25,2_27,3_0,3_1,3_5,3_6,3_8,3_13,3_14,3_15,3_16,3_20,3_21,3_22,3_25,3_26,4_0,4_3,4_4,4_5,4_9,4_10,4_13,4_15,4_18,4_20,4_22,4_23,4_24,4_26,5_0,5_2,5_3,5_7,5_11,5_13,5_14,5_15,5_18,5_19,5_20,5_23,5_25,5_26,6_1,6_5,6_7,6_9,6_10,6_12,6_13,6_14,6_15,6_19,6_20,6_23,6_25,7_2,7_7,7_9,7_11,7_16,7_18,7_20,7_22,7_24,7_25,7_26,8_0,8_1,8_8,8_9,8_10,8_12,8_14,8_15,8_16,8_18,8_21,8_23,8_24,9_0,9_4,9_5,9_8,9_11,9_14,9_15,9_17,9_18,9_20,9_22,9_24,9_26,10_0,10_1,10_2,10_8,10_10,10_12,10_13,10_17,10_18,10_21,10_23,11_0,11_1,11_2,11_4,11_5,11_7,11_8,11_9,11_10,11_12,11_13,11_16,11_18,11_20,11_22,11_25,11_27,12_1,12_11,12_13,12_15,12_16,12_18,12_21,12_25,12_26,12_27,13_1,13_14,13_15,13_19,13_20,13_24,13_26,13_27,14_2,14_5,14_7,14_15,14_17,14_19,14_20,14_23,14_24,14_27,15_2,15_8,15_13,15_14,15_15,15_16,15_17,15_18,15_23,15_25,15_27,16_0,16_4,16_5,16_6,16_16,16_19,16_20,16_21,16_23,17_1,17_4,17_5,17_13,17_14,17_16,17_17,17_20,17_24,17_25,17_26,17_27,18_0,18_2,18_11,18_12,18_14,18_21,18_23,18_26,19_2,19_3,19_4,19_5,19_6,19_7,19_11,19_12,19_15,19_21,19_22,19_23,19_25,19_26,20_0,20_1,20_7,20_8,20_22,20_27,21_0,21_1,21_3,21_4,21_11,21_12,21_13,21_24,21_25,21_26,21_27,22_1,22_2,22_18,22_19,22_24,22_25,23_1,23_7,23_8,23_9,23_10,23_11,23_12,23_20,23_24,23_25,24_0,24_4,24_5,24_8,24_15,24_16,24_17,24_20,24_26,25_0,25_8,25_10,25_11,25_12,25_13,25_20,25_23,25_24,25_25,25_26,25_27,26_0,26_1,26_8,26_20,26_21,26_22,26_27,27_2,27_25,27_27,28_2,28_4,28_5,28_6,28_7,28_21,28_22,28_25,29_1,29_2,29_8,29_10,29_12,29_22,29_26,30_0,30_1,30_8,30_17,30_18,30_20,30_21,30_26,30_27,31_1,31_11,31_12,31_20,31_21,31_24,31_25,31_26,31_27,32_2,32_5,32_6,32_7,32_18,32_22,32_24,33_0,33_2,33_4,33_5,33_6,33_7,33_9,33_11,33_12,33_13,33_24,33_25,33_26,33_27,34_1,34_22,35_1,35_2,35_10,35_13,35_15,35_16,35_17,35_18,35_24,35_26,35_27,36_0,36_8,36_9,36_12,36_13,36_16,36_25,37_2,37_8,37_9,37_20,37_22,37_23,37_25,37_27,38_0,38_1,38_4,38_7,38_8,38_10,38_12,38_15,38_16,38_17,38_19,38_20,38_22,38_23,38_26,39_5,39_6,39_7,39_10,39_20,39_23,39_24,39_25,39_26,40_0,40_2,40_7,40_20,40_21,40_23,40_24,40_27,41_1,41_2,41_3,41_7,41_10,41_11,41_21,41_22,41_24,41_27,42_1,42_7,42_10,42_15,42_16,42_18,42_19,42_22,42_25,43_1,43_14,43_16,43_18,43_20,43_22,43_25,43_26,44_0,44_13,44_14,44_20,44_21,44_23,44_26,45_2,45_3,45_5,45_11,45_13,45_14,45_15,45_16,45_18,45_20,45_23,45_24,45_25,45_26,45_27,46_0,46_2,46_3,46_4,46_5,46_10,46_11,46_12,46_15,46_16,46_18,46_21,46_22,46_24,46_27,47_1,47_2,47_3,47_6,47_8,47_11,47_13,47_15,47_18,47_19,47_21,47_23,47_25,47_27,48_1,48_6,48_8,48_10,48_12,48_14,48_16,48_18,48_22,48_24,48_25,48_26,49_0,49_2,49_3,49_4,49_5,49_6,49_11,49_12,49_13,49_18,49_21,49_22,49_25,49_27,50_0,50_3,50_4,50_7,50_8,50_10,50_11,50_14,50_16,50_18,50_20,50_24,50_25"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,6_3,6_4,6_6,7_3,7_6,8_3,8_4,8_6,9_3,9_6,10_3,10_4,10_6,11_3,11_6,12_3,12_4,12_6,12_7,12_8,12_9,13_3,13_9,14_3,14_9,14_10,14_11,14_12,15_3,15_11,15_12,16_3,16_12,16_13,16_14,16_15,17_3,17_6,17_7,17_8,17_9,17_15,18_3,18_4,18_5,18_6,18_9,18_10,18_15,18_16,18_17,18_18,19_10,19_17,19_18,20_10,20_11,20_12,20_13,20_14,20_15,20_18,20_19,21_5,21_6,21_7,21_8,21_15,21_16,21_18,21_19,21_20,22_3,22_4,22_5,22_8,22_9,22_10,22_11,22_12,22_13,22_16,22_17,22_20,22_21,23_3,23_4,23_13,23_17,23_18,23_19,23_21,23_22,24_3,24_9,24_10,24_11,24_12,24_13,24_19,24_22,25_3,25_4,25_5,25_6,25_7,25_9,25_15,25_16,25_17,25_19,25_22,26_7,26_9,26_10,26_11,26_12,26_13,26_16,26_17,26_19,27_3,27_4,27_5,27_6,27_7,27_13,27_15,27_16,27_17,27_19,27_20,27_21,27_22,27_23,28_3,28_9,28_10,28_11,28_12,28_13,28_17,28_23,29_3,29_4,29_5,29_6,29_7,29_9,29_15,29_16,29_17,29_18,29_19,29_23,30_7,30_9,30_10,30_11,30_12,30_13,30_15,30_19,30_23,31_3,31_4,31_5,31_6,31_7,31_13,31_15,31_19,31_23,32_3,32_4,32_9,32_10,32_11,32_12,32_13,32_15,32_16,32_17,32_19,32_20,32_21,32_23,33_3,33_10,33_16,33_17,33_21,33_23,34_3,34_4,34_5,34_6,34_7,34_9,34_10,34_11,34_12,34_13,34_14,34_15,34_16,34_17,34_19,34_20,34_21,34_23,35_6,35_7,35_19,35_23,36_7,36_19,36_20,36_21,36_22,36_23,37_3,37_4,37_5,37_6,37_7,38_3,39_3,40_3,40_4,40_5,40_6,40_12,40_13,40_14,40_15,40_16,40_17,41_6,41_12,41_17,42_3,42_4,42_5,42_6,42_11,42_12,42_17,43_3,43_10,43_11,43_17,44_3,44_4,44_5,44_6,44_10,44_17,45_6,45_7,45_8,45_9,45_10,46_17,47_17,48_17,49_17,50_17"; scene_data["render_common_0003_coordinates"] = "10_5,26_15"; scene_data["render_common_0004_coordinates"] = "25_21"; scene_data["render_warp_0001_coordinates"] = "45_17"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0132() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 75; scene_data["tile_y_count"] = 26; scene_data["name"] = "Second scene - mermaid quest"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {400}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=35, y=8, txt="You obtained 3 vials of Boysenberry extract", required_dir="up", callback=function() PUT_STATE("b1", 132, 1, "first box"); GET_ITEM("bye_1", 3); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 132) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=36, y=8, txt="You obtained five pieces of Fennel extract", required_dir="up", callback=function() PUT_STATE("b2", 132, 1, "first box"); GET_ITEM("fxt_1", 5); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 132) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=42, after_map_y=16, after_player_x=44, after_player_y=17, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=3, scene_number=131, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=15, after_player_x=6, after_player_y=18, after_screen_x=2, after_screen_y=3, after_player_dir="right", x=69, y=9, scene_number=133, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_5|5_7|5_9|5_11|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_13|6_14|6_15|6_19|6_20|6_21|6_22|7_7|7_9|7_11|7_15|7_16|7_17|7_18|7_19|7_21|8_21|8_22|9_20|9_21|10_19|10_20|11_18|11_19|12_17|12_18|13_16|13_17|14_10|14_11|14_12|14_13|14_14|14_15|14_16|15_10|15_11|16_11|17_11|17_15|17_16|17_17|17_18|18_10|18_11|18_15|18_18|18_19|19_10|19_13|19_14|19_15|19_19|19_20|20_10|20_11|20_13|20_20|20_21|20_22|21_11|21_13|21_14|21_15|21_22|22_10|22_11|22_15|22_17|22_18|22_19|22_20|22_21|22_22|23_10|23_13|23_14|23_15|23_17|24_10|24_11|24_13|24_17|24_18|24_19|24_20|24_21|24_22|25_11|25_13|25_14|25_15|25_22|26_10|26_11|26_15|26_17|26_18|26_19|26_20|26_21|26_22|27_10|27_13|27_14|27_15|27_17|28_6|28_7|28_8|28_10|28_11|28_12|28_13|28_17|28_18|28_19|28_20|28_21|28_22|29_3|29_4|29_5|29_6|29_8|29_22|30_3|30_8|30_22|31_3|31_4|31_6|31_7|31_8|31_22|32_4|32_6|32_21|32_22|33_3|33_4|33_6|33_7|33_8|33_20|33_21|34_3|34_8|34_19|34_20|35_3|35_4|35_8|35_18|35_19|36_4|36_8|36_9|36_10|36_12|36_13|36_14|36_17|36_18|37_3|37_4|37_10|37_11|37_12|37_14|37_15|37_16|37_17|38_3|39_3|39_4|39_5|40_5|40_6|41_6|41_7|42_7|42_8|43_5|43_8|43_9|43_10|44_3|44_4|44_5|44_6|44_10|44_11|44_12|45_3|45_6|45_7|45_12|45_13|45_14|46_3|46_4|46_7|46_8|46_9|46_10|46_14|46_15|47_4|47_5|47_10|47_11|47_12|47_13|47_15|47_16|48_5|48_6|48_7|48_13|48_16|48_17|48_18|49_7|49_8|49_9|49_13|49_17|49_18|50_9|50_10|50_11|50_13|50_18|51_11|51_13|51_18|51_19|51_20|52_9|52_10|52_11|52_13|52_14|52_15|52_16|52_17|52_20|53_4|53_5|53_6|53_8|53_9|53_17|53_20|54_4|54_6|54_7|54_8|54_13|54_14|54_15|54_16|54_17|54_20|55_4|55_13|55_17|55_20|55_21|55_22|56_4|56_5|56_6|56_7|56_13|56_22|57_4|57_5|57_7|57_8|57_9|57_10|57_11|57_13|57_14|57_15|57_16|57_17|57_18|57_20|57_21|57_22|58_11|58_18|58_20|59_11|59_13|59_14|59_15|59_16|59_17|59_18|59_20|59_21|59_22|60_10|60_11|60_13|60_22|61_9|61_10|61_13|61_14|61_15|61_16|61_18|61_20|61_21|61_22|62_8|62_9|62_14|62_16|62_17|62_18|62_20|63_7|63_8|63_18|63_20|63_21|63_22|64_6|64_7|64_18|64_22|65_5|65_6|65_18|65_20|65_21|65_22|66_5|66_13|66_14|66_15|66_16|66_17|66_18|66_20|67_5|67_6|67_7|67_8|67_13|67_20|67_21|68_8|68_9|68_13|68_14|68_16|68_17|68_18|68_21|68_22|69_9|69_13|69_14|69_15|69_16|69_18|69_19|69_20|69_21|70_9|71_9|72_9|73_9|74_9"; scene_data["render_fns_list"] = "render_desert1,render_common_0001,render_warp_0001,render_common_0003"; scene_data["render_common_0001_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_5,5_7,5_9,5_11,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,6_14,6_15,6_19,6_20,6_21,6_22,7_7,7_9,7_11,7_15,7_16,7_17,7_18,7_19,7_21,8_21,8_22,9_20,9_21,10_19,10_20,11_18,11_19,12_17,12_18,13_16,13_17,14_10,14_11,14_12,14_13,14_14,14_15,14_16,15_10,15_11,16_11,17_11,17_15,17_16,17_17,17_18,18_10,18_11,18_15,18_18,18_19,19_10,19_13,19_14,19_15,19_19,19_20,20_10,20_11,20_13,20_20,20_21,20_22,21_11,21_13,21_14,21_15,21_22,22_10,22_11,22_15,22_17,22_18,22_19,22_20,22_21,22_22,23_10,23_13,23_14,23_15,23_17,24_10,24_11,24_13,24_17,24_18,24_19,24_20,24_21,24_22,25_11,25_13,25_14,25_15,25_22,26_10,26_11,26_15,26_17,26_18,26_19,26_20,26_21,26_22,27_10,27_13,27_14,27_15,27_17,28_6,28_7,28_8,28_10,28_11,28_12,28_13,28_17,28_18,28_19,28_20,28_21,28_22,29_3,29_4,29_5,29_6,29_8,29_22,30_3,30_8,30_22,31_3,31_4,31_6,31_7,31_8,31_22,32_4,32_6,32_21,32_22,33_3,33_4,33_6,33_7,33_8,33_20,33_21,34_3,34_8,34_19,34_20,35_3,35_4,35_8,35_18,35_19,36_4,36_8,36_9,36_10,36_12,36_13,36_14,36_17,36_18,37_3,37_4,37_10,37_11,37_12,37_14,37_15,37_16,37_17,38_3,39_3,39_4,39_5,40_5,40_6,41_6,41_7,42_7,42_8,43_5,43_8,43_9,43_10,44_3,44_4,44_5,44_6,44_10,44_11,44_12,45_3,45_6,45_7,45_12,45_13,45_14,46_3,46_4,46_7,46_8,46_9,46_10,46_14,46_15,47_4,47_5,47_10,47_11,47_12,47_13,47_15,47_16,48_5,48_6,48_7,48_13,48_16,48_17,48_18,49_7,49_8,49_9,49_13,49_17,49_18,50_9,50_10,50_11,50_13,50_18,51_11,51_13,51_18,51_19,51_20,52_9,52_10,52_11,52_13,52_14,52_15,52_16,52_17,52_20,53_4,53_5,53_6,53_8,53_9,53_17,53_20,54_4,54_6,54_7,54_8,54_13,54_14,54_15,54_16,54_17,54_20,55_4,55_13,55_17,55_20,55_21,55_22,56_4,56_5,56_6,56_7,56_13,56_22,57_4,57_5,57_7,57_8,57_9,57_10,57_11,57_13,57_14,57_15,57_16,57_17,57_18,57_20,57_21,57_22,58_11,58_18,58_20,59_11,59_13,59_14,59_15,59_16,59_17,59_18,59_20,59_21,59_22,60_10,60_11,60_13,60_22,61_9,61_10,61_13,61_14,61_15,61_16,61_18,61_20,61_21,61_22,62_8,62_9,62_14,62_16,62_17,62_18,62_20,63_7,63_8,63_18,63_20,63_21,63_22,64_6,64_7,64_18,64_22,65_5,65_6,65_18,65_20,65_21,65_22,66_5,66_13,66_14,66_15,66_16,66_17,66_18,66_20,67_5,67_6,67_7,67_8,67_13,67_20,67_21,68_8,68_9,68_13,68_14,68_16,68_17,68_18,68_21,68_22,69_13,69_14,69_15,69_16,69_18,69_19,69_20,69_21,70_9,71_9,72_9,73_9,74_9"; scene_data["render_warp_0001_coordinates"] = "5_3,69_9"; scene_data["render_common_0003_coordinates"] = "35_7,36_7"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0133() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 72; scene_data["tile_y_count"] = 22; scene_data["name"] = "Third quest map"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 3; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {400}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=67, after_map_y=8, after_player_x=68, after_player_y=9, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=18, scene_number=132, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=15, after_player_x=5, after_player_y=17, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=65, y=3, scene_number=134, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_18|1_18|2_18|3_18|4_18|5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_13|5_14|5_15|5_18|6_3|6_11|6_13|6_15|6_18|7_3|7_5|7_6|7_7|7_11|7_13|7_15|7_18|8_3|8_5|8_7|8_11|8_12|8_13|8_15|8_18|9_3|9_5|9_7|9_15|9_18|10_3|10_4|10_5|10_7|10_9|10_10|10_11|10_12|10_13|10_14|10_15|10_18|11_7|11_9|11_15|11_17|11_18|12_4|12_5|12_6|12_7|12_9|12_15|12_18|13_4|13_6|13_9|13_10|13_15|13_18|14_4|14_10|14_11|14_15|14_18|15_3|15_4|15_5|15_6|15_7|15_11|15_12|15_15|15_18|16_7|16_12|16_13|16_18|17_3|17_4|17_5|17_7|17_13|17_14|17_18|18_3|18_5|18_7|18_14|18_15|18_18|19_3|19_5|19_7|19_15|19_18|20_3|20_5|20_6|20_7|20_9|20_10|20_11|20_12|20_13|20_14|20_15|20_18|21_3|21_9|21_18|22_3|22_4|22_5|22_6|22_7|22_9|22_10|22_11|22_12|22_13|22_14|22_15|22_18|23_7|23_15|23_17|23_18|24_3|24_4|24_5|24_6|24_7|24_15|24_17|24_18|25_4|25_13|25_14|25_15|25_18|26_4|26_5|26_6|26_7|26_12|26_13|26_17|26_18|27_7|27_11|27_12|27_17|27_18|28_3|28_4|28_5|28_6|28_7|28_9|28_10|28_11|28_16|28_17|29_3|29_9|29_16|29_17|30_3|30_5|30_6|30_7|30_9|30_10|30_11|30_12|30_13|30_14|30_17|30_18|31_3|31_5|31_7|31_14|31_17|32_3|32_5|32_7|32_11|32_12|32_13|32_14|32_17|32_18|33_3|33_4|33_5|33_7|33_9|33_10|33_11|33_14|33_17|34_7|34_9|34_17|35_3|35_4|35_5|35_7|35_9|35_16|35_17|35_18|36_3|36_5|36_7|36_9|36_10|36_11|36_17|36_18|37_3|37_5|37_6|37_7|37_9|37_11|37_12|37_17|38_3|38_9|38_12|38_13|38_17|38_18|39_3|39_4|39_5|39_6|39_7|39_9|39_10|39_13|39_14|39_16|39_17|39_18|40_7|40_14|40_16|40_17|41_3|41_4|41_5|41_6|41_7|41_9|41_10|41_11|41_12|41_13|41_14|41_16|42_3|42_9|42_16|43_3|43_4|43_5|43_6|43_7|43_9|43_10|43_11|43_12|43_13|43_14|43_16|43_17|44_7|44_14|44_16|44_17|44_18|45_3|45_4|45_5|45_7|45_14|45_17|46_3|46_5|46_7|46_14|46_17|47_3|47_5|47_7|47_14|47_17|48_3|48_5|48_6|48_7|48_14|48_16|48_17|48_18|49_3|49_12|49_13|49_14|49_16|49_17|50_3|50_4|50_5|50_6|50_7|50_11|50_12|50_16|51_7|51_9|51_10|51_11|51_16|51_17|52_3|52_4|52_5|52_6|52_7|52_9|52_16|52_17|52_18|53_3|53_9|53_10|53_11|53_12|53_13|53_14|53_17|53_18|54_3|54_4|54_5|54_6|54_7|54_14|54_18|55_7|55_9|55_10|55_11|55_12|55_13|55_14|55_17|55_18|56_3|56_4|56_5|56_6|56_7|56_9|56_16|56_17|56_18|57_3|57_9|57_10|57_12|57_13|57_14|57_16|57_17|58_3|58_4|58_5|58_6|58_7|58_10|58_11|58_12|58_14|58_16|59_4|59_5|59_6|59_7|59_14|59_16|60_5|60_6|60_7|60_9|60_10|60_11|60_14|60_16|61_6|61_7|61_9|61_11|61_14|61_16|61_17|62_7|62_9|62_11|62_12|62_13|62_14|62_16|62_17|63_7|63_9|63_17|63_18|64_3|64_4|64_5|64_6|64_7|64_9|64_10|64_11|64_12|64_14|64_18|65_3|65_12|65_13|65_14|65_16|65_17|65_18|66_3|66_12|66_13|66_14|66_15|66_16|66_17|66_18|67_3|68_3|69_3|70_3|71_3"; scene_data["render_fns_list"] = "render_desert1,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_18,1_18,2_18,3_18,4_18,5_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_13,5_14,5_15,6_3,6_11,6_13,6_15,6_18,7_3,7_5,7_6,7_7,7_11,7_13,7_15,7_18,8_3,8_5,8_7,8_11,8_12,8_13,8_15,8_18,9_3,9_5,9_7,9_15,9_18,10_3,10_4,10_5,10_7,10_9,10_10,10_11,10_12,10_13,10_14,10_15,10_18,11_7,11_9,11_15,11_17,11_18,12_4,12_5,12_6,12_7,12_9,12_15,12_18,13_4,13_6,13_9,13_10,13_15,13_18,14_4,14_10,14_11,14_15,14_18,15_3,15_4,15_5,15_6,15_7,15_11,15_12,15_15,15_18,16_7,16_12,16_13,16_18,17_3,17_4,17_5,17_7,17_13,17_14,17_18,18_3,18_5,18_7,18_14,18_15,18_18,19_3,19_5,19_7,19_15,19_18,20_3,20_5,20_6,20_7,20_9,20_10,20_11,20_12,20_13,20_14,20_15,20_18,21_3,21_9,21_18,22_3,22_4,22_5,22_6,22_7,22_9,22_10,22_11,22_12,22_13,22_14,22_15,22_18,23_7,23_15,23_17,23_18,24_3,24_4,24_5,24_6,24_7,24_15,24_17,24_18,25_4,25_13,25_14,25_15,25_18,26_4,26_5,26_6,26_7,26_12,26_13,26_17,26_18,27_7,27_11,27_12,27_17,27_18,28_3,28_4,28_5,28_6,28_7,28_9,28_10,28_11,28_16,28_17,29_3,29_9,29_16,29_17,30_3,30_5,30_6,30_7,30_9,30_10,30_11,30_12,30_13,30_14,30_17,30_18,31_3,31_5,31_7,31_14,31_17,32_3,32_5,32_7,32_11,32_12,32_13,32_14,32_17,32_18,33_3,33_4,33_5,33_7,33_9,33_10,33_11,33_14,33_17,34_7,34_9,34_17,35_3,35_4,35_5,35_7,35_9,35_16,35_17,35_18,36_3,36_5,36_7,36_9,36_10,36_11,36_17,36_18,37_3,37_5,37_6,37_7,37_9,37_11,37_12,37_17,38_3,38_9,38_12,38_13,38_17,38_18,39_3,39_4,39_5,39_6,39_7,39_9,39_10,39_13,39_14,39_16,39_17,39_18,40_7,40_14,40_16,40_17,41_3,41_4,41_5,41_6,41_7,41_9,41_10,41_11,41_12,41_13,41_14,41_16,42_3,42_9,42_16,43_3,43_4,43_5,43_6,43_7,43_9,43_10,43_11,43_12,43_13,43_14,43_16,43_17,44_7,44_14,44_16,44_17,44_18,45_3,45_4,45_5,45_7,45_14,45_17,46_3,46_5,46_7,46_14,46_17,47_3,47_5,47_7,47_14,47_17,48_3,48_5,48_6,48_7,48_14,48_16,48_17,48_18,49_3,49_12,49_13,49_14,49_16,49_17,50_3,50_4,50_5,50_6,50_7,50_11,50_12,50_16,51_7,51_9,51_10,51_11,51_16,51_17,52_3,52_4,52_5,52_6,52_7,52_9,52_16,52_17,52_18,53_3,53_9,53_10,53_11,53_12,53_13,53_14,53_17,53_18,54_3,54_4,54_5,54_6,54_7,54_14,54_18,55_7,55_9,55_10,55_11,55_12,55_13,55_14,55_17,55_18,56_3,56_4,56_5,56_6,56_7,56_9,56_16,56_17,56_18,57_3,57_9,57_10,57_12,57_13,57_14,57_16,57_17,58_3,58_4,58_5,58_6,58_7,58_10,58_11,58_12,58_14,58_16,59_4,59_5,59_6,59_7,59_14,59_16,60_5,60_6,60_7,60_9,60_10,60_11,60_14,60_16,61_6,61_7,61_9,61_11,61_14,61_16,61_17,62_7,62_9,62_11,62_12,62_13,62_14,62_16,62_17,63_7,63_9,63_17,63_18,64_3,64_4,64_5,64_6,64_7,64_9,64_10,64_11,64_12,64_14,64_18,65_12,65_13,65_14,65_16,65_17,65_18,66_3,66_12,66_13,66_14,66_15,66_16,66_17,66_18,67_3,68_3,69_3,70_3,71_3"; scene_data["render_warp_0001_coordinates"] = "5_18,65_3"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0134() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 92; scene_data["tile_y_count"] = 22; scene_data["name"] = "Last scene before boss"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 2; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {1000}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=63, after_map_y=2, after_player_x=64, after_player_y=3, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=18, scene_number=133, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=3, after_player_x=6, after_player_y=5, after_screen_x=2, after_screen_y=2, after_player_dir="right", x=86, y=5, scene_number=135, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_18|1_18|2_18|3_18|4_18|5_6|5_7|5_8|5_10|5_11|5_12|5_16|5_17|5_18|6_6|6_8|6_10|6_12|6_16|7_3|7_4|7_5|7_6|7_8|7_9|7_10|7_12|7_13|7_14|7_15|7_16|8_3|9_3|9_4|9_5|9_6|9_7|9_8|9_9|9_10|9_11|9_13|9_14|9_15|9_18|10_11|10_12|10_13|10_15|10_16|10_17|10_18|11_18|12_6|12_7|12_8|12_10|12_11|12_12|12_14|12_15|12_16|12_18|13_6|13_8|13_10|13_12|13_14|13_16|13_18|14_6|14_8|14_10|14_12|14_14|14_16|14_18|15_6|15_8|15_10|15_12|15_14|15_16|15_18|16_3|16_4|16_5|16_6|16_8|16_9|16_10|16_12|16_13|16_14|16_16|16_17|16_18|17_3|18_3|18_4|18_5|18_7|18_8|18_9|18_11|18_12|18_13|18_15|18_16|18_17|19_3|19_5|19_6|19_7|19_9|19_10|19_11|19_13|19_14|19_15|19_17|19_18|20_18|21_3|21_4|21_5|21_6|21_10|21_11|21_12|21_14|21_15|21_16|21_18|22_3|22_6|22_10|22_12|22_14|22_16|22_18|23_3|23_6|23_10|23_12|23_14|23_16|23_18|24_3|24_6|24_7|24_8|24_9|24_10|24_12|24_13|24_14|24_16|24_17|24_18|25_3|26_3|26_5|26_6|26_7|26_9|26_10|26_11|26_12|26_15|26_16|26_17|27_3|27_4|27_5|27_7|27_8|27_9|27_12|27_13|27_14|27_15|27_17|27_18|28_18|29_3|29_4|29_5|29_6|29_7|29_10|29_11|29_12|29_13|29_18|30_3|30_7|30_8|30_9|30_10|30_13|30_17|30_18|31_3|31_12|31_13|31_16|31_17|32_3|32_4|32_11|32_12|32_15|32_16|33_4|33_10|33_11|33_14|33_15|34_3|34_4|34_9|34_10|34_13|34_14|35_3|35_9|35_12|35_13|35_16|35_17|35_18|36_3|36_9|36_10|36_11|36_12|36_15|36_16|36_18|37_3|37_14|37_15|37_18|38_3|38_5|38_6|38_7|38_9|38_10|38_11|38_13|38_14|38_18|39_3|39_5|39_7|39_9|39_11|39_13|39_18|40_3|40_4|40_5|40_7|40_8|40_9|40_11|40_12|40_13|40_18|41_18|42_6|42_7|42_8|42_9|42_11|42_12|42_13|42_15|42_16|42_17|42_18|43_3|43_4|43_5|43_6|43_9|43_10|43_11|43_13|43_14|43_15|43_17|43_18|44_3|45_3|45_5|45_6|45_7|45_9|45_10|45_11|45_12|45_15|45_16|45_17|45_18|46_3|46_5|46_7|46_9|46_12|46_15|46_18|47_3|47_5|47_7|47_9|47_12|47_15|47_18|48_3|48_4|48_5|48_7|48_8|48_9|48_12|48_13|48_14|48_15|48_18|49_18|50_6|50_7|50_8|50_10|50_11|50_12|50_14|50_15|50_16|50_18|51_6|51_8|51_10|51_12|51_14|51_16|51_18|52_6|52_8|52_10|52_12|52_14|52_16|52_18|53_6|53_8|53_10|53_12|53_14|53_16|53_18|54_3|54_4|54_5|54_6|54_8|54_9|54_10|54_12|54_13|54_14|54_16|54_17|54_18|55_3|56_3|56_5|56_6|56_7|56_9|56_10|56_11|56_13|56_14|56_15|57_3|57_5|57_7|57_9|57_11|57_13|57_15|58_3|58_5|58_7|58_9|58_11|58_13|58_15|59_3|59_5|59_7|59_9|59_11|59_13|59_15|60_3|60_5|60_7|60_9|60_11|60_13|60_15|61_3|61_5|61_7|61_9|61_11|61_13|61_15|62_3|62_4|62_5|62_7|62_8|62_9|62_11|62_12|62_13|62_15|62_16|62_17|62_18|63_18|64_3|64_4|64_5|64_7|64_8|64_9|64_11|64_12|64_13|64_15|64_16|64_17|64_18|65_3|65_5|65_6|65_7|65_9|65_10|65_11|65_13|65_14|65_15|66_3|67_3|67_5|67_6|67_7|67_9|67_10|67_11|67_13|67_14|67_15|67_16|68_3|68_5|68_7|68_9|68_11|68_13|68_16|69_3|69_5|69_7|69_9|69_11|69_13|69_16|70_3|70_4|70_5|70_7|70_8|70_9|70_11|70_12|70_13|70_16|70_17|70_18|71_18|72_18|73_17|73_18|74_16|74_17|75_15|75_16|76_14|76_15|76_18|77_13|77_14|77_17|77_18|78_12|78_13|78_16|78_17|78_18|79_11|79_12|79_15|79_16|79_17|79_18|80_10|80_11|80_14|80_15|80_16|80_17|80_18|81_9|81_10|81_13|81_14|81_15|81_16|81_17|81_18|82_8|82_9|82_12|82_13|82_14|82_15|82_16|82_17|82_18|83_7|83_8|83_11|83_12|83_13|83_14|83_15|83_16|83_17|83_18|84_6|84_7|84_10|84_11|84_12|84_13|84_14|84_15|84_16|84_17|84_18|85_5|85_6|85_9|85_10|85_11|85_12|85_13|85_14|85_15|85_16|85_17|85_18|86_5|86_8|86_9|86_10|86_11|86_12|86_13|86_14|86_15|86_16|86_17|86_18|87_5|88_5|89_5|90_5|91_5"; scene_data["render_fns_list"] = "render_desert1,render_common_0001,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_18,1_18,2_18,3_18,4_18,5_6,5_7,5_8,5_10,5_11,5_12,5_16,5_17,6_6,6_8,6_10,6_12,6_16,7_3,7_4,7_5,7_6,7_8,7_9,7_10,7_12,7_13,7_14,7_15,7_16,8_3,9_3,9_4,9_5,9_6,9_7,9_8,9_9,9_10,9_11,9_13,9_14,9_15,9_18,10_11,10_12,10_13,10_15,10_16,10_17,10_18,11_18,12_6,12_7,12_8,12_10,12_11,12_12,12_14,12_15,12_16,12_18,13_6,13_8,13_10,13_12,13_14,13_16,13_18,14_6,14_8,14_10,14_12,14_14,14_16,14_18,15_6,15_8,15_10,15_12,15_14,15_16,15_18,16_3,16_4,16_5,16_6,16_8,16_9,16_10,16_12,16_13,16_14,16_16,16_17,16_18,17_3,18_3,18_4,18_5,18_7,18_8,18_9,18_11,18_12,18_13,18_15,18_16,18_17,19_3,19_5,19_6,19_7,19_9,19_10,19_11,19_13,19_14,19_15,19_17,19_18,20_18,21_3,21_4,21_5,21_6,21_10,21_11,21_12,21_14,21_15,21_16,21_18,22_3,22_6,22_10,22_12,22_14,22_16,22_18,23_3,23_6,23_10,23_12,23_14,23_16,23_18,24_3,24_6,24_7,24_8,24_9,24_10,24_12,24_13,24_14,24_16,24_17,24_18,25_3,26_3,26_5,26_6,26_7,26_9,26_10,26_11,26_12,26_15,26_16,26_17,27_3,27_4,27_5,27_7,27_8,27_9,27_12,27_13,27_14,27_15,27_17,27_18,28_18,29_3,29_4,29_5,29_6,29_7,29_10,29_11,29_12,29_13,29_18,30_3,30_7,30_8,30_9,30_10,30_13,30_17,30_18,31_3,31_12,31_13,31_16,31_17,32_3,32_4,32_11,32_12,32_15,32_16,33_4,33_10,33_11,33_14,33_15,34_3,34_4,34_9,34_10,34_13,34_14,35_3,35_9,35_12,35_13,35_16,35_17,35_18,36_3,36_9,36_10,36_11,36_12,36_15,36_16,36_18,37_3,37_14,37_15,37_18,38_3,38_5,38_6,38_7,38_9,38_10,38_11,38_13,38_14,38_18,39_3,39_5,39_7,39_9,39_11,39_13,39_18,40_3,40_4,40_5,40_7,40_8,40_9,40_11,40_12,40_13,40_18,41_18,42_6,42_7,42_8,42_9,42_11,42_12,42_13,42_15,42_16,42_17,42_18,43_3,43_4,43_5,43_6,43_9,43_10,43_11,43_13,43_14,43_15,43_17,43_18,44_3,45_3,45_5,45_6,45_7,45_9,45_10,45_11,45_12,45_15,45_16,45_17,45_18,46_3,46_5,46_7,46_9,46_12,46_15,46_18,47_3,47_5,47_7,47_9,47_12,47_15,47_18,48_3,48_4,48_5,48_7,48_8,48_9,48_12,48_13,48_14,48_15,48_18,49_18,50_6,50_7,50_8,50_10,50_11,50_12,50_14,50_15,50_16,50_18,51_6,51_8,51_10,51_12,51_14,51_16,51_18,52_6,52_8,52_10,52_12,52_14,52_16,52_18,53_6,53_8,53_10,53_12,53_14,53_16,53_18,54_3,54_4,54_5,54_6,54_8,54_9,54_10,54_12,54_13,54_14,54_16,54_17,54_18,55_3,56_3,56_5,56_6,56_7,56_9,56_10,56_11,56_13,56_14,56_15,57_3,57_5,57_7,57_9,57_11,57_13,57_15,58_3,58_5,58_7,58_9,58_11,58_13,58_15,59_3,59_5,59_7,59_9,59_11,59_13,59_15,60_3,60_5,60_7,60_9,60_11,60_13,60_15,61_3,61_5,61_7,61_9,61_11,61_13,61_15,62_3,62_4,62_5,62_7,62_8,62_9,62_11,62_12,62_13,62_15,62_16,62_17,62_18,63_18,64_3,64_4,64_5,64_7,64_8,64_9,64_11,64_12,64_13,64_15,64_16,64_17,64_18,65_3,65_5,65_6,65_7,65_9,65_10,65_11,65_13,65_14,65_15,66_3,67_3,67_5,67_6,67_7,67_9,67_10,67_11,67_13,67_14,67_15,67_16,68_3,68_5,68_7,68_9,68_11,68_13,68_16,69_3,69_5,69_7,69_9,69_11,69_13,69_16,70_3,70_4,70_5,70_7,70_8,70_9,70_11,70_12,70_13,70_16,70_17,70_18,71_18,72_18,73_17,73_18,74_16,74_17,75_15,75_16,76_14,76_15,76_18,77_13,77_14,77_17,77_18,78_12,78_13,78_16,78_17,78_18,79_11,79_12,79_15,79_16,79_17,79_18,80_10,80_11,80_14,80_15,80_16,80_17,80_18,81_9,81_10,81_13,81_14,81_15,81_16,81_17,81_18,82_8,82_9,82_12,82_13,82_14,82_15,82_16,82_17,82_18,83_7,83_8,83_11,83_12,83_13,83_14,83_15,83_16,83_17,83_18,84_6,84_7,84_10,84_11,84_12,84_13,84_14,84_15,84_16,84_17,84_18,85_5,85_6,85_9,85_10,85_11,85_12,85_13,85_14,85_15,85_16,85_17,85_18,86_8,86_9,86_10,86_11,86_12,86_13,86_14,86_15,86_16,86_17,86_18,87_5,88_5,89_5,90_5,91_5"; scene_data["render_warp_0001_coordinates"] = "5_18,86_5"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0135() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 13; scene_data["tile_y_count"] = 10; scene_data["name"] = "Boss scene"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "It's icy cold in here, something isn't right"; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {5}; scene_data["monster_apperance_frequency_percentage"] = 100; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {8000}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {8000}; scene_data["on_entrance"] = function() if GET_STATE("bb", 135) == 1 then SCENE_DATA.monsters_enabled = false; end;ON_BATTLE_WON = function() PUT_STATE("bb", 135, 1, "beat the boss"); SCENE_DATA.monsters_enabled = false; SCENE_DATA.monster_apperance_frequency_percentage = 0; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=5, y=4, txt="You obtained 2000g", required_dir="up", callback=function() GET_MONEY(2000); PUT_STATE("b1", 135, 1,"money box, 135"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 135) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=6, y=4, txt="You obtained the stolen necklace", required_dir="up", callback=function() PUT_STATE("n", 135, 1, "the necklace"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("n", 135) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=84, after_map_y=4, after_player_x=85, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=5, scene_number=134, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=9, after_map_y=4, after_player_x=11, after_player_y=6, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=3, scene_number=130, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_5|1_5|2_5|3_5|4_5|5_4|5_5|5_6|6_4|6_5|6_6|7_3|7_4|7_5|7_6"; scene_data["render_fns_list"] = "render_desert1,render_common_0001,render_common_0003,render_warp_0001"; scene_data["render_common_0001_coordinates"] = "0_5,1_5,2_5,3_5,4_5,5_4,5_6,6_4,6_5,6_6,7_4,7_5,7_6"; scene_data["render_common_0003_coordinates"] = "5_3,6_3"; scene_data["render_warp_0001_coordinates"] = "5_5,7_3"; scene_data["default_tile"] = render_desert1; scene_data["default_tile_name"] = "render_desert1"; SCENE_DATA = scene_data; end function enter_scene_0136() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 92; scene_data["tile_y_count"] = 22; scene_data["name"] = "East of 130"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 3; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"9,10","15,17","24,16","60,15","73,12"}; scene_data["boat_exit_coords"] = {"9,9","15,16","24,15","60,14","73,11"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_9,10"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_15,17"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_24,16"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_60,15"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_73,12"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_9,10"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_9,10"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_15,17"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_15,17"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_24,16"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_24,16"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_60,15"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_60,15"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_73,12"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_73,12"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=14, txt="You obtained 820g", required_dir="up", callback=function() GET_MONEY(820); PUT_STATE("b1", 136, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=11, y=14, txt="You obtained 1000g", required_dir="up", callback=function() GET_MONEY(1000); PUT_STATE("b2", 136, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=13, y=14, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b3", 136, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=15, y=14, txt="You obtained 1020g", required_dir="up", callback=function() GET_MONEY(1020); PUT_STATE("b4", 136, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=14, y=15, txt="The journey ahead lies east. May the waves favor your cheeks, and the breeze soothe your mind", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=74, y=7, txt="You obtained 900g", required_dir="up", callback=function() GET_MONEY(900); PUT_STATE("bb1", 136, 1, "second to last box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bb1", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=76, y=7, txt="You obtained 900g", required_dir="up", callback=function() GET_MONEY(900); PUT_STATE("bb2", 136, 1, "last box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("bb2", 136) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=18, after_map_y=6, after_player_x=20, after_player_y=8, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=5, y=4, scene_number=130, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked", after_map_x=18, after_map_y=6, after_player_x=20, after_player_y=8, after_screen_x=2, after_screen_y=2, after_player_dir="left", x=25, y=10, scene_number=10, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=6, after_player_y=7, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=62, y=10, scene_number=137, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=6, after_map_y=15, after_player_x=7, after_player_y=17, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=72, y=8, scene_number=138, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=2, after_player_x=5, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=86, y=4, scene_number=139, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=10, y=6, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=110, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_4|1_4|2_4|3_4|4_4|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_13|6_14|6_15|6_17|6_18|7_3|7_4|7_9|7_10|7_11|7_12|7_16|7_17|7_18|8_3|8_7|8_10|8_11|8_17|8_18|9_3|9_7|9_8|9_9|9_10|9_11|9_14|9_17|9_18|10_3|10_6|10_7|10_10|10_11|10_14|10_17|10_18|11_3|11_5|11_7|11_10|11_11|11_14|11_17|11_18|12_3|12_4|12_9|12_10|12_11|12_14|12_17|12_18|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|13_14|13_15|13_17|13_18|14_3|14_4|14_5|14_6|14_7|14_10|14_11|14_15|14_17|14_18|15_3|15_4|15_5|15_6|15_8|15_9|15_11|15_14|15_15|15_16|15_17|15_18|16_3|16_4|16_5|16_6|16_8|16_9|16_11|16_14|16_17|16_18|17_3|17_4|17_5|17_6|17_7|17_10|17_11|17_17|17_18|18_3|18_5|18_6|18_7|18_8|18_9|18_10|18_11|18_12|18_16|18_17|18_18|19_3|19_5|19_6|19_7|19_9|19_10|19_11|19_12|19_13|19_14|19_15|19_16|19_18|20_3|20_4|20_5|20_6|20_7|20_8|20_9|20_10|20_11|20_12|20_13|20_14|20_15|20_16|20_18|21_3|21_4|21_5|21_6|21_15|21_16|21_18|22_3|22_4|22_5|22_16|22_17|22_18|23_3|23_4|23_5|23_8|23_9|23_10|23_11|23_12|23_13|23_16|23_17|23_18|24_3|24_4|24_5|24_8|24_11|24_12|24_13|24_14|24_15|24_16|24_17|24_18|25_3|25_4|25_5|25_8|25_10|25_11|25_12|25_13|25_16|25_17|25_18|26_3|26_4|26_5|26_8|26_12|26_13|26_16|26_17|26_18|27_3|27_4|27_5|27_16|27_17|27_18|28_3|28_4|28_5|28_6|28_15|28_16|28_17|28_18|29_3|29_4|29_5|29_6|29_7|29_8|29_9|29_10|29_11|29_12|29_13|29_14|29_15|29_16|29_17|29_18|30_3|30_5|30_6|30_7|30_8|30_9|30_10|30_12|30_13|30_14|30_15|30_16|30_18|31_3|31_4|31_5|31_6|31_9|31_10|31_11|31_12|31_15|31_16|31_18|32_3|32_4|32_5|32_7|32_8|32_10|32_11|32_13|32_14|32_16|32_17|32_18|33_3|33_4|33_5|33_7|33_8|33_10|33_11|33_13|33_14|33_16|33_17|33_18|34_3|34_4|34_5|34_6|34_9|34_10|34_11|34_12|34_15|34_16|34_17|34_18|35_3|35_4|35_5|35_6|35_7|35_8|35_9|35_10|35_11|35_12|35_13|35_14|35_15|35_16|35_18|36_3|36_4|36_5|36_6|36_10|36_11|36_12|36_13|36_14|36_15|36_16|36_17|36_18|37_3|37_4|37_5|37_7|37_8|37_9|37_11|37_12|37_13|37_16|37_17|37_18|38_3|38_5|38_7|38_8|38_9|38_11|38_12|38_14|38_15|38_17|38_18|39_3|39_4|39_5|39_7|39_8|39_9|39_11|39_12|39_14|39_15|39_17|39_18|40_3|40_4|40_5|40_7|40_8|40_9|40_11|40_12|40_13|40_16|40_17|40_18|41_3|41_4|41_5|41_6|41_10|41_11|41_12|41_13|41_14|41_15|41_16|41_17|41_18|42_3|42_4|42_5|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_13|42_14|42_15|42_16|42_17|42_18|43_3|43_4|43_5|43_6|43_7|43_8|43_9|43_10|43_11|43_12|43_13|43_14|43_15|43_16|43_17|43_18|44_3|44_5|44_6|44_9|44_10|44_12|44_13|44_17|44_18|45_3|45_5|45_6|45_9|45_10|45_12|45_13|45_17|45_18|46_3|46_4|46_5|46_6|46_7|46_8|46_9|46_10|46_11|46_12|46_13|46_14|46_15|46_16|46_17|46_18|47_3|47_4|47_5|47_17|47_18|48_3|48_4|48_6|48_7|48_8|48_9|48_10|48_11|48_12|48_13|48_14|48_15|48_16|48_18|49_3|49_4|49_6|49_7|49_8|49_9|49_10|49_11|49_12|49_13|49_14|49_15|49_16|49_18|50_3|50_4|50_6|50_7|50_8|50_9|50_10|50_11|50_12|50_13|50_14|50_15|50_16|50_18|51_3|51_4|51_5|51_17|51_18|52_3|52_4|52_5|52_6|52_7|52_8|52_9|52_10|52_11|52_12|52_13|52_14|52_15|52_16|52_17|52_18|53_3|53_4|53_5|53_6|53_7|53_8|53_9|53_11|53_12|53_13|53_14|53_15|53_16|53_17|53_18|54_3|54_4|54_6|54_7|54_8|54_9|54_11|54_12|54_13|54_14|54_15|54_16|54_18|55_3|55_4|55_6|55_7|55_8|55_9|55_10|55_11|55_12|55_14|55_15|55_16|55_18|56_3|56_4|56_6|56_7|56_8|56_9|56_10|56_11|56_12|56_14|56_15|56_16|56_18|57_3|57_4|57_5|57_6|57_7|57_9|57_10|57_11|57_12|57_13|57_14|57_15|57_16|57_17|57_18|58_3|58_4|58_5|58_6|58_7|58_8|58_9|58_10|58_11|58_12|58_13|58_14|58_15|58_16|58_18|59_3|59_4|59_5|59_6|59_7|59_8|59_15|59_16|59_18|60_3|60_4|60_5|60_7|60_13|60_14|60_15|60_16|60_17|60_18|61_3|61_4|61_5|61_7|61_11|61_12|61_13|61_15|61_16|61_17|61_18|62_3|62_4|62_5|62_6|62_7|62_10|62_11|62_12|62_13|62_15|62_16|62_17|62_18|63_3|63_4|63_5|63_6|63_7|63_9|63_11|63_12|63_15|63_16|63_17|63_18|64_3|64_4|64_5|64_6|64_7|64_15|64_16|64_17|64_18|65_3|65_4|65_5|65_6|65_7|65_8|65_14|65_15|65_17|65_18|66_3|66_4|66_6|66_7|66_8|66_9|66_10|66_11|66_12|66_13|66_15|66_16|66_17|66_18|67_3|67_4|67_5|67_6|67_7|67_8|67_9|67_10|67_11|67_12|67_13|67_15|67_16|67_17|67_18|68_3|68_4|68_11|68_12|68_13|68_15|68_16|68_18|69_3|69_12|69_13|69_14|69_15|69_16|69_18|70_3|70_9|70_12|70_13|70_14|70_15|70_16|70_17|70_18|71_3|71_9|71_10|71_12|71_13|71_14|71_15|71_16|71_17|71_18|72_3|72_8|72_9|72_10|72_12|72_13|72_14|72_15|72_17|72_18|73_3|73_9|73_10|73_11|73_12|73_13|73_14|73_15|73_16|73_17|73_18|74_3|74_7|74_8|74_9|74_10|74_12|74_13|74_14|74_15|74_16|74_17|74_18|75_3|75_6|75_10|75_12|75_13|75_15|75_16|75_17|75_18|76_3|76_7|76_8|76_9|76_10|76_12|76_13|76_15|76_16|76_17|76_18|77_3|77_12|77_13|77_14|77_15|77_16|77_17|77_18|78_3|78_4|78_11|78_12|78_13|78_14|78_15|78_16|78_17|78_18|79_3|79_4|79_5|79_6|79_7|79_8|79_9|79_10|79_11|79_12|79_13|79_14|79_15|79_16|79_17|79_18|80_3|80_4|80_5|80_6|80_7|80_8|80_10|80_11|80_12|80_13|80_15|80_16|80_17|80_18|81_3|81_4|81_5|81_6|81_7|81_8|81_10|81_11|81_12|81_13|81_14|81_15|81_16|81_17|81_18|82_3|82_4|82_5|82_7|82_8|82_10|82_11|82_12|82_13|82_14|82_15|82_17|82_18|83_3|83_4|83_5|83_6|83_7|83_8|83_9|83_10|83_11|83_12|83_13|83_14|83_15|83_17|83_18|84_3|84_4|84_5|84_6|84_7|84_8|84_9|84_10|84_11|84_13|84_14|84_15|84_16|84_17|84_18|85_3|85_4|85_5|85_6|85_7|85_9|85_10|85_11|85_12|85_13|85_14|85_15|85_16|85_17|85_18|86_3|86_4|86_5|86_6|86_7|86_8|86_9|86_10|86_11|86_12|86_13|86_14|86_15|86_16|86_17|86_18|87_4|88_4|89_4|90_4|91_4"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0003,render_ocean_0004,render_desert1,render_common_0001,render_ocean_0002,render_building_0001,render_building_0005,render_common_0003,render_building_0002,render_building_0004,render_ocean_0005,render_common_0004,render_common_0002,render_building_0011,render_building_0009,render_building_0010,render_building_0007"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,1_0,1_1,1_2,1_3,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,2_0,2_1,2_2,2_3,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,3_0,3_1,3_2,3_3,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,4_0,4_1,4_2,4_3,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,5_0,5_1,5_2,5_3,5_19,5_20,5_21,6_0,6_1,6_2,6_19,6_20,6_21,7_0,7_1,7_2,7_19,7_20,7_21,8_0,8_1,8_2,8_19,8_20,8_21,9_0,9_1,9_2,9_19,9_20,9_21,10_0,10_1,10_2,10_19,10_20,10_21,11_0,11_1,11_2,11_19,11_20,11_21,12_0,12_1,12_2,12_19,12_20,12_21,13_0,13_1,13_2,13_19,13_20,13_21,14_0,14_1,14_2,14_19,14_20,14_21,15_0,15_1,15_2,15_19,15_20,15_21,16_0,16_1,16_2,16_19,16_20,16_21,17_0,17_1,17_2,17_19,17_20,17_21,18_0,18_1,18_2,18_19,18_20,18_21,19_0,19_1,19_2,19_19,19_20,19_21,20_0,20_1,20_2,20_19,20_20,20_21,21_0,21_1,21_2,21_19,21_20,21_21,22_0,22_1,22_2,22_19,22_20,22_21,23_0,23_1,23_2,23_19,23_20,23_21,24_0,24_1,24_2,24_19,24_20,24_21,25_0,25_1,25_2,25_19,25_20,25_21,26_0,26_1,26_2,26_19,26_20,26_21,27_0,27_1,27_2,27_19,27_20,27_21,28_0,28_1,28_2,28_19,28_20,28_21,29_0,29_1,29_2,29_19,29_20,29_21,30_0,30_1,30_2,30_19,30_20,30_21,31_0,31_1,31_2,31_19,31_20,31_21,32_0,32_1,32_2,32_19,32_20,32_21,33_0,33_1,33_2,33_19,33_20,33_21,34_0,34_1,34_2,34_19,34_20,34_21,35_0,35_1,35_2,35_19,35_20,35_21,36_0,36_1,36_2,36_19,36_20,36_21,37_0,37_1,37_2,37_19,37_20,37_21,38_0,38_1,38_2,38_19,38_20,38_21,39_0,39_1,39_2,39_19,39_20,39_21,40_0,40_1,40_2,40_19,40_20,40_21,41_0,41_1,41_2,41_19,41_20,41_21,42_0,42_1,42_2,42_19,42_20,42_21,43_0,43_1,43_2,43_19,43_20,43_21,44_0,44_1,44_2,44_19,44_20,44_21,45_0,45_1,45_2,45_19,45_20,45_21,46_0,46_1,46_2,46_19,46_20,46_21,47_0,47_1,47_2,47_19,47_20,47_21,48_0,48_1,48_2,48_19,48_20,48_21,49_0,49_1,49_2,49_19,49_20,49_21,50_0,50_1,50_2,50_19,50_20,50_21,51_0,51_1,51_2,51_19,51_20,51_21,52_0,52_1,52_2,52_19,52_20,52_21,53_0,53_1,53_2,53_19,53_20,53_21,54_0,54_1,54_2,54_19,54_20,54_21,55_0,55_1,55_2,55_19,55_20,55_21,56_0,56_1,56_2,56_19,56_20,56_21,57_0,57_1,57_2,57_19,57_20,57_21,58_0,58_1,58_2,58_19,58_20,58_21,59_0,59_1,59_2,59_19,59_20,59_21,60_0,60_1,60_2,60_19,60_20,60_21,61_0,61_1,61_2,61_19,61_20,61_21,62_0,62_1,62_2,62_19,62_20,62_21,63_0,63_1,63_2,63_19,63_20,63_21,64_0,64_1,64_2,64_19,64_20,64_21,65_0,65_1,65_2,65_19,65_20,65_21,66_0,66_1,66_2,66_19,66_20,66_21,67_0,67_1,67_2,67_19,67_20,67_21,68_0,68_1,68_2,68_19,68_20,68_21,69_0,69_1,69_2,69_19,69_20,69_21,70_0,70_1,70_2,70_19,70_20,70_21,71_0,71_1,71_2,71_19,71_20,71_21,72_0,72_1,72_2,72_19,72_20,72_21,73_0,73_1,73_2,73_19,73_20,73_21,74_0,74_1,74_2,74_19,74_20,74_21,75_0,75_1,75_2,75_19,75_20,75_21,76_0,76_1,76_2,76_19,76_20,76_21,77_0,77_1,77_2,77_19,77_20,77_21,78_0,78_1,78_2,78_19,78_20,78_21,79_0,79_1,79_2,79_19,79_20,79_21,80_0,80_1,80_2,80_19,80_20,80_21,81_0,81_1,81_2,81_19,81_20,81_21,82_0,82_1,82_2,82_19,82_20,82_21,83_0,83_1,83_2,83_19,83_20,83_21,84_0,84_1,84_2,84_19,84_20,84_21,85_0,85_1,85_2,85_19,85_20,85_21,86_0,86_1,86_2,86_19,86_20,86_21,87_0,87_1,87_2,87_3,87_5,87_6,87_7,87_8,87_9,87_10,87_11,87_12,87_13,87_14,87_15,87_16,87_17,87_18,87_19,87_20,87_21,88_0,88_1,88_2,88_3,88_5,88_6,88_7,88_8,88_9,88_10,88_11,88_12,88_13,88_14,88_15,88_16,88_17,88_18,88_19,88_20,88_21,89_0,89_1,89_2,89_3,89_5,89_6,89_7,89_8,89_9,89_10,89_11,89_12,89_13,89_14,89_15,89_16,89_17,89_18,89_19,89_20,89_21,90_0,90_1,90_2,90_3,90_5,90_6,90_7,90_8,90_9,90_10,90_11,90_12,90_13,90_14,90_15,90_16,90_17,90_18,90_19,90_20,90_21,91_0,91_1,91_2,91_3,91_5,91_6,91_7,91_8,91_9,91_10,91_11,91_12,91_13,91_14,91_15,91_16,91_17,91_18,91_19,91_20,91_21"; scene_data["render_warp_0001_coordinates"] = "5_4,86_4"; scene_data["render_ocean_0003_coordinates"] = "6_16,8_4,8_12,9_4,9_12,10_4,10_12,11_4,11_12,12_12,13_12,14_12,15_7,15_12,16_7,16_12,17_12,18_4,19_4,19_8,19_17,20_17,21_17,22_6,23_6,24_6,25_6,26_6,27_6,30_4,30_11,30_17,31_17,32_6,32_12,33_6,33_12,35_17,37_6,38_4,38_6,38_13,39_6,39_13,40_6,48_5,49_5,50_5,53_10,54_5,54_10,54_17,55_5,55_13,55_17,56_5,56_13,56_17,57_8,58_17,59_17,60_6,60_8,61_6,61_8,62_8,63_8,64_8,66_5,66_14,67_14,68_14,68_17,69_4,69_17,70_4,71_4,72_4,73_4,74_4,75_4,75_14,76_4,76_14,77_4,80_9,80_14,81_9,82_6,82_9,82_16,83_16,84_12,85_8"; scene_data["render_ocean_0004_coordinates"] = "7_5,7_6,7_7,7_8,7_13,7_14,7_15,14_8,14_9,21_7,21_8,21_9,21_10,21_11,21_12,21_13,21_14,31_7,31_8,31_13,31_14,36_7,36_8,36_9,37_14,37_15,44_4,44_7,44_8,44_11,44_14,44_15,44_16,47_6,47_7,47_8,47_9,47_10,47_11,47_12,47_13,47_14,47_15,47_16,59_9,59_10,59_11,59_12,59_13,59_14,68_5,68_6,68_7,68_8,68_9,68_10"; scene_data["render_desert1_coordinates"] = "8_5,8_6,8_8,8_9,8_13,8_14,8_15,9_15,10_8,10_9,10_13,10_15,11_6,11_8,11_9,11_15,12_13,12_15,14_13,16_13,16_15,17_13,17_14,17_15,22_7,22_8,22_9,22_10,22_11,22_12,22_13,22_14,23_7,23_14,24_7,25_7,25_14,26_7,26_9,26_10,26_11,26_14,27_7,27_8,27_9,27_10,27_11,27_12,27_13,27_14,60_9,60_10,60_11,60_12,61_14,63_10,63_13,64_9,64_10,64_11,64_12,64_13,69_5,69_6,69_7,69_8,69_9,69_10,70_5,70_10,70_11,71_5,71_11,72_5,72_11,73_5,73_6,73_7,73_8,74_5,74_11,75_5,75_7,75_8,75_9,75_11,76_5,77_5,77_6,77_7,77_8,77_9,77_10"; scene_data["render_common_0001_coordinates"] = "8_7,9_7,9_8,9_9,9_14,10_7,10_14,11_5,11_7,11_14,12_14,13_14,13_15,14_15,15_8,15_9,15_14,15_15,15_16,16_8,16_9,16_14,23_8,23_9,23_10,23_11,23_12,23_13,24_8,24_11,24_12,24_13,24_14,24_15,25_8,25_11,25_12,25_13,26_8,26_12,26_13,32_7,32_8,32_13,32_14,33_7,33_8,33_13,33_14,37_7,37_8,37_9,38_7,38_8,38_9,38_14,38_15,39_7,39_8,39_9,39_14,39_15,40_7,40_8,40_9,48_6,48_7,48_8,48_9,48_10,48_11,48_12,48_13,48_14,48_15,48_16,49_6,49_7,49_8,49_9,49_10,49_11,49_12,49_13,49_14,49_15,49_16,50_6,50_7,50_8,50_9,50_10,50_11,50_12,50_13,50_14,50_15,50_16,60_13,60_14,61_11,61_12,61_13,62_11,62_12,62_13,63_9,63_11,63_12,70_9,71_9,71_10,72_9,72_10,73_9,73_10,73_11,74_7,74_8,74_9,74_10,75_6,75_10,76_7,76_8,76_9,76_10"; scene_data["render_ocean_0002_coordinates"] = "8_16,9_16,10_16,11_16,12_16,13_16,14_16,15_10,16_10,16_16,17_16,22_15,23_15,25_15,26_15,27_15,32_9,32_15,33_9,33_15,37_10,38_10,38_16,39_10,39_16,40_10,48_17,49_17,50_17,62_14,63_14,64_14,69_11,76_11,77_11"; scene_data["render_building_0001_coordinates"] = "9_5,24_9,61_9,70_6"; scene_data["render_building_0005_coordinates"] = "9_6"; scene_data["render_common_0003_coordinates"] = "9_13,11_13,13_13,15_13,74_6,76_6"; scene_data["render_building_0002_coordinates"] = "10_5,25_9,62_9,72_6"; scene_data["render_building_0004_coordinates"] = "10_6,25_10,62_10,72_8"; scene_data["render_ocean_0005_coordinates"] = "12_5,12_6,12_7,12_8,17_8,17_9,18_13,18_14,18_15,28_7,28_8,28_9,28_10,28_11,28_12,28_13,28_14,34_7,34_8,34_13,34_14,40_14,40_15,41_7,41_8,41_9,45_4,45_7,45_8,45_11,45_14,45_15,45_16,51_6,51_7,51_8,51_9,51_10,51_11,51_12,51_13,51_14,51_15,51_16,65_9,65_10,65_11,65_12,65_13,65_16,72_16,78_5,78_6,78_7,78_8,78_9,78_10"; scene_data["render_common_0004_coordinates"] = "14_14"; scene_data["render_common_0002_coordinates"] = "24_10"; scene_data["render_building_0011_coordinates"] = "61_10"; scene_data["render_building_0009_coordinates"] = "70_7,71_7,71_8,72_7"; scene_data["render_building_0010_coordinates"] = "70_8"; scene_data["render_building_0007_coordinates"] = "71_6"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0137() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 12; scene_data["name"] = "Second house (first one is locked)"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=4, txt="Mermaid: {{new_line}} How have the waves treated you two? {{new_line}} {{new_line}} Princess Anaya: {{new_line}} Um...good, I suppose? {{new_line}} {{new_line}} Ren: {{new_line}} Yes, so they have. {{new_line}} {{new_line}} Mermaid: {{new_line}} Best of luck in your journey, you two!", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=60, after_map_y=9, after_player_x=62, after_player_y=11, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=6, y=8, scene_number=136, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_3|5_4|5_5|5_6|5_7|6_3|6_6|6_7|6_8|7_3|7_4|7_6|7_7|8_7|8_8|9_7|9_8|10_4|10_5|10_6|10_7|10_8"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_warp_0001,render_indoors_asset_0014,render_person_0013"; scene_data["render_common_0001_coordinates"] = "5_3,5_4,5_5,5_6,5_7,6_3,6_6,6_7,7_3,7_4,7_6,7_7,8_7,8_8,9_7,9_8,10_4,10_5,10_6,10_7,10_8"; scene_data["render_indoors_asset_0008_coordinates"] = "6_4"; scene_data["render_warp_0001_coordinates"] = "6_8"; scene_data["render_indoors_asset_0014_coordinates"] = "8_3,8_4"; scene_data["render_person_0013_coordinates"] = "10_3"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0138() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 22; scene_data["name"] = "Last house from 136"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=6, txt="Mermaid: {{new_line}} Might a sing a song for the two of you? {{new_line}} {{new_line}} Princess Anaya: Absolutely! {{new_line}} {{new_line}} Mermaid: {{new_line}} Waves for the braves {{new_line}} Light for the fight {{new_line}} La di da di daaaaa {{new_line}} May this song resonate with you {{new_line}} Treasure boxes given to you two {{new_line}} La di da di daaaaa {{new_line}} {{new_line}} Goodbye, chaps.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=10, y=6, txt="Mermaid: {{new_line}} Might a sing a song for the two of you? {{new_line}} {{new_line}} Princess Anaya: Absolutely! {{new_line}} {{new_line}} Mermaid: {{new_line}} Waves for the braves {{new_line}} Light for the fight {{new_line}} La di da di daaaaa {{new_line}} May this song resonate with you {{new_line}} Treasure boxes given to you two {{new_line}} La di da di daaaaa {{new_line}} {{new_line}} Goodbye, chaps.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=70, after_map_y=7, after_player_x=72, after_player_y=9, after_screen_x=2, after_screen_y=2, after_player_dir="down", x=7, y=18, scene_number=136, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_5|5_8|5_10|5_11|5_12|5_13|5_14|6_5|6_6|6_7|6_8|6_10|6_13|7_5|7_8|7_10|7_13|7_14|7_16|7_17|7_18|8_8|8_10|8_13|8_14|8_15|8_16|9_6|9_8|9_9|9_10|9_11|10_6|10_7|10_8"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_common_0001,render_indoors_asset_0008,render_indoors_asset_0014,render_warp_0001,render_person_0013"; scene_data["render_common_0001_coordinates"] = "5_5,5_8,5_10,5_11,5_12,5_13,5_14,6_5,6_6,6_7,6_8,6_10,6_13,7_5,7_8,7_10,7_13,7_14,7_16,7_17,8_8,8_10,8_13,8_14,8_15,8_16,9_6,9_8,9_9,9_10,9_11,10_6,10_7,10_8"; scene_data["render_indoors_asset_0008_coordinates"] = "5_6,5_7"; scene_data["render_indoors_asset_0014_coordinates"] = "7_6,7_7"; scene_data["render_warp_0001_coordinates"] = "7_18"; scene_data["render_person_0013_coordinates"] = "9_5,10_5"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0139() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 82; scene_data["tile_y_count"] = 26; scene_data["name"] = "Further East"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {3}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {400}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"48,21"}; scene_data["boat_exit_coords"] = {"48,20"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_48,21"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_48,21"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_48,21"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=46, y=15, txt="The box is empty", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=51, y=15, txt="You obtained 715g", required_dir="up", callback=function() GET_MONEY(715); PUT_STATE("b1", 139, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 139 ) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=84, after_map_y=2, after_player_x=85, after_player_y=4, after_screen_x=1, after_screen_y=2, after_player_dir="left", x=5, y=3, scene_number=136, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("nd", 140) == -1; end, on_warp_not_allowed_msg = "Wow. She locked us out. Strange...I thought she liked us. {{new_line}} :/", after_map_x=4, after_map_y=2, after_player_x=7, after_player_y=4, after_screen_x=3, after_screen_y=2, after_player_dir="up", x=49, y=16, scene_number=140, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return GET_STATE("nd", 140) == 1; end, on_warp_not_allowed_msg = "Princess Anaya: {{new_line}} There is a faint smell I'm detecting similar to that of the necklace woman. I think her sister is nearby", after_map_x=5, after_map_y=13, after_player_x=6, after_player_y=14, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=76, y=22, scene_number=141, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|1_0|1_1|1_2|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|2_0|2_1|2_2|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|3_0|3_1|3_2|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|4_0|4_1|4_2|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|5_0|5_1|5_2|5_7|5_13|5_23|5_24|5_25|6_0|6_1|6_2|6_3|6_4|6_5|6_7|6_13|6_23|6_24|6_25|7_0|7_1|7_2|7_5|7_7|7_13|7_18|7_19|7_20|7_23|7_24|7_25|8_0|8_1|8_2|8_23|8_24|8_25|9_0|9_1|9_2|9_8|9_9|9_10|9_11|9_23|9_24|9_25|10_0|10_1|10_2|10_7|10_12|10_16|10_17|10_23|10_24|10_25|11_0|11_1|11_2|11_7|11_12|11_15|11_18|11_23|11_24|11_25|12_0|12_1|12_2|12_4|12_7|12_12|12_15|12_18|12_23|12_24|12_25|13_0|13_1|13_2|13_4|13_7|13_12|13_15|13_18|13_21|13_23|13_24|13_25|14_0|14_1|14_2|14_7|14_12|14_16|14_17|14_21|14_23|14_24|14_25|15_0|15_1|15_2|15_8|15_9|15_10|15_11|15_19|15_21|15_23|15_24|15_25|16_0|16_1|16_2|16_23|16_24|16_25|17_0|17_1|17_2|17_23|17_24|17_25|18_0|18_1|18_2|18_5|18_6|18_12|18_13|18_14|18_15|18_16|18_17|18_18|18_19|18_23|18_24|18_25|19_0|19_1|19_2|19_4|19_7|19_11|19_20|19_23|19_24|19_25|20_0|20_1|20_2|20_4|20_7|20_11|20_20|20_23|20_24|20_25|21_0|21_1|21_2|21_5|21_6|21_12|21_13|21_14|21_15|21_16|21_17|21_18|21_19|21_23|21_24|21_25|22_0|22_1|22_2|22_23|22_24|22_25|23_0|23_1|23_2|23_21|23_23|23_24|23_25|24_0|24_1|24_2|24_21|24_23|24_24|24_25|25_0|25_1|25_2|25_9|25_10|25_11|25_15|25_16|25_20|25_23|25_24|25_25|26_0|26_1|26_2|26_23|26_24|26_25|27_0|27_1|27_2|27_23|27_24|27_25|28_0|28_1|28_2|28_8|28_9|28_10|28_23|28_24|28_25|29_0|29_1|29_2|29_7|29_11|29_23|29_24|29_25|30_0|30_1|30_2|30_7|30_11|30_23|30_24|30_25|31_0|31_1|31_2|31_7|31_11|31_14|31_15|31_16|31_23|31_24|31_25|32_0|32_1|32_2|32_4|32_7|32_11|32_13|32_17|32_19|32_23|32_24|32_25|33_0|33_1|33_2|33_4|33_7|33_11|33_13|33_17|33_19|33_23|33_24|33_25|34_0|34_1|34_2|34_4|34_7|34_11|34_13|34_17|34_19|34_23|34_24|34_25|35_0|35_1|35_2|35_7|35_11|35_13|35_17|35_23|35_24|35_25|36_0|36_1|36_2|36_7|36_11|36_13|36_17|36_23|36_24|36_25|37_0|37_1|37_2|37_7|37_11|37_14|37_15|37_16|37_20|37_23|37_24|37_25|38_0|38_1|38_2|38_7|38_11|38_20|38_23|38_24|38_25|39_0|39_1|39_2|39_7|39_11|39_23|39_24|39_25|40_0|40_1|40_2|40_7|40_11|40_15|40_16|40_23|40_24|40_25|41_0|41_1|41_2|41_8|41_9|41_10|41_23|41_24|41_25|42_0|42_1|42_2|42_15|42_16|42_17|42_23|42_24|42_25|43_0|43_1|43_2|43_5|43_12|43_23|43_24|43_25|44_0|44_1|44_2|44_5|44_23|44_24|44_25|45_0|45_1|45_2|45_14|45_15|45_16|45_17|45_18|45_19|45_23|45_24|45_25|46_0|46_1|46_2|46_7|46_8|46_9|46_13|46_14|46_20|46_23|46_24|46_25|47_0|47_1|47_2|47_6|47_10|47_13|47_14|47_15|47_16|47_17|47_19|47_20|47_23|47_24|47_25|48_0|48_1|48_2|48_6|48_10|48_13|48_14|48_15|48_16|48_23|48_24|48_25|49_0|49_1|49_2|49_6|49_10|49_13|49_14|49_15|49_19|49_20|49_23|49_24|49_25|50_0|50_1|50_2|50_6|50_10|50_13|50_14|50_15|50_16|50_17|50_20|50_23|50_24|50_25|51_0|51_1|51_2|51_7|51_8|51_9|51_13|51_14|51_19|51_20|51_23|51_24|51_25|52_0|52_1|52_2|52_14|52_15|52_16|52_17|52_18|52_19|52_23|52_24|52_25|53_0|53_1|53_2|53_23|53_24|53_25|54_0|54_1|54_2|54_5|54_10|54_11|54_17|54_21|54_23|54_24|54_25|55_0|55_1|55_2|55_23|55_24|55_25|56_0|56_1|56_2|56_23|56_24|56_25|57_0|57_1|57_2|57_5|57_8|57_9|57_13|57_14|57_19|57_23|57_24|57_25|58_0|58_1|58_2|58_7|58_10|58_12|58_15|58_19|58_23|58_24|58_25|59_0|59_1|59_2|59_7|59_10|59_12|59_15|59_19|59_23|59_24|59_25|60_0|60_1|60_2|60_5|60_7|60_10|60_13|60_14|60_19|60_23|60_24|60_25|61_0|61_1|61_2|61_8|61_9|61_23|61_24|61_25|62_0|62_1|62_2|62_20|62_23|62_24|62_25|63_0|63_1|63_2|63_4|63_11|63_12|63_13|63_23|63_24|63_25|64_0|64_1|64_2|64_23|64_24|64_25|65_0|65_1|65_2|65_5|65_6|65_7|65_8|65_9|65_10|65_11|65_12|65_13|65_14|65_15|65_16|65_17|65_18|65_19|65_20|65_23|65_24|65_25|66_0|66_1|66_2|66_4|66_21|66_23|66_24|66_25|67_0|67_1|67_2|67_4|67_21|67_23|67_24|67_25|68_0|68_1|68_2|68_4|68_21|68_23|68_24|68_25|69_0|69_1|69_2|69_5|69_6|69_7|69_8|69_9|69_10|69_11|69_12|69_13|69_14|69_15|69_16|69_17|69_18|69_19|69_20|69_23|69_24|69_25|70_0|70_1|70_2|70_23|70_24|70_25|71_0|71_1|71_2|71_9|71_17|71_23|71_24|71_25|72_0|72_1|72_2|72_4|72_9|72_14|72_17|72_23|72_24|72_25|73_0|73_1|73_2|73_4|73_7|73_9|73_12|73_14|73_17|73_23|73_24|73_25|74_0|74_1|74_2|74_9|74_23|74_24|74_25|75_0|75_1|75_2|75_19|75_20|75_23|75_24|75_25|76_0|76_1|76_2|76_19|76_20|76_21|76_23|76_24|76_25|77_0|77_1|77_2|77_3|77_4|77_5|77_6|77_7|77_8|77_9|77_10|77_11|77_12|77_13|77_14|77_15|77_16|77_17|77_18|77_19|77_20|77_21|77_23|77_24|77_25|78_0|78_1|78_2|78_3|78_4|78_5|78_6|78_7|78_8|78_9|78_10|78_11|78_12|78_13|78_14|78_15|78_16|78_17|78_18|78_19|78_20|78_21|78_23|78_24|78_25|79_0|79_1|79_2|79_3|79_4|79_5|79_6|79_7|79_8|79_9|79_10|79_11|79_12|79_13|79_14|79_15|79_16|79_17|79_18|79_19|79_20|79_21|79_23|79_24|79_25|80_0|80_1|80_2|80_3|80_4|80_5|80_6|80_7|80_8|80_9|80_10|80_11|80_12|80_13|80_14|80_15|80_16|80_17|80_18|80_19|80_20|80_21|80_23|80_24|80_25|81_0|81_1|81_2|81_3|81_4|81_5|81_6|81_7|81_8|81_9|81_10|81_11|81_12|81_13|81_14|81_15|81_16|81_17|81_18|81_19|81_20|81_21|81_23|81_24|81_25"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_ocean_0002,render_ocean_0005,render_common_0003,render_desert1,render_building_0001,render_building_0009,render_building_0002,render_building_0004"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,1_0,1_1,1_2,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,2_0,2_1,2_2,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,3_0,3_1,3_2,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,4_0,4_1,4_2,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,5_0,5_1,5_2,5_7,5_13,5_23,5_24,5_25,6_0,6_1,6_2,6_3,6_4,6_5,6_7,6_13,6_23,6_24,6_25,7_0,7_1,7_2,7_5,7_7,7_13,7_23,7_24,7_25,8_0,8_1,8_2,8_23,8_24,8_25,9_0,9_1,9_2,9_23,9_24,9_25,10_0,10_1,10_2,10_23,10_24,10_25,11_0,11_1,11_2,11_23,11_24,11_25,12_0,12_1,12_2,12_23,12_24,12_25,13_0,13_1,13_2,13_23,13_24,13_25,14_0,14_1,14_2,14_23,14_24,14_25,15_0,15_1,15_2,15_23,15_24,15_25,16_0,16_1,16_2,16_23,16_24,16_25,17_0,17_1,17_2,17_23,17_24,17_25,18_0,18_1,18_2,18_23,18_24,18_25,19_0,19_1,19_2,19_23,19_24,19_25,20_0,20_1,20_2,20_23,20_24,20_25,21_0,21_1,21_2,21_23,21_24,21_25,22_0,22_1,22_2,22_23,22_24,22_25,23_0,23_1,23_2,23_23,23_24,23_25,24_0,24_1,24_2,24_23,24_24,24_25,25_0,25_1,25_2,25_23,25_24,25_25,26_0,26_1,26_2,26_23,26_24,26_25,27_0,27_1,27_2,27_23,27_24,27_25,28_0,28_1,28_2,28_23,28_24,28_25,29_0,29_1,29_2,29_23,29_24,29_25,30_0,30_1,30_2,30_23,30_24,30_25,31_0,31_1,31_2,31_23,31_24,31_25,32_0,32_1,32_2,32_23,32_24,32_25,33_0,33_1,33_2,33_23,33_24,33_25,34_0,34_1,34_2,34_23,34_24,34_25,35_0,35_1,35_2,35_23,35_24,35_25,36_0,36_1,36_2,36_23,36_24,36_25,37_0,37_1,37_2,37_23,37_24,37_25,38_0,38_1,38_2,38_23,38_24,38_25,39_0,39_1,39_2,39_23,39_24,39_25,40_0,40_1,40_2,40_23,40_24,40_25,41_0,41_1,41_2,41_23,41_24,41_25,42_0,42_1,42_2,42_23,42_24,42_25,43_0,43_1,43_2,43_23,43_24,43_25,44_0,44_1,44_2,44_23,44_24,44_25,45_0,45_1,45_2,45_23,45_24,45_25,46_0,46_1,46_2,46_23,46_24,46_25,47_0,47_1,47_2,47_23,47_24,47_25,48_0,48_1,48_2,48_23,48_24,48_25,49_0,49_1,49_2,49_23,49_24,49_25,50_0,50_1,50_2,50_23,50_24,50_25,51_0,51_1,51_2,51_23,51_24,51_25,52_0,52_1,52_2,52_23,52_24,52_25,53_0,53_1,53_2,53_23,53_24,53_25,54_0,54_1,54_2,54_17,54_21,54_23,54_24,54_25,55_0,55_1,55_2,55_23,55_24,55_25,56_0,56_1,56_2,56_23,56_24,56_25,57_0,57_1,57_2,57_23,57_24,57_25,58_0,58_1,58_2,58_23,58_24,58_25,59_0,59_1,59_2,59_23,59_24,59_25,60_0,60_1,60_2,60_23,60_24,60_25,61_0,61_1,61_2,61_23,61_24,61_25,62_0,62_1,62_2,62_23,62_24,62_25,63_0,63_1,63_2,63_4,63_11,63_12,63_13,63_23,63_24,63_25,64_0,64_1,64_2,64_23,64_24,64_25,65_0,65_1,65_2,65_23,65_24,65_25,66_0,66_1,66_2,66_23,66_24,66_25,67_0,67_1,67_2,67_23,67_24,67_25,68_0,68_1,68_2,68_23,68_24,68_25,69_0,69_1,69_2,69_23,69_24,69_25,70_0,70_1,70_2,70_23,70_24,70_25,71_0,71_1,71_2,71_23,71_24,71_25,72_0,72_1,72_2,72_23,72_24,72_25,73_0,73_1,73_2,73_23,73_24,73_25,74_0,74_1,74_2,74_23,74_24,74_25,75_0,75_1,75_2,75_19,75_20,75_23,75_24,75_25,76_0,76_1,76_2,76_19,76_20,76_21,76_23,76_24,76_25,77_0,77_1,77_2,77_3,77_4,77_5,77_6,77_7,77_8,77_9,77_10,77_11,77_12,77_13,77_14,77_15,77_16,77_17,77_18,77_19,77_20,77_21,77_23,77_24,77_25,78_0,78_1,78_2,78_3,78_4,78_5,78_6,78_7,78_8,78_9,78_10,78_11,78_12,78_13,78_14,78_15,78_16,78_17,78_18,78_19,78_20,78_21,78_23,78_24,78_25,79_0,79_1,79_2,79_3,79_4,79_5,79_6,79_7,79_8,79_9,79_10,79_11,79_12,79_13,79_14,79_15,79_16,79_17,79_18,79_19,79_20,79_21,79_23,79_24,79_25,80_0,80_1,80_2,80_3,80_4,80_5,80_6,80_7,80_8,80_9,80_10,80_11,80_12,80_13,80_14,80_15,80_16,80_17,80_18,80_19,80_20,80_21,80_23,80_24,80_25,81_0,81_1,81_2,81_3,81_4,81_5,81_6,81_7,81_8,81_9,81_10,81_11,81_12,81_13,81_14,81_15,81_16,81_17,81_18,81_19,81_20,81_21,81_23,81_24,81_25"; scene_data["render_warp_0001_coordinates"] = "5_3,76_22"; scene_data["render_ocean_0004_coordinates"] = "7_18,7_19,7_20,9_8,9_9,9_10,9_11,10_16,10_17,18_5,18_6,18_12,18_13,18_14,18_15,18_16,18_17,18_18,18_19,25_9,25_10,25_11,25_15,25_16,25_20,28_8,28_9,28_10,31_14,31_15,31_16,40_15,40_16,42_15,42_16,42_17,45_14,45_15,45_16,45_17,45_18,45_19,46_7,46_8,46_9,57_8,57_9,57_13,57_14,65_5,65_6,65_7,65_8,65_9,65_10,65_11,65_12,65_13,65_14,65_15,65_16,65_17,65_18,65_19,65_20"; scene_data["render_ocean_0003_coordinates"] = "10_7,11_7,11_15,12_4,12_7,12_15,13_4,13_7,13_15,13_21,14_7,14_21,15_19,15_21,19_4,19_11,20_4,20_11,23_21,24_21,29_7,30_7,31_7,32_4,32_7,32_13,32_19,33_4,33_7,33_13,33_19,34_4,34_7,34_13,34_19,35_7,35_13,36_7,36_13,37_7,37_20,38_7,38_20,39_7,40_7,43_5,43_12,44_5,46_13,47_6,47_13,48_6,48_13,49_6,49_13,50_6,50_13,51_13,57_19,58_7,58_12,58_19,59_7,59_12,59_19,60_7,60_19,62_20,66_4,67_4,68_4,71_9,71_17,72_4,72_9,72_14,72_17,73_4,73_7,73_9,73_12,73_14,73_17,74_9"; scene_data["render_common_0001_coordinates"] = "10_8,10_9,10_10,10_11,11_8,11_9,11_10,11_11,11_16,11_17,12_8,12_9,12_10,12_11,12_16,12_17,13_8,13_9,13_10,13_11,13_16,13_17,14_8,14_9,14_10,14_11,19_5,19_6,19_12,19_13,19_14,19_15,19_16,19_17,19_18,19_19,20_5,20_6,20_12,20_13,20_14,20_15,20_16,20_17,20_18,20_19,29_8,29_9,29_10,30_8,30_9,30_10,31_8,31_9,31_10,32_8,32_9,32_10,32_14,32_15,32_16,33_8,33_9,33_10,33_14,33_15,33_16,34_8,34_9,34_10,34_14,34_15,34_16,35_8,35_9,35_10,35_14,35_15,35_16,36_8,36_9,36_10,36_14,36_15,36_16,37_8,37_9,37_10,38_8,38_9,38_10,39_8,39_9,39_10,40_8,40_9,40_10,46_15,46_16,46_17,46_18,46_19,47_7,47_8,47_9,47_18,48_7,48_8,48_9,48_17,48_18,48_19,48_20,49_7,49_8,49_9,49_17,49_18,50_7,50_8,50_9,50_18,50_19,51_15,51_16,51_17,51_18,58_8,58_9,58_13,58_14,59_8,59_9,59_13,59_14,60_8,60_9,66_5,66_6,66_7,66_8,66_9,66_10,66_11,66_12,66_13,66_14,66_15,66_16,66_17,66_18,66_19,66_20,67_5,67_6,67_7,67_8,67_9,67_10,67_11,67_12,67_13,67_14,67_15,67_16,67_17,67_18,67_19,67_20,68_5,68_6,68_7,68_8,68_9,68_10,68_11,68_12,68_13,68_14,68_15,68_16,68_17,68_18,68_19,68_20"; scene_data["render_ocean_0002_coordinates"] = "10_12,11_12,11_18,12_12,12_18,13_12,13_18,14_12,19_7,19_20,20_7,20_20,29_11,30_11,31_11,32_11,32_17,33_11,33_17,34_11,34_17,35_11,35_17,36_11,36_17,37_11,38_11,39_11,40_11,46_20,47_10,47_20,48_10,49_10,49_20,50_10,50_20,51_20,58_10,58_15,59_10,59_15,60_10,66_21,67_21,68_21"; scene_data["render_ocean_0005_coordinates"] = "14_16,14_17,15_8,15_9,15_10,15_11,21_5,21_6,21_12,21_13,21_14,21_15,21_16,21_17,21_18,21_19,37_14,37_15,37_16,41_8,41_9,41_10,51_7,51_8,51_9,52_14,52_15,52_16,52_17,52_18,52_19,54_5,54_10,54_11,57_5,60_5,60_13,60_14,61_8,61_9,69_5,69_6,69_7,69_8,69_9,69_10,69_11,69_12,69_13,69_14,69_15,69_16,69_17,69_18,69_19,69_20"; scene_data["render_common_0003_coordinates"] = "46_14,51_14"; scene_data["render_desert1_coordinates"] = "47_14,47_15,47_16,47_17,47_19,48_14,49_14,49_19,50_14,50_15,50_16,50_17,51_19"; scene_data["render_building_0001_coordinates"] = "48_15"; scene_data["render_building_0009_coordinates"] = "48_16"; scene_data["render_building_0002_coordinates"] = "49_15"; scene_data["render_building_0004_coordinates"] = "49_16"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0140() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 16; scene_data["tile_y_count"] = 9; scene_data["name"] = "Sister Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Mermaid: {{new_line}} Hey you ! Who invited you in to MYYYY house? {{new_line}} {{new_line}} Ren: {{new_line}} Please, we just came because we think we may have something for you. A neclace from your sister? {{new_line}} {{new_line}} Mermaid: Bless you, may the waves bring you wealth and luck. Please bring it to me"; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=7, y=4, txt="(You deliver the necklace)", required_dir="up", callback=function() PUT_STATE("nd", 140, 1, "delivered the necklace"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=46, after_map_y=15, after_player_x=49, after_player_y=17, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=7, y=5, scene_number=139, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|6_3|6_4|7_4|7_5|8_3|8_4|9_4|9_5|10_3|10_4|10_5"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0014,render_common_0001,render_person_0013,render_warp_0001,render_indoors_asset_0008"; scene_data["render_indoors_asset_0014_coordinates"] = "5_3,5_5"; scene_data["render_common_0001_coordinates"] = "5_4,6_3,6_4,7_4,8_3,8_4,9_4,9_5,10_3,10_4,10_5"; scene_data["render_person_0013_coordinates"] = "7_3"; scene_data["render_warp_0001_coordinates"] = "7_5"; scene_data["render_indoors_asset_0008_coordinates"] = "9_3"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0141() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 75; scene_data["tile_y_count"] = 28; scene_data["name"] = "Ocean - 141"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {320}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"10,21","30,14","58,17"}; scene_data["boat_exit_coords"] = {"10,20","30,13","58,16"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_10,21"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_30,14"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_58,17"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_10,21"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_10,21"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_30,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_30,14"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_58,17"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_58,17"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=8, y=15, txt="You obtained 1500g", required_dir="up", callback=function() GET_MONEY(1500); PUT_STATE("b1", 141, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 141) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=13, y=15, txt="You obtained 250g", required_dir="up", callback=function() GET_MONEY(250); PUT_STATE("b2", 141, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 141) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=24, y=10, txt="You obtained 1 vial of boysenberry extract", required_dir="up", callback=function() GET_ITEM("bye_1", 1); PUT_STATE("b3", 141, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 141) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=26, y=10, txt="You obtained 2 vials of boysenberry extract", required_dir="up", callback=function() GET_ITEM("bye_1", 2); PUT_STATE("b4", 141, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 141) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=28, y=10, txt="You two pieces of fennel extract", required_dir="up", callback=function() GET_ITEM("fxt_1", 2); PUT_STATE("b5", 141, 1, "fifth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b5", 141) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item."; end }, { x=29, y=10, txt="Warning: Pirates have been seen east of here. Proceed east with caution, and carry emergency supplies.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=58, y=15, txt="Hello there, miss. You look wonderful today. The sun shines favorably upon you, and the sand radiates in your presence. Bye bye, cherry blossom.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=74, after_map_y=20, after_player_x=75, after_player_y=22, after_screen_x=1, after_screen_y=2, after_player_dir="left", x=5, y=14, scene_number=139, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=17, after_player_x=6, after_player_y=19, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=69, y=14, scene_number=142, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "The door is locked.", after_map_x=74, after_map_y=20, after_player_x=75, after_player_y=22, after_screen_x=1, after_screen_y=2, after_player_dir="left", x=59, y=13, scene_number=1, inn_item_keys={}, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=11, y=15, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=1100, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|0_26|0_27|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|1_26|1_27|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|2_26|2_27|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|3_26|3_27|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|4_26|4_27|5_0|5_1|5_2|5_13|5_15|5_25|5_26|5_27|6_0|6_1|6_2|6_25|6_26|6_27|7_0|7_1|7_2|7_7|7_8|7_10|7_14|7_15|7_16|7_17|7_18|7_19|7_23|7_25|7_26|7_27|8_0|8_1|8_2|8_4|8_13|8_14|8_20|8_25|8_26|8_27|9_0|9_1|9_2|9_4|9_13|9_15|9_16|9_17|9_19|9_20|9_23|9_25|9_26|9_27|10_0|10_1|10_2|10_4|10_8|10_9|10_10|10_13|10_14|10_15|10_25|10_26|10_27|11_0|11_1|11_2|11_4|11_7|11_11|11_13|11_14|11_20|11_23|11_25|11_26|11_27|12_0|12_1|12_2|12_4|12_7|12_11|12_13|12_15|12_16|12_17|12_19|12_20|12_25|12_26|12_27|13_0|13_1|13_2|13_7|13_11|13_13|13_14|13_20|13_23|13_25|13_26|13_27|14_0|14_1|14_2|14_8|14_9|14_10|14_14|14_15|14_16|14_17|14_18|14_19|14_25|14_26|14_27|15_0|15_1|15_2|15_25|15_26|15_27|16_0|16_1|16_2|16_25|16_26|16_27|17_0|17_1|17_2|17_4|17_17|17_20|17_25|17_26|17_27|18_0|18_1|18_2|18_6|18_15|18_16|18_17|18_18|18_19|18_20|18_21|18_22|18_23|18_25|18_26|18_27|19_0|19_1|19_2|19_25|19_26|19_27|20_0|20_1|20_2|20_8|20_9|20_10|20_11|20_12|20_25|20_26|20_27|21_0|21_1|21_2|21_5|21_7|21_13|21_25|21_26|21_27|22_0|22_1|22_2|22_7|22_8|22_9|22_10|22_11|22_12|22_13|22_18|22_19|22_25|22_26|22_27|23_0|23_1|23_2|23_7|23_8|23_12|23_13|23_17|23_20|23_25|23_26|23_27|24_0|24_1|24_2|24_4|24_7|24_8|24_9|24_12|24_13|24_17|24_20|24_25|24_26|24_27|25_0|25_1|25_2|25_4|25_7|25_8|25_12|25_13|25_18|25_19|25_25|25_26|25_27|26_0|26_1|26_2|26_4|26_7|26_8|26_9|26_12|26_13|26_22|26_25|26_26|26_27|27_0|27_1|27_2|27_7|27_8|27_12|27_13|27_18|27_19|27_22|27_25|27_26|27_27|28_0|28_1|28_2|28_7|28_8|28_9|28_12|28_13|28_17|28_20|28_22|28_25|28_26|28_27|29_0|29_1|29_2|29_5|29_7|29_8|29_9|29_12|29_13|29_17|29_20|29_22|29_25|29_26|29_27|30_0|30_1|30_2|30_7|30_8|30_9|30_17|30_20|30_25|30_26|30_27|31_0|31_1|31_2|31_7|31_8|31_9|31_10|31_11|31_12|31_13|31_18|31_19|31_25|31_26|31_27|32_0|32_1|32_2|32_7|32_13|32_25|32_26|32_27|33_0|33_1|33_2|33_4|33_8|33_9|33_10|33_11|33_12|33_23|33_25|33_26|33_27|34_0|34_1|34_2|34_15|34_16|34_17|34_25|34_26|34_27|35_0|35_1|35_2|35_7|35_8|35_25|35_26|35_27|36_0|36_1|36_2|36_4|36_11|36_12|36_19|36_20|36_25|36_26|36_27|37_0|37_1|37_2|37_25|37_26|37_27|38_0|38_1|38_2|38_6|38_7|38_8|38_9|38_10|38_11|38_12|38_13|38_14|38_15|38_16|38_17|38_18|38_19|38_20|38_21|38_22|38_25|38_26|38_27|39_0|39_1|39_2|39_5|39_23|39_25|39_26|39_27|40_0|40_1|40_2|40_5|40_23|40_25|40_26|40_27|41_0|41_1|41_2|41_5|41_23|41_25|41_26|41_27|42_0|42_1|42_2|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_13|42_14|42_15|42_16|42_17|42_18|42_19|42_20|42_21|42_22|42_25|42_26|42_27|43_0|43_1|43_2|43_25|43_26|43_27|44_0|44_1|44_2|44_6|44_10|44_16|44_25|44_26|44_27|45_0|45_1|45_2|45_6|45_19|45_20|45_25|45_26|45_27|46_0|46_1|46_2|46_18|46_21|46_25|46_26|46_27|47_0|47_1|47_2|47_6|47_7|47_8|47_18|47_21|47_23|47_25|47_26|47_27|48_0|48_1|48_2|48_5|48_9|48_13|48_14|48_18|48_21|48_23|48_25|48_26|48_27|49_0|49_1|49_2|49_5|49_9|49_12|49_15|49_18|49_21|49_25|49_26|49_27|50_0|50_1|50_2|50_5|50_9|50_12|50_15|50_18|50_21|50_25|50_26|50_27|51_0|51_1|51_2|51_6|51_7|51_8|51_13|51_14|51_18|51_21|51_23|51_25|51_26|51_27|52_0|52_1|52_2|52_18|52_21|52_25|52_26|52_27|53_0|53_1|53_2|53_18|53_21|53_25|53_26|53_27|54_0|54_1|54_2|54_7|54_8|54_13|54_14|54_15|54_18|54_21|54_23|54_25|54_26|54_27|55_0|55_1|55_2|55_19|55_20|55_25|55_26|55_27|56_0|56_1|56_2|56_11|56_12|56_13|56_14|56_15|56_25|56_26|56_27|57_0|57_1|57_2|57_10|57_11|57_12|57_13|57_14|57_15|57_16|57_25|57_26|57_27|58_0|58_1|58_2|58_5|58_10|58_11|58_12|58_13|58_14|58_21|58_25|58_26|58_27|59_0|59_1|59_2|59_5|59_10|59_11|59_12|59_16|59_21|59_25|59_26|59_27|60_0|60_1|60_2|60_10|60_11|60_12|60_13|60_15|60_16|60_25|60_26|60_27|61_0|61_1|61_2|61_11|61_12|61_13|61_14|61_15|61_25|61_26|61_27|62_0|62_1|62_2|62_18|62_25|62_26|62_27|63_0|63_1|63_2|63_6|63_7|63_8|63_14|63_17|63_19|63_25|63_26|63_27|64_0|64_1|64_2|64_5|64_9|64_11|64_14|64_17|64_19|64_25|64_26|64_27|65_0|65_1|65_2|65_5|65_9|65_17|65_19|65_25|65_26|65_27|66_0|66_1|66_2|66_6|66_7|66_8|66_18|66_23|66_25|66_26|66_27|67_0|67_1|67_2|67_13|67_15|67_23|67_25|67_26|67_27|68_0|68_1|68_2|68_10|68_13|68_15|68_25|68_26|68_27|69_0|69_1|69_2|69_13|69_15|69_25|69_26|69_27|70_0|70_1|70_2|70_3|70_4|70_5|70_6|70_7|70_8|70_9|70_10|70_11|70_12|70_13|70_14|70_15|70_16|70_17|70_18|70_19|70_20|70_21|70_22|70_23|70_24|70_25|70_26|70_27|71_0|71_1|71_2|71_3|71_4|71_5|71_6|71_7|71_8|71_9|71_10|71_11|71_12|71_13|71_14|71_15|71_16|71_17|71_18|71_19|71_20|71_21|71_22|71_23|71_24|71_25|71_26|71_27|72_0|72_1|72_2|72_3|72_4|72_5|72_6|72_7|72_8|72_9|72_10|72_11|72_12|72_13|72_14|72_15|72_16|72_17|72_18|72_19|72_20|72_21|72_22|72_23|72_24|72_25|72_26|72_27|73_0|73_1|73_2|73_3|73_4|73_5|73_6|73_7|73_8|73_9|73_10|73_11|73_12|73_13|73_14|73_15|73_16|73_17|73_18|73_19|73_20|73_21|73_22|73_23|73_24|73_25|73_26|73_27|74_0|74_1|74_2|74_3|74_4|74_5|74_6|74_7|74_8|74_9|74_10|74_11|74_12|74_13|74_14|74_15|74_16|74_17|74_18|74_19|74_20|74_21|74_22|74_23|74_24|74_25|74_26|74_27"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0003,render_common_0001,render_ocean_0002,render_desert1,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_ocean_0005,render_common_0004,render_building_0009,render_building_0010,render_person_0013"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,0_26,0_27,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,1_26,1_27,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,2_26,2_27,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,3_26,3_27,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,4_26,4_27,5_0,5_1,5_2,5_13,5_15,5_25,5_26,5_27,6_0,6_1,6_2,6_25,6_26,6_27,7_0,7_1,7_2,7_25,7_26,7_27,8_0,8_1,8_2,8_25,8_26,8_27,9_0,9_1,9_2,9_25,9_26,9_27,10_0,10_1,10_2,10_25,10_26,10_27,11_0,11_1,11_2,11_25,11_26,11_27,12_0,12_1,12_2,12_25,12_26,12_27,13_0,13_1,13_2,13_25,13_26,13_27,14_0,14_1,14_2,14_25,14_26,14_27,15_0,15_1,15_2,15_25,15_26,15_27,16_0,16_1,16_2,16_25,16_26,16_27,17_0,17_1,17_2,17_25,17_26,17_27,18_0,18_1,18_2,18_25,18_26,18_27,19_0,19_1,19_2,19_25,19_26,19_27,20_0,20_1,20_2,20_25,20_26,20_27,21_0,21_1,21_2,21_25,21_26,21_27,22_0,22_1,22_2,22_25,22_26,22_27,23_0,23_1,23_2,23_25,23_26,23_27,24_0,24_1,24_2,24_25,24_26,24_27,25_0,25_1,25_2,25_25,25_26,25_27,26_0,26_1,26_2,26_25,26_26,26_27,27_0,27_1,27_2,27_25,27_26,27_27,28_0,28_1,28_2,28_25,28_26,28_27,29_0,29_1,29_2,29_25,29_26,29_27,30_0,30_1,30_2,30_25,30_26,30_27,31_0,31_1,31_2,31_25,31_26,31_27,32_0,32_1,32_2,32_25,32_26,32_27,33_0,33_1,33_2,33_25,33_26,33_27,34_0,34_1,34_2,34_25,34_26,34_27,35_0,35_1,35_2,35_25,35_26,35_27,36_0,36_1,36_2,36_25,36_26,36_27,37_0,37_1,37_2,37_25,37_26,37_27,38_0,38_1,38_2,38_25,38_26,38_27,39_0,39_1,39_2,39_25,39_26,39_27,40_0,40_1,40_2,40_25,40_26,40_27,41_0,41_1,41_2,41_25,41_26,41_27,42_0,42_1,42_2,42_25,42_26,42_27,43_0,43_1,43_2,43_25,43_26,43_27,44_0,44_1,44_2,44_6,44_25,44_26,44_27,45_0,45_1,45_2,45_6,45_25,45_26,45_27,46_0,46_1,46_2,46_25,46_26,46_27,47_0,47_1,47_2,47_25,47_26,47_27,48_0,48_1,48_2,48_25,48_26,48_27,49_0,49_1,49_2,49_25,49_26,49_27,50_0,50_1,50_2,50_25,50_26,50_27,51_0,51_1,51_2,51_25,51_26,51_27,52_0,52_1,52_2,52_25,52_26,52_27,53_0,53_1,53_2,53_25,53_26,53_27,54_0,54_1,54_2,54_25,54_26,54_27,55_0,55_1,55_2,55_25,55_26,55_27,56_0,56_1,56_2,56_25,56_26,56_27,57_0,57_1,57_2,57_25,57_26,57_27,58_0,58_1,58_2,58_25,58_26,58_27,59_0,59_1,59_2,59_25,59_26,59_27,60_0,60_1,60_2,60_25,60_26,60_27,61_0,61_1,61_2,61_25,61_26,61_27,62_0,62_1,62_2,62_25,62_26,62_27,63_0,63_1,63_2,63_25,63_26,63_27,64_0,64_1,64_2,64_25,64_26,64_27,65_0,65_1,65_2,65_25,65_26,65_27,66_0,66_1,66_2,66_25,66_26,66_27,67_0,67_1,67_2,67_13,67_15,67_25,67_26,67_27,68_0,68_1,68_2,68_13,68_15,68_25,68_26,68_27,69_0,69_1,69_2,69_13,69_15,69_25,69_26,69_27,70_0,70_1,70_2,70_3,70_4,70_5,70_6,70_7,70_8,70_9,70_10,70_11,70_12,70_13,70_14,70_15,70_16,70_17,70_18,70_19,70_20,70_21,70_22,70_23,70_24,70_25,70_26,70_27,71_0,71_1,71_2,71_3,71_4,71_5,71_6,71_7,71_8,71_9,71_10,71_11,71_12,71_13,71_14,71_15,71_16,71_17,71_18,71_19,71_20,71_21,71_22,71_23,71_24,71_25,71_26,71_27,72_0,72_1,72_2,72_3,72_4,72_5,72_6,72_7,72_8,72_9,72_10,72_11,72_12,72_13,72_14,72_15,72_16,72_17,72_18,72_19,72_20,72_21,72_22,72_23,72_24,72_25,72_26,72_27,73_0,73_1,73_2,73_3,73_4,73_5,73_6,73_7,73_8,73_9,73_10,73_11,73_12,73_13,73_14,73_15,73_16,73_17,73_18,73_19,73_20,73_21,73_22,73_23,73_24,73_25,73_26,73_27,74_0,74_1,74_2,74_3,74_4,74_5,74_6,74_7,74_8,74_9,74_10,74_11,74_12,74_13,74_14,74_15,74_16,74_17,74_18,74_19,74_20,74_21,74_22,74_23,74_24,74_25,74_26,74_27"; scene_data["render_warp_0001_coordinates"] = "5_14,69_14"; scene_data["render_ocean_0004_coordinates"] = "7_7,7_8,7_10,7_14,7_15,7_16,7_17,7_18,7_19,7_23,9_23,10_8,10_9,10_10,11_23,13_23,17_17,17_20,18_15,18_16,18_17,18_18,18_19,18_20,18_21,18_22,18_23,20_8,20_9,20_10,20_11,20_12,22_18,22_19,27_18,27_19,33_23,38_6,38_7,38_8,38_9,38_10,38_11,38_12,38_13,38_14,38_15,38_16,38_17,38_18,38_19,38_20,38_21,38_22,45_19,45_20,47_6,47_7,47_8,48_13,48_14,56_11,56_12,56_13,56_14,56_15,62_18,63_6,63_7,63_8"; scene_data["render_ocean_0003_coordinates"] = "8_4,8_13,9_4,9_13,10_4,10_13,11_4,11_7,11_13,12_4,12_7,12_13,13_7,13_13,17_4,18_6,21_5,21_7,22_7,23_7,23_17,24_4,24_7,24_17,25_4,25_7,26_4,26_7,27_7,28_7,28_17,29_5,29_7,29_17,30_7,30_17,31_7,32_7,33_4,36_4,39_5,40_5,41_5,44_10,44_16,46_18,47_18,47_23,48_5,48_18,48_23,49_5,49_12,49_18,50_5,50_12,50_18,51_18,51_23,52_18,53_18,54_18,54_23,57_10,58_5,58_10,58_21,59_5,59_10,59_21,60_10,63_14,63_17,64_5,64_14,64_17,65_5,65_17,66_23,67_23"; scene_data["render_common_0003_coordinates"] = "8_14,13_14,24_9,26_9,28_9"; scene_data["render_common_0001_coordinates"] = "8_15,8_16,8_17,8_18,8_19,9_14,9_18,10_16,10_17,10_18,10_19,10_20,11_8,11_9,11_10,11_16,11_17,11_18,11_19,12_8,12_9,12_10,12_14,12_18,13_8,13_9,13_10,13_15,13_16,13_17,13_18,13_19,21_8,21_9,21_10,21_11,21_12,23_9,23_10,23_11,23_18,23_19,24_10,24_11,24_18,24_19,25_9,25_10,25_11,26_10,26_11,27_9,27_10,27_11,28_10,28_11,28_18,28_19,29_10,29_11,29_18,29_19,30_10,30_11,30_12,30_13,30_18,30_19,32_8,32_9,32_10,32_11,32_12,39_6,39_7,39_8,39_9,39_10,39_11,39_12,39_13,39_14,39_15,39_16,39_17,39_18,39_19,39_20,39_21,39_22,40_6,40_7,40_8,40_9,40_10,40_11,40_12,40_13,40_14,40_15,40_16,40_17,40_18,40_19,40_20,40_21,40_22,41_6,41_7,41_8,41_9,41_10,41_11,41_12,41_13,41_14,41_15,41_16,41_17,41_18,41_19,41_20,41_21,41_22,46_19,46_20,47_19,47_20,48_6,48_7,48_8,48_19,48_20,49_6,49_7,49_8,49_13,49_14,49_19,49_20,50_6,50_7,50_8,50_13,50_14,50_19,50_20,51_19,51_20,52_19,52_20,53_19,53_20,54_19,54_20,58_15,58_16,59_14,59_15,60_14,63_18,64_6,64_7,64_8,64_18,65_6,65_7,65_8,65_18"; scene_data["render_ocean_0002_coordinates"] = "8_20,11_11,12_11,13_11,13_20,21_13,22_13,23_13,23_20,24_13,24_20,25_13,26_13,26_22,27_13,27_22,28_13,28_20,28_22,29_13,29_20,29_22,30_20,31_13,32_13,39_23,40_23,41_23,46_21,47_21,48_9,48_21,49_9,49_15,49_21,50_9,50_15,50_21,51_21,52_21,53_21,54_21,57_16,59_16,60_16,63_19,64_9,64_19,65_9,65_19"; scene_data["render_desert1_coordinates"] = "9_15,9_16,9_17,9_19,9_20,11_20,12_15,12_16,12_17,12_19,12_20,22_8,22_9,22_10,22_11,22_12,23_8,23_12,24_8,24_12,25_8,25_12,26_8,26_12,27_8,27_12,28_8,28_12,29_8,29_12,30_8,30_9,31_8,31_9,31_10,31_11,31_12,57_11,57_12,57_13,57_14,57_15,60_11,60_12,60_13,60_15"; scene_data["render_building_0001_coordinates"] = "10_14,58_11"; scene_data["render_building_0005_coordinates"] = "10_15"; scene_data["render_building_0002_coordinates"] = "11_14,59_11"; scene_data["render_building_0004_coordinates"] = "11_15,59_13"; scene_data["render_ocean_0005_coordinates"] = "14_8,14_9,14_10,14_14,14_15,14_16,14_17,14_18,14_19,25_18,25_19,31_18,31_19,33_8,33_9,33_10,33_11,33_12,34_15,34_16,34_17,35_7,35_8,36_11,36_12,36_19,36_20,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_13,42_14,42_15,42_16,42_17,42_18,42_19,42_20,42_21,42_22,51_6,51_7,51_8,51_13,51_14,54_7,54_8,54_13,54_14,54_15,55_19,55_20,61_11,61_12,61_13,61_14,61_15,64_11,66_6,66_7,66_8,66_18,68_10"; scene_data["render_common_0004_coordinates"] = "29_9"; scene_data["render_building_0009_coordinates"] = "58_12,59_12"; scene_data["render_building_0010_coordinates"] = "58_13"; scene_data["render_person_0013_coordinates"] = "58_14"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0142() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 98; scene_data["tile_y_count"] = 23; scene_data["name"] = "Sister Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"24,17","80,15"}; scene_data["boat_exit_coords"] = {"24,16","80,14"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_24,17"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_80,15"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_24,17"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_24,17"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_80,15"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_80,15"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=22, y=13, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b1", 142, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 142) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=24, y=12, txt="Hello there. Warning: pirates have been spotted east of here. Please proceed with caution.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=79, y=10, txt="You obtained 100g", required_dir="up", callback=function() GET_MONEY(100); PUT_STATE("b2", 142, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 142) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=80, y=10, txt="You obtained 150g", required_dir="up", callback=function() GET_MONEY(150); PUT_STATE("b3", 142, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 142) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=81, y=10, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b4", 142, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 142) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=4, after_player_x=6, after_player_y=5, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=92, y=11, scene_number=143, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_20|0_21|0_22|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_20|1_21|1_22|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_20|2_21|2_22|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_20|3_21|3_22|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_20|4_21|4_22|5_0|5_1|5_2|5_18|5_20|5_21|5_22|6_0|6_1|6_2|6_6|6_18|6_20|6_21|6_22|7_0|7_1|7_2|7_5|7_7|7_18|7_20|7_21|7_22|8_0|8_1|8_2|8_5|8_7|8_20|8_21|8_22|9_0|9_1|9_2|9_5|9_7|9_10|9_11|9_12|9_20|9_21|9_22|10_0|10_1|10_2|10_5|10_7|10_9|10_13|10_17|10_20|10_21|10_22|11_0|11_1|11_2|11_5|11_7|11_9|11_13|11_16|11_18|11_20|11_21|11_22|12_0|12_1|12_2|12_6|12_9|12_13|12_16|12_18|12_20|12_21|12_22|13_0|13_1|13_2|13_10|13_11|13_12|13_17|13_20|13_21|13_22|14_0|14_1|14_2|14_20|14_21|14_22|15_0|15_1|15_2|15_8|15_14|15_20|15_21|15_22|16_0|16_1|16_2|16_7|16_9|16_13|16_15|16_20|16_21|16_22|17_0|17_1|17_2|17_7|17_9|17_14|17_20|17_21|17_22|18_0|18_1|18_2|18_8|18_20|18_21|18_22|19_0|19_1|19_2|19_11|19_12|19_13|19_14|19_15|19_20|19_21|19_22|20_0|20_1|20_2|20_10|20_16|20_20|20_21|20_22|21_0|21_1|21_2|21_10|21_11|21_12|21_13|21_14|21_15|21_16|21_20|21_21|21_22|22_0|22_1|22_2|22_10|22_11|22_12|22_14|22_15|22_16|22_20|22_21|22_22|23_0|23_1|23_2|23_5|23_10|23_11|23_14|23_15|23_16|23_20|23_21|23_22|24_0|24_1|24_2|24_4|24_6|24_10|24_11|24_20|24_21|24_22|25_0|25_1|25_2|25_4|25_6|25_10|25_11|25_13|25_14|25_15|25_16|25_20|25_21|25_22|26_0|26_1|26_2|26_5|26_10|26_11|26_12|26_13|26_15|26_16|26_20|26_21|26_22|27_0|27_1|27_2|27_10|27_16|27_20|27_21|27_22|28_0|28_1|28_2|28_11|28_12|28_13|28_14|28_15|28_20|28_21|28_22|29_0|29_1|29_2|29_8|29_20|29_21|29_22|30_0|30_1|30_2|30_7|30_9|30_14|30_20|30_21|30_22|31_0|31_1|31_2|31_8|31_13|31_15|31_20|31_21|31_22|32_0|32_1|32_2|32_14|32_20|32_21|32_22|33_0|33_1|33_2|33_20|33_21|33_22|34_0|34_1|34_2|34_5|34_9|34_10|34_16|34_17|34_20|34_21|34_22|35_0|35_1|35_2|35_4|35_6|35_8|35_11|35_15|35_18|35_20|35_21|35_22|36_0|36_1|36_2|36_4|36_6|36_8|36_11|36_15|36_18|36_20|36_21|36_22|37_0|37_1|37_2|37_5|37_8|37_11|37_15|37_18|37_20|37_21|37_22|38_0|38_1|38_2|38_8|38_11|38_16|38_17|38_20|38_21|38_22|39_0|39_1|39_2|39_9|39_10|39_20|39_21|39_22|40_0|40_1|40_2|40_20|40_21|40_22|41_0|41_1|41_2|41_20|41_21|41_22|42_0|42_1|42_2|42_20|42_21|42_22|43_0|43_1|43_2|43_20|43_21|43_22|44_0|44_1|44_2|44_6|44_7|44_8|44_9|44_10|44_11|44_12|44_13|44_14|44_15|44_16|44_20|44_21|44_22|45_0|45_1|45_2|45_5|45_17|45_20|45_21|45_22|46_0|46_1|46_2|46_5|46_17|46_20|46_21|46_22|47_0|47_1|47_2|47_5|47_17|47_20|47_21|47_22|48_0|48_1|48_2|48_6|48_7|48_8|48_9|48_10|48_11|48_12|48_13|48_14|48_15|48_16|48_20|48_21|48_22|49_0|49_1|49_2|49_20|49_21|49_22|50_0|50_1|50_2|50_20|50_21|50_22|51_0|51_1|51_2|51_20|51_21|51_22|52_0|52_1|52_2|52_8|52_13|52_14|52_20|52_21|52_22|53_0|53_1|53_2|53_7|53_9|53_12|53_15|53_20|53_21|53_22|54_0|54_1|54_2|54_7|54_9|54_12|54_15|54_20|54_21|54_22|55_0|55_1|55_2|55_8|55_12|55_15|55_20|55_21|55_22|56_0|56_1|56_2|56_12|56_15|56_20|56_21|56_22|57_0|57_1|57_2|57_12|57_15|57_20|57_21|57_22|58_0|58_1|58_2|58_13|58_14|58_20|58_21|58_22|59_0|59_1|59_2|59_20|59_21|59_22|60_0|60_1|60_2|60_6|60_10|60_17|60_20|60_21|60_22|61_0|61_1|61_2|61_5|61_7|61_9|61_11|61_16|61_18|61_20|61_21|61_22|62_0|62_1|62_2|62_6|62_9|62_11|62_17|62_20|62_21|62_22|63_0|63_1|63_2|63_9|63_11|63_20|63_21|63_22|64_0|64_1|64_2|64_10|64_20|64_21|64_22|65_0|65_1|65_2|65_6|65_13|65_14|65_15|65_16|65_20|65_21|65_22|66_0|66_1|66_2|66_5|66_7|66_12|66_17|66_20|66_21|66_22|67_0|67_1|67_2|67_6|67_12|67_17|67_20|67_21|67_22|68_0|68_1|68_2|68_12|68_17|68_20|68_21|68_22|69_0|69_1|69_2|69_12|69_17|69_20|69_21|69_22|70_0|70_1|70_2|70_13|70_14|70_15|70_16|70_20|70_21|70_22|71_0|71_1|71_2|71_6|71_20|71_21|71_22|72_0|72_1|72_2|72_5|72_7|72_20|72_21|72_22|73_0|73_1|73_2|73_5|73_7|73_18|73_20|73_21|73_22|74_0|74_1|74_2|74_6|74_17|74_19|74_20|74_21|74_22|75_0|75_1|75_2|75_18|75_20|75_21|75_22|76_0|76_1|76_2|76_9|76_10|76_11|76_12|76_13|76_20|76_21|76_22|77_0|77_1|77_2|77_8|77_9|77_10|77_14|77_20|77_21|77_22|78_0|78_1|78_2|78_8|78_10|78_11|78_12|78_14|78_20|78_21|78_22|79_0|79_1|79_2|79_8|79_9|79_12|79_13|79_14|79_20|79_21|79_22|80_0|80_1|80_2|80_8|80_9|80_20|80_21|80_22|81_0|81_1|81_2|81_8|81_9|81_12|81_13|81_14|81_20|81_21|81_22|82_0|82_1|82_2|82_8|82_10|82_11|82_12|82_14|82_20|82_21|82_22|83_0|83_1|83_2|83_8|83_9|83_10|83_14|83_20|83_21|83_22|84_0|84_1|84_2|84_9|84_10|84_11|84_12|84_13|84_20|84_21|84_22|85_0|85_1|85_2|85_20|85_21|85_22|86_0|86_1|86_2|86_6|86_11|86_16|86_20|86_21|86_22|87_0|87_1|87_2|87_5|87_7|87_10|87_12|87_15|87_17|87_20|87_21|87_22|88_0|88_1|88_2|88_5|88_7|88_11|88_15|88_17|88_20|88_21|88_22|89_0|89_1|89_2|89_6|89_16|89_20|89_21|89_22|90_0|90_1|90_2|90_20|90_21|90_22|91_0|91_1|91_2|91_20|91_21|91_22|92_0|92_1|92_2|92_10|92_12|92_20|92_21|92_22|93_0|93_1|93_2|93_3|93_4|93_5|93_6|93_7|93_8|93_9|93_10|93_12|93_13|93_14|93_15|93_16|93_17|93_18|93_19|93_20|93_21|93_22|94_0|94_1|94_2|94_3|94_4|94_5|94_6|94_7|94_8|94_9|94_10|94_12|94_13|94_14|94_15|94_16|94_17|94_18|94_19|94_20|94_21|94_22|95_0|95_1|95_2|95_3|95_4|95_5|95_6|95_7|95_8|95_9|95_10|95_12|95_13|95_14|95_15|95_16|95_17|95_18|95_19|95_20|95_21|95_22|96_0|96_1|96_2|96_3|96_4|96_5|96_6|96_7|96_8|96_9|96_10|96_12|96_13|96_14|96_15|96_16|96_17|96_18|96_19|96_20|96_21|96_22|97_0|97_1|97_2|97_3|97_4|97_5|97_6|97_7|97_8|97_9|97_10|97_12|97_13|97_14|97_15|97_16|97_17|97_18|97_19|97_20|97_21|97_22"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_ocean_0002,render_ocean_0005,render_desert1,render_common_0003,render_person_0013"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_20,0_21,0_22,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_20,1_21,1_22,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_20,2_21,2_22,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_20,3_21,3_22,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_20,4_21,4_22,5_0,5_1,5_2,5_18,5_20,5_21,5_22,6_0,6_1,6_2,6_18,6_20,6_21,6_22,7_0,7_1,7_2,7_18,7_20,7_21,7_22,8_0,8_1,8_2,8_20,8_21,8_22,9_0,9_1,9_2,9_20,9_21,9_22,10_0,10_1,10_2,10_20,10_21,10_22,11_0,11_1,11_2,11_20,11_21,11_22,12_0,12_1,12_2,12_20,12_21,12_22,13_0,13_1,13_2,13_20,13_21,13_22,14_0,14_1,14_2,14_20,14_21,14_22,15_0,15_1,15_2,15_20,15_21,15_22,16_0,16_1,16_2,16_20,16_21,16_22,17_0,17_1,17_2,17_20,17_21,17_22,18_0,18_1,18_2,18_20,18_21,18_22,19_0,19_1,19_2,19_20,19_21,19_22,20_0,20_1,20_2,20_20,20_21,20_22,21_0,21_1,21_2,21_20,21_21,21_22,22_0,22_1,22_2,22_20,22_21,22_22,23_0,23_1,23_2,23_20,23_21,23_22,24_0,24_1,24_2,24_20,24_21,24_22,25_0,25_1,25_2,25_20,25_21,25_22,26_0,26_1,26_2,26_20,26_21,26_22,27_0,27_1,27_2,27_20,27_21,27_22,28_0,28_1,28_2,28_20,28_21,28_22,29_0,29_1,29_2,29_20,29_21,29_22,30_0,30_1,30_2,30_20,30_21,30_22,31_0,31_1,31_2,31_20,31_21,31_22,32_0,32_1,32_2,32_20,32_21,32_22,33_0,33_1,33_2,33_20,33_21,33_22,34_0,34_1,34_2,34_20,34_21,34_22,35_0,35_1,35_2,35_20,35_21,35_22,36_0,36_1,36_2,36_20,36_21,36_22,37_0,37_1,37_2,37_20,37_21,37_22,38_0,38_1,38_2,38_20,38_21,38_22,39_0,39_1,39_2,39_20,39_21,39_22,40_0,40_1,40_2,40_20,40_21,40_22,41_0,41_1,41_2,41_20,41_21,41_22,42_0,42_1,42_2,42_20,42_21,42_22,43_0,43_1,43_2,43_20,43_21,43_22,44_0,44_1,44_2,44_20,44_21,44_22,45_0,45_1,45_2,45_20,45_21,45_22,46_0,46_1,46_2,46_20,46_21,46_22,47_0,47_1,47_2,47_20,47_21,47_22,48_0,48_1,48_2,48_20,48_21,48_22,49_0,49_1,49_2,49_20,49_21,49_22,50_0,50_1,50_2,50_20,50_21,50_22,51_0,51_1,51_2,51_20,51_21,51_22,52_0,52_1,52_2,52_20,52_21,52_22,53_0,53_1,53_2,53_20,53_21,53_22,54_0,54_1,54_2,54_20,54_21,54_22,55_0,55_1,55_2,55_20,55_21,55_22,56_0,56_1,56_2,56_20,56_21,56_22,57_0,57_1,57_2,57_20,57_21,57_22,58_0,58_1,58_2,58_20,58_21,58_22,59_0,59_1,59_2,59_20,59_21,59_22,60_0,60_1,60_2,60_20,60_21,60_22,61_0,61_1,61_2,61_20,61_21,61_22,62_0,62_1,62_2,62_20,62_21,62_22,63_0,63_1,63_2,63_20,63_21,63_22,64_0,64_1,64_2,64_20,64_21,64_22,65_0,65_1,65_2,65_20,65_21,65_22,66_0,66_1,66_2,66_20,66_21,66_22,67_0,67_1,67_2,67_20,67_21,67_22,68_0,68_1,68_2,68_20,68_21,68_22,69_0,69_1,69_2,69_20,69_21,69_22,70_0,70_1,70_2,70_20,70_21,70_22,71_0,71_1,71_2,71_20,71_21,71_22,72_0,72_1,72_2,72_20,72_21,72_22,73_0,73_1,73_2,73_20,73_21,73_22,74_0,74_1,74_2,74_20,74_21,74_22,75_0,75_1,75_2,75_20,75_21,75_22,76_0,76_1,76_2,76_20,76_21,76_22,77_0,77_1,77_2,77_20,77_21,77_22,78_0,78_1,78_2,78_20,78_21,78_22,79_0,79_1,79_2,79_20,79_21,79_22,80_0,80_1,80_2,80_20,80_21,80_22,81_0,81_1,81_2,81_20,81_21,81_22,82_0,82_1,82_2,82_20,82_21,82_22,83_0,83_1,83_2,83_20,83_21,83_22,84_0,84_1,84_2,84_20,84_21,84_22,85_0,85_1,85_2,85_20,85_21,85_22,86_0,86_1,86_2,86_20,86_21,86_22,87_0,87_1,87_2,87_20,87_21,87_22,88_0,88_1,88_2,88_20,88_21,88_22,89_0,89_1,89_2,89_20,89_21,89_22,90_0,90_1,90_2,90_20,90_21,90_22,91_0,91_1,91_2,91_20,91_21,91_22,92_0,92_1,92_2,92_10,92_12,92_20,92_21,92_22,93_0,93_1,93_2,93_3,93_4,93_5,93_6,93_7,93_8,93_9,93_10,93_12,93_13,93_14,93_15,93_16,93_17,93_18,93_19,93_20,93_21,93_22,94_0,94_1,94_2,94_3,94_4,94_5,94_6,94_7,94_8,94_9,94_10,94_12,94_13,94_14,94_15,94_16,94_17,94_18,94_19,94_20,94_21,94_22,95_0,95_1,95_2,95_3,95_4,95_5,95_6,95_7,95_8,95_9,95_10,95_12,95_13,95_14,95_15,95_16,95_17,95_18,95_19,95_20,95_21,95_22,96_0,96_1,96_2,96_3,96_4,96_5,96_6,96_7,96_8,96_9,96_10,96_12,96_13,96_14,96_15,96_16,96_17,96_18,96_19,96_20,96_21,96_22,97_0,97_1,97_2,97_3,97_4,97_5,97_6,97_7,97_8,97_9,97_10,97_12,97_13,97_14,97_15,97_16,97_17,97_18,97_19,97_20,97_21,97_22"; scene_data["render_warp_0001_coordinates"] = "5_19,92_11"; scene_data["render_ocean_0004_coordinates"] = "6_6,9_10,9_11,9_12,10_17,15_8,15_14,19_11,19_12,19_13,19_14,19_15,23_5,29_8,30_14,34_5,34_9,34_10,34_16,34_17,44_6,44_7,44_8,44_9,44_10,44_11,44_12,44_13,44_14,44_15,44_16,52_8,52_13,52_14,60_6,60_10,60_17,65_6,65_13,65_14,65_15,65_16,71_6,73_18,76_9,76_10,76_11,76_12,76_13,86_6,86_11,86_16"; scene_data["render_ocean_0003_coordinates"] = "7_5,8_5,9_5,10_5,10_9,11_5,11_9,11_16,12_9,12_16,16_7,16_13,17_7,20_10,21_10,22_10,23_10,24_4,24_10,25_4,25_10,26_10,27_10,30_7,31_13,35_4,35_8,35_15,36_4,36_8,36_15,37_8,37_15,38_8,45_5,46_5,47_5,53_7,53_12,54_7,54_12,55_12,56_12,57_12,61_5,61_9,61_16,62_9,63_9,66_5,66_12,67_12,68_12,69_12,72_5,73_5,74_17,77_8,78_8,79_8,80_8,81_8,82_8,83_8,87_5,87_10,87_15,88_5,88_15"; scene_data["render_common_0001_coordinates"] = "7_6,8_6,9_6,10_6,10_10,10_11,10_12,11_6,11_10,11_11,11_12,11_17,12_10,12_11,12_12,12_17,16_8,16_14,17_8,20_11,20_12,20_13,20_14,20_15,22_13,23_12,23_13,24_5,24_12,24_13,24_14,24_15,24_16,25_5,25_12,26_14,27_11,27_12,27_13,27_14,27_15,30_8,31_14,35_5,35_9,35_10,35_16,35_17,36_5,36_9,36_10,36_16,36_17,37_9,37_10,37_16,37_17,38_9,38_10,45_6,45_7,45_8,45_9,45_10,45_11,45_12,45_13,45_14,45_15,45_16,46_6,46_7,46_8,46_9,46_10,46_11,46_12,46_13,46_14,46_15,46_16,47_6,47_7,47_8,47_9,47_10,47_11,47_12,47_13,47_14,47_15,47_16,53_8,53_13,53_14,54_8,54_13,54_14,55_13,55_14,56_13,56_14,57_13,57_14,61_6,61_10,61_17,62_10,63_10,66_6,66_13,66_14,66_15,66_16,67_13,67_14,67_15,67_16,68_13,68_14,68_15,68_16,69_13,69_14,69_15,69_16,72_6,73_6,74_18,77_11,77_12,77_13,78_9,78_13,79_10,79_11,80_10,80_11,80_12,80_13,80_14,81_10,81_11,82_9,82_13,83_11,83_12,83_13,87_6,87_11,87_16,88_6,88_16"; scene_data["render_ocean_0002_coordinates"] = "7_7,8_7,9_7,10_7,10_13,11_7,11_13,11_18,12_13,12_18,16_9,16_15,17_9,20_16,21_16,22_16,24_6,25_6,26_16,27_16,30_9,31_15,35_6,35_11,35_18,36_6,36_11,36_18,37_11,37_18,38_11,45_17,46_17,47_17,53_9,53_15,54_9,54_15,55_15,56_15,57_15,61_7,61_11,61_18,62_11,63_11,66_7,66_17,67_17,68_17,69_17,72_7,73_7,74_19,77_14,78_14,82_14,83_14,87_7,87_12,87_17,88_7,88_17"; scene_data["render_ocean_0005_coordinates"] = "12_6,13_10,13_11,13_12,13_17,17_14,18_8,26_5,28_11,28_12,28_13,28_14,28_15,31_8,32_14,37_5,38_16,38_17,39_9,39_10,48_6,48_7,48_8,48_9,48_10,48_11,48_12,48_13,48_14,48_15,48_16,55_8,58_13,58_14,62_6,62_17,64_10,67_6,70_13,70_14,70_15,70_16,74_6,75_18,84_9,84_10,84_11,84_12,84_13,88_11,89_6,89_16"; scene_data["render_desert1_coordinates"] = "21_11,21_12,21_13,21_14,21_15,22_11,22_14,22_15,23_11,23_14,23_15,23_16,25_11,25_13,25_14,25_15,25_16,26_11,26_12,26_13,26_15,77_9,77_10,78_10,78_11,78_12,79_12,79_13,79_14,81_12,81_13,81_14,82_10,82_11,82_12,83_9,83_10"; scene_data["render_common_0003_coordinates"] = "22_12,79_9,80_9,81_9"; scene_data["render_person_0013_coordinates"] = "24_11"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0143() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 98; scene_data["tile_y_count"] = 23; scene_data["name"] = "Another ocean map"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"12,12"}; scene_data["boat_exit_coords"] = {"12,11"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_12,12"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_12,12"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_12,12"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=90, after_map_y=10, after_player_x=91, after_player_y=11, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=5, scene_number=142, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=16, after_player_x=6, after_player_y=18, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=92, y=4, scene_number=144, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=13, y=8, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=1800, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|1_0|1_1|1_2|1_3|1_4|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|2_0|2_1|2_2|2_3|2_4|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|3_0|3_1|3_2|3_3|3_4|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|4_0|4_1|4_2|4_3|4_4|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|5_0|5_1|5_2|5_4|5_6|5_20|5_21|5_22|6_0|6_1|6_2|6_20|6_21|6_22|7_0|7_1|7_2|7_5|7_6|7_7|7_8|7_9|7_10|7_20|7_21|7_22|8_0|8_1|8_2|8_4|8_10|8_11|8_14|8_20|8_21|8_22|9_0|9_1|9_2|9_4|9_6|9_7|9_8|9_10|9_11|9_14|9_20|9_21|9_22|10_0|10_1|10_2|10_4|10_6|10_7|10_8|10_10|10_11|10_17|10_20|10_21|10_22|11_0|11_1|11_2|11_4|11_5|11_6|11_7|11_8|11_10|11_11|11_17|11_20|11_21|11_22|12_0|12_1|12_2|12_4|12_5|12_6|12_7|12_8|12_14|12_20|12_21|12_22|13_0|13_1|13_2|13_4|13_6|13_7|13_10|13_11|13_14|13_20|13_21|13_22|14_0|14_1|14_2|14_4|14_6|14_7|14_8|14_10|14_11|14_20|14_21|14_22|15_0|15_1|15_2|15_4|15_10|15_11|15_14|15_20|15_21|15_22|16_0|16_1|16_2|16_4|16_7|16_10|16_11|16_13|16_15|16_20|16_21|16_22|17_0|17_1|17_2|17_5|17_6|17_7|17_8|17_9|17_10|17_14|17_17|17_20|17_21|17_22|18_0|18_1|18_2|18_17|18_20|18_21|18_22|19_0|19_1|19_2|19_7|19_11|19_20|19_21|19_22|20_0|20_1|20_2|20_7|20_20|20_21|20_22|21_0|21_1|21_2|21_10|21_11|21_12|21_20|21_21|21_22|22_0|22_1|22_2|22_5|22_9|22_10|22_11|22_12|22_13|22_16|22_20|22_21|22_22|23_0|23_1|23_2|23_4|23_6|23_9|23_10|23_11|23_12|23_13|23_16|23_20|23_21|23_22|24_0|24_1|24_2|24_5|24_9|24_10|24_11|24_12|24_13|24_16|24_20|24_21|24_22|25_0|25_1|25_2|25_10|25_11|25_12|25_20|25_21|25_22|26_0|26_1|26_2|26_20|26_21|26_22|27_0|27_1|27_2|27_20|27_21|27_22|28_0|28_1|28_2|28_4|28_20|28_21|28_22|29_0|29_1|29_2|29_4|29_8|29_9|29_10|29_15|29_16|29_20|29_21|29_22|30_0|30_1|30_2|30_4|30_20|30_21|30_22|31_0|31_1|31_2|31_20|31_21|31_22|32_0|32_1|32_2|32_7|32_8|32_12|32_13|32_20|32_21|32_22|33_0|33_1|33_2|33_6|33_9|33_11|33_14|33_17|33_20|33_21|33_22|34_0|34_1|34_2|34_4|34_6|34_9|34_11|34_14|34_17|34_20|34_21|34_22|35_0|35_1|35_2|35_6|35_9|35_12|35_13|35_15|35_17|35_20|35_21|35_22|36_0|36_1|36_2|36_7|36_8|36_20|36_21|36_22|37_0|37_1|37_2|37_20|37_21|37_22|38_0|38_1|38_2|38_10|38_12|38_20|38_21|38_22|39_0|39_1|39_2|39_20|39_21|39_22|40_0|40_1|40_2|40_6|40_7|40_8|40_9|40_10|40_11|40_12|40_13|40_14|40_15|40_16|40_20|40_21|40_22|41_0|41_1|41_2|41_5|41_17|41_20|41_21|41_22|42_0|42_1|42_2|42_5|42_17|42_20|42_21|42_22|43_0|43_1|43_2|43_6|43_7|43_8|43_9|43_10|43_11|43_12|43_13|43_14|43_15|43_16|43_20|43_21|43_22|44_0|44_1|44_2|44_20|44_21|44_22|45_0|45_1|45_2|45_15|45_20|45_21|45_22|46_0|46_1|46_2|46_6|46_7|46_8|46_12|46_15|46_17|46_20|46_21|46_22|47_0|47_1|47_2|47_12|47_17|47_20|47_21|47_22|48_0|48_1|48_2|48_12|48_20|48_21|48_22|49_0|49_1|49_2|49_12|49_20|49_21|49_22|50_0|50_1|50_2|50_7|50_8|50_9|50_20|50_21|50_22|51_0|51_1|51_2|51_4|51_6|51_10|51_14|51_20|51_21|51_22|52_0|52_1|52_2|52_6|52_10|52_16|52_20|52_21|52_22|53_0|53_1|53_2|53_6|53_10|53_14|53_20|53_21|53_22|54_0|54_1|54_2|54_6|54_10|54_20|54_21|54_22|55_0|55_1|55_2|55_7|55_8|55_9|55_17|55_20|55_21|55_22|56_0|56_1|56_2|56_4|56_14|56_17|56_20|56_21|56_22|57_0|57_1|57_2|57_4|57_11|57_17|57_20|57_21|57_22|58_0|58_1|58_2|58_20|58_21|58_22|59_0|59_1|59_2|59_6|59_20|59_21|59_22|60_0|60_1|60_2|60_9|60_12|60_15|60_20|60_21|60_22|61_0|61_1|61_2|61_8|61_10|61_20|61_21|61_22|62_0|62_1|62_2|62_9|62_20|62_21|62_22|63_0|63_1|63_2|63_6|63_13|63_14|63_20|63_21|63_22|64_0|64_1|64_2|64_5|64_7|64_12|64_15|64_17|64_20|64_21|64_22|65_0|65_1|65_2|65_5|65_7|65_12|65_15|65_20|65_21|65_22|66_0|66_1|66_2|66_5|66_7|66_12|66_15|66_20|66_21|66_22|67_0|67_1|67_2|67_6|67_13|67_14|67_20|67_21|67_22|68_0|68_1|68_2|68_20|68_21|68_22|69_0|69_1|69_2|69_9|69_12|69_15|69_18|69_20|69_21|69_22|70_0|70_1|70_2|70_20|70_21|70_22|71_0|71_1|71_2|71_10|71_11|71_12|71_13|71_14|71_15|71_16|71_20|71_21|71_22|72_0|72_1|72_2|72_6|72_9|72_17|72_20|72_21|72_22|73_0|73_1|73_2|73_5|73_7|73_9|73_17|73_20|73_21|73_22|74_0|74_1|74_2|74_5|74_7|74_10|74_11|74_12|74_13|74_14|74_15|74_16|74_20|74_21|74_22|75_0|75_1|75_2|75_6|75_20|75_21|75_22|76_0|76_1|76_2|76_20|76_21|76_22|77_0|77_1|77_2|77_12|77_13|77_17|77_20|77_21|77_22|78_0|78_1|78_2|78_5|78_6|78_7|78_20|78_21|78_22|79_0|79_1|79_2|79_20|79_21|79_22|80_0|80_1|80_2|80_15|80_16|80_20|80_21|80_22|81_0|81_1|81_2|81_8|81_9|81_12|81_14|81_17|81_20|81_21|81_22|82_0|82_1|82_2|82_5|82_7|82_10|82_12|82_14|82_17|82_18|82_20|82_21|82_22|83_0|83_1|83_2|83_7|83_10|83_14|83_17|83_20|83_21|83_22|84_0|84_1|84_2|84_8|84_9|84_14|84_17|84_20|84_21|84_22|85_0|85_1|85_2|85_15|85_16|85_20|85_21|85_22|86_0|86_1|86_2|86_4|86_9|86_10|86_18|86_20|86_21|86_22|87_0|87_1|87_2|87_4|87_6|87_13|87_20|87_21|87_22|88_0|88_1|88_2|88_4|88_12|88_14|88_20|88_21|88_22|89_0|89_1|89_2|89_9|89_12|89_14|89_16|89_20|89_21|89_22|90_0|90_1|90_2|90_8|90_10|90_13|90_16|90_20|90_21|90_22|91_0|91_1|91_2|91_9|91_20|91_21|91_22|92_0|92_1|92_2|92_3|92_5|92_20|92_21|92_22|93_0|93_1|93_2|93_3|93_5|93_6|93_7|93_8|93_9|93_10|93_11|93_12|93_13|93_14|93_15|93_16|93_17|93_18|93_19|93_20|93_21|93_22|94_0|94_1|94_2|94_3|94_5|94_6|94_7|94_8|94_9|94_10|94_11|94_12|94_13|94_14|94_15|94_16|94_17|94_18|94_19|94_20|94_21|94_22|95_0|95_1|95_2|95_3|95_5|95_6|95_7|95_8|95_9|95_10|95_11|95_12|95_13|95_14|95_15|95_16|95_17|95_18|95_19|95_20|95_21|95_22|96_0|96_1|96_2|96_3|96_5|96_6|96_7|96_8|96_9|96_10|96_11|96_12|96_13|96_14|96_15|96_16|96_17|96_18|96_19|96_20|96_21|96_22|97_0|97_1|97_2|97_3|97_5|97_6|97_7|97_8|97_9|97_10|97_11|97_12|97_13|97_14|97_15|97_16|97_17|97_18|97_19|97_20|97_21|97_22"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_desert1,render_ocean_0002,render_ocean_0005,render_building_0001,render_building_0009,render_building_0005,render_building_0006,render_building_0002,render_building_0004"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,1_0,1_1,1_2,1_3,1_4,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,2_0,2_1,2_2,2_3,2_4,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,3_0,3_1,3_2,3_3,3_4,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,4_0,4_1,4_2,4_3,4_4,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,5_0,5_1,5_2,5_4,5_6,5_20,5_21,5_22,6_0,6_1,6_2,6_20,6_21,6_22,7_0,7_1,7_2,7_20,7_21,7_22,8_0,8_1,8_2,8_20,8_21,8_22,9_0,9_1,9_2,9_20,9_21,9_22,10_0,10_1,10_2,10_20,10_21,10_22,11_0,11_1,11_2,11_20,11_21,11_22,12_0,12_1,12_2,12_20,12_21,12_22,13_0,13_1,13_2,13_20,13_21,13_22,14_0,14_1,14_2,14_20,14_21,14_22,15_0,15_1,15_2,15_20,15_21,15_22,16_0,16_1,16_2,16_20,16_21,16_22,17_0,17_1,17_2,17_20,17_21,17_22,18_0,18_1,18_2,18_20,18_21,18_22,19_0,19_1,19_2,19_20,19_21,19_22,20_0,20_1,20_2,20_20,20_21,20_22,21_0,21_1,21_2,21_20,21_21,21_22,22_0,22_1,22_2,22_20,22_21,22_22,23_0,23_1,23_2,23_20,23_21,23_22,24_0,24_1,24_2,24_20,24_21,24_22,25_0,25_1,25_2,25_20,25_21,25_22,26_0,26_1,26_2,26_20,26_21,26_22,27_0,27_1,27_2,27_20,27_21,27_22,28_0,28_1,28_2,28_20,28_21,28_22,29_0,29_1,29_2,29_20,29_21,29_22,30_0,30_1,30_2,30_20,30_21,30_22,31_0,31_1,31_2,31_20,31_21,31_22,32_0,32_1,32_2,32_20,32_21,32_22,33_0,33_1,33_2,33_20,33_21,33_22,34_0,34_1,34_2,34_20,34_21,34_22,35_0,35_1,35_2,35_20,35_21,35_22,36_0,36_1,36_2,36_20,36_21,36_22,37_0,37_1,37_2,37_20,37_21,37_22,38_0,38_1,38_2,38_20,38_21,38_22,39_0,39_1,39_2,39_20,39_21,39_22,40_0,40_1,40_2,40_20,40_21,40_22,41_0,41_1,41_2,41_20,41_21,41_22,42_0,42_1,42_2,42_20,42_21,42_22,43_0,43_1,43_2,43_20,43_21,43_22,44_0,44_1,44_2,44_20,44_21,44_22,45_0,45_1,45_2,45_20,45_21,45_22,46_0,46_1,46_2,46_20,46_21,46_22,47_0,47_1,47_2,47_20,47_21,47_22,48_0,48_1,48_2,48_20,48_21,48_22,49_0,49_1,49_2,49_20,49_21,49_22,50_0,50_1,50_2,50_20,50_21,50_22,51_0,51_1,51_2,51_20,51_21,51_22,52_0,52_1,52_2,52_20,52_21,52_22,53_0,53_1,53_2,53_20,53_21,53_22,54_0,54_1,54_2,54_20,54_21,54_22,55_0,55_1,55_2,55_20,55_21,55_22,56_0,56_1,56_2,56_20,56_21,56_22,57_0,57_1,57_2,57_20,57_21,57_22,58_0,58_1,58_2,58_20,58_21,58_22,59_0,59_1,59_2,59_20,59_21,59_22,60_0,60_1,60_2,60_20,60_21,60_22,61_0,61_1,61_2,61_20,61_21,61_22,62_0,62_1,62_2,62_20,62_21,62_22,63_0,63_1,63_2,63_20,63_21,63_22,64_0,64_1,64_2,64_20,64_21,64_22,65_0,65_1,65_2,65_20,65_21,65_22,66_0,66_1,66_2,66_20,66_21,66_22,67_0,67_1,67_2,67_20,67_21,67_22,68_0,68_1,68_2,68_20,68_21,68_22,69_0,69_1,69_2,69_20,69_21,69_22,70_0,70_1,70_2,70_20,70_21,70_22,71_0,71_1,71_2,71_20,71_21,71_22,72_0,72_1,72_2,72_20,72_21,72_22,73_0,73_1,73_2,73_20,73_21,73_22,74_0,74_1,74_2,74_20,74_21,74_22,75_0,75_1,75_2,75_20,75_21,75_22,76_0,76_1,76_2,76_20,76_21,76_22,77_0,77_1,77_2,77_20,77_21,77_22,78_0,78_1,78_2,78_20,78_21,78_22,79_0,79_1,79_2,79_20,79_21,79_22,80_0,80_1,80_2,80_20,80_21,80_22,81_0,81_1,81_2,81_20,81_21,81_22,82_0,82_1,82_2,82_20,82_21,82_22,83_0,83_1,83_2,83_20,83_21,83_22,84_0,84_1,84_2,84_20,84_21,84_22,85_0,85_1,85_2,85_20,85_21,85_22,86_0,86_1,86_2,86_20,86_21,86_22,87_0,87_1,87_2,87_20,87_21,87_22,88_0,88_1,88_2,88_20,88_21,88_22,89_0,89_1,89_2,89_20,89_21,89_22,90_0,90_1,90_2,90_20,90_21,90_22,91_0,91_1,91_2,91_20,91_21,91_22,92_0,92_1,92_2,92_3,92_5,92_20,92_21,92_22,93_0,93_1,93_2,93_3,93_5,93_6,93_7,93_8,93_9,93_10,93_11,93_12,93_13,93_14,93_15,93_16,93_17,93_18,93_19,93_20,93_21,93_22,94_0,94_1,94_2,94_3,94_5,94_6,94_7,94_8,94_9,94_10,94_11,94_12,94_13,94_14,94_15,94_16,94_17,94_18,94_19,94_20,94_21,94_22,95_0,95_1,95_2,95_3,95_5,95_6,95_7,95_8,95_9,95_10,95_11,95_12,95_13,95_14,95_15,95_16,95_17,95_18,95_19,95_20,95_21,95_22,96_0,96_1,96_2,96_3,96_5,96_6,96_7,96_8,96_9,96_10,96_11,96_12,96_13,96_14,96_15,96_16,96_17,96_18,96_19,96_20,96_21,96_22,97_0,97_1,97_2,97_3,97_5,97_6,97_7,97_8,97_9,97_10,97_11,97_12,97_13,97_14,97_15,97_16,97_17,97_18,97_19,97_20,97_21,97_22"; scene_data["render_warp_0001_coordinates"] = "5_5,92_4"; scene_data["render_ocean_0004_coordinates"] = "7_5,7_6,7_7,7_8,7_9,7_10,8_14,10_17,12_14,15_14,17_17,19_7,19_11,21_10,21_11,21_12,22_5,32_7,32_8,32_12,32_13,40_6,40_7,40_8,40_9,40_10,40_11,40_12,40_13,40_14,40_15,40_16,46_6,46_7,46_8,50_7,50_8,50_9,60_9,63_6,63_13,63_14,69_9,69_12,69_15,71_10,71_11,71_12,71_13,71_14,71_15,71_16,72_6,77_12,77_13,77_17,80_15,80_16,81_8,81_9,81_12,87_13,89_9,89_16"; scene_data["render_ocean_0003_coordinates"] = "8_4,9_4,10_4,11_4,12_4,13_4,14_4,15_4,16_4,16_13,22_9,22_16,23_4,23_9,23_16,24_9,24_16,28_4,29_4,30_4,33_6,33_11,33_17,34_4,34_6,34_11,34_17,35_6,35_15,35_17,41_5,42_5,45_15,46_12,46_15,46_17,47_12,47_17,48_12,49_12,51_4,51_6,51_14,52_6,52_16,53_6,53_14,54_6,55_17,56_4,56_14,56_17,57_4,57_11,57_17,59_6,60_12,60_15,61_8,64_5,64_12,64_17,65_5,65_12,66_5,66_12,69_18,72_9,73_5,73_9,74_5,78_5,78_6,78_7,81_14,82_5,82_7,82_14,82_18,83_7,83_14,84_14,86_4,86_18,87_4,87_6,88_4,88_12,89_12,90_8"; scene_data["render_common_0001_coordinates"] = "8_5,8_6,8_7,8_8,8_9,9_5,9_9,10_5,10_9,11_9,12_9,12_10,12_11,13_5,13_9,14_5,14_9,15_5,15_6,15_7,15_8,15_9,16_5,16_6,16_8,16_9,16_14,23_5,33_7,33_8,33_12,33_13,34_7,34_8,34_12,34_13,35_7,35_8,41_6,41_7,41_8,41_9,41_10,41_11,41_12,41_13,41_14,41_15,41_16,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_13,42_14,42_15,42_16,51_7,51_8,51_9,52_7,52_8,52_9,53_7,53_8,53_9,54_7,54_8,54_9,61_9,64_6,64_13,64_14,65_6,65_13,65_14,66_6,66_13,66_14,72_10,72_11,72_12,72_13,72_14,72_15,72_16,73_6,73_10,73_11,73_12,73_13,73_14,73_15,73_16,74_6,81_15,81_16,82_8,82_9,82_15,82_16,83_8,83_9,83_15,83_16,84_15,84_16,88_13,89_13,90_9"; scene_data["render_desert1_coordinates"] = "8_10,9_6,9_7,9_8,9_10,10_10,11_5,11_10,11_11,12_5,13_10,13_11,14_6,14_7,14_8,14_10,15_10,16_7,16_10,22_10,22_11,22_12,23_10,23_11,23_12,24_10,24_11,24_12"; scene_data["render_ocean_0002_coordinates"] = "8_11,9_11,10_11,14_11,15_11,16_11,16_15,22_13,23_6,23_13,24_13,33_9,33_14,34_9,34_14,35_9,41_17,42_17,51_10,52_10,53_10,54_10,61_10,64_7,64_15,65_7,65_15,66_7,66_15,72_17,73_7,73_17,74_7,81_17,82_10,82_17,83_10,83_17,84_17,88_14,89_14,90_10"; scene_data["render_ocean_0005_coordinates"] = "9_14,11_17,13_14,17_5,17_6,17_7,17_8,17_9,17_10,17_14,18_17,20_7,24_5,25_10,25_11,25_12,29_8,29_9,29_10,29_15,29_16,35_12,35_13,36_7,36_8,38_10,38_12,43_6,43_7,43_8,43_9,43_10,43_11,43_12,43_13,43_14,43_15,43_16,55_7,55_8,55_9,62_9,67_6,67_13,67_14,74_10,74_11,74_12,74_13,74_14,74_15,74_16,75_6,82_12,84_8,84_9,85_15,85_16,86_9,86_10,90_13,90_16,91_9"; scene_data["render_building_0001_coordinates"] = "10_6"; scene_data["render_building_0009_coordinates"] = "10_7,11_7,11_8,12_7,12_8,13_7"; scene_data["render_building_0005_coordinates"] = "10_8"; scene_data["render_building_0006_coordinates"] = "11_6,12_6"; scene_data["render_building_0002_coordinates"] = "13_6"; scene_data["render_building_0004_coordinates"] = "13_8"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0144() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 104; scene_data["tile_y_count"] = 23; scene_data["name"] = "Ocean Scene - further East"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {50}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"41,11","84,10"}; scene_data["boat_exit_coords"] = {"41,10","84,9"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_41,11"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_84,10"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_41,11"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_41,11"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_84,10"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_84,10"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=42, y=8, txt="Princess Anaya: {{new_line}} This mermaid is quiet as a stone. Her throat suggests breathing, but we cannot make conversation. Odd?", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=84, y=8, txt="Warning: Pirates spotted east. Proceed with caution, and keep coins hidden.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=90, after_map_y=3, after_player_x=91, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=18, scene_number=143, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=9, after_player_x=6, after_player_y=10, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=98, y=4, scene_number=145, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_10|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_19|0_20|0_21|0_22|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_10|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_19|1_20|1_21|1_22|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_10|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_19|2_20|2_21|2_22|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_10|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_19|3_20|3_21|3_22|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_10|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_19|4_20|4_21|4_22|5_0|5_1|5_2|5_17|5_19|5_20|5_21|5_22|6_0|6_1|6_2|6_6|6_20|6_21|6_22|7_0|7_1|7_2|7_5|7_7|7_20|7_21|7_22|8_0|8_1|8_2|8_6|8_12|8_13|8_14|8_15|8_20|8_21|8_22|9_0|9_1|9_2|9_11|9_16|9_20|9_21|9_22|10_0|10_1|10_2|10_11|10_16|10_20|10_21|10_22|11_0|11_1|11_2|11_6|11_11|11_16|11_20|11_21|11_22|12_0|12_1|12_2|12_5|12_7|12_11|12_16|12_17|12_20|12_21|12_22|13_0|13_1|13_2|13_5|13_7|13_11|13_16|13_17|13_20|13_21|13_22|14_0|14_1|14_2|14_6|14_11|14_16|14_20|14_21|14_22|15_0|15_1|15_2|15_12|15_13|15_14|15_15|15_20|15_21|15_22|16_0|16_1|16_2|16_20|16_21|16_22|17_0|17_1|17_2|17_8|17_13|17_20|17_21|17_22|18_0|18_1|18_2|18_8|18_12|18_14|18_20|18_21|18_22|19_0|19_1|19_2|19_13|19_20|19_21|19_22|20_0|20_1|20_2|20_20|20_21|20_22|21_0|21_1|21_2|21_20|21_21|21_22|22_0|22_1|22_2|22_5|22_6|22_7|22_8|22_9|22_10|22_11|22_12|22_17|22_20|22_21|22_22|23_0|23_1|23_2|23_4|23_13|23_16|23_18|23_20|23_21|23_22|24_0|24_1|24_2|24_4|24_13|24_17|24_20|24_21|24_22|25_0|25_1|25_2|25_4|25_13|25_20|25_21|25_22|26_0|26_1|26_2|26_5|26_6|26_7|26_8|26_9|26_10|26_11|26_12|26_20|26_21|26_22|27_0|27_1|27_2|27_20|27_21|27_22|28_0|28_1|28_2|28_17|28_20|28_21|28_22|29_0|29_1|29_2|29_17|29_20|29_21|29_22|30_0|30_1|30_2|30_7|30_8|30_20|30_21|30_22|31_0|31_1|31_2|31_6|31_7|31_8|31_9|31_20|31_21|31_22|32_0|32_1|32_2|32_6|32_9|32_12|32_13|32_20|32_21|32_22|33_0|33_1|33_2|33_6|33_7|33_8|33_9|33_11|33_14|33_17|33_20|33_21|33_22|34_0|34_1|34_2|34_7|34_8|34_11|34_14|34_17|34_20|34_21|34_22|35_0|35_1|35_2|35_12|35_13|35_20|35_21|35_22|36_0|36_1|36_2|36_20|36_21|36_22|37_0|37_1|37_2|37_20|37_21|37_22|38_0|38_1|38_2|38_15|38_20|38_21|38_22|39_0|39_1|39_2|39_7|39_8|39_9|39_15|39_20|39_21|39_22|40_0|40_1|40_2|40_6|40_7|40_8|40_9|40_10|40_15|40_20|40_21|40_22|41_0|41_1|41_2|41_6|41_7|41_14|41_15|41_17|41_20|41_21|41_22|42_0|42_1|42_2|42_6|42_7|42_9|42_10|42_14|42_15|42_20|42_21|42_22|43_0|43_1|43_2|43_6|43_7|43_8|43_9|43_10|43_15|43_20|43_21|43_22|44_0|44_1|44_2|44_7|44_8|44_9|44_15|44_20|44_21|44_22|45_0|45_1|45_2|45_11|45_15|45_20|45_21|45_22|46_0|46_1|46_2|46_11|46_20|46_21|46_22|47_0|47_1|47_2|47_5|47_20|47_21|47_22|48_0|48_1|48_2|48_5|48_17|48_20|48_21|48_22|49_0|49_1|49_2|49_12|49_20|49_21|49_22|50_0|50_1|50_2|50_11|50_13|50_20|50_21|50_22|51_0|51_1|51_2|51_12|51_20|51_21|51_22|52_0|52_1|52_2|52_8|52_16|52_20|52_21|52_22|53_0|53_1|53_2|53_7|53_9|53_15|53_17|53_20|53_21|53_22|54_0|54_1|54_2|54_8|54_16|54_20|54_21|54_22|55_0|55_1|55_2|55_20|55_21|55_22|56_0|56_1|56_2|56_11|56_20|56_21|56_22|57_0|57_1|57_2|57_5|57_10|57_12|57_20|57_21|57_22|58_0|58_1|58_2|58_5|58_11|58_20|58_21|58_22|59_0|59_1|59_2|59_16|59_20|59_21|59_22|60_0|60_1|60_2|60_16|60_20|60_21|60_22|61_0|61_1|61_2|61_20|61_21|61_22|62_0|62_1|62_2|62_4|62_5|62_6|62_7|62_8|62_9|62_10|62_11|62_12|62_13|62_14|62_15|62_16|62_17|62_20|62_21|62_22|63_0|63_1|63_2|63_3|63_5|63_7|63_8|63_9|63_11|63_13|63_15|63_16|63_17|63_18|63_20|63_21|63_22|64_0|64_1|64_2|64_3|64_18|64_20|64_21|64_22|65_0|65_1|65_2|65_3|65_18|65_20|65_21|65_22|66_0|66_1|66_2|66_3|66_5|66_7|66_8|66_9|66_11|66_13|66_15|66_16|66_17|66_18|66_20|66_21|66_22|67_0|67_1|67_2|67_4|67_5|67_6|67_7|67_8|67_9|67_10|67_11|67_12|67_13|67_14|67_15|67_16|67_17|67_20|67_21|67_22|68_0|68_1|68_2|68_20|68_21|68_22|69_0|69_1|69_2|69_20|69_21|69_22|70_0|70_1|70_2|70_12|70_20|70_21|70_22|71_0|71_1|71_2|71_12|71_16|71_20|71_21|71_22|72_0|72_1|72_2|72_7|72_8|72_15|72_17|72_20|72_21|72_22|73_0|73_1|73_2|73_6|73_7|73_8|73_9|73_16|73_20|73_21|73_22|74_0|74_1|74_2|74_6|74_7|74_8|74_9|74_20|74_21|74_22|75_0|75_1|75_2|75_7|75_8|75_13|75_14|75_15|75_20|75_21|75_22|76_0|76_1|76_2|76_12|76_13|76_14|76_15|76_16|76_20|76_21|76_22|77_0|77_1|77_2|77_12|77_13|77_15|77_16|77_20|77_21|77_22|78_0|78_1|78_2|78_6|78_12|78_13|78_14|78_15|78_16|78_20|78_21|78_22|79_0|79_1|79_2|79_13|79_14|79_15|79_20|79_21|79_22|80_0|80_1|80_2|80_17|80_20|80_21|80_22|81_0|81_1|81_2|81_17|81_20|81_21|81_22|82_0|82_1|82_2|82_20|82_21|82_22|83_0|83_1|83_2|83_6|83_7|83_8|83_9|83_20|83_21|83_22|84_0|84_1|84_2|84_6|84_7|84_16|84_20|84_21|84_22|85_0|85_1|85_2|85_6|85_7|85_8|85_9|85_15|85_17|85_20|85_21|85_22|86_0|86_1|86_2|86_7|86_8|86_16|86_20|86_21|86_22|87_0|87_1|87_2|87_20|87_21|87_22|88_0|88_1|88_2|88_20|88_21|88_22|89_0|89_1|89_2|89_20|89_21|89_22|90_0|90_1|90_2|90_7|90_12|90_17|90_20|90_21|90_22|91_0|91_1|91_2|91_6|91_8|91_11|91_13|91_16|91_18|91_20|91_21|91_22|92_0|92_1|92_2|92_7|92_11|92_13|92_16|92_18|92_20|92_21|92_22|93_0|93_1|93_2|93_12|93_16|93_18|93_20|93_21|93_22|94_0|94_1|94_2|94_17|94_20|94_21|94_22|95_0|95_1|95_2|95_9|95_20|95_21|95_22|96_0|96_1|96_2|96_9|96_15|96_20|96_21|96_22|97_0|97_1|97_2|97_3|97_5|97_15|97_20|97_21|97_22|98_0|98_1|98_2|98_3|98_5|98_20|98_21|98_22|99_0|99_1|99_2|99_3|99_5|99_6|99_7|99_8|99_9|99_10|99_11|99_12|99_13|99_14|99_15|99_16|99_17|99_18|99_19|99_20|99_21|99_22|100_0|100_1|100_2|100_3|100_5|100_6|100_7|100_8|100_9|100_10|100_11|100_12|100_13|100_14|100_15|100_16|100_17|100_18|100_19|100_20|100_21|100_22|101_0|101_1|101_2|101_3|101_5|101_6|101_7|101_8|101_9|101_10|101_11|101_12|101_13|101_14|101_15|101_16|101_17|101_18|101_19|101_20|101_21|101_22|102_0|102_1|102_2|102_3|102_5|102_6|102_7|102_8|102_9|102_10|102_11|102_12|102_13|102_14|102_15|102_16|102_17|102_18|102_19|102_20|102_21|102_22|103_0|103_1|103_2|103_3|103_5|103_6|103_7|103_8|103_9|103_10|103_11|103_12|103_13|103_14|103_15|103_16|103_17|103_18|103_19|103_20|103_21|103_22"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_ocean_0002,render_ocean_0005,render_desert1,render_person_0013,render_common_0004"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_10,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_19,0_20,0_21,0_22,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_10,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_19,1_20,1_21,1_22,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_10,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_19,2_20,2_21,2_22,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_10,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_19,3_20,3_21,3_22,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_19,4_20,4_21,4_22,5_0,5_1,5_2,5_17,5_19,5_20,5_21,5_22,6_0,6_1,6_2,6_20,6_21,6_22,7_0,7_1,7_2,7_20,7_21,7_22,8_0,8_1,8_2,8_20,8_21,8_22,9_0,9_1,9_2,9_20,9_21,9_22,10_0,10_1,10_2,10_20,10_21,10_22,11_0,11_1,11_2,11_20,11_21,11_22,12_0,12_1,12_2,12_20,12_21,12_22,13_0,13_1,13_2,13_20,13_21,13_22,14_0,14_1,14_2,14_20,14_21,14_22,15_0,15_1,15_2,15_20,15_21,15_22,16_0,16_1,16_2,16_20,16_21,16_22,17_0,17_1,17_2,17_20,17_21,17_22,18_0,18_1,18_2,18_20,18_21,18_22,19_0,19_1,19_2,19_20,19_21,19_22,20_0,20_1,20_2,20_20,20_21,20_22,21_0,21_1,21_2,21_20,21_21,21_22,22_0,22_1,22_2,22_20,22_21,22_22,23_0,23_1,23_2,23_20,23_21,23_22,24_0,24_1,24_2,24_20,24_21,24_22,25_0,25_1,25_2,25_20,25_21,25_22,26_0,26_1,26_2,26_20,26_21,26_22,27_0,27_1,27_2,27_20,27_21,27_22,28_0,28_1,28_2,28_20,28_21,28_22,29_0,29_1,29_2,29_20,29_21,29_22,30_0,30_1,30_2,30_20,30_21,30_22,31_0,31_1,31_2,31_20,31_21,31_22,32_0,32_1,32_2,32_20,32_21,32_22,33_0,33_1,33_2,33_20,33_21,33_22,34_0,34_1,34_2,34_20,34_21,34_22,35_0,35_1,35_2,35_20,35_21,35_22,36_0,36_1,36_2,36_20,36_21,36_22,37_0,37_1,37_2,37_20,37_21,37_22,38_0,38_1,38_2,38_20,38_21,38_22,39_0,39_1,39_2,39_20,39_21,39_22,40_0,40_1,40_2,40_20,40_21,40_22,41_0,41_1,41_2,41_20,41_21,41_22,42_0,42_1,42_2,42_20,42_21,42_22,43_0,43_1,43_2,43_20,43_21,43_22,44_0,44_1,44_2,44_20,44_21,44_22,45_0,45_1,45_2,45_20,45_21,45_22,46_0,46_1,46_2,46_20,46_21,46_22,47_0,47_1,47_2,47_20,47_21,47_22,48_0,48_1,48_2,48_20,48_21,48_22,49_0,49_1,49_2,49_20,49_21,49_22,50_0,50_1,50_2,50_20,50_21,50_22,51_0,51_1,51_2,51_20,51_21,51_22,52_0,52_1,52_2,52_20,52_21,52_22,53_0,53_1,53_2,53_20,53_21,53_22,54_0,54_1,54_2,54_20,54_21,54_22,55_0,55_1,55_2,55_20,55_21,55_22,56_0,56_1,56_2,56_20,56_21,56_22,57_0,57_1,57_2,57_20,57_21,57_22,58_0,58_1,58_2,58_20,58_21,58_22,59_0,59_1,59_2,59_20,59_21,59_22,60_0,60_1,60_2,60_20,60_21,60_22,61_0,61_1,61_2,61_20,61_21,61_22,62_0,62_1,62_2,62_20,62_21,62_22,63_0,63_1,63_2,63_20,63_21,63_22,64_0,64_1,64_2,64_20,64_21,64_22,65_0,65_1,65_2,65_20,65_21,65_22,66_0,66_1,66_2,66_20,66_21,66_22,67_0,67_1,67_2,67_20,67_21,67_22,68_0,68_1,68_2,68_20,68_21,68_22,69_0,69_1,69_2,69_20,69_21,69_22,70_0,70_1,70_2,70_20,70_21,70_22,71_0,71_1,71_2,71_20,71_21,71_22,72_0,72_1,72_2,72_20,72_21,72_22,73_0,73_1,73_2,73_20,73_21,73_22,74_0,74_1,74_2,74_20,74_21,74_22,75_0,75_1,75_2,75_20,75_21,75_22,76_0,76_1,76_2,76_20,76_21,76_22,77_0,77_1,77_2,77_20,77_21,77_22,78_0,78_1,78_2,78_20,78_21,78_22,79_0,79_1,79_2,79_20,79_21,79_22,80_0,80_1,80_2,80_20,80_21,80_22,81_0,81_1,81_2,81_20,81_21,81_22,82_0,82_1,82_2,82_20,82_21,82_22,83_0,83_1,83_2,83_20,83_21,83_22,84_0,84_1,84_2,84_20,84_21,84_22,85_0,85_1,85_2,85_20,85_21,85_22,86_0,86_1,86_2,86_20,86_21,86_22,87_0,87_1,87_2,87_20,87_21,87_22,88_0,88_1,88_2,88_20,88_21,88_22,89_0,89_1,89_2,89_20,89_21,89_22,90_0,90_1,90_2,90_20,90_21,90_22,91_0,91_1,91_2,91_20,91_21,91_22,92_0,92_1,92_2,92_20,92_21,92_22,93_0,93_1,93_2,93_20,93_21,93_22,94_0,94_1,94_2,94_20,94_21,94_22,95_0,95_1,95_2,95_20,95_21,95_22,96_0,96_1,96_2,96_20,96_21,96_22,97_0,97_1,97_2,97_3,97_5,97_20,97_21,97_22,98_0,98_1,98_2,98_3,98_5,98_20,98_21,98_22,99_0,99_1,99_2,99_3,99_5,99_6,99_7,99_8,99_9,99_10,99_11,99_12,99_13,99_14,99_15,99_16,99_17,99_18,99_19,99_20,99_21,99_22,100_0,100_1,100_2,100_3,100_5,100_6,100_7,100_8,100_9,100_10,100_11,100_12,100_13,100_14,100_15,100_16,100_17,100_18,100_19,100_20,100_21,100_22,101_0,101_1,101_2,101_3,101_5,101_6,101_7,101_8,101_9,101_10,101_11,101_12,101_13,101_14,101_15,101_16,101_17,101_18,101_19,101_20,101_21,101_22,102_0,102_1,102_2,102_3,102_5,102_6,102_7,102_8,102_9,102_10,102_11,102_12,102_13,102_14,102_15,102_16,102_17,102_18,102_19,102_20,102_21,102_22,103_0,103_1,103_2,103_3,103_5,103_6,103_7,103_8,103_9,103_10,103_11,103_12,103_13,103_14,103_15,103_16,103_17,103_18,103_19,103_20,103_21,103_22"; scene_data["render_warp_0001_coordinates"] = "5_18,98_4"; scene_data["render_ocean_0004_coordinates"] = "6_6,8_12,8_13,8_14,8_15,11_6,12_17,17_8,17_13,22_5,22_6,22_7,22_8,22_9,22_10,22_11,22_12,22_17,28_17,30_7,30_8,32_12,32_13,33_17,39_7,39_8,39_9,45_11,47_5,49_12,52_8,52_16,56_11,57_5,59_16,62_4,62_5,62_6,62_7,62_8,62_9,62_10,62_11,62_12,62_13,62_14,62_15,62_16,62_17,71_16,72_7,72_8,75_13,75_14,75_15,80_17,84_16,90_7,90_12,90_17,95_9,96_15"; scene_data["render_ocean_0003_coordinates"] = "7_5,9_11,10_11,11_11,12_5,12_11,13_5,13_11,14_11,18_12,23_4,23_16,24_4,25_4,31_6,32_6,33_6,33_11,34_11,38_15,39_15,40_6,40_15,41_6,41_14,41_15,41_17,42_6,42_14,42_15,43_6,43_15,44_15,45_15,48_17,50_11,53_7,53_15,57_10,63_3,64_3,65_3,66_3,70_12,71_12,72_15,73_6,74_6,76_12,77_12,78_6,78_12,83_6,84_6,85_6,85_15,91_6,91_11,91_16,92_11,92_16,93_16"; scene_data["render_common_0001_coordinates"] = "7_6,9_12,9_13,9_14,9_15,10_12,10_13,10_14,10_15,11_12,11_13,11_14,11_15,12_6,12_12,12_13,12_14,12_15,13_6,13_12,13_13,13_14,13_15,14_12,14_13,14_14,14_15,18_13,23_5,23_6,23_7,23_8,23_9,23_10,23_11,23_12,23_17,24_5,24_6,24_7,24_8,24_9,24_10,24_11,24_12,25_5,25_6,25_7,25_8,25_9,25_10,25_11,25_12,32_7,32_8,33_12,33_13,34_12,34_13,41_8,41_9,41_10,42_8,50_12,53_8,53_16,57_11,63_4,63_6,63_10,63_12,63_14,64_4,64_5,64_6,64_7,64_8,64_9,64_10,64_11,64_12,64_13,64_14,64_15,64_16,64_17,65_4,65_5,65_6,65_7,65_8,65_9,65_10,65_11,65_12,65_13,65_14,65_15,65_16,65_17,66_4,66_6,66_10,66_12,66_14,72_16,77_14,84_8,84_9,85_16,91_7,91_12,91_17,92_12,92_17,93_17"; scene_data["render_ocean_0002_coordinates"] = "7_7,9_16,10_16,11_16,12_7,12_16,13_7,13_16,14_16,18_14,23_13,23_18,24_13,25_13,31_9,32_9,33_9,33_14,34_14,40_10,42_10,43_10,50_13,53_9,53_17,57_12,63_18,64_18,65_18,66_18,72_17,73_9,74_9,76_16,77_16,78_16,85_17,91_8,91_13,91_18,92_13,92_18,93_18"; scene_data["render_ocean_0005_coordinates"] = "8_6,13_17,14_6,15_12,15_13,15_14,15_15,18_8,19_13,24_17,26_5,26_6,26_7,26_8,26_9,26_10,26_11,26_12,29_17,34_7,34_8,34_17,35_12,35_13,44_7,44_8,44_9,46_11,48_5,51_12,54_8,54_16,58_5,58_11,60_16,67_4,67_5,67_6,67_7,67_8,67_9,67_10,67_11,67_12,67_13,67_14,67_15,67_16,67_17,73_16,75_7,75_8,79_13,79_14,79_15,81_17,86_7,86_8,86_16,92_7,93_12,94_17,96_9,97_15"; scene_data["render_desert1_coordinates"] = "31_7,31_8,33_7,33_8,40_7,40_8,40_9,41_7,42_9,43_7,43_8,43_9,63_5,63_7,63_8,63_9,63_11,63_13,63_15,63_16,63_17,66_5,66_7,66_8,66_9,66_11,66_13,66_15,66_16,66_17,73_7,73_8,74_7,74_8,76_13,76_14,76_15,77_13,77_15,78_13,78_14,78_15,83_7,83_8,83_9,85_7,85_8,85_9"; scene_data["render_person_0013_coordinates"] = "42_7"; scene_data["render_common_0004_coordinates"] = "84_7"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0145() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 93; scene_data["tile_y_count"] = 29; scene_data["name"] = "145 ocean"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {600}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"8,14","27,14","52,22","66,14"}; scene_data["boat_exit_coords"] = {"8,13","27,13","52,21","66,13"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_8,14"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_27,14"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_52,22"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_66,22"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_8,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_41,14"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_27,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_27,14"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_52,22"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_52,22"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_66,14"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_66,14"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=27, y=10, txt="You obtained 10000g", required_dir="up", callback=function() GET_MONEY(10000); PUT_STATE("b1", 145, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 145) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=28, y=10, txt="You obtained 6000g", required_dir="up", callback=function() GET_MONEY(6000); PUT_STATE("b2", 145, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 145) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=65, y=11, txt="You obtained 2000g", required_dir="up", callback=function() GET_MONEY(2000); PUT_STATE("b3", 145, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 145) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=66, y=11, txt="You obtained 500g", required_dir="up", callback=function() GET_MONEY(500); PUT_STATE("b4", 145, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 145) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=67, y=11, txt="You obtained 9000g", required_dir="up", callback=function() GET_MONEY(9000); PUT_STATE("b5", 145, 1, "fifth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b5", 145) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=96, after_map_y=3, after_player_x=97, after_player_y=4, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=10, scene_number=144, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=8, after_map_y=6, after_player_x=9, after_player_y=8, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=53, y=17, scene_number=146, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=10, after_map_y=6, after_player_x=11, after_player_y=8, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=55, y=17, scene_number=146, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=6, after_player_x=13, after_player_y=8, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=57, y=17, scene_number=146, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=1, after_player_x=6, after_player_y=3, after_screen_x=1, after_screen_y=2, after_player_dir="right", x=87, y=10, scene_number=147, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=10, y=10, scene_number=1000, inn_item_keys={"fxt_1"}, inn_price=10, on_finished=function() end }, } scene_data["movement_key"] = "blocked"; scene_data["blocked_coordinates"] = "0_0|0_1|0_2|0_3|0_4|0_5|0_6|0_7|0_8|0_9|0_11|0_12|0_13|0_14|0_15|0_16|0_17|0_18|0_19|0_20|0_21|0_22|0_23|0_24|0_25|0_26|0_27|0_28|1_0|1_1|1_2|1_3|1_4|1_5|1_6|1_7|1_8|1_9|1_11|1_12|1_13|1_14|1_15|1_16|1_17|1_18|1_19|1_20|1_21|1_22|1_23|1_24|1_25|1_26|1_27|1_28|2_0|2_1|2_2|2_3|2_4|2_5|2_6|2_7|2_8|2_9|2_11|2_12|2_13|2_14|2_15|2_16|2_17|2_18|2_19|2_20|2_21|2_22|2_23|2_24|2_25|2_26|2_27|2_28|3_0|3_1|3_2|3_3|3_4|3_5|3_6|3_7|3_8|3_9|3_11|3_12|3_13|3_14|3_15|3_16|3_17|3_18|3_19|3_20|3_21|3_22|3_23|3_24|3_25|3_26|3_27|3_28|4_0|4_1|4_2|4_3|4_4|4_5|4_6|4_7|4_8|4_9|4_11|4_12|4_13|4_14|4_15|4_16|4_17|4_18|4_19|4_20|4_21|4_22|4_23|4_24|4_25|4_26|4_27|4_28|5_0|5_1|5_2|5_26|5_27|5_28|6_0|6_1|6_2|6_26|6_27|6_28|7_0|7_1|7_2|7_9|7_10|7_11|7_12|7_13|7_26|7_27|7_28|8_0|8_1|8_2|8_5|8_8|8_26|8_27|8_28|9_0|9_1|9_2|9_5|9_8|9_9|9_10|9_12|9_13|9_26|9_27|9_28|10_0|10_1|10_2|10_8|10_9|10_12|10_13|10_21|10_22|10_23|10_26|10_27|10_28|11_0|11_1|11_2|11_8|11_10|11_13|11_17|11_20|11_24|11_26|11_27|11_28|12_0|12_1|12_2|12_9|12_10|12_11|12_12|12_13|12_17|12_20|12_24|12_26|12_27|12_28|13_0|13_1|13_2|13_20|13_24|13_26|13_27|13_28|14_0|14_1|14_2|14_20|14_24|14_26|14_27|14_28|15_0|15_1|15_2|15_20|15_24|15_26|15_27|15_28|16_0|16_1|16_2|16_20|16_24|16_26|16_27|16_28|17_0|17_1|17_2|17_6|17_7|17_11|17_15|17_21|17_22|17_23|17_26|17_27|17_28|18_0|18_1|18_2|18_5|18_8|18_11|18_14|18_16|18_26|18_27|18_28|19_0|19_1|19_2|19_5|19_8|19_15|19_26|19_27|19_28|20_0|20_1|20_2|20_6|20_7|20_22|20_26|20_27|20_28|21_0|21_1|21_2|21_22|21_26|21_27|21_28|22_0|22_1|22_2|22_13|22_14|22_15|22_26|22_27|22_28|23_0|23_1|23_2|23_18|23_19|23_26|23_27|23_28|24_0|24_1|24_2|24_5|24_17|24_20|24_26|24_27|24_28|25_0|25_1|25_2|25_4|25_6|25_9|25_10|25_11|25_12|25_17|25_20|25_23|25_26|25_27|25_28|26_0|26_1|26_2|26_4|26_6|26_8|26_11|26_12|26_13|26_17|26_20|26_23|26_26|26_27|26_28|27_0|27_1|27_2|27_4|27_6|27_8|27_9|27_11|27_18|27_19|27_26|27_27|27_28|28_0|28_1|28_2|28_5|28_8|28_9|28_13|28_26|28_27|28_28|29_0|29_1|29_2|29_8|29_11|29_12|29_13|29_26|29_27|29_28|30_0|30_1|30_2|30_9|30_10|30_11|30_12|30_18|30_22|30_26|30_27|30_28|31_0|31_1|31_2|31_18|31_22|31_26|31_27|31_28|32_0|32_1|32_2|32_26|32_27|32_28|33_0|33_1|33_2|33_5|33_13|33_26|33_27|33_28|34_0|34_1|34_2|34_5|34_13|34_26|34_27|34_28|35_0|35_1|35_2|35_13|35_18|35_19|35_23|35_26|35_27|35_28|36_0|36_1|36_2|36_8|36_9|36_17|36_20|36_22|36_24|36_26|36_27|36_28|37_0|37_1|37_2|37_7|37_8|37_9|37_10|37_17|37_20|37_23|37_26|37_27|37_28|38_0|38_1|38_2|38_7|38_10|38_17|38_20|38_26|38_27|38_28|39_0|39_1|39_2|39_7|39_8|39_9|39_10|39_12|39_13|39_14|39_18|39_19|39_26|39_27|39_28|40_0|40_1|40_2|40_5|40_8|40_9|40_12|40_13|40_14|40_26|40_27|40_28|41_0|41_1|41_2|41_5|41_22|41_26|41_27|41_28|42_0|42_1|42_2|42_22|42_26|42_27|42_28|43_0|43_1|43_2|43_12|43_13|43_14|43_15|43_16|43_17|43_18|43_19|43_26|43_27|43_28|44_0|44_1|44_2|44_7|44_11|44_20|44_26|44_27|44_28|45_0|45_1|45_2|45_11|45_20|45_26|45_27|45_28|46_0|46_1|46_2|46_12|46_13|46_14|46_15|46_16|46_17|46_18|46_19|46_26|46_27|46_28|47_0|47_1|47_2|47_5|47_6|47_23|47_26|47_27|47_28|48_0|48_1|48_2|48_4|48_7|48_23|48_26|48_27|48_28|49_0|49_1|49_2|49_4|49_7|49_10|49_15|49_16|49_17|49_18|49_19|49_20|49_26|49_27|49_28|50_0|50_1|50_2|50_4|50_7|50_10|50_14|50_15|50_16|50_17|50_18|50_19|50_20|50_21|50_26|50_27|50_28|51_0|51_1|51_2|51_4|51_7|51_14|51_15|51_20|51_21|51_26|51_27|51_28|52_0|52_1|52_2|52_5|52_6|52_14|52_15|52_16|52_17|52_18|52_26|52_27|52_28|53_0|53_1|53_2|53_14|53_15|53_16|53_20|53_21|53_23|53_26|53_27|53_28|54_0|54_1|54_2|54_10|54_14|54_15|54_16|54_17|54_18|54_20|54_21|54_22|54_24|54_26|54_27|54_28|55_0|55_1|55_2|55_6|55_9|55_11|55_14|55_15|55_16|55_20|55_21|55_23|55_26|55_27|55_28|56_0|56_1|56_2|56_6|56_9|56_11|56_14|56_15|56_16|56_17|56_18|56_20|56_21|56_26|56_27|56_28|57_0|57_1|57_2|57_6|57_10|57_14|57_15|57_16|57_20|57_21|57_26|57_27|57_28|58_0|58_1|58_2|58_14|58_15|58_16|58_17|58_18|58_19|58_20|58_21|58_26|58_27|58_28|59_0|59_1|59_2|59_14|59_15|59_16|59_17|59_21|59_26|59_27|59_28|60_0|60_1|60_2|60_5|60_15|60_16|60_17|60_18|60_19|60_20|60_26|60_27|60_28|61_0|61_1|61_2|61_5|61_26|61_27|61_28|62_0|62_1|62_2|62_26|62_27|62_28|63_0|63_1|63_2|63_10|63_11|63_12|63_26|63_27|63_28|64_0|64_1|64_2|64_7|64_9|64_10|64_11|64_12|64_13|64_19|64_20|64_26|64_27|64_28|65_0|65_1|65_2|65_6|65_8|65_9|65_10|65_12|65_13|65_18|65_19|65_20|65_21|65_26|65_27|65_28|66_0|66_1|66_2|66_7|66_9|66_10|66_18|66_19|66_20|66_21|66_23|66_26|66_27|66_28|67_0|67_1|67_2|67_4|67_9|67_10|67_12|67_13|67_19|67_20|67_23|67_26|67_27|67_28|68_0|68_1|68_2|68_4|68_9|68_10|68_11|68_12|68_13|68_23|68_26|68_27|68_28|69_0|69_1|69_2|69_4|69_10|69_11|69_12|69_26|69_27|69_28|70_0|70_1|70_2|70_19|70_23|70_26|70_27|70_28|71_0|71_1|71_2|71_4|71_19|71_23|71_26|71_27|71_28|72_0|72_1|72_2|72_4|72_26|72_27|72_28|73_0|73_1|73_2|73_10|73_11|73_12|73_13|73_14|73_15|73_16|73_17|73_18|73_19|73_20|73_21|73_22|73_26|73_27|73_28|74_0|74_1|74_2|74_9|74_23|74_26|74_27|74_28|75_0|75_1|75_2|75_4|75_9|75_23|75_26|75_27|75_28|76_0|76_1|76_2|76_4|76_10|76_11|76_12|76_13|76_14|76_15|76_16|76_17|76_18|76_19|76_20|76_21|76_22|76_26|76_27|76_28|77_0|77_1|77_2|77_4|77_26|77_27|77_28|78_0|78_1|78_2|78_26|78_27|78_28|79_0|79_1|79_2|79_17|79_23|79_26|79_27|79_28|80_0|80_1|80_2|80_16|80_18|80_22|80_24|80_26|80_27|80_28|81_0|81_1|81_2|81_7|81_12|81_17|81_23|81_26|81_27|81_28|82_0|82_1|82_2|82_7|82_11|82_13|82_21|82_26|82_27|82_28|83_0|83_1|83_2|83_7|83_12|83_17|83_20|83_22|83_26|83_27|83_28|84_0|84_1|84_2|84_16|84_18|84_21|84_26|84_27|84_28|85_0|85_1|85_2|85_9|85_11|85_17|85_26|85_27|85_28|86_0|86_1|86_2|86_9|86_11|86_26|86_27|86_28|87_0|87_1|87_2|87_9|87_11|87_26|87_27|87_28|88_0|88_1|88_2|88_3|88_4|88_5|88_6|88_7|88_8|88_9|88_11|88_12|88_13|88_14|88_15|88_16|88_17|88_18|88_19|88_20|88_21|88_22|88_23|88_24|88_25|88_26|88_27|88_28|89_0|89_1|89_2|89_3|89_4|89_5|89_6|89_7|89_8|89_9|89_11|89_12|89_13|89_14|89_15|89_16|89_17|89_18|89_19|89_20|89_21|89_22|89_23|89_24|89_25|89_26|89_27|89_28|90_0|90_1|90_2|90_3|90_4|90_5|90_6|90_7|90_8|90_9|90_11|90_12|90_13|90_14|90_15|90_16|90_17|90_18|90_19|90_20|90_21|90_22|90_23|90_24|90_25|90_26|90_27|90_28|91_0|91_1|91_2|91_3|91_4|91_5|91_6|91_7|91_8|91_9|91_11|91_12|91_13|91_14|91_15|91_16|91_17|91_18|91_19|91_20|91_21|91_22|91_23|91_24|91_25|91_26|91_27|91_28|92_0|92_1|92_2|92_3|92_4|92_5|92_6|92_7|92_8|92_9|92_11|92_12|92_13|92_14|92_15|92_16|92_17|92_18|92_19|92_20|92_21|92_22|92_23|92_24|92_25|92_26|92_27|92_28"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_desert1,render_ocean_0003,render_common_0001,render_building_0001,render_building_0005,render_building_0002,render_building_0004,render_ocean_0002,render_ocean_0005,render_common_0003,render_building_0009,render_building_0006"; scene_data["render_ocean_0009_coordinates"] = "0_0,0_1,0_2,0_3,0_4,0_5,0_6,0_7,0_8,0_9,0_11,0_12,0_13,0_14,0_15,0_16,0_17,0_18,0_19,0_20,0_21,0_22,0_23,0_24,0_25,0_26,0_27,0_28,1_0,1_1,1_2,1_3,1_4,1_5,1_6,1_7,1_8,1_9,1_11,1_12,1_13,1_14,1_15,1_16,1_17,1_18,1_19,1_20,1_21,1_22,1_23,1_24,1_25,1_26,1_27,1_28,2_0,2_1,2_2,2_3,2_4,2_5,2_6,2_7,2_8,2_9,2_11,2_12,2_13,2_14,2_15,2_16,2_17,2_18,2_19,2_20,2_21,2_22,2_23,2_24,2_25,2_26,2_27,2_28,3_0,3_1,3_2,3_3,3_4,3_5,3_6,3_7,3_8,3_9,3_11,3_12,3_13,3_14,3_15,3_16,3_17,3_18,3_19,3_20,3_21,3_22,3_23,3_24,3_25,3_26,3_27,3_28,4_0,4_1,4_2,4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_11,4_12,4_13,4_14,4_15,4_16,4_17,4_18,4_19,4_20,4_21,4_22,4_23,4_24,4_25,4_26,4_27,4_28,5_0,5_1,5_2,5_26,5_27,5_28,6_0,6_1,6_2,6_26,6_27,6_28,7_0,7_1,7_2,7_26,7_27,7_28,8_0,8_1,8_2,8_26,8_27,8_28,9_0,9_1,9_2,9_26,9_27,9_28,10_0,10_1,10_2,10_26,10_27,10_28,11_0,11_1,11_2,11_26,11_27,11_28,12_0,12_1,12_2,12_26,12_27,12_28,13_0,13_1,13_2,13_26,13_27,13_28,14_0,14_1,14_2,14_26,14_27,14_28,15_0,15_1,15_2,15_26,15_27,15_28,16_0,16_1,16_2,16_26,16_27,16_28,17_0,17_1,17_2,17_26,17_27,17_28,18_0,18_1,18_2,18_26,18_27,18_28,19_0,19_1,19_2,19_26,19_27,19_28,20_0,20_1,20_2,20_26,20_27,20_28,21_0,21_1,21_2,21_26,21_27,21_28,22_0,22_1,22_2,22_26,22_27,22_28,23_0,23_1,23_2,23_26,23_27,23_28,24_0,24_1,24_2,24_26,24_27,24_28,25_0,25_1,25_2,25_26,25_27,25_28,26_0,26_1,26_2,26_26,26_27,26_28,27_0,27_1,27_2,27_26,27_27,27_28,28_0,28_1,28_2,28_26,28_27,28_28,29_0,29_1,29_2,29_26,29_27,29_28,30_0,30_1,30_2,30_26,30_27,30_28,31_0,31_1,31_2,31_26,31_27,31_28,32_0,32_1,32_2,32_26,32_27,32_28,33_0,33_1,33_2,33_26,33_27,33_28,34_0,34_1,34_2,34_26,34_27,34_28,35_0,35_1,35_2,35_26,35_27,35_28,36_0,36_1,36_2,36_26,36_27,36_28,37_0,37_1,37_2,37_26,37_27,37_28,38_0,38_1,38_2,38_26,38_27,38_28,39_0,39_1,39_2,39_26,39_27,39_28,40_0,40_1,40_2,40_26,40_27,40_28,41_0,41_1,41_2,41_26,41_27,41_28,42_0,42_1,42_2,42_26,42_27,42_28,43_0,43_1,43_2,43_26,43_27,43_28,44_0,44_1,44_2,44_26,44_27,44_28,45_0,45_1,45_2,45_26,45_27,45_28,46_0,46_1,46_2,46_26,46_27,46_28,47_0,47_1,47_2,47_26,47_27,47_28,48_0,48_1,48_2,48_26,48_27,48_28,49_0,49_1,49_2,49_26,49_27,49_28,50_0,50_1,50_2,50_26,50_27,50_28,51_0,51_1,51_2,51_26,51_27,51_28,52_0,52_1,52_2,52_26,52_27,52_28,53_0,53_1,53_2,53_26,53_27,53_28,54_0,54_1,54_2,54_26,54_27,54_28,55_0,55_1,55_2,55_26,55_27,55_28,56_0,56_1,56_2,56_26,56_27,56_28,57_0,57_1,57_2,57_26,57_27,57_28,58_0,58_1,58_2,58_26,58_27,58_28,59_0,59_1,59_2,59_26,59_27,59_28,60_0,60_1,60_2,60_26,60_27,60_28,61_0,61_1,61_2,61_26,61_27,61_28,62_0,62_1,62_2,62_26,62_27,62_28,63_0,63_1,63_2,63_26,63_27,63_28,64_0,64_1,64_2,64_26,64_27,64_28,65_0,65_1,65_2,65_26,65_27,65_28,66_0,66_1,66_2,66_26,66_27,66_28,67_0,67_1,67_2,67_26,67_27,67_28,68_0,68_1,68_2,68_26,68_27,68_28,69_0,69_1,69_2,69_26,69_27,69_28,70_0,70_1,70_2,70_26,70_27,70_28,71_0,71_1,71_2,71_26,71_27,71_28,72_0,72_1,72_2,72_26,72_27,72_28,73_0,73_1,73_2,73_26,73_27,73_28,74_0,74_1,74_2,74_26,74_27,74_28,75_0,75_1,75_2,75_26,75_27,75_28,76_0,76_1,76_2,76_26,76_27,76_28,77_0,77_1,77_2,77_26,77_27,77_28,78_0,78_1,78_2,78_26,78_27,78_28,79_0,79_1,79_2,79_26,79_27,79_28,80_0,80_1,80_2,80_26,80_27,80_28,81_0,81_1,81_2,81_26,81_27,81_28,82_0,82_1,82_2,82_26,82_27,82_28,83_0,83_1,83_2,83_26,83_27,83_28,84_0,84_1,84_2,84_26,84_27,84_28,85_0,85_1,85_2,85_9,85_11,85_26,85_27,85_28,86_0,86_1,86_2,86_9,86_11,86_26,86_27,86_28,87_0,87_1,87_2,87_9,87_11,87_26,87_27,87_28,88_0,88_1,88_2,88_3,88_4,88_5,88_6,88_7,88_8,88_9,88_11,88_12,88_13,88_14,88_15,88_16,88_17,88_18,88_19,88_20,88_21,88_22,88_23,88_24,88_25,88_26,88_27,88_28,89_0,89_1,89_2,89_3,89_4,89_5,89_6,89_7,89_8,89_9,89_11,89_12,89_13,89_14,89_15,89_16,89_17,89_18,89_19,89_20,89_21,89_22,89_23,89_24,89_25,89_26,89_27,89_28,90_0,90_1,90_2,90_3,90_4,90_5,90_6,90_7,90_8,90_9,90_11,90_12,90_13,90_14,90_15,90_16,90_17,90_18,90_19,90_20,90_21,90_22,90_23,90_24,90_25,90_26,90_27,90_28,91_0,91_1,91_2,91_3,91_4,91_5,91_6,91_7,91_8,91_9,91_11,91_12,91_13,91_14,91_15,91_16,91_17,91_18,91_19,91_20,91_21,91_22,91_23,91_24,91_25,91_26,91_27,91_28,92_0,92_1,92_2,92_3,92_4,92_5,92_6,92_7,92_8,92_9,92_11,92_12,92_13,92_14,92_15,92_16,92_17,92_18,92_19,92_20,92_21,92_22,92_23,92_24,92_25,92_26,92_27,92_28"; scene_data["render_warp_0001_coordinates"] = "5_10,87_10"; scene_data["render_ocean_0004_coordinates"] = "7_9,7_10,7_11,10_21,10_22,10_23,17_6,17_7,17_11,17_15,20_22,22_13,22_14,22_15,23_18,23_19,24_5,25_9,25_10,25_11,25_12,30_18,30_22,35_18,35_19,35_23,36_8,36_9,39_12,39_13,39_14,43_12,43_13,43_14,43_15,43_16,43_17,43_18,43_19,47_5,47_6,47_23,49_10,49_15,49_16,49_17,49_18,49_19,49_20,53_23,54_10,63_10,63_11,63_12,64_7,64_19,64_20,70_19,73_10,73_11,73_12,73_13,73_14,73_15,73_16,73_17,73_18,73_19,73_20,73_21,73_22,79_17,79_23,81_12,82_21,83_17"; scene_data["render_desert1_coordinates"] = "7_12,7_13,9_12,9_13,10_12,10_13,11_10,11_13,26_11,26_12,26_13,27_11,28_13,29_11,29_12,37_8,37_9,39_8,39_9,50_15,50_16,50_17,50_18,50_19,50_20,51_15,51_20,52_18,53_20,54_18,54_20,55_20,56_18,56_20,57_20,58_18,58_19,58_20,59_15,59_16,59_17,64_10,64_11,64_12,65_12,65_13,65_19,65_20,66_19,66_20,67_12,67_13,68_10,68_11,68_12"; scene_data["render_ocean_0003_coordinates"] = "8_5,8_8,9_5,9_8,10_8,11_8,11_17,11_20,12_17,12_20,13_20,14_20,15_20,16_20,18_5,18_14,19_5,24_17,25_4,25_17,25_23,26_4,26_8,26_17,26_23,27_4,27_8,28_8,29_8,33_5,33_13,34_5,34_13,35_13,36_17,36_22,37_7,37_17,38_7,38_17,39_7,40_5,41_5,41_22,42_22,44_7,44_11,45_11,48_4,49_4,50_4,50_14,51_4,51_14,52_14,53_14,54_14,54_22,55_6,55_9,55_14,56_6,56_9,56_14,57_6,57_14,58_14,59_14,60_5,61_5,64_9,65_6,65_9,65_18,66_9,66_18,66_23,67_4,67_9,67_23,68_4,68_9,68_23,69_4,70_23,71_4,71_23,72_4,74_9,75_4,75_9,76_4,77_4,80_16,80_22,81_7,82_7,82_11,83_7,83_20,84_16"; scene_data["render_common_0001_coordinates"] = "8_9,8_10,8_11,8_12,8_13,9_11,10_11,11_9,11_11,11_12,11_21,11_22,11_23,12_21,12_22,12_23,13_21,13_22,13_23,14_21,14_22,14_23,15_21,15_22,15_23,16_21,16_22,16_23,18_6,18_7,18_15,19_6,19_7,24_18,24_19,25_5,25_18,25_19,26_5,26_9,26_10,26_18,26_19,27_5,27_10,27_12,27_13,28_10,28_11,28_12,29_9,29_10,36_18,36_19,36_23,37_18,37_19,38_8,38_9,38_18,38_19,44_12,44_13,44_14,44_15,44_16,44_17,44_18,44_19,45_12,45_13,45_14,45_15,45_16,45_17,45_18,45_19,48_5,48_6,49_5,49_6,50_5,50_6,51_5,51_6,51_16,51_17,51_18,51_19,52_19,52_20,52_21,53_18,53_19,54_19,54_23,55_10,55_18,55_19,56_10,56_19,57_18,57_19,59_18,59_19,59_20,65_7,65_11,66_11,66_12,66_13,67_11,74_10,74_11,74_12,74_13,74_14,74_15,74_16,74_17,74_18,74_19,74_20,74_21,74_22,75_10,75_11,75_12,75_13,75_14,75_15,75_16,75_17,75_18,75_19,75_20,75_21,75_22,80_17,80_23,82_12,83_21,84_17"; scene_data["render_building_0001_coordinates"] = "9_9,52_15"; scene_data["render_building_0005_coordinates"] = "9_10"; scene_data["render_building_0002_coordinates"] = "10_9,58_15"; scene_data["render_building_0004_coordinates"] = "10_10,53_17,55_17,57_17"; scene_data["render_ocean_0002_coordinates"] = "11_24,12_24,13_24,14_24,15_24,16_24,18_8,18_16,19_8,24_20,25_6,25_20,26_6,26_20,27_6,29_13,36_20,36_24,37_10,37_20,38_10,38_20,39_10,44_20,45_20,48_7,49_7,50_7,50_21,51_7,51_21,53_21,54_21,54_24,55_11,55_21,56_11,56_21,57_21,58_21,59_21,64_13,65_8,65_21,66_21,68_13,74_23,75_23,80_18,80_24,82_13,83_22,84_18"; scene_data["render_ocean_0005_coordinates"] = "12_9,12_10,12_11,12_12,12_13,17_21,17_22,17_23,18_11,19_15,20_6,20_7,21_22,27_18,27_19,28_5,30_9,30_10,30_11,30_12,31_18,31_22,37_23,39_18,39_19,40_8,40_9,40_12,40_13,40_14,46_12,46_13,46_14,46_15,46_16,46_17,46_18,46_19,48_23,50_10,52_5,52_6,55_23,57_10,60_15,60_16,60_17,60_18,60_19,60_20,66_7,67_19,67_20,69_10,69_11,69_12,71_19,76_10,76_11,76_12,76_13,76_14,76_15,76_16,76_17,76_18,76_19,76_20,76_21,76_22,81_17,81_23,83_12,84_21,85_17"; scene_data["render_common_0003_coordinates"] = "27_9,28_9,65_10,66_10,67_10"; scene_data["render_building_0009_coordinates"] = "52_16,52_17,53_16,54_16,54_17,55_16,56_16,56_17,57_16,58_16,58_17"; scene_data["render_building_0006_coordinates"] = "53_15,54_15,55_15,56_15,57_15"; scene_data["default_tile"] = render_ocean_0008; scene_data["default_tile_name"] = "render_ocean_0008"; SCENE_DATA = scene_data; end function enter_scene_0146() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 13; scene_data["name"] = "House with three warps"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=9, y=4, txt="Memaid: {{new_line}} Waves will crash. {{new_line}} While lightning will flash. {{new_line}} You, seeker. Please come forth. {{new_line}} Fulfill your destiny. {{new_line}} You have already obtained what lay in the north.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=11, y=4, txt="Mermaid: {{new_line}} I must warn you, young seeker. What you seek lies near here. If you continue forth, however, you may find yourself in tears. I tell you out of concern.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=13, y=4, txt="Mermaid: Hello, Mr. Handsome and Mrs. Beautiful.", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=52, after_map_y=16, after_player_x=53, after_player_y=18, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=9, y=9, scene_number=145, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=54, after_map_y=16, after_player_x=55, after_player_y=18, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=11, y=9, scene_number=145, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=56, after_map_y=16, after_player_x=57, after_player_y=18, after_screen_x=1, after_screen_y=2, after_player_dir="down", x=13, y=9, scene_number=145, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_7|6_4|6_5|6_6|6_7|6_8|6_9|7_4|7_5|7_8|8_5|8_8|9_4|9_5|9_8|9_9|9_10|9_11|9_12|10_5|10_7|10_8|11_4|11_5|11_8|11_9|11_10|11_11|11_12|12_5|12_7|12_8|13_4|13_5|13_8|13_9|13_10|13_11|13_12|14_5|14_7|14_8|15_5|15_6|15_7|15_8|15_9"; scene_data["render_fns_list"] = "render_indoors_asset_0009,render_indoors_asset_0008,render_common_0001,render_indoors_asset_0014,render_person_0013,render_warp_0001"; scene_data["render_indoors_asset_0008_coordinates"] = "5_3,5_6,5_9"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_7,6_4,6_5,6_6,6_7,6_8,6_9,7_4,7_5,7_8,8_5,8_8,9_4,9_5,9_8,9_10,9_11,9_12,10_5,10_7,10_8,11_4,11_5,11_8,11_10,11_11,11_12,12_5,12_7,12_8,13_4,13_5,13_8,13_10,13_11,13_12,14_5,14_7,14_8,15_5,15_6,15_7,15_8,15_9"; scene_data["render_indoors_asset_0014_coordinates"] = "7_3,7_6,7_9"; scene_data["render_person_0013_coordinates"] = "9_3,11_3,13_3"; scene_data["render_warp_0001_coordinates"] = "9_9,11_9,13_9"; scene_data["default_tile"] = render_indoors_asset_0009; scene_data["default_tile_name"] = "render_indoors_asset_0009"; SCENE_DATA = scene_data; end function enter_scene_0147() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 123; scene_data["tile_y_count"] = 23; scene_data["name"] = "Getting Closer"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = true; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 4; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {400}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"45,17","82,12","99,12"}; scene_data["boat_exit_coords"] = {"45,16","82,11","99,11"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_45,17"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_82,12"] = render_ocean_0008 end, function() SCENE_DATA["tile_at_99,12"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_45,17"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_45,17"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_82,12"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_82,12"] = render_ocean_0001; end end, function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_99,12"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_99,12"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=45, y=15, txt="You obtained 2 vials of boysenberry extract", required_dir="up", callback=function() GET_ITEM("bye_1", 2); PUT_STATE("b1", 147, 1, "first box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 147) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=82, y=9, txt="You obtained 200g", required_dir="up", callback=function() GET_MONEY(200); PUT_STATE("b2", 147, 1, "second box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b2", 147) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=83, y=9, txt="You obtained 170g", required_dir="up", callback=function() GET_MONEY(170); PUT_STATE("b3", 147, 1, "third box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b3", 147) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=99, y=10, txt="You obtained 20g", required_dir="up", callback=function() GET_MONEY(20); PUT_STATE("b4", 147, 1, "fourth box"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b4", 147) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=84, after_map_y=9, after_player_x=86, after_player_y=10, after_screen_x=2, after_screen_y=1, after_player_dir="left", x=5, y=3, scene_number=145, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=5, after_map_y=5, after_player_x=6, after_player_y=6, after_screen_x=1, after_screen_y=1, after_player_dir="right", x=117, y=3, scene_number=148, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_3|1_3|2_3|3_3|4_3|5_3|5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|5_14|5_15|5_16|5_17|5_18|5_19|6_3|6_4|6_7|6_8|6_9|6_10|6_11|6_12|6_13|6_14|6_15|6_16|6_17|6_18|6_19|7_3|7_5|7_6|7_8|7_9|7_10|7_13|7_14|7_15|7_18|7_19|8_3|8_5|8_6|8_8|8_9|8_11|8_12|8_14|8_16|8_17|8_19|9_3|9_5|9_6|9_8|9_9|9_11|9_12|9_14|9_16|9_17|9_19|10_3|10_5|10_6|10_8|10_9|10_10|10_13|10_14|10_16|10_17|10_19|11_3|11_4|11_7|11_8|11_9|11_10|11_11|11_12|11_13|11_14|11_16|11_17|11_19|12_3|12_4|12_5|12_6|12_7|12_8|12_9|12_10|12_11|12_12|12_13|12_14|12_16|12_17|12_19|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|13_12|13_13|13_14|13_16|13_17|13_19|14_3|14_5|14_6|14_7|14_9|14_13|14_14|14_16|14_17|14_19|15_15|15_18|15_19|16_14|16_15|16_16|16_17|16_18|16_19|17_14|17_15|18_13|18_14|19_11|19_12|19_13|19_14|20_9|20_10|20_11|21_7|21_8|21_9|22_5|22_6|22_7|23_4|23_5|23_6|24_4|24_5|25_4|26_4|27_4|27_5|28_4|28_5|28_6|29_6|29_7|29_8|30_8|30_9|30_10|31_10|31_11|31_12|32_12|32_13|33_13|33_14|34_14|34_15|35_15|35_16|36_16|36_17|37_17|37_18|38_18|38_19|39_19|40_19|41_19|42_3|42_4|42_5|42_6|42_7|42_8|42_9|42_10|42_11|42_12|42_16|42_17|42_18|42_19|43_3|43_7|43_8|43_9|43_10|43_11|43_17|43_19|44_3|44_4|44_8|44_9|44_10|44_11|44_14|44_15|44_17|44_19|45_4|45_9|45_10|45_11|45_15|45_16|45_17|45_18|45_19|46_3|46_4|46_10|46_11|46_14|46_17|46_19|47_3|47_11|47_17|47_19|48_3|48_4|48_11|48_12|48_16|48_17|48_18|48_19|49_4|49_11|49_12|49_13|49_14|49_15|49_16|49_17|49_18|49_19|50_3|50_4|50_11|50_12|50_14|50_16|50_17|51_3|51_11|51_19|52_3|52_4|52_5|52_6|52_7|52_8|52_9|52_17|52_18|52_19|53_3|53_4|53_8|53_9|53_16|53_17|53_18|53_19|54_3|54_5|54_6|54_7|54_9|54_10|54_11|54_13|54_14|54_15|54_16|54_18|54_19|55_5|55_6|55_7|55_9|55_10|55_12|55_14|55_15|55_17|55_19|56_3|56_5|56_6|56_7|56_9|56_10|56_12|56_14|56_15|56_17|56_19|57_3|57_5|57_6|57_7|57_9|57_10|57_11|57_13|57_14|57_15|57_17|57_19|58_3|58_4|58_8|58_9|58_10|58_11|58_12|58_13|58_14|58_15|58_16|58_18|58_19|59_3|59_4|59_5|59_6|59_7|59_8|59_9|59_15|59_16|59_17|59_18|59_19|60_3|60_4|60_6|60_7|60_8|60_14|60_16|60_17|61_7|61_8|61_10|61_11|61_12|61_13|61_14|61_16|61_17|62_3|62_4|62_6|62_7|62_8|62_14|62_16|62_17|63_3|63_4|63_5|63_6|63_7|63_8|63_9|63_15|63_16|63_17|64_9|64_10|64_11|64_12|64_13|64_14|64_15|64_16|64_17|65_16|65_17|66_15|66_16|67_14|67_15|68_13|68_14|69_12|69_13|70_11|70_12|71_10|71_11|72_6|72_9|72_10|73_3|73_4|73_5|73_6|73_7|73_8|73_9|74_3|75_3|76_3|76_4|76_5|76_6|76_7|76_8|76_9|76_10|76_11|76_12|76_13|76_14|76_15|76_16|76_17|76_18|76_19|77_3|77_4|77_5|77_6|77_7|77_9|77_10|77_11|77_12|77_13|77_14|77_15|77_16|77_17|77_19|78_3|78_4|78_5|78_6|78_7|78_9|78_10|78_11|78_12|78_13|78_14|78_15|78_16|78_17|78_19|79_3|79_4|79_5|79_6|79_7|79_8|79_9|79_10|79_11|79_12|79_13|79_14|79_16|79_17|79_19|80_3|80_4|80_5|80_6|80_7|80_11|80_12|80_13|80_15|80_17|80_18|80_19|81_3|81_4|81_6|81_8|81_9|81_10|81_12|81_13|81_15|81_17|81_18|81_19|82_3|82_5|82_9|82_10|82_11|82_12|82_13|82_15|82_17|82_18|82_19|83_3|83_4|83_6|83_9|83_10|83_12|83_13|83_14|83_16|83_17|83_18|83_19|84_3|84_4|84_5|84_6|84_8|84_9|84_10|84_12|84_13|84_14|84_15|84_16|84_17|84_18|84_19|85_3|85_4|85_5|85_6|85_7|85_12|85_13|85_14|85_15|85_16|85_18|85_19|86_3|86_4|86_5|86_7|86_8|86_9|86_10|86_11|86_12|86_13|86_14|86_15|86_17|86_19|87_3|87_4|87_6|87_8|87_9|87_11|87_12|87_14|87_15|87_16|87_18|87_19|88_3|88_4|88_5|88_7|88_8|88_9|88_10|88_11|88_12|88_13|88_14|88_15|88_16|88_17|88_18|88_19|89_3|89_4|89_5|89_6|89_7|89_8|89_9|89_10|89_11|89_12|89_13|89_14|89_15|89_16|89_17|89_18|89_19|90_3|90_17|90_18|90_19|91_4|91_5|91_6|91_7|91_8|91_9|91_10|91_11|91_12|91_13|91_14|91_15|91_16|91_18|91_19|92_4|92_5|92_6|92_7|92_8|92_9|92_10|92_11|92_12|92_13|92_14|92_15|92_16|92_18|92_19|93_4|93_5|93_6|93_7|93_8|93_9|93_10|93_11|93_12|93_13|93_14|93_15|93_16|93_18|93_19|94_3|94_17|94_18|94_19|95_3|95_4|95_5|95_6|95_7|95_8|95_10|95_11|95_13|95_14|95_15|95_16|95_17|95_18|95_19|96_3|96_4|96_6|96_7|96_8|96_10|96_11|96_13|96_14|96_15|96_16|96_17|96_18|96_19|97_3|97_4|97_5|97_6|97_7|97_11|97_12|97_13|97_14|97_16|97_17|97_18|97_19|98_3|98_4|98_5|98_6|98_12|98_13|98_15|98_17|98_18|98_19|99_3|99_5|99_6|99_10|99_11|99_12|99_13|99_14|99_16|99_17|99_19|100_3|100_5|100_6|100_12|100_13|100_14|100_15|100_16|100_17|100_19|101_3|101_5|101_6|101_7|101_11|101_13|101_14|101_15|101_16|101_17|101_18|101_19|102_3|102_4|102_5|102_6|102_7|102_8|102_9|102_10|102_12|102_14|102_15|102_16|102_17|102_18|102_19|103_3|103_4|103_6|103_7|103_8|103_9|103_10|103_11|103_13|103_14|103_15|103_16|103_17|103_18|104_3|104_4|104_6|104_7|104_9|104_10|104_11|104_12|104_13|104_14|104_15|104_16|104_17|105_3|105_4|105_5|105_6|105_8|105_10|105_11|105_12|105_14|105_15|105_16|106_3|106_4|106_5|106_6|106_7|106_9|106_10|106_11|106_12|106_14|106_15|107_3|107_4|107_5|107_6|107_7|107_8|107_9|107_10|107_11|107_12|107_13|107_14|108_3|108_5|108_6|108_7|108_8|108_9|108_10|108_11|108_12|108_13|109_3|109_4|109_5|109_6|109_7|109_8|109_9|109_10|110_3|110_4|110_5|110_6|110_7|110_8|111_3|111_4|111_5|112_3|112_4|113_3|113_4|114_3|115_3|116_3|117_3|118_3|119_3|120_3|121_3|122_3"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_common_0001,render_ocean_0002,render_ocean_0005,render_desert1,render_common_0003"; scene_data["render_ocean_0008_coordinates"] = "0_3,1_3,2_3,3_3,4_3,5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,5_14,5_15,5_16,5_17,5_18,5_19,6_3,6_4,6_7,6_8,6_9,6_10,6_11,6_12,6_13,6_14,6_15,6_16,6_17,6_18,6_19,7_3,7_8,7_9,7_10,7_13,7_14,7_15,7_18,7_19,8_3,8_8,8_9,8_14,8_19,9_3,9_8,9_9,9_14,9_19,10_3,10_8,10_9,10_10,10_13,10_14,10_19,11_3,11_4,11_7,11_8,11_9,11_10,11_11,11_12,11_13,11_14,11_19,12_3,12_4,12_5,12_6,12_7,12_8,12_9,12_10,12_11,12_12,12_13,12_14,12_19,13_3,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_11,13_12,13_13,13_14,13_19,14_3,14_5,14_6,14_7,14_9,14_13,14_14,14_19,15_15,15_18,15_19,16_14,16_15,16_16,16_17,16_18,16_19,17_14,17_15,18_13,18_14,19_11,19_12,19_13,19_14,20_9,20_10,20_11,21_7,21_8,21_9,22_5,22_6,22_7,23_4,23_5,23_6,24_4,24_5,25_4,26_4,27_4,27_5,28_4,28_5,28_6,29_6,29_7,29_8,30_8,30_9,30_10,31_10,31_11,31_12,32_12,32_13,33_13,33_14,34_14,34_15,35_15,35_16,36_16,36_17,37_17,37_18,38_18,38_19,39_19,40_19,41_19,42_3,42_4,42_5,42_6,42_7,42_8,42_9,42_10,42_11,42_12,42_16,42_17,42_18,42_19,43_3,43_7,43_8,43_9,43_10,43_11,43_17,43_19,44_3,44_4,44_8,44_9,44_10,44_11,44_17,44_19,45_4,45_9,45_10,45_11,45_17,45_18,45_19,46_3,46_4,46_10,46_11,46_17,46_19,47_3,47_11,47_17,47_19,48_3,48_4,48_11,48_12,48_16,48_17,48_18,48_19,49_4,49_11,49_12,49_13,49_14,49_15,49_16,49_17,49_18,49_19,50_3,50_4,50_11,50_12,50_14,50_16,50_17,51_3,51_11,51_19,52_3,52_4,52_5,52_6,52_7,52_8,52_9,52_17,52_18,52_19,53_3,53_4,53_8,53_9,53_16,53_17,53_18,53_19,54_3,54_9,54_10,54_11,54_13,54_14,54_15,54_16,54_18,54_19,55_9,55_10,55_14,55_15,55_19,56_3,56_9,56_10,56_14,56_15,56_19,57_3,57_9,57_10,57_11,57_13,57_14,57_15,57_19,58_3,58_4,58_8,58_9,58_10,58_11,58_12,58_13,58_14,58_15,58_16,58_18,58_19,59_3,59_4,59_5,59_6,59_7,59_8,59_9,59_15,59_16,59_17,59_18,59_19,60_3,60_4,60_6,60_7,60_8,60_16,60_17,61_7,61_8,61_16,61_17,62_3,62_4,62_6,62_7,62_8,62_16,62_17,63_3,63_4,63_5,63_6,63_7,63_8,63_9,63_15,63_16,63_17,64_9,64_10,64_11,64_12,64_13,64_14,64_15,64_16,64_17,65_16,65_17,66_15,66_16,67_14,67_15,68_13,68_14,69_12,69_13,70_11,70_12,71_10,71_11,72_6,72_9,72_10,73_3,73_4,73_5,73_6,73_7,73_8,73_9,74_3,75_3,76_3,76_4,76_5,76_6,76_7,76_8,76_9,76_10,76_11,76_12,76_13,76_14,76_15,76_16,76_17,76_18,76_19,77_3,77_4,77_5,77_6,77_7,77_9,77_10,77_11,77_12,77_13,77_14,77_15,77_16,77_17,77_19,78_3,78_4,78_5,78_6,78_7,78_9,78_10,78_11,78_12,78_13,78_14,78_15,78_16,78_17,78_19,79_3,79_4,79_5,79_6,79_7,79_8,79_9,79_10,79_11,79_12,79_13,79_14,79_16,79_17,79_19,80_3,80_4,80_5,80_6,80_7,80_11,80_12,80_13,80_17,80_18,80_19,81_3,81_4,81_6,81_12,81_13,81_17,81_18,81_19,82_3,82_12,82_13,82_17,82_18,82_19,83_3,83_4,83_6,83_12,83_13,83_14,83_16,83_17,83_18,83_19,84_3,84_4,84_5,84_6,84_12,84_13,84_14,84_15,84_16,84_17,84_18,84_19,85_3,85_4,85_5,85_6,85_7,85_12,85_13,85_14,85_15,85_16,85_18,85_19,86_3,86_4,86_5,86_7,86_8,86_9,86_10,86_11,86_12,86_13,86_14,86_15,86_19,87_3,87_4,87_8,87_9,87_11,87_12,87_14,87_15,87_16,87_18,87_19,88_3,88_4,88_5,88_7,88_8,88_9,88_10,88_11,88_12,88_13,88_14,88_15,88_16,88_17,88_18,88_19,89_3,89_4,89_5,89_6,89_7,89_8,89_9,89_10,89_11,89_12,89_13,89_14,89_15,89_16,89_17,89_18,89_19,90_3,90_17,90_18,90_19,91_18,91_19,92_18,92_19,93_18,93_19,94_3,94_17,94_18,94_19,95_3,95_4,95_5,95_6,95_7,95_8,95_10,95_11,95_13,95_14,95_15,95_16,95_17,95_18,95_19,96_3,96_4,96_6,96_7,96_8,96_10,96_11,96_13,96_14,96_15,96_16,96_17,96_18,96_19,97_3,97_4,97_5,97_6,97_7,97_11,97_12,97_13,97_14,97_16,97_17,97_18,97_19,98_3,98_4,98_5,98_6,98_12,98_13,98_17,98_18,98_19,99_3,99_5,99_6,99_12,99_13,99_14,99_16,99_17,99_19,100_3,100_5,100_6,100_12,100_13,100_14,100_15,100_16,100_17,100_19,101_3,101_5,101_6,101_7,101_11,101_13,101_14,101_15,101_16,101_17,101_18,101_19,102_3,102_4,102_5,102_6,102_7,102_8,102_9,102_10,102_14,102_15,102_16,102_17,102_18,102_19,103_3,103_4,103_6,103_7,103_8,103_9,103_10,103_11,103_13,103_14,103_15,103_16,103_17,103_18,104_3,104_4,104_6,104_7,104_9,104_10,104_11,104_12,104_13,104_14,104_15,104_16,104_17,105_3,105_4,105_5,105_6,105_10,105_11,105_12,105_14,105_15,105_16,106_3,106_4,106_5,106_6,106_7,106_9,106_10,106_11,106_12,106_14,106_15,107_3,107_4,107_5,107_6,107_7,107_8,107_9,107_10,107_11,107_12,107_13,107_14,108_3,108_5,108_6,108_7,108_8,108_9,108_10,108_11,108_12,108_13,109_3,109_4,109_5,109_6,109_7,109_8,109_9,109_10,110_3,110_4,110_5,110_6,110_7,110_8,111_3,111_4,111_5,112_3,112_4,113_3,113_4,114_3,115_3,116_3,118_3,119_3,120_3,121_3,122_3"; scene_data["render_warp_0001_coordinates"] = "5_3,117_3"; scene_data["render_ocean_0004_coordinates"] = "6_5,6_6,7_11,7_12,7_16,7_17,42_13,42_15,53_5,53_6,53_7,54_12,54_17,59_10,59_11,59_12,59_13,59_14,79_15,80_8,80_9,80_10,81_5,85_17,86_6,90_4,90_5,90_6,90_7,90_8,90_9,90_10,90_11,90_12,90_13,90_14,90_15,90_16,95_9,95_12,97_8,97_9,97_10,97_15,101_12,104_8,105_13"; scene_data["render_ocean_0003_coordinates"] = "7_4,8_4,8_10,8_15,9_4,9_10,9_15,10_4,10_15,11_15,12_15,13_15,14_15,43_12,44_12,45_12,46_12,47_12,54_4,55_4,55_11,55_16,56_4,56_11,56_16,57_4,57_16,60_9,61_9,62_9,77_8,77_18,78_8,78_18,79_18,80_14,81_7,81_14,82_4,82_7,82_14,83_7,84_7,86_16,87_5,87_10,87_13,91_3,92_3,93_3,96_5,98_7,98_14,99_4,99_7,99_18,100_4,100_7,100_18,101_4,102_11,103_5,104_5,105_7,108_4"; scene_data["render_common_0001_coordinates"] = "7_5,7_6,8_5,8_6,8_11,8_12,8_16,8_17,9_5,9_6,9_11,9_12,9_16,9_17,10_5,10_6,10_16,10_17,11_16,11_17,12_16,12_17,13_16,13_17,14_16,14_17,44_14,44_15,45_15,45_16,46_14,54_5,54_6,54_7,55_5,55_6,55_7,55_12,55_17,56_5,56_6,56_7,56_12,56_17,57_5,57_6,57_7,57_17,60_14,61_10,61_11,61_12,61_13,61_14,62_14,80_15,81_8,81_9,81_10,81_15,82_5,82_9,82_10,82_11,82_15,83_9,83_10,84_8,84_9,84_10,86_17,87_6,91_4,91_5,91_6,91_7,91_8,91_9,91_10,91_11,91_12,91_13,91_14,91_15,91_16,92_4,92_5,92_6,92_7,92_8,92_9,92_10,92_11,92_12,92_13,92_14,92_15,92_16,93_4,93_5,93_6,93_7,93_8,93_9,93_10,93_11,93_12,93_13,93_14,93_15,93_16,98_15,99_10,99_11,102_12,105_8"; scene_data["render_ocean_0002_coordinates"] = "7_7,8_7,8_13,8_18,9_7,9_13,9_18,10_7,10_18,11_18,12_18,13_18,14_18,43_16,47_16,54_8,55_8,55_13,55_18,56_8,56_13,56_18,57_8,57_18,60_15,61_15,62_15,80_16,81_16,82_6,82_16,86_18,87_7,91_17,92_17,93_17,98_16,102_13,105_9"; scene_data["render_ocean_0005_coordinates"] = "10_11,10_12,11_5,11_6,15_16,15_17,48_13,48_14,48_15,57_12,58_5,58_6,58_7,58_17,63_10,63_11,63_12,63_13,63_14,83_5,83_15,85_8,85_9,85_10,85_11,87_17,88_6,94_4,94_5,94_6,94_7,94_8,94_9,94_10,94_11,94_12,94_13,94_14,94_15,94_16,96_9,96_12,99_15,101_8,101_9,101_10,103_12,106_8,106_13"; scene_data["render_desert1_coordinates"] = "43_13,43_14,43_15,44_13,44_16,45_13,46_13,46_15,46_16,47_13,47_14,47_15,60_10,60_11,60_12,60_13,62_10,62_11,62_12,62_13,81_11,83_11,84_11,98_8,98_9,98_10,98_11,99_8,100_8,100_9,100_10,100_11"; scene_data["render_common_0003_coordinates"] = "45_14,82_8,83_8,99_9"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0148() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 15; scene_data["name"] = "Inn place before boss"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"10,10"}; scene_data["boat_exit_coords"] = {"10,9"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_10,10"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_10,10"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_10,10"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=10, y=8, txt="Mermaid: {{new_line}} I found some boysenberry extract. Please take some. {{new_line}} {{new_line}} (She hands over one vial of boysenberry extract)", required_dir="up", callback=function() GET_ITEM("bye_1", 1); PUT_STATE("m1", 148, 1, "..."); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("m1", 148) == -1;end, eligibility_failure_msg=function() return "Please enjoy, thank you so much"; end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=113, after_map_y=2, after_player_x=116, after_player_y=3, after_screen_x=3, after_screen_y=1, after_player_dir="left", x=5, y=6, scene_number=147, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=4, after_map_y=9, after_player_x=6, after_player_y=10, after_screen_x=2, after_screen_y=1, after_player_dir="right", x=15, y=7, scene_number=149, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true; end, on_warp_not_allowed_msg = "", after_map_x=12, after_map_y=10, after_player_x=14, after_player_y=13, after_screen_x=2, after_screen_y=3, after_player_dir="up", x=9, y=6, scene_number=1000, inn_item_keys={"hsx_1","fxt_1"}, inn_price=10, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_6|1_6|2_6|3_6|4_6|5_3|5_4|5_6|5_8|5_9|5_10|5_11|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|7_3|7_4|7_9|7_10|7_11|8_3|8_7|8_10|8_11|9_3|9_6|9_7|9_8|9_10|9_11|10_3|10_8|10_9|10_10|10_11|11_3|11_5|11_6|11_7|11_8|11_10|11_11|12_3|12_4|12_9|12_10|12_11|13_3|13_4|13_5|13_6|13_7|13_8|13_9|13_10|13_11|14_3|14_4|14_5|14_7|14_9|14_10|14_11|15_3|15_4|15_5|15_7|15_9|15_10|15_11|16_7|17_7|18_7|19_7|20_7"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_building_0001,render_building_0005,render_common_0001,render_desert1,render_ocean_0002,render_building_0002,render_building_0004,render_person_0013,render_ocean_0005"; scene_data["render_ocean_0008_coordinates"] = "0_6,1_6,2_6,3_6,4_6,5_3,5_4,5_8,5_9,5_10,5_11,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,7_3,7_4,7_9,7_10,7_11,8_3,8_10,8_11,9_3,9_10,9_11,10_3,10_10,10_11,11_3,11_10,11_11,12_3,12_4,12_9,12_10,12_11,13_3,13_4,13_5,13_6,13_7,13_8,13_9,13_10,13_11,14_3,14_4,14_5,14_7,14_9,14_10,14_11,15_3,15_4,15_5,15_9,15_10,15_11,16_7,17_7,18_7,19_7,20_7"; scene_data["render_warp_0001_coordinates"] = "5_6,15_7"; scene_data["render_ocean_0004_coordinates"] = "7_5,7_6,7_7,7_8"; scene_data["render_ocean_0003_coordinates"] = "8_4,9_4,10_4,11_4"; scene_data["render_building_0001_coordinates"] = "8_5"; scene_data["render_building_0005_coordinates"] = "8_6"; scene_data["render_common_0001_coordinates"] = "8_7,9_7,9_8,10_8,10_9,11_5,11_6,11_7,11_8"; scene_data["render_desert1_coordinates"] = "8_8,9_9,10_5,10_6,11_9"; scene_data["render_ocean_0002_coordinates"] = "8_9"; scene_data["render_building_0002_coordinates"] = "9_5"; scene_data["render_building_0004_coordinates"] = "9_6"; scene_data["render_person_0013_coordinates"] = "10_7"; scene_data["render_ocean_0005_coordinates"] = "12_5,12_6,12_7,12_8"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0149() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 21; scene_data["tile_y_count"] = 15; scene_data["name"] = "Pirate Hint Ocean Scene"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = true; scene_data["initial_dialog_copy"] = "Ren: {{new_line}} Uh-oh. Looks like we're not the only ones here. Let's proceed with caution. {{new_line}} {{new_line}} Princess Anaya: {{new_line}} Agreed!"; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {6}; scene_data["monster_apperance_frequency_percentage"] = 5; scene_data["monster_attack_inflation"] = {0}; scene_data["monster_defense_inflation"] = {0}; scene_data["monster_hp_inflation"] = {0}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {220}; scene_data["on_entrance"] = function() ALPHA_RED = 255;ALPHA_GREEN = 255;ALPHA_BLUE = 255;local x = nil;end scene_data["boat_scene"] = true scene_data["boat_entrance_coords"] = {"11,11"}; scene_data["boat_exit_coords"] = {"11,10"}; scene_data["boat_entrance_callbacks"] = {function() SCENE_DATA["tile_at_11,11"] = render_ocean_0008 end}; scene_data["boat_exit_callbacks"] = {function() if BOAT_DIR_IDX == 1 then SCENE_DATA["tile_at_11,11"] = render_ocean_0010; end; if BOAT_DIR_IDX == 0 then SCENE_DATA["tile_at_11,11"] = render_ocean_0001; end end, } scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = false; scene_data["dialogs"] = {}; scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=13, after_map_y=6, after_player_x=14, after_player_y=7, after_screen_x=1, after_screen_y=1, after_player_dir="left", x=5, y=10, scene_number=148, inn_item_keys=nil, inn_price=0, on_finished=function() end }, { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=14, after_map_y=78, after_player_x=15, after_player_y=80, after_screen_x=1, after_screen_y=2, after_player_dir="up", x=10, y=6, scene_number=150, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "0_10|1_10|2_10|3_10|4_10|5_3|5_4|5_5|5_6|5_7|5_8|5_10|5_11|6_3|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|7_3|7_4|7_10|7_11|8_3|8_11|9_3|9_7|9_8|9_9|9_10|10_3|10_6|10_7|10_11|11_3|11_7|11_8|11_9|11_10|11_11|12_3|12_11|13_3|13_4|13_11|14_3|14_4|14_5|14_6|14_7|14_8|14_9|14_10|14_11|15_3|15_4|15_5|15_6|15_7|15_8|15_9|15_10|15_11"; scene_data["render_fns_list"] = "render_ocean_0009,render_ocean_0008,render_warp_0001,render_ocean_0004,render_ocean_0003,render_desert1,render_common_0001,render_ocean_0001,render_cave_0001,render_ocean_0005"; scene_data["render_ocean_0008_coordinates"] = "0_10,1_10,2_10,3_10,4_10,5_3,5_4,5_5,5_6,5_7,5_8,5_11,6_3,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,7_3,7_4,7_10,7_11,8_3,8_11,9_3,10_3,10_11,11_3,11_11,12_3,12_11,13_3,13_4,13_11,14_3,14_4,14_5,14_6,14_7,14_8,14_9,14_10,14_11,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_11"; scene_data["render_warp_0001_coordinates"] = "5_10"; scene_data["render_ocean_0004_coordinates"] = "7_5,7_6,7_7,7_8,7_9"; scene_data["render_ocean_0003_coordinates"] = "8_4,9_4,10_4,11_4,12_4"; scene_data["render_desert1_coordinates"] = "8_5,8_6,8_7,8_8,8_9,8_10,9_5,9_6,10_5,10_8,10_9,10_10,11_5,11_6,12_5,12_6,12_7,12_8,12_9,12_10"; scene_data["render_common_0001_coordinates"] = "9_7,9_8,9_9,9_10,10_7,11_7,11_8,11_9,11_10"; scene_data["render_ocean_0001_coordinates"] = "9_11"; scene_data["render_cave_0001_coordinates"] = "10_6"; scene_data["render_ocean_0005_coordinates"] = "13_5,13_6,13_7,13_8,13_9,13_10"; scene_data["default_tile"] = render_ocean_0009; scene_data["default_tile_name"] = "render_ocean_0009"; SCENE_DATA = scene_data; end function enter_scene_0150() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 26; scene_data["tile_y_count"] = 85; scene_data["name"] = "Pirate Boss Room"; scene_data["map_x_offset"] = 10; scene_data["map_y_offset"] = 9; scene_data["player_x_offset"] = 6; scene_data["player_y_offset"] = 12; scene_data["screen_x_offset"] = 1; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {7}; scene_data["monster_apperance_frequency_percentage"] = 100; scene_data["monster_attack_inflation"] = {1}; scene_data["monster_defense_inflation"] = {-5}; scene_data["monster_hp_inflation"] = {15000}; scene_data["monster_exp_inflation"] = {0}; scene_data["monster_gold_inflation"] = {5000}; scene_data["on_entrance"] = function() ALPHA_RED = 65;ALPHA_GREEN = 65;ALPHA_BLUE = 65;ON_BATTLE_WON = function() SCENE_DATA.monsters_enabled = false; SCENE_DATA["movement_allowed_at_5,9"] = true; SCENE_DATA["tile_at_5,9"] = render_common_0001; SCENE_DATA["movement_allowed_at_5,8"] = true; SCENE_DATA["tile_at_5,8"] = render_common_0001; ON_BATTLE_WON = function() end; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=15, y=80, txt="Mage: {{new_line}} Young seeker, you have journeyed far. I feel the presence of a gem, it is in the nigh. Use caution, however. You are not the only one here. {{new_line}} {{new_line}} (The mage gently taps his staff three times upon your forehead, and extinguishes a candle flame sitting on his palm).", required_dir="up", callback=function() SCENE_DATA["tile_at_15,79"] = render_common_0001; SCENE_DATA["movement_allowed_at_15,79"] = true; table.remove(SCENE_DATA.dialogs, 1); platform.window:invalidate(); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return true;end, eligibility_failure_msg=function() return ""; end }, { x=5, y=10, txt="Princess Anaya {{new_line}} Look, it's the gem. Hooray, we found it. It's such a beautiful cut of emerald.", required_dir="up", callback=function() SCENE_DATA.monsters_enabled = true; PUT_STATE("g", 150, 1, "the gem"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("g", 150) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end }, { x=17, y=80, txt="You obtained 1 vial of Honeysuckle oil.", required_dir="up", callback=function() GET_ITEM("hsx_1", 1); PUT_STATE("b1", 150, 1, "the gem"); SET_MODE("scene");platform.window:invalidate(); end , eligibility = function() return GET_STATE("b1", 150) == -1;end, eligibility_failure_msg=function() return "You have already obtained this item"; end } } scene_data["warp_points"] = { { warp_allowed = function() return false; end, on_warp_not_allowed_msg = "To be continued", after_map_x=46, after_map_y=15, after_player_x=49, after_player_y=17, after_screen_x=3, after_screen_y=2, after_player_dir="down", x=20, y=4, scene_number=50, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_7|5_10|5_12|5_13|5_14|5_15|5_19|5_20|5_21|5_22|5_23|5_36|5_37|5_38|5_39|5_56|5_57|5_58|5_64|5_66|5_68|5_69|5_71|5_72|5_73|5_74|6_4|6_10|6_12|6_15|6_19|6_23|6_35|6_36|6_39|6_56|6_58|6_64|6_65|6_66|6_67|6_68|6_69|6_70|6_71|6_74|7_4|7_7|7_8|7_9|7_10|7_12|7_13|7_15|7_16|7_17|7_19|7_20|7_22|7_23|7_34|7_35|7_39|7_40|7_56|7_58|7_64|7_66|7_68|7_70|7_71|7_73|7_74|8_4|8_7|8_8|8_9|8_10|8_13|8_17|8_20|8_23|8_33|8_34|8_40|8_41|8_55|8_56|8_58|8_59|8_60|8_61|8_62|8_64|8_73|9_4|9_10|9_12|9_13|9_15|9_16|9_17|9_19|9_20|9_23|9_32|9_33|9_41|9_42|9_55|9_62|9_64|9_66|9_67|9_68|9_71|9_73|9_74|10_4|10_8|10_9|10_10|10_12|10_15|10_19|10_22|10_23|10_31|10_32|10_42|10_43|10_55|10_56|10_58|10_59|10_60|10_61|10_62|10_64|10_65|10_66|10_68|10_69|10_70|10_71|10_74|11_4|11_5|11_8|11_9|11_12|11_13|11_15|11_16|11_17|11_19|11_23|11_30|11_31|11_43|11_44|11_56|11_58|11_71|11_73|11_74|12_4|12_5|12_8|12_9|12_10|12_13|12_17|12_19|12_20|12_23|12_29|12_30|12_44|12_45|12_56|12_58|12_59|12_60|12_61|12_62|12_64|12_65|12_66|12_67|12_68|12_71|12_73|12_76|12_77|12_78|12_79|13_4|13_5|13_10|13_12|13_13|13_15|13_16|13_17|13_20|13_22|13_23|13_28|13_29|13_45|13_46|13_56|13_62|13_64|13_65|13_67|13_68|13_71|13_73|13_74|13_76|13_77|13_79|14_4|14_7|14_8|14_9|14_10|14_12|14_15|14_16|14_19|14_20|14_22|14_27|14_28|14_46|14_47|14_55|14_56|14_58|14_59|14_60|14_61|14_62|14_64|14_68|14_71|14_74|14_76|14_77|14_79|15_4|15_5|15_7|15_12|15_13|15_15|15_16|15_19|15_22|15_26|15_27|15_47|15_48|15_55|15_58|15_64|15_65|15_67|15_68|15_70|15_71|15_73|15_74|15_76|15_77|15_80|15_81|16_4|16_5|16_7|16_8|16_9|16_10|16_13|16_15|16_16|16_17|16_19|16_20|16_22|16_23|16_25|16_26|16_48|16_49|16_55|16_58|16_59|16_60|16_61|16_62|16_65|16_67|16_70|16_71|16_73|16_76|16_77|17_4|17_5|17_10|17_13|17_17|17_20|17_22|17_23|17_24|17_25|17_49|17_50|17_55|17_62|17_64|17_65|17_67|17_68|17_71|17_73|17_74|17_76|17_77|17_80|17_81|18_4|18_7|18_8|18_9|18_10|18_12|18_13|18_15|18_16|18_17|18_20|18_50|18_51|18_55|18_56|18_58|18_59|18_60|18_61|18_62|18_64|18_68|18_71|18_74|18_76|18_77|18_79|18_80|18_81|19_4|19_5|19_7|19_12|19_15|19_19|19_20|19_51|19_52|19_56|19_58|19_64|19_65|19_67|19_68|19_69|19_71|19_73|19_74|19_76|19_77|19_81|20_4|20_5|20_7|20_8|20_9|20_10|20_11|20_12|20_15|20_16|20_17|20_18|20_19|20_20|20_52|20_53|20_54|20_55|20_56|20_58|20_59|20_60|20_61|20_62|20_63|20_64|20_65|20_67|20_68|20_69|20_70|20_71|20_73|20_74|20_75|20_76|20_77|20_78|20_79|20_80|20_81"; scene_data["render_fns_list"] = "render_cave_0002,render_common_0001,render_common_0003,render_person_0004,render_cave_0003"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_7,5_10,5_12,5_13,5_14,5_15,5_19,5_20,5_21,5_22,5_23,5_36,5_37,5_38,5_39,5_56,5_57,5_58,5_64,5_66,5_68,5_69,5_71,5_72,5_73,5_74,6_4,6_10,6_12,6_15,6_19,6_23,6_35,6_36,6_39,6_56,6_58,6_64,6_65,6_66,6_67,6_68,6_69,6_70,6_71,6_74,7_4,7_7,7_8,7_9,7_10,7_12,7_13,7_15,7_16,7_17,7_19,7_20,7_22,7_23,7_34,7_35,7_39,7_40,7_56,7_58,7_64,7_66,7_68,7_70,7_71,7_73,7_74,8_4,8_7,8_8,8_9,8_10,8_13,8_17,8_20,8_23,8_33,8_34,8_40,8_41,8_55,8_56,8_58,8_59,8_60,8_61,8_62,8_64,8_73,9_4,9_10,9_12,9_13,9_15,9_16,9_17,9_19,9_20,9_23,9_32,9_33,9_41,9_42,9_55,9_62,9_64,9_66,9_67,9_68,9_71,9_73,9_74,10_4,10_8,10_9,10_10,10_12,10_15,10_19,10_22,10_23,10_31,10_32,10_42,10_43,10_55,10_56,10_58,10_59,10_60,10_61,10_62,10_64,10_65,10_66,10_68,10_69,10_70,10_71,10_74,11_4,11_5,11_8,11_9,11_12,11_13,11_15,11_16,11_17,11_19,11_23,11_30,11_31,11_43,11_44,11_56,11_58,11_71,11_73,11_74,12_4,12_5,12_8,12_9,12_10,12_13,12_17,12_19,12_20,12_23,12_29,12_30,12_44,12_45,12_56,12_58,12_59,12_60,12_61,12_62,12_64,12_65,12_66,12_67,12_68,12_71,12_73,12_76,12_77,12_78,12_79,13_4,13_5,13_10,13_12,13_13,13_15,13_16,13_17,13_20,13_22,13_23,13_28,13_29,13_45,13_46,13_56,13_62,13_64,13_65,13_67,13_68,13_71,13_73,13_74,13_76,13_77,13_79,14_4,14_7,14_8,14_9,14_10,14_12,14_15,14_16,14_19,14_20,14_22,14_27,14_28,14_46,14_47,14_55,14_56,14_58,14_59,14_60,14_61,14_62,14_64,14_68,14_71,14_74,14_76,14_77,14_79,15_4,15_5,15_7,15_12,15_13,15_15,15_16,15_19,15_22,15_26,15_27,15_47,15_48,15_55,15_58,15_64,15_65,15_67,15_68,15_70,15_71,15_73,15_74,15_76,15_77,15_80,15_81,16_4,16_5,16_7,16_8,16_9,16_10,16_13,16_15,16_16,16_17,16_19,16_20,16_22,16_23,16_25,16_26,16_48,16_49,16_55,16_58,16_59,16_60,16_61,16_62,16_65,16_67,16_70,16_71,16_73,16_76,16_77,17_4,17_5,17_10,17_13,17_17,17_20,17_22,17_23,17_24,17_25,17_49,17_50,17_55,17_62,17_64,17_65,17_67,17_68,17_71,17_73,17_74,17_76,17_77,17_80,17_81,18_4,18_7,18_8,18_9,18_10,18_12,18_13,18_15,18_16,18_17,18_20,18_50,18_51,18_55,18_56,18_58,18_59,18_60,18_61,18_62,18_64,18_68,18_71,18_74,18_76,18_77,18_79,18_80,18_81,19_4,19_5,19_7,19_12,19_15,19_19,19_20,19_51,19_52,19_56,19_58,19_64,19_65,19_67,19_68,19_69,19_71,19_73,19_74,19_76,19_77,19_81,20_5,20_7,20_8,20_9,20_10,20_11,20_12,20_15,20_16,20_17,20_18,20_19,20_20,20_52,20_53,20_54,20_55,20_56,20_58,20_59,20_60,20_61,20_62,20_63,20_64,20_65,20_67,20_68,20_69,20_70,20_71,20_73,20_74,20_75,20_76,20_77,20_78,20_79,20_80,20_81"; scene_data["render_common_0003_coordinates"] = "5_9,17_79"; scene_data["render_person_0004_coordinates"] = "15_79"; scene_data["render_cave_0003_coordinates"] = "20_4"; scene_data["default_tile"] = render_cave_0002; scene_data["default_tile_name"] = "render_cave_0002"; SCENE_DATA = scene_data; end function enter_scene_1000() SCENE_DATA = nil; collectgarbage(); local scene_data = {}; scene_data["tile_x_count"] = 22; scene_data["tile_y_count"] = 18; scene_data["name"] = "Inn"; scene_data["map_x_offset"] = 9; scene_data["map_y_offset"] = 10; scene_data["player_x_offset"] = 14; scene_data["player_y_offset"] = 13; scene_data["screen_x_offset"] = 2; scene_data["screen_y_offset"] = 3; scene_data["starting_dir"] = "up" scene_data["initial_dialog"] = false; scene_data["initial_dialog_copy"] = ""; scene_data["monsters_enabled"] = false; scene_data["monster_numbers"] = {}; scene_data["monster_apperance_frequency_percentage"] = 0; scene_data["monster_attack_inflation"] = nil; scene_data["monster_defense_inflation"] = nil; scene_data["monster_hp_inflation"] = nil; scene_data["monster_exp_inflation"] = nil; scene_data["monster_gold_inflation"] = nil; scene_data["on_entrance"] = function() ALPHA_RED = 250;ALPHA_GREEN = 250;ALPHA_BLUE = 250;platform.window:invalidate();SCENE_DATA["dialogs"][1].txt = "Would you like to rest here and save your progress? {{new_line}} {{new_line}} The price is " .. tostring(CURRENT_INN_PRICE) .. "g. {{new_line}} {{new_line}} There is also a merchant present. {{new_line}} {{new_line}} {{new_line}} Yes (Y) {{new_line}} No (N) {{new_line}} {{new_line}} You have: " .. tostring(PEEK_MONEY()) .. "g";PAID_INNKEEPER = false;if STARTED_FROM_CONTINUATION then PAID_INNKEEPER = true; STARTED_FROM_CONTINUATION = false; SCENE_DATA["tile_at_13,11"] = render_common_0001; SCENE_DATA["movement_allowed_at_13,11"] = true; end;local x = nil;end scene_data["boat_scene"] = false scene_data["boat_entrance_coords"] = {}; scene_data["boat_exit_coords"] = {}; scene_data["boat_entrance_callbacks"] = {}; scene_data["boat_exit_callbacks"] = {} scene_data["on_exit"] = function() IN_BOAT = false;PUT_STATE("boat", 0, 0, "outside the boat");local x = 5;end; scene_data["has_dialogs"] = true; scene_data["dialogs"] = { { x=14, y=11, txt="", required_dir="up", callback=function()SET_MODE("scene");platform.window:invalidate();end, eligibility = function() return PAID_INNKEEPER == false;end, eligibility_failure_msg=function() return "Please enjoy your stay, my warmest welcome to you.";end } } scene_data["warp_points"] = { { warp_allowed = function() return true;end, on_warp_not_allowed_msg = "", after_map_x=-1, after_map_y=-1, after_player_x=-1, after_player_y=-1, after_screen_x=-1, after_screen_y=-1, after_player_dir="down", x=14, y=14, scene_number=-1, inn_item_keys=nil, inn_price=0, on_finished=function() end }, } scene_data["movement_key"] = "allowed"; scene_data["allowed_coordinates"] = "5_4|5_5|5_6|5_7|5_8|5_9|5_10|5_11|5_12|5_13|6_4|6_5|6_6|6_7|6_8|6_9|6_10|6_11|6_12|6_13|7_7|7_10|7_11|8_4|8_5|8_6|8_7|8_10|8_11|9_4|9_5|9_6|9_7|9_10|9_11|10_7|10_10|10_11|11_4|11_5|11_6|11_7|11_10|11_11|12_4|12_5|12_6|12_7|12_10|12_11|13_7|14_4|14_5|14_7|14_9|14_11|14_12|14_13|14_14|15_11|15_12|15_13"; scene_data["render_fns_list"] = "render_common_0002,render_indoors_asset_0009,render_common_0001,render_indoors_asset_0014,render_indoors_asset_0008,render_person_0005,render_warp_0001"; scene_data["render_indoors_asset_0009_coordinates"] = "4_3,4_4,4_5,4_6,4_7,4_8,4_9,4_10,4_11,4_12,4_13,4_14,5_3,5_14,6_3,6_14,7_3,7_4,7_5,7_6,7_8,7_9,7_12,7_13,7_14,8_3,8_8,8_13,8_14,9_3,9_8,9_9,9_12,9_13,9_14,10_3,10_4,10_5,10_6,10_8,10_13,10_14,11_3,11_8,11_9,11_12,11_13,11_14,12_3,12_8,12_13,12_14,13_3,13_4,13_5,13_6,13_8,13_9,13_10,13_11,13_12,13_13,13_14,14_3,14_8,15_3,15_4,15_5,15_6,15_7,15_8,15_9,15_10,15_14,16_3,16_4,16_5,16_6,16_7,16_8,16_9,16_10,16_11,16_12,16_13,16_14"; scene_data["render_common_0001_coordinates"] = "5_4,5_5,5_6,5_7,5_8,5_9,5_10,5_11,5_12,5_13,6_4,6_5,6_6,6_7,6_8,6_9,6_10,6_11,6_12,6_13,7_7,7_10,7_11,8_4,8_5,8_6,8_7,8_10,8_11,9_4,9_5,9_6,9_7,9_10,9_11,10_7,10_10,10_11,11_4,11_5,11_6,11_7,11_10,11_11,12_4,12_5,12_6,12_7,12_10,12_11,13_7,14_4,14_5,14_7,14_9,14_11,14_12,14_13,15_11,15_12,15_13"; scene_data["render_indoors_asset_0014_coordinates"] = "8_9,10_9,12_9"; scene_data["render_indoors_asset_0008_coordinates"] = "8_12,10_12,12_12"; scene_data["render_person_0005_coordinates"] = "14_6,14_10"; scene_data["render_warp_0001_coordinates"] = "14_14"; scene_data["default_tile"] = render_common_0002; scene_data["default_tile_name"] = "render_common_0002"; SCENE_DATA = scene_data; end function render_follower_down(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {10,22,10,23,10,24,10,25,10,26,10,27,11,20,11,21,11,22,11,27,11,28,11,29,12,18,12,19,12,20,12,29,12,30,13,17,13,18,13,19,13,20,13,21,13,30,13,31,13,32,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,23,14,24,14,25,14,26,14,27,14,32,14,33,15,14,15,15,15,18,15,19,15,20,15,21,15,22,15,23,15,27,15,28,15,33,16,14,16,19,16,20,16,21,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,17,14,17,18,17,19,17,20,17,21,17,22,17,30,17,31,17,32,17,33,17,34,17,35,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,18,5,18,6,18,7,18,8,18,9,18,10,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,31,18,32,18,33,18,34,18,35,18,36,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,47,19,48,19,49,19,50,19,51,19,52,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,47,20,48,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,48,21,49,21,50,21,51,21,52,22,0,22,1,22,2,22,3,22,6,22,7,22,12,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,48,22,49,22,50,22,51,22,52,23,0,23,1,23,2,23,3,23,8,23,10,23,12,23,15,23,16,23,18,23,19,23,20,23,21,23,22,23,23,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,10,24,13,24,19,24,20,24,21,24,22,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,10,25,13,25,18,25,19,25,20,25,21,25,28,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,26,0,26,1,26,2,26,3,26,4,26,6,26,7,26,9,26,12,26,19,26,20,26,21,26,22,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,27,0,27,1,27,2,27,3,27,4,27,5,27,11,27,12,27,15,27,16,27,18,27,19,27,20,27,21,27,22,27,23,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,5,31,6,31,7,31,8,31,9,31,10,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,30,31,31,31,32,31,33,31,34,31,35,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,14,32,15,32,18,32,19,32,20,32,21,32,31,32,32,32,34,32,35,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,33,14,33,15,33,19,33,20,33,21,33,31,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,34,14,34,15,34,19,34,20,34,21,34,29,34,30,34,31,34,35,35,15,35,16,35,18,35,19,35,20,35,21,35,22,35,23,35,27,35,28,35,29,35,34,35,35,36,16,36,18,36,19,36,20,36,21,36,23,36,24,36,25,36,26,36,27,36,33,36,34,37,16,37,17,37,18,37,19,37,20,37,21,37,31,37,32,37,33,38,17,38,18,38,19,38,20,38,30,38,31,39,20,39,21,39,22,39,27,39,28,39,29,39,30,40,22,40,23,40,24,40,25,40,26,40,27}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_follower_left(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {16,47,16,48,16,49,16,50,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,42,18,43,18,44,18,45,18,48,18,49,18,50,18,51,18,52,19,22,19,23,19,24,19,40,19,41,19,42,19,48,19,49,19,50,19,51,19,52,20,4,20,5,20,6,20,9,20,10,20,21,20,22,20,23,20,24,20,25,20,34,20,35,20,36,20,37,20,39,20,40,20,49,20,50,20,51,20,52,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,11,21,12,21,13,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,33,21,34,21,37,21,38,21,39,21,49,21,50,21,51,21,52,22,2,22,3,22,4,22,5,22,13,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,32,22,33,22,37,22,38,22,49,22,50,22,51,22,52,23,1,23,2,23,3,23,4,23,5,23,7,23,8,23,11,23,13,23,14,23,18,23,19,23,20,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,36,23,37,23,38,23,49,23,50,23,51,23,52,24,1,24,2,24,3,24,4,24,5,24,11,24,14,24,17,24,18,24,22,24,23,24,24,24,25,24,29,24,30,24,31,24,35,24,36,24,37,24,38,24,39,24,48,24,49,24,50,24,51,24,52,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,10,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,22,25,23,25,24,25,25,25,28,25,29,25,34,25,35,25,36,25,37,25,38,25,39,25,47,25,48,25,49,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,32,26,33,26,34,26,36,26,37,26,38,26,39,26,42,26,46,26,47,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,22,27,23,27,24,27,31,27,32,27,36,27,37,27,38,27,39,27,43,27,45,27,46,27,48,27,49,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,23,28,24,28,29,28,30,28,31,28,35,28,36,28,37,28,38,28,39,28,43,28,44,28,45,28,49,28,50,28,51,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,23,29,24,29,28,29,29,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,43,29,44,29,50,29,51,29,52,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,43,30,50,30,51,30,52,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,42,31,50,31,51,31,52,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,17,32,18,32,19,32,20,32,22,32,23,32,24,32,29,32,30,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,50,32,51,32,52,33,18,33,23,33,24,33,25,33,26,33,27,33,28,33,29,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,49,33,50,33,51,33,52,34,36,34,37,34,38,34,39,34,40,34,41,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,35,37,35,38,35,39,35,40,35,49,35,50,35,51,35,52}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_follower_right(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {17,37,17,38,17,39,17,40,17,49,17,50,17,51,17,52,18,36,18,37,18,38,18,39,18,40,18,41,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,18,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,49,19,50,19,51,19,52,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,17,20,18,20,19,20,20,20,22,20,23,20,24,20,29,20,30,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,50,20,51,20,52,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,42,21,50,21,51,21,52,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,43,22,50,22,51,22,52,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,23,23,24,23,28,23,29,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,43,23,44,23,50,23,51,23,52,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,23,24,24,24,29,24,30,24,31,24,35,24,36,24,37,24,38,24,39,24,43,24,44,24,45,24,49,24,50,24,51,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,22,25,23,25,24,25,31,25,32,25,36,25,37,25,38,25,39,25,43,25,45,25,46,25,48,25,49,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,32,26,33,26,34,26,36,26,37,26,38,26,39,26,42,26,46,26,47,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,10,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,22,27,23,27,24,27,25,27,28,27,29,27,34,27,35,27,36,27,37,27,38,27,39,27,47,27,48,27,49,28,1,28,2,28,3,28,4,28,5,28,11,28,14,28,17,28,18,28,22,28,23,28,24,28,25,28,29,28,30,28,31,28,35,28,36,28,37,28,38,28,39,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,7,29,8,29,11,29,13,29,14,29,18,29,19,29,20,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,36,29,37,29,38,29,49,29,50,29,51,29,52,30,2,30,3,30,4,30,5,30,13,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,32,30,33,30,37,30,38,30,49,30,50,30,51,30,52,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,11,31,12,31,13,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,33,31,34,31,37,31,38,31,39,31,49,31,50,31,51,31,52,32,4,32,5,32,6,32,9,32,10,32,21,32,22,32,23,32,24,32,25,32,34,32,35,32,36,32,37,32,39,32,40,32,49,32,50,32,51,32,52,33,22,33,23,33,24,33,40,33,41,33,42,33,48,33,49,33,50,33,51,33,52,34,42,34,43,34,44,34,45,34,48,34,49,34,50,34,51,34,52,35,44,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,36,47,36,48,36,49,36,50}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_follower_up(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {11,24,11,25,11,26,11,27,11,28,12,20,12,21,12,22,12,23,12,24,12,27,12,28,12,29,12,30,12,31,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,31,13,32,14,13,14,14,14,15,14,16,14,17,14,32,14,33,14,36,14,37,14,38,14,39,14,40,15,12,15,13,15,14,15,15,15,16,15,17,15,24,15,25,15,26,15,27,15,28,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,16,12,16,13,16,15,16,16,16,17,16,18,16,21,16,22,16,23,16,24,16,28,16,29,16,30,16,33,16,34,16,35,16,36,16,43,16,44,16,45,16,46,17,11,17,12,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,11,18,16,18,17,18,18,18,19,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,48,18,49,18,50,18,51,18,52,19,11,19,16,19,17,19,18,19,19,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,48,19,49,19,50,19,51,19,52,20,5,20,6,20,7,20,10,20,11,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,49,20,50,20,51,20,52,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,17,21,18,21,19,21,20,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,49,21,50,21,51,21,52,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,16,22,17,22,18,22,19,22,20,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,49,22,50,22,51,22,52,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,48,23,49,23,50,23,51,23,52,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,46,24,47,24,48,24,49,24,50,24,51,24,52,25,0,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,24,25,25,25,26,25,27,25,28,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,26,0,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,29,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,27,0,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,22,27,23,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,2,31,3,31,4,31,5,31,6,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,45,31,46,31,47,31,48,31,49,31,50,32,11,32,16,32,17,32,18,32,19,32,20,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,43,32,44,32,45,33,11,33,16,33,17,33,18,33,19,33,28,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,42,33,43,34,11,34,12,34,16,34,17,34,18,34,19,34,26,34,27,34,28,34,32,34,33,34,34,34,35,34,36,34,41,34,42,35,11,35,12,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,24,35,25,35,26,35,33,35,34,35,35,35,36,35,37,35,38,35,39,35,40,35,41,36,12,36,13,36,15,36,16,36,17,36,18,36,22,36,23,36,24,36,31,36,32,36,33,36,34,36,35,36,36,37,13,37,14,37,15,37,16,37,17,37,29,37,30,37,31,38,14,38,15,38,16,38,17,38,18,38,27,38,28,38,29,39,18,39,19,39,20,39,25,39,26,39,27,40,20,40,21,40,22,40,23,40,24,40,25}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_player_down(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {10,22,10,23,10,24,10,25,10,26,10,27,10,28,10,29,10,33,10,34,11,9,11,10,11,11,11,12,11,13,11,14,11,21,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,11,35,12,6,12,7,12,8,12,9,12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,21,12,22,12,23,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,13,4,13,5,13,6,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,30,13,31,13,32,13,34,13,35,13,36,13,37,13,46,13,47,13,48,13,49,14,3,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,30,14,31,14,32,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,48,14,49,14,50,15,2,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,28,15,29,15,30,15,31,15,32,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,19,16,20,16,21,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,45,17,46,17,47,17,48,17,49,17,50,17,51,18,1,18,2,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,45,18,46,18,47,18,48,18,49,18,50,18,51,19,1,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,11,19,12,19,13,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,46,19,47,19,48,19,49,19,50,19,51,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,11,20,12,20,13,20,17,20,18,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,46,20,47,20,48,20,49,20,50,20,51,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,17,21,18,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,17,22,18,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,17,23,18,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,13,24,14,24,17,24,18,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,17,25,18,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,41,25,42,25,43,25,44,25,45,25,46,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,17,26,18,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,43,26,44,26,45,26,46,26,47,26,48,26,49,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,11,27,12,27,13,27,17,27,18,27,21,27,22,27,23,27,24,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,45,27,46,27,47,27,48,27,49,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,11,28,12,28,13,28,21,28,22,28,23,28,24,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,48,28,49,28,50,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,46,29,47,29,48,29,49,29,50,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,46,30,47,30,48,30,49,30,50,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,41,31,42,31,45,31,46,31,47,31,48,31,49,31,50,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,23,32,24,32,25,32,26,32,27,32,28,32,29,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,28,33,29,33,33,33,34,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,28,34,29,34,33,34,34,34,45,34,46,34,47,34,48,34,49,34,50,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,35,25,35,28,35,29,35,32,35,33,35,34,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,22,36,23,36,24,36,25,36,26,36,27,36,28,36,29,36,30,36,31,36,32,36,33,37,24,37,25,37,26,37,27,37,28,37,29,37,30,37,31,37,32}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_player_left(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {8,15,8,16,8,17,8,18,8,19,8,20,8,21,8,22,8,23,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,20,9,21,9,22,9,23,9,24,10,11,10,12,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,11,9,11,10,11,11,11,12,11,13,11,14,11,15,11,16,11,17,11,18,11,19,11,20,11,21,11,22,11,23,11,44,11,45,11,46,11,47,11,48,12,8,12,9,12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,43,12,44,12,45,12,46,12,47,12,48,12,49,13,6,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,42,13,43,13,44,13,45,13,46,13,47,13,48,13,49,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,31,14,32,14,33,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,48,14,49,14,50,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,29,15,30,15,31,15,32,15,33,15,34,15,41,15,42,15,43,15,44,15,45,15,46,15,47,15,48,15,49,15,50,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,25,17,26,17,27,17,28,17,29,17,30,17,33,17,34,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,18,1,18,2,18,3,18,4,18,5,18,6,18,7,18,9,18,10,18,17,18,18,18,19,18,20,18,23,18,24,18,25,18,26,18,27,18,28,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,42,18,43,18,44,18,45,18,46,18,47,18,48,18,49,19,1,19,2,19,3,19,4,19,5,19,12,19,13,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,43,19,44,19,45,19,46,19,47,19,48,19,49,20,0,20,1,20,2,20,3,20,4,20,5,20,12,20,13,20,16,20,17,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,43,20,44,20,45,20,46,20,47,20,48,21,0,21,1,21,2,21,3,21,4,21,5,21,6,21,16,21,17,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,42,21,43,21,44,21,45,22,0,22,1,22,2,22,3,22,4,22,5,22,6,22,9,22,10,22,11,22,16,22,17,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,41,22,42,22,43,22,44,23,0,23,1,23,2,23,3,23,4,23,5,23,6,23,9,23,10,23,11,23,16,23,17,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,40,23,41,23,42,23,43,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,16,24,17,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,40,24,41,24,42,24,43,25,0,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,16,25,17,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,40,25,41,25,42,25,43,25,44,26,0,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,34,26,35,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,27,0,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,34,27,35,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,28,0,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,46,28,47,28,48,28,49,28,50,28,51,28,52,29,0,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,0,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,18,30,19,30,20,30,21,30,22,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,45,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,1,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,16,31,17,31,18,31,19,31,20,31,21,31,22,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,37,31,38,31,39,31,40,31,41,31,42,31,44,31,45,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,1,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,23,32,24,32,25,32,26,32,27,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,33,1,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,23,33,24,33,25,33,26,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,34,2,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,24,34,25,34,43,34,44,34,45,34,46,34,47,34,48,35,2,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,36,4,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,37,5,37,6,37,7,37,8,37,9,37,10,37,11,37,12,37,13,37,14,37,15,37,16,37,17,37,18}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_player_right(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {8,5,8,6,8,7,8,8,8,9,8,10,8,11,8,12,8,13,8,14,8,15,8,16,8,17,8,18,9,4,9,5,9,6,9,7,9,8,9,9,9,10,9,11,9,12,9,13,9,14,9,15,9,16,9,17,9,18,9,19,9,20,10,2,10,3,10,4,10,5,10,6,10,7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10,17,10,18,10,19,10,20,10,21,10,22,11,2,11,3,11,4,11,5,11,6,11,7,11,8,11,9,11,10,11,11,11,12,11,13,11,14,11,15,11,16,11,17,11,18,11,19,11,20,11,21,11,22,11,23,11,24,11,25,11,43,11,44,11,45,11,46,11,47,11,48,12,1,12,2,12,3,12,4,12,5,12,6,12,7,12,8,12,9,12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,12,50,13,1,13,2,13,3,13,4,13,5,13,6,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,13,48,13,49,13,50,13,51,14,1,14,2,14,3,14,4,14,5,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,37,14,38,14,39,14,40,14,41,14,42,14,44,14,45,14,46,14,47,14,48,14,49,14,50,14,51,14,52,15,0,15,1,15,2,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,45,15,46,15,47,15,48,15,49,15,50,15,51,15,52,16,0,16,1,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,45,16,46,16,47,16,48,16,49,16,50,16,51,16,52,17,0,17,1,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,46,17,47,17,48,17,49,17,50,17,51,17,52,18,0,18,1,18,2,18,3,18,4,18,5,18,6,18,7,18,8,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,34,18,35,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,18,52,19,0,19,1,19,2,19,3,19,4,19,5,19,6,19,7,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,34,19,35,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,20,0,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,16,20,17,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,40,20,41,20,42,20,43,20,44,21,0,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,16,21,17,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,40,21,41,21,42,21,43,22,0,22,1,22,2,22,3,22,4,22,5,22,6,22,9,22,10,22,11,22,16,22,17,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,40,22,41,22,42,22,43,23,0,23,1,23,2,23,3,23,4,23,5,23,6,23,9,23,10,23,11,23,16,23,17,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,41,23,42,23,43,23,44,24,0,24,1,24,2,24,3,24,4,24,5,24,6,24,16,24,17,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,42,24,43,24,44,24,45,25,0,25,1,25,2,25,3,25,4,25,5,25,12,25,13,25,16,25,17,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,43,25,44,25,45,25,46,25,47,25,48,26,1,26,2,26,3,26,4,26,5,26,12,26,13,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,43,26,44,26,45,26,46,26,47,26,48,26,49,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,9,27,10,27,17,27,18,27,19,27,20,27,23,27,24,27,25,27,26,27,27,27,28,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,25,28,26,28,27,28,28,28,29,28,30,28,33,28,34,28,36,28,37,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,29,30,30,30,31,30,32,30,33,30,34,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,31,31,32,31,33,31,41,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,50,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,43,33,44,33,45,33,46,33,47,33,48,33,49,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,20,34,21,34,22,34,23,34,44,34,45,34,46,34,47,34,48,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,18,35,19,35,20,35,21,35,22,35,23,35,24,36,12,36,13,36,14,36,15,36,16,36,17,36,18,36,19,36,20,36,21,36,22,36,23,36,24,37,15,37,16,37,17,37,18,37,19,37,20,37,21,37,22,37,23}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_player_up(starting_x, starting_y) GFX:setColorRGB(0, 0, 0); local coords = {9,31,9,32,10,24,10,25,10,26,10,27,10,28,10,29,10,30,10,31,10,32,11,22,11,23,11,24,11,25,11,26,11,27,11,28,11,29,11,30,11,31,11,32,11,33,11,34,12,21,12,22,12,23,12,24,12,25,12,35,13,20,13,21,13,22,13,23,13,35,13,36,13,46,13,47,13,48,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,19,14,20,14,21,14,30,14,31,14,35,14,36,14,45,14,46,14,47,14,48,14,49,15,3,15,4,15,5,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,30,15,31,15,34,15,35,15,36,15,45,15,46,15,47,15,48,15,49,15,50,16,1,16,2,16,3,16,4,16,5,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,27,16,28,16,29,16,30,16,31,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,43,16,44,16,45,16,46,16,47,16,48,16,49,16,50,17,1,17,2,17,3,17,4,17,5,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,42,17,43,17,44,17,45,17,46,17,47,17,48,17,49,17,50,17,51,18,1,18,2,18,3,18,4,18,5,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,44,18,45,18,46,18,47,18,48,18,49,18,50,18,51,19,1,19,2,19,3,19,4,19,5,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,45,19,46,19,47,19,48,19,49,19,50,19,51,20,1,20,2,20,3,20,4,20,5,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,45,20,46,20,47,20,48,20,49,20,50,20,51,21,1,21,2,21,3,21,4,21,5,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,51,22,1,22,2,22,3,22,4,22,5,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,43,22,44,22,45,22,46,22,47,22,48,22,49,22,50,22,51,23,1,23,2,23,3,23,4,23,5,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,42,23,43,23,44,23,45,23,46,23,47,23,48,23,49,23,50,24,1,24,2,24,3,24,4,24,5,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,42,24,43,25,1,25,2,25,3,25,4,25,5,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,42,25,43,26,1,26,2,26,3,26,4,26,5,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,20,26,21,26,22,26,23,26,24,26,25,26,26,26,27,26,28,26,29,26,30,26,31,26,32,26,33,26,34,26,35,26,36,26,37,26,38,26,39,26,42,26,43,26,44,27,1,27,2,27,3,27,4,27,5,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,20,27,21,27,22,27,23,27,24,27,25,27,26,27,27,27,28,27,29,27,30,27,31,27,32,27,33,27,34,27,35,27,36,27,37,27,38,27,39,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,28,1,28,2,28,3,28,4,28,5,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,20,28,21,28,22,28,23,28,24,28,25,28,26,28,27,28,28,28,29,28,30,28,31,28,32,28,33,28,34,28,35,28,36,28,37,28,38,28,39,28,40,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,29,1,29,2,29,3,29,4,29,5,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,18,29,19,29,20,29,21,29,22,29,23,29,24,29,25,29,26,29,27,29,28,29,29,29,30,29,31,29,32,29,33,29,34,29,35,29,36,29,37,29,38,29,39,29,40,29,46,29,47,29,48,29,49,29,50,29,51,29,52,30,1,30,2,30,3,30,4,30,5,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,17,30,18,30,19,30,20,30,23,30,24,30,25,30,26,30,27,30,28,30,29,30,30,30,31,30,32,30,33,30,34,30,35,30,36,30,37,30,38,30,39,30,40,30,46,30,47,30,48,30,49,30,50,30,51,30,52,31,1,31,2,31,3,31,4,31,5,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,16,31,17,31,18,31,19,31,20,31,23,31,24,31,25,31,26,31,27,31,28,31,29,31,30,31,31,31,32,31,33,31,34,31,35,31,36,31,37,31,38,31,39,31,40,31,46,31,47,31,48,31,49,31,50,31,51,31,52,32,1,32,2,32,3,32,4,32,5,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,15,32,16,32,17,32,18,32,19,32,20,32,21,32,22,32,27,32,28,32,29,32,30,32,31,32,32,32,33,32,34,32,35,32,36,32,37,32,38,32,39,32,40,32,41,32,42,32,43,32,44,32,45,32,46,32,47,32,48,32,49,32,50,32,51,32,52,33,2,33,3,33,4,33,5,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,14,33,15,33,16,33,17,33,18,33,19,33,20,33,21,33,22,33,29,33,30,33,31,33,32,33,33,33,34,33,35,33,36,33,37,33,38,33,39,33,40,33,41,33,42,33,43,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,34,3,34,4,34,5,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,14,34,15,34,16,34,17,34,18,34,19,34,21,34,22,34,35,34,36,34,37,34,48,34,49,34,50,34,51,34,52,35,3,35,4,35,5,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,13,35,14,35,15,35,16,35,17,35,21,35,22,35,23,35,35,35,36,36,5,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,13,36,14,36,21,36,22,36,23,36,24,36,30,36,31,36,32,36,35,36,36,37,8,37,9,37,10,37,22,37,23,37,24,37,25,37,26,37,27,37,30,37,31,37,32,37,33,37,34,37,35,37,36,38,23,38,24,38,25,38,26,38,27,38,28,38,29,38,30,38,31,38,32,38,33,38,34,38,35,39,26,39,27,39,28,39,29,39,30,39,31}; local idx = 1; while coords[idx] ~= nil do x = coords[idx] y = coords[idx + 1] GFX:fillRect(starting_x + x, starting_y + y, 1, 1); idx = idx + 2; end coords = nil; end function render_battle_player_dual (inverted) if false then render_battle_player_dual(inverted); return; else local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 106, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {199,49,199,50,199,51,199,52,199,53,199,54,199,55,199,56,199,57,199,58,200,48,200,49,200,59,200,60,200,61,201,46,201,47,201,48,201,62,201,63,201,64,202,45,202,46,202,47,202,48,202,49,202,64,202,65,202,66,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,67,203,68,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,69,204,70,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,70,205,71,205,72,206,14,206,15,206,16,206,17,206,18,206,19,206,20,206,21,206,22,206,23,206,24,206,25,206,26,206,27,206,28,206,29,206,30,206,31,206,32,206,33,206,34,206,35,206,36,206,37,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,72,206,73,207,13,207,14,207,15,207,16,207,17,207,18,207,19,207,20,207,21,207,22,207,23,207,24,207,25,207,26,207,27,207,28,207,29,207,30,207,31,207,32,207,33,207,34,207,35,207,36,207,37,207,38,207,39,207,40,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,73,207,88,207,89,207,90,207,91,208,12,208,13,208,14,208,15,208,16,208,17,208,18,208,19,208,20,208,21,208,22,208,23,208,24,208,25,208,26,208,27,208,28,208,29,208,30,208,31,208,32,208,33,208,34,208,35,208,36,208,37,208,38,208,39,208,40,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,69,208,70,208,71,208,72,208,73,208,74,208,75,208,76,208,77,208,78,208,79,208,80,208,81,208,82,208,83,208,84,208,85,208,86,208,87,208,88,208,89,208,90,208,91,208,92,208,93,208,94,208,95,209,11,209,12,209,13,209,14,209,15,209,16,209,17,209,18,209,19,209,20,209,21,209,22,209,23,209,24,209,25,209,26,209,27,209,28,209,29,209,30,209,31,209,32,209,33,209,34,209,35,209,36,209,37,209,38,209,39,209,40,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,209,65,209,66,209,67,209,68,209,69,209,87,209,88,209,89,209,90,209,91,209,92,209,93,209,94,209,95,209,96,209,97,210,10,210,11,210,12,210,13,210,14,210,15,210,16,210,17,210,18,210,19,210,20,210,21,210,22,210,23,210,24,210,25,210,26,210,27,210,28,210,29,210,30,210,31,210,32,210,33,210,34,210,35,210,36,210,37,210,38,210,39,210,40,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,65,210,66,210,67,210,68,210,69,210,88,210,89,210,90,210,91,210,92,210,93,210,94,210,95,210,96,210,97,210,98,211,9,211,10,211,11,211,12,211,13,211,14,211,15,211,16,211,17,211,18,211,19,211,20,211,21,211,22,211,23,211,24,211,25,211,26,211,27,211,28,211,29,211,30,211,31,211,32,211,33,211,34,211,35,211,36,211,37,211,38,211,39,211,40,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,50,211,51,211,52,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,211,64,211,65,211,66,211,67,211,68,211,69,211,88,211,89,211,90,211,91,211,92,211,93,211,94,211,95,211,96,211,97,211,98,212,8,212,9,212,10,212,11,212,12,212,13,212,14,212,15,212,16,212,17,212,18,212,19,212,20,212,21,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,31,212,32,212,33,212,34,212,35,212,36,212,37,212,38,212,39,212,40,212,41,212,42,212,43,212,44,212,45,212,46,212,47,212,48,212,49,212,50,212,51,212,52,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,212,64,212,65,212,66,212,67,212,68,212,69,212,88,212,89,212,90,212,91,212,92,212,93,212,94,212,95,212,96,212,97,212,98,213,8,213,9,213,10,213,11,213,12,213,13,213,14,213,15,213,16,213,17,213,18,213,19,213,20,213,21,213,22,213,23,213,24,213,25,213,26,213,27,213,28,213,29,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,44,213,45,213,46,213,47,213,48,213,49,213,50,213,51,213,52,213,53,213,54,213,55,213,56,213,57,213,58,213,59,213,60,213,61,213,62,213,63,213,64,213,65,213,66,213,67,213,68,213,69,213,70,213,88,213,89,213,90,213,91,213,92,213,93,213,94,213,95,213,96,213,97,213,98,214,7,214,8,214,9,214,10,214,11,214,12,214,13,214,14,214,15,214,16,214,17,214,18,214,19,214,20,214,21,214,22,214,23,214,24,214,25,214,26,214,27,214,28,214,29,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,42,214,43,214,44,214,45,214,46,214,47,214,48,214,49,214,50,214,51,214,52,214,53,214,54,214,55,214,56,214,57,214,58,214,59,214,60,214,61,214,62,214,63,214,64,214,65,214,66,214,67,214,68,214,69,214,70,214,88,214,89,214,90,214,91,214,92,214,93,214,94,214,95,214,96,214,97,214,98,215,7,215,8,215,9,215,10,215,11,215,12,215,13,215,14,215,15,215,16,215,17,215,18,215,19,215,20,215,21,215,22,215,23,215,24,215,25,215,26,215,27,215,28,215,29,215,30,215,31,215,32,215,33,215,34,215,35,215,36,215,37,215,38,215,39,215,40,215,41,215,42,215,43,215,44,215,45,215,46,215,47,215,48,215,49,215,50,215,51,215,52,215,53,215,54,215,55,215,56,215,57,215,58,215,59,215,60,215,61,215,62,215,63,215,64,215,65,215,66,215,67,215,68,215,69,215,70,215,88,215,89,215,90,215,91,215,92,215,93,215,94,215,95,215,96,215,97,215,98,216,6,216,7,216,8,216,9,216,10,216,11,216,12,216,13,216,14,216,15,216,16,216,17,216,18,216,19,216,20,216,21,216,22,216,23,216,24,216,25,216,26,216,27,216,28,216,29,216,30,216,31,216,32,216,33,216,34,216,35,216,36,216,37,216,38,216,42,216,43,216,44,216,45,216,46,216,47,216,48,216,49,216,50,216,51,216,52,216,53,216,54,216,55,216,56,216,57,216,58,216,59,216,60,216,61,216,62,216,63,216,64,216,65,216,66,216,67,216,68,216,69,216,70,216,88,216,89,216,90,216,91,216,92,216,93,216,94,216,95,216,96,216,97,216,98,217,5,217,6,217,7,217,8,217,9,217,10,217,11,217,12,217,13,217,14,217,15,217,16,217,17,217,18,217,19,217,20,217,21,217,22,217,23,217,24,217,25,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,35,217,36,217,37,217,38,217,42,217,43,217,44,217,45,217,46,217,47,217,48,217,49,217,50,217,51,217,52,217,53,217,54,217,55,217,56,217,57,217,58,217,59,217,60,217,61,217,62,217,63,217,64,217,65,217,66,217,67,217,68,217,69,217,70,217,88,217,89,217,90,217,91,217,92,217,93,217,94,217,95,217,96,218,5,218,6,218,7,218,8,218,9,218,10,218,11,218,12,218,13,218,14,218,15,218,16,218,17,218,18,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,26,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,36,218,37,218,42,218,43,218,44,218,45,218,46,218,47,218,48,218,49,218,50,218,51,218,52,218,53,218,54,218,55,218,56,218,57,218,58,218,59,218,60,218,61,218,62,218,63,218,64,218,65,218,66,218,67,218,68,218,69,218,70,218,88,218,89,218,90,218,91,218,92,218,93,218,94,219,5,219,6,219,7,219,8,219,9,219,10,219,11,219,12,219,13,219,14,219,15,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,26,219,27,219,28,219,29,219,30,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,42,219,43,219,44,219,45,219,46,219,47,219,48,219,49,219,50,219,51,219,52,219,53,219,54,219,55,219,56,219,57,219,58,219,59,219,60,219,61,219,62,219,63,219,64,219,65,219,66,219,67,219,68,219,69,219,70,219,75,219,76,219,77,219,78,219,79,219,80,219,81,219,82,219,83,219,84,219,85,219,86,219,87,219,88,219,89,220,5,220,6,220,7,220,8,220,9,220,10,220,11,220,12,220,13,220,14,220,15,220,16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,25,220,26,220,27,220,28,220,29,220,30,220,31,220,32,220,33,220,34,220,35,220,36,220,37,220,42,220,43,220,44,220,45,220,46,220,47,220,48,220,49,220,50,220,51,220,52,220,53,220,54,220,55,220,56,220,57,220,58,220,59,220,60,220,61,220,62,220,63,220,64,220,65,220,66,220,67,220,68,220,69,220,70,220,75,221,5,221,6,221,7,221,8,221,9,221,10,221,11,221,12,221,13,221,14,221,15,221,16,221,17,221,18,221,19,221,20,221,21,221,22,221,23,221,24,221,25,221,26,221,27,221,28,221,29,221,30,221,31,221,32,221,33,221,34,221,35,221,36,221,37,221,42,221,43,221,44,221,45,221,46,221,47,221,48,221,49,221,50,221,51,221,52,221,53,221,54,221,55,221,56,221,57,221,58,221,59,221,60,221,61,221,62,221,63,221,64,221,65,221,66,221,67,221,68,221,69,221,70,221,75,222,5,222,6,222,7,222,8,222,9,222,10,222,11,222,12,222,13,222,14,222,15,222,16,222,17,222,18,222,19,222,20,222,21,222,22,222,23,222,24,222,25,222,26,222,27,222,28,222,29,222,30,222,31,222,32,222,33,222,34,222,35,222,36,222,37,222,42,222,43,222,44,222,45,222,46,222,47,222,48,222,49,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,58,222,59,222,60,222,61,222,62,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,75,223,5,223,6,223,7,223,8,223,9,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,18,223,19,223,20,223,21,223,22,223,23,223,24,223,25,223,26,223,27,223,28,223,29,223,30,223,31,223,32,223,33,223,34,223,35,223,36,223,37,223,42,223,43,223,44,223,45,223,46,223,47,223,48,223,49,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,67,223,68,223,69,223,70,223,75,224,5,224,6,224,7,224,8,224,9,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,18,224,19,224,20,224,21,224,22,224,23,224,24,224,25,224,26,224,27,224,28,224,29,224,30,224,31,224,32,224,33,224,34,224,35,224,36,224,37,224,42,224,43,224,44,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,69,224,70,224,75,225,6,225,7,225,8,225,9,225,10,225,11,225,12,225,13,225,14,225,15,225,16,225,17,225,18,225,19,225,20,225,21,225,22,225,23,225,24,225,25,225,26,225,27,225,28,225,29,225,30,225,31,225,32,225,33,225,34,225,35,225,36,225,37,225,42,225,43,225,44,225,45,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,69,225,70,225,75,225,76,225,77,226,6,226,7,226,8,226,9,226,10,226,11,226,12,226,13,226,14,226,15,226,16,226,17,226,18,226,19,226,20,226,21,226,22,226,23,226,24,226,25,226,26,226,27,226,28,226,29,226,30,226,31,226,32,226,33,226,34,226,35,226,36,226,37,226,38,226,42,226,43,226,44,226,45,226,46,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,68,226,69,226,70,226,78,226,79,226,80,226,81,226,91,226,92,226,93,226,94,226,95,226,96,227,7,227,8,227,9,227,10,227,11,227,12,227,13,227,14,227,15,227,16,227,17,227,18,227,19,227,20,227,21,227,22,227,23,227,24,227,25,227,26,227,27,227,28,227,29,227,30,227,31,227,32,227,33,227,34,227,35,227,36,227,37,227,38,227,39,227,42,227,43,227,44,227,45,227,46,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,67,227,68,227,69,227,70,227,81,227,82,227,83,227,84,227,85,227,86,227,87,227,88,227,89,227,90,227,91,227,92,227,93,227,94,227,95,227,96,227,97,228,7,228,8,228,9,228,10,228,11,228,12,228,13,228,14,228,15,228,16,228,17,228,18,228,19,228,20,228,21,228,22,228,23,228,24,228,25,228,26,228,27,228,28,228,29,228,30,228,31,228,32,228,33,228,34,228,35,228,36,228,37,228,38,228,39,228,40,228,41,228,42,228,43,228,44,228,45,228,46,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,64,228,65,228,66,228,67,228,68,228,69,228,90,228,91,228,92,228,93,228,94,228,95,228,96,228,97,228,98,229,7,229,8,229,9,229,10,229,11,229,12,229,13,229,14,229,15,229,16,229,17,229,18,229,19,229,20,229,21,229,22,229,23,229,24,229,25,229,26,229,27,229,28,229,29,229,30,229,31,229,32,229,33,229,34,229,35,229,36,229,37,229,38,229,39,229,40,229,41,229,42,229,43,229,44,229,45,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,67,229,68,229,69,229,90,229,91,229,92,229,93,229,94,229,95,229,96,229,97,229,98,230,8,230,9,230,10,230,11,230,12,230,13,230,14,230,15,230,16,230,17,230,18,230,19,230,20,230,21,230,22,230,23,230,24,230,25,230,26,230,27,230,28,230,29,230,30,230,31,230,32,230,33,230,34,230,35,230,36,230,37,230,38,230,39,230,40,230,41,230,42,230,43,230,44,230,45,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,67,230,68,230,69,230,90,230,91,230,92,230,93,230,94,230,95,230,96,230,97,230,98,231,8,231,9,231,10,231,11,231,12,231,13,231,14,231,15,231,16,231,17,231,18,231,19,231,20,231,21,231,22,231,23,231,24,231,25,231,26,231,27,231,28,231,29,231,30,231,31,231,32,231,33,231,34,231,35,231,36,231,37,231,38,231,39,231,40,231,41,231,42,231,43,231,44,231,45,231,46,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,67,231,68,231,69,231,90,231,91,231,92,231,93,231,94,231,95,231,96,231,97,231,98,232,9,232,10,232,11,232,12,232,13,232,14,232,15,232,16,232,17,232,18,232,19,232,20,232,21,232,22,232,23,232,24,232,25,232,26,232,27,232,28,232,29,232,30,232,31,232,32,232,33,232,34,232,35,232,36,232,37,232,38,232,39,232,40,232,41,232,42,232,43,232,44,232,45,232,46,232,47,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,67,232,68,232,69,232,90,232,91,232,92,232,93,232,94,232,95,232,96,232,97,232,98,233,10,233,11,233,12,233,13,233,14,233,15,233,16,233,17,233,18,233,19,233,20,233,21,233,22,233,23,233,24,233,25,233,26,233,27,233,28,233,29,233,30,233,31,233,32,233,33,233,34,233,35,233,36,233,37,233,38,233,39,233,40,233,41,233,42,233,43,233,44,233,45,233,46,233,47,233,48,233,49,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,64,233,68,233,69,233,70,233,71,233,72,233,73,233,74,233,75,233,76,233,77,233,78,233,79,233,80,233,81,233,82,233,83,233,91,233,92,233,93,233,94,233,95,233,96,233,97,233,98,234,10,234,11,234,12,234,13,234,14,234,15,234,16,234,17,234,18,234,19,234,20,234,21,234,22,234,23,234,24,234,25,234,26,234,27,234,28,234,29,234,30,234,31,234,32,234,33,234,34,234,35,234,36,234,37,234,38,234,39,234,42,234,43,234,44,234,45,234,46,234,47,234,48,234,49,234,50,234,51,234,52,234,53,234,54,234,66,234,67,234,68,234,83,234,84,234,85,234,91,234,92,234,93,234,94,234,95,234,96,234,97,234,98,235,12,235,13,235,14,235,15,235,16,235,17,235,18,235,19,235,20,235,21,235,22,235,23,235,24,235,25,235,26,235,27,235,28,235,29,235,30,235,31,235,32,235,33,235,34,235,35,235,36,235,43,235,44,235,45,235,46,235,47,235,48,235,49,235,50,235,51,235,52,235,65,235,66,235,85,235,86,235,87,235,91,235,92,235,93,235,94,235,95,235,96,235,97,236,15,236,16,236,17,236,18,236,19,236,20,236,21,236,22,236,23,236,24,236,25,236,26,236,27,236,28,236,29,236,30,236,31,236,32,236,44,236,45,236,46,236,47,236,48,236,49,236,50,236,51,236,63,236,64,236,88,236,89,236,90,236,91,236,92,236,93,236,94,237,20,237,21,237,22,237,23,237,24,237,25,237,26,237,27,237,28,237,29,237,45,237,46,237,47,237,48,237,49,237,50,237,61,237,62,237,63,238,46,238,47,238,48,238,49,238,60,238,61,239,47,239,48,239,58,239,59,239,60,240,48,240,49,240,50,240,51,240,56,240,57,240,58,241,52,241,53,241,54,241,55,241,56,246,44,246,45,246,46,246,47,246,48,246,49,246,50,246,51,246,52,246,53,246,54,246,55,246,56,246,57,246,58,246,59,246,60,246,61,246,62,246,63,246,64,246,65,246,66,246,67,246,68,246,69,246,70,247,40,247,41,247,42,247,43,247,44,247,62,247,63,247,64,247,65,247,66,247,67,247,68,247,69,247,70,247,71,247,72,248,33,248,34,248,35,248,36,248,37,248,38,248,39,248,40,248,61,248,62,248,63,248,64,248,65,248,66,248,67,248,68,248,69,248,70,248,71,248,72,248,73,248,74,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,60,249,61,249,62,249,63,249,64,249,65,249,66,249,67,249,68,249,69,249,70,249,71,249,72,249,73,249,74,249,75,249,76,249,77,249,78,250,27,250,28,250,29,250,30,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,60,250,61,250,62,250,63,250,64,250,65,250,66,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,74,250,75,250,76,250,78,250,79,250,80,251,26,251,27,251,28,251,29,251,30,251,31,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,59,251,60,251,61,251,62,251,63,251,64,251,65,251,66,251,67,251,68,251,69,251,70,251,71,251,72,251,73,251,74,251,75,251,76,251,80,251,81,251,82,251,83,252,25,252,26,252,27,252,28,252,29,252,30,252,31,252,32,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,51,252,52,252,53,252,54,252,55,252,56,252,57,252,58,252,59,252,60,252,61,252,62,252,63,252,64,252,65,252,66,252,67,252,68,252,69,252,70,252,71,252,72,252,73,252,74,252,75,252,76,252,77,252,83,252,84,252,85,253,24,253,25,253,26,253,32,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,45,253,46,253,47,253,48,253,49,253,50,253,51,253,54,253,55,253,56,253,57,253,58,253,59,253,60,253,61,253,62,253,63,253,64,253,65,253,66,253,67,253,68,253,69,253,70,253,71,253,72,253,73,253,74,253,75,253,76,253,77,253,78,253,85,253,86,253,87,254,23,254,24,254,25,254,33,254,34,254,35,254,36,254,37,254,38,254,39,254,41,254,42,254,43,254,44,254,45,254,52,254,53,254,54,254,57,254,58,254,59,254,60,254,61,254,62,254,63,254,64,254,65,254,66,254,67,254,68,254,69,254,70,254,71,254,72,254,73,254,74,254,75,254,76,254,77,254,78,254,79,254,87,254,88,254,89,254,90,254,91,254,92,254,93,254,94,254,95,254,96,254,97,254,98,254,99,255,23,255,24,255,34,255,35,255,36,255,37,255,38,255,39,255,40,255,49,255,50,255,51,255,52,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,255,68,255,69,255,70,255,71,255,72,255,73,255,74,255,75,255,76,255,77,255,78,255,79,255,87,255,88,255,89,255,90,255,91,255,92,255,93,255,94,255,95,255,96,255,97,255,98,255,99,255,100,255,101,256,23,256,35,256,36,256,37,256,46,256,47,256,48,256,49,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,256,68,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,256,79,256,88,256,89,256,90,256,91,256,92,256,93,256,94,256,95,256,96,256,97,256,98,256,99,256,100,256,101,256,102,256,103,256,104,257,23,257,36,257,37,257,41,257,42,257,43,257,44,257,45,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,257,79,257,89,257,90,257,91,257,92,257,93,257,94,257,95,257,96,257,97,257,98,257,99,257,100,257,101,257,102,257,103,257,104,257,105,258,15,258,16,258,23,258,36,258,37,258,38,258,39,258,40,258,41,258,60,258,61,258,62,258,63,258,64,258,65,258,66,258,67,258,68,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,77,258,78,258,79,258,90,258,91,258,92,258,93,258,94,258,95,258,96,258,97,258,98,258,99,258,100,258,101,258,102,258,103,258,104,258,105,259,14,259,15,259,16,259,17,259,18,259,19,259,23,259,36,259,37,259,38,259,39,259,40,259,41,259,60,259,61,259,62,259,63,259,64,259,65,259,66,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,76,259,77,259,78,259,91,259,92,259,93,259,94,259,95,259,96,259,97,259,98,259,99,259,100,259,101,259,102,259,103,259,104,259,105,260,8,260,9,260,10,260,11,260,12,260,13,260,14,260,15,260,16,260,17,260,18,260,19,260,20,260,21,260,22,260,23,260,36,260,37,260,38,260,39,260,40,260,41,260,60,260,61,260,62,260,63,260,64,260,65,260,66,260,67,260,68,260,69,260,70,260,71,260,72,260,73,260,74,260,75,260,76,260,77,260,78,260,91,260,92,260,93,260,94,260,95,260,96,260,97,260,98,260,99,260,100,260,101,260,102,260,103,260,104,260,105,261,7,261,8,261,9,261,10,261,11,261,12,261,13,261,14,261,15,261,16,261,17,261,18,261,19,261,20,261,21,261,22,261,23,261,24,261,35,261,36,261,37,261,38,261,39,261,40,261,41,261,42,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,68,261,69,261,70,261,71,261,72,261,73,261,74,261,75,261,76,261,77,261,78,261,91,261,92,261,93,261,94,261,95,261,96,261,97,261,98,261,99,261,100,261,101,261,102,261,103,261,104,261,105,262,7,262,8,262,9,262,10,262,11,262,12,262,13,262,14,262,15,262,16,262,17,262,18,262,19,262,20,262,21,262,22,262,23,262,24,262,25,262,35,262,36,262,37,262,38,262,39,262,40,262,41,262,42,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,68,262,69,262,70,262,71,262,72,262,73,262,74,262,75,262,76,262,77,262,78,262,91,262,92,262,93,262,94,262,95,262,96,262,97,262,98,262,99,262,100,262,101,262,102,262,103,262,104,262,105,263,7,263,8,263,9,263,10,263,11,263,12,263,13,263,14,263,15,263,16,263,17,263,18,263,19,263,20,263,21,263,22,263,23,263,24,263,25,263,26,263,27,263,28,263,29,263,30,263,31,263,32,263,33,263,34,263,35,263,36,263,37,263,38,263,39,263,40,263,41,263,42,263,60,263,61,263,62,263,63,263,64,263,65,263,66,263,67,263,68,263,69,263,70,263,71,263,72,263,73,263,74,263,75,263,76,263,77,263,90,263,91,263,92,263,93,263,94,263,95,263,96,263,97,263,98,263,99,263,100,263,101,263,102,263,103,263,104,263,105,264,6,264,7,264,8,264,9,264,10,264,11,264,12,264,13,264,14,264,15,264,16,264,17,264,18,264,19,264,20,264,21,264,22,264,23,264,24,264,25,264,26,264,27,264,28,264,29,264,30,264,31,264,32,264,33,264,34,264,35,264,36,264,37,264,38,264,39,264,40,264,41,264,42,264,60,264,61,264,62,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,264,72,264,73,264,74,264,75,264,76,264,88,264,89,264,90,264,91,264,92,264,93,264,94,264,95,264,96,264,97,264,98,264,99,264,100,264,101,264,102,264,103,264,104,264,105,265,6,265,7,265,8,265,9,265,10,265,11,265,12,265,13,265,14,265,15,265,16,265,17,265,18,265,19,265,20,265,21,265,22,265,23,265,24,265,25,265,26,265,27,265,28,265,29,265,30,265,31,265,32,265,33,265,34,265,35,265,36,265,37,265,38,265,39,265,40,265,41,265,42,265,60,265,61,265,62,265,63,265,64,265,65,265,66,265,67,265,68,265,69,265,70,265,71,265,72,265,73,265,74,265,75,265,76,265,88,265,89,265,90,265,91,265,92,265,93,265,94,265,95,265,96,265,97,265,98,265,99,265,100,265,101,265,102,265,103,265,104,266,5,266,6,266,7,266,8,266,9,266,10,266,11,266,12,266,13,266,14,266,15,266,16,266,17,266,18,266,19,266,20,266,21,266,22,266,23,266,24,266,25,266,26,266,27,266,28,266,29,266,30,266,31,266,32,266,33,266,34,266,35,266,36,266,37,266,38,266,39,266,40,266,41,266,42,266,43,266,60,266,61,266,62,266,63,266,64,266,65,266,66,266,67,266,68,266,69,266,70,266,71,266,72,266,73,266,74,266,75,266,76,266,77,266,78,266,79,266,80,266,81,266,82,266,83,266,84,266,85,266,86,266,87,266,88,266,89,266,90,266,91,266,92,266,93,266,94,266,95,266,96,266,97,266,98,266,99,266,100,266,101,267,5,267,6,267,7,267,8,267,9,267,10,267,11,267,12,267,13,267,14,267,15,267,16,267,17,267,18,267,19,267,20,267,21,267,22,267,23,267,24,267,25,267,26,267,27,267,28,267,29,267,30,267,31,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,39,267,40,267,41,267,42,267,43,267,44,267,60,267,61,267,62,267,63,267,64,267,65,267,66,267,67,267,68,267,69,267,70,267,71,267,72,267,73,267,74,267,75,267,76,267,77,268,5,268,6,268,7,268,8,268,9,268,10,268,11,268,12,268,13,268,14,268,15,268,16,268,17,268,18,268,19,268,20,268,21,268,22,268,23,268,24,268,25,268,26,268,27,268,28,268,29,268,30,268,31,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,39,268,40,268,41,268,42,268,43,268,44,268,45,268,48,268,49,268,50,268,51,268,52,268,53,268,54,268,55,268,56,268,60,268,61,268,62,268,63,268,64,268,65,268,66,268,67,268,68,268,69,268,70,268,71,268,72,268,73,268,74,268,75,268,76,268,77,268,78,269,5,269,6,269,7,269,8,269,9,269,10,269,11,269,12,269,13,269,14,269,15,269,16,269,17,269,18,269,19,269,20,269,21,269,22,269,23,269,24,269,25,269,26,269,27,269,28,269,29,269,30,269,31,269,32,269,33,269,34,269,35,269,36,269,37,269,38,269,39,269,40,269,41,269,42,269,43,269,44,269,45,269,46,269,48,269,49,269,50,269,51,269,52,269,53,269,54,269,55,269,56,269,60,269,61,269,62,269,63,269,64,269,65,269,66,269,67,269,68,269,69,269,70,269,71,269,72,269,73,269,74,269,75,269,76,269,77,269,78,269,79,269,80,270,5,270,6,270,7,270,8,270,9,270,10,270,11,270,12,270,13,270,14,270,15,270,16,270,17,270,18,270,19,270,20,270,21,270,22,270,23,270,24,270,25,270,26,270,27,270,28,270,29,270,30,270,31,270,32,270,33,270,34,270,35,270,36,270,37,270,38,270,39,270,40,270,41,270,42,270,43,270,44,270,45,270,46,270,60,270,61,270,62,270,63,270,64,270,65,270,66,270,67,270,68,270,69,270,70,270,71,270,72,270,73,270,74,270,75,270,76,270,77,270,78,270,80,270,81,270,82,270,83,270,84,271,5,271,6,271,7,271,8,271,9,271,10,271,11,271,12,271,13,271,14,271,15,271,16,271,17,271,18,271,19,271,20,271,21,271,22,271,23,271,24,271,25,271,26,271,27,271,28,271,29,271,30,271,31,271,32,271,33,271,34,271,35,271,36,271,37,271,38,271,39,271,40,271,41,271,42,271,43,271,44,271,45,271,46,271,47,271,60,271,61,271,62,271,63,271,64,271,65,271,66,271,67,271,68,271,69,271,70,271,71,271,72,271,73,271,74,271,75,271,76,271,77,271,78,271,84,271,85,271,86,271,87,271,88,272,5,272,6,272,7,272,8,272,9,272,10,272,11,272,12,272,13,272,14,272,15,272,16,272,17,272,18,272,19,272,20,272,21,272,22,272,23,272,24,272,25,272,26,272,27,272,28,272,29,272,30,272,31,272,32,272,33,272,34,272,35,272,36,272,37,272,38,272,39,272,40,272,41,272,42,272,43,272,44,272,45,272,46,272,47,272,60,272,61,272,62,272,63,272,64,272,65,272,66,272,67,272,68,272,69,272,70,272,71,272,72,272,73,272,74,272,75,272,76,272,77,272,78,272,85,272,86,272,87,272,88,272,89,272,90,272,91,272,92,273,5,273,6,273,7,273,8,273,9,273,10,273,11,273,12,273,13,273,14,273,15,273,16,273,17,273,18,273,19,273,20,273,21,273,22,273,23,273,24,273,25,273,26,273,27,273,28,273,29,273,30,273,31,273,32,273,33,273,34,273,35,273,36,273,37,273,38,273,39,273,40,273,41,273,42,273,43,273,44,273,45,273,46,273,47,273,59,273,60,273,61,273,62,273,63,273,64,273,65,273,66,273,67,273,68,273,69,273,70,273,71,273,72,273,73,273,74,273,75,273,76,273,77,273,78,273,86,273,87,273,88,273,89,273,90,273,91,273,92,273,93,273,94,273,95,274,6,274,7,274,8,274,9,274,10,274,11,274,12,274,13,274,14,274,15,274,16,274,17,274,18,274,19,274,20,274,21,274,22,274,23,274,24,274,25,274,26,274,27,274,28,274,29,274,30,274,31,274,32,274,33,274,34,274,35,274,36,274,37,274,38,274,39,274,40,274,41,274,42,274,43,274,44,274,45,274,46,274,59,274,60,274,61,274,62,274,63,274,64,274,65,274,66,274,67,274,68,274,69,274,70,274,71,274,72,274,73,274,74,274,75,274,76,274,77,274,78,274,87,274,88,274,89,274,90,274,91,274,92,274,93,274,94,274,95,274,96,274,97,274,98,275,6,275,7,275,8,275,9,275,10,275,11,275,12,275,13,275,14,275,15,275,16,275,17,275,18,275,19,275,20,275,21,275,22,275,23,275,24,275,25,275,26,275,27,275,28,275,29,275,30,275,31,275,32,275,33,275,34,275,35,275,36,275,37,275,38,275,39,275,40,275,41,275,42,275,43,275,44,275,58,275,59,275,60,275,61,275,62,275,63,275,64,275,65,275,66,275,67,275,68,275,69,275,70,275,71,275,72,275,73,275,74,275,75,275,76,275,77,275,78,275,88,275,89,275,90,275,91,275,92,275,93,275,94,275,95,275,96,275,97,275,98,275,99,275,100,276,7,276,8,276,9,276,10,276,11,276,12,276,13,276,14,276,15,276,16,276,17,276,18,276,19,276,20,276,21,276,22,276,23,276,24,276,25,276,26,276,27,276,28,276,29,276,30,276,31,276,32,276,33,276,34,276,35,276,36,276,37,276,38,276,39,276,40,276,41,276,42,276,58,276,59,276,60,276,61,276,62,276,63,276,64,276,65,276,66,276,67,276,68,276,69,276,70,276,71,276,72,276,73,276,74,276,75,276,76,276,77,276,78,276,88,276,89,276,90,276,91,276,92,276,93,276,94,276,95,276,96,276,97,276,98,276,99,276,100,276,101,276,102,277,7,277,8,277,9,277,10,277,11,277,12,277,13,277,14,277,15,277,16,277,17,277,18,277,19,277,20,277,21,277,22,277,23,277,24,277,25,277,26,277,27,277,28,277,29,277,30,277,31,277,32,277,33,277,34,277,35,277,36,277,37,277,38,277,39,277,40,277,41,277,58,277,59,277,60,277,61,277,62,277,63,277,64,277,65,277,66,277,67,277,68,277,69,277,70,277,71,277,72,277,73,277,74,277,75,277,76,277,77,277,78,277,89,277,90,277,91,277,92,277,93,277,94,277,95,277,96,277,97,277,98,277,99,277,100,277,101,277,102,277,103,277,104,277,105,278,8,278,9,278,10,278,11,278,12,278,13,278,14,278,15,278,16,278,17,278,18,278,19,278,20,278,21,278,22,278,23,278,24,278,25,278,26,278,27,278,28,278,29,278,30,278,31,278,32,278,33,278,34,278,35,278,36,278,37,278,38,278,39,278,40,278,41,278,58,278,59,278,60,278,61,278,62,278,63,278,64,278,65,278,66,278,67,278,68,278,69,278,70,278,71,278,72,278,73,278,74,278,75,278,76,278,77,278,89,278,90,278,91,278,92,278,93,278,94,278,95,278,96,278,97,278,98,278,99,278,100,278,101,278,102,278,103,278,104,278,105,279,9,279,10,279,11,279,12,279,13,279,14,279,15,279,16,279,17,279,18,279,19,279,20,279,21,279,22,279,23,279,24,279,25,279,26,279,27,279,28,279,29,279,30,279,31,279,32,279,33,279,34,279,35,279,36,279,37,279,38,279,39,279,40,279,41,279,45,279,46,279,47,279,48,279,49,279,50,279,51,279,52,279,53,279,54,279,55,279,56,279,58,279,59,279,60,279,61,279,62,279,63,279,64,279,65,279,66,279,67,279,68,279,69,279,70,279,71,279,72,279,73,279,74,279,75,279,76,279,77,279,89,279,90,279,91,279,92,279,93,279,94,279,95,279,96,279,97,279,98,279,99,279,100,279,101,279,102,279,103,279,104,279,105,280,10,280,11,280,12,280,13,280,14,280,15,280,16,280,24,280,28,280,29,280,30,280,31,280,32,280,33,280,34,280,35,280,36,280,37,280,38,280,39,280,40,280,41,280,42,280,43,280,44,280,45,280,56,280,57,280,58,280,59,280,60,280,61,280,62,280,63,280,64,280,65,280,66,280,67,280,68,280,69,280,70,280,71,280,72,280,73,280,74,280,75,280,76,280,89,280,90,280,91,280,92,280,93,280,94,280,95,280,96,280,97,280,98,280,99,280,100,280,101,280,102,280,103,280,104,280,105,281,15,281,24,281,34,281,35,281,36,281,37,281,38,281,39,281,40,281,41,281,42,281,57,281,58,281,59,281,60,281,61,281,62,281,63,281,64,281,65,281,66,281,67,281,68,281,69,281,70,281,71,281,72,281,73,281,74,281,75,281,89,281,90,281,91,281,92,281,93,281,94,281,95,281,96,281,97,281,98,281,99,281,100,281,101,281,102,281,103,281,104,281,105,282,24,282,34,282,35,282,36,282,37,282,38,282,39,282,40,282,56,282,57,282,58,282,59,282,60,282,61,282,62,282,63,282,64,282,65,282,66,282,67,282,68,282,69,282,70,282,71,282,72,282,89,282,90,282,91,282,92,282,93,282,94,282,95,282,96,282,97,282,98,282,99,282,100,282,101,282,102,282,103,282,104,282,105,283,24,283,34,283,35,283,36,283,37,283,38,283,39,283,40,283,54,283,55,283,56,283,59,283,60,283,61,283,62,283,63,283,64,283,65,283,66,283,67,283,68,283,69,283,70,283,71,283,72,283,87,283,88,283,89,283,90,283,91,283,92,283,93,283,94,283,95,283,96,283,97,283,98,283,99,283,100,283,101,283,102,283,103,283,104,283,105,284,24,284,25,284,34,284,35,284,36,284,37,284,38,284,39,284,40,284,53,284,54,284,60,284,61,284,62,284,63,284,64,284,65,284,66,284,67,284,68,284,69,284,70,284,71,284,72,284,73,284,74,284,75,284,76,284,77,284,78,284,79,284,80,284,81,284,82,284,83,284,84,284,85,284,86,284,87,284,88,284,89,284,90,284,91,284,92,284,93,284,94,284,95,284,96,284,97,284,98,284,99,284,100,284,101,285,24,285,25,285,34,285,35,285,36,285,37,285,38,285,39,285,40,285,51,285,52,285,53,285,61,285,62,285,63,286,25,286,26,286,33,286,34,286,35,286,36,286,37,286,38,286,39,286,40,286,41,286,50,286,51,286,60,286,61,287,25,287,26,287,33,287,34,287,35,287,36,287,37,287,38,287,41,287,42,287,43,287,44,287,48,287,49,287,50,287,58,287,59,287,60,288,26,288,27,288,32,288,33,288,34,288,35,288,36,288,37,288,38,288,44,288,45,288,46,288,47,288,48,288,57,288,58,289,27,289,28,289,31,289,32,289,33,289,34,289,35,289,36,289,37,289,54,289,55,289,56,290,28,290,29,290,30,290,31,290,32,290,33,290,34,290,35,290,36,290,51,290,52,290,53,290,54,291,29,291,30,291,31,291,32,291,33,291,34,291,35,291,36,291,48,291,49,291,50,291,51,292,31,292,32,292,33,292,34,292,35,292,46,292,47,292,48,293,33,293,34,293,35,293,44,293,45,293,46,294,35,294,36,294,37,294,38,294,39,294,40,294,41,294,42,294,43}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1] + 107, 1, 1); idx = idx + 2; end coords = nil; end end function render_battle_player_single (inverted) if FOLLOWER then render_battle_player_dual(inverted); return; else local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 106, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {168,68,168,69,168,70,168,71,168,72,168,73,168,74,168,75,168,76,169,64,169,65,169,66,169,67,169,76,169,77,169,78,170,59,170,60,170,61,170,62,170,63,170,79,170,80,171,56,171,57,171,58,171,81,172,54,172,55,172,56,172,57,172,58,172,59,172,82,172,83,173,26,173,27,173,28,173,29,173,30,173,31,173,32,173,33,173,34,173,35,173,36,173,37,173,53,173,54,173,55,173,56,173,57,173,58,173,59,173,60,173,61,173,83,173,84,174,21,174,22,174,23,174,24,174,25,174,26,174,27,174,28,174,29,174,30,174,31,174,32,174,33,174,34,174,35,174,36,174,37,174,38,174,39,174,52,174,53,174,54,174,55,174,56,174,57,174,58,174,59,174,60,174,61,174,62,174,84,174,85,175,19,175,20,175,21,175,22,175,23,175,24,175,25,175,26,175,27,175,28,175,29,175,30,175,31,175,32,175,33,175,34,175,35,175,36,175,37,175,38,175,39,175,40,175,41,175,51,175,52,175,53,175,54,175,55,175,56,175,57,175,58,175,59,175,60,175,61,175,62,175,63,175,85,175,86,176,16,176,17,176,18,176,19,176,20,176,21,176,22,176,23,176,24,176,25,176,26,176,27,176,28,176,29,176,30,176,31,176,32,176,33,176,34,176,35,176,36,176,37,176,38,176,39,176,40,176,41,176,42,176,43,176,50,176,51,176,52,176,53,176,54,176,55,176,56,176,57,176,58,176,59,176,60,176,61,176,62,176,63,176,64,176,86,176,87,176,103,176,104,176,105,177,14,177,15,177,16,177,17,177,18,177,19,177,20,177,21,177,22,177,23,177,24,177,25,177,26,177,27,177,28,177,29,177,30,177,31,177,32,177,33,177,34,177,35,177,36,177,37,177,38,177,39,177,40,177,41,177,42,177,43,177,44,177,45,177,50,177,51,177,52,177,53,177,54,177,55,177,56,177,57,177,58,177,59,177,60,177,61,177,62,177,63,177,64,177,65,177,87,177,88,177,103,177,104,177,105,178,12,178,13,178,14,178,15,178,16,178,17,178,18,178,19,178,20,178,21,178,22,178,23,178,24,178,25,178,26,178,27,178,28,178,29,178,30,178,31,178,32,178,33,178,34,178,35,178,36,178,37,178,38,178,39,178,40,178,41,178,42,178,43,178,44,178,45,178,46,178,47,178,49,178,50,178,51,178,52,178,53,178,54,178,55,178,56,178,57,178,58,178,59,178,60,178,61,178,62,178,63,178,64,178,65,178,70,178,71,178,72,178,73,178,87,178,88,178,89,178,90,178,91,178,92,178,93,178,103,178,104,178,105,179,10,179,11,179,12,179,13,179,14,179,15,179,16,179,17,179,18,179,19,179,20,179,21,179,22,179,23,179,24,179,25,179,26,179,27,179,28,179,29,179,30,179,31,179,32,179,33,179,34,179,35,179,36,179,37,179,38,179,39,179,40,179,41,179,42,179,43,179,44,179,45,179,46,179,47,179,48,179,49,179,50,179,51,179,52,179,53,179,54,179,55,179,56,179,57,179,58,179,59,179,60,179,61,179,62,179,63,179,64,179,65,179,66,179,70,179,71,179,72,179,73,179,74,179,75,179,76,179,77,179,78,179,79,179,80,179,81,179,87,179,94,179,95,179,96,179,97,179,98,179,99,179,100,179,101,179,102,179,103,179,104,179,105,180,10,180,11,180,12,180,13,180,14,180,15,180,16,180,17,180,18,180,19,180,20,180,21,180,22,180,23,180,24,180,25,180,26,180,27,180,28,180,29,180,30,180,31,180,32,180,33,180,34,180,35,180,36,180,37,180,38,180,39,180,40,180,41,180,42,180,43,180,44,180,45,180,46,180,47,180,48,180,49,180,50,180,51,180,52,180,53,180,54,180,55,180,56,180,57,180,58,180,59,180,60,180,61,180,62,180,63,180,64,180,65,180,66,180,67,180,68,180,69,180,70,180,71,180,72,180,73,180,74,180,75,180,76,180,77,180,78,180,79,180,80,180,81,180,82,180,83,180,84,180,85,180,86,180,87,181,8,181,9,181,10,181,11,181,12,181,13,181,14,181,15,181,16,181,17,181,18,181,19,181,20,181,21,181,22,181,23,181,24,181,25,181,26,181,27,181,28,181,29,181,30,181,31,181,32,181,33,181,34,181,35,181,36,181,37,181,38,181,39,181,40,181,41,181,42,181,43,181,44,181,45,181,46,181,47,181,48,181,49,181,50,181,51,181,52,181,53,181,54,181,55,181,56,181,57,181,58,181,59,181,60,181,61,181,62,181,63,181,64,181,65,181,66,181,67,181,68,181,69,181,70,181,71,181,72,181,73,181,74,181,75,181,76,181,77,181,78,181,79,181,80,181,81,181,82,181,83,181,84,181,85,181,86,181,87,182,8,182,9,182,10,182,11,182,12,182,13,182,14,182,15,182,16,182,17,182,18,182,19,182,20,182,21,182,22,182,23,182,24,182,25,182,26,182,27,182,28,182,29,182,30,182,31,182,32,182,33,182,34,182,35,182,36,182,37,182,38,182,39,182,40,182,41,182,42,182,43,182,44,182,45,182,46,182,47,182,48,182,49,182,50,182,51,182,52,182,53,182,54,182,55,182,56,182,57,182,58,182,59,182,60,182,61,182,62,182,63,182,64,182,65,182,66,182,67,182,68,182,69,182,70,182,71,182,72,182,73,182,74,182,75,182,76,182,77,182,78,182,79,182,80,182,81,182,82,182,83,182,84,182,85,182,86,182,87,183,7,183,8,183,9,183,10,183,11,183,12,183,13,183,14,183,15,183,16,183,17,183,18,183,19,183,20,183,21,183,22,183,23,183,24,183,25,183,26,183,27,183,28,183,29,183,30,183,31,183,32,183,33,183,34,183,35,183,36,183,37,183,38,183,39,183,40,183,41,183,42,183,43,183,44,183,45,183,46,183,47,183,48,183,49,183,50,183,51,183,52,183,53,183,54,183,55,183,56,183,57,183,58,183,59,183,60,183,61,183,62,183,63,183,64,183,65,183,66,183,67,183,68,183,69,183,70,183,71,183,72,183,73,183,74,183,75,183,76,183,77,183,78,183,79,183,80,183,81,183,82,183,83,183,84,183,85,183,86,183,87,184,7,184,8,184,9,184,10,184,11,184,12,184,13,184,14,184,15,184,16,184,17,184,18,184,19,184,20,184,21,184,22,184,23,184,24,184,25,184,26,184,27,184,28,184,29,184,30,184,31,184,32,184,33,184,34,184,35,184,36,184,37,184,38,184,39,184,40,184,41,184,42,184,43,184,44,184,45,184,46,184,47,184,48,184,49,184,50,184,51,184,52,184,53,184,54,184,55,184,56,184,57,184,58,184,59,184,60,184,61,184,62,184,63,184,64,184,65,184,66,184,67,184,68,184,69,184,70,184,71,184,72,184,73,184,74,184,75,184,76,184,77,184,78,184,79,184,80,184,81,184,82,184,83,184,84,184,85,184,86,185,7,185,8,185,9,185,10,185,11,185,12,185,13,185,14,185,15,185,16,185,17,185,18,185,19,185,20,185,21,185,22,185,23,185,24,185,25,185,26,185,27,185,28,185,29,185,30,185,31,185,32,185,33,185,34,185,35,185,36,185,37,185,38,185,39,185,40,185,41,185,42,185,43,185,44,185,45,185,46,185,47,185,48,185,49,185,50,185,51,185,52,185,53,185,54,185,55,185,56,185,57,185,58,185,59,185,60,185,61,185,62,185,63,185,64,185,65,185,66,185,67,185,68,185,69,185,70,185,71,185,72,185,73,185,74,185,75,185,76,185,77,185,78,185,79,185,80,185,81,185,82,185,83,185,84,185,85,185,86,186,7,186,8,186,9,186,10,186,11,186,12,186,13,186,14,186,15,186,16,186,17,186,18,186,19,186,20,186,21,186,22,186,23,186,24,186,25,186,26,186,27,186,28,186,29,186,30,186,31,186,32,186,33,186,34,186,35,186,36,186,37,186,38,186,39,186,40,186,41,186,42,186,43,186,44,186,45,186,46,186,47,186,48,186,49,186,50,186,51,186,52,186,53,186,54,186,55,186,56,186,57,186,58,186,59,186,60,186,61,186,62,186,63,186,64,186,65,186,66,186,67,186,68,186,69,186,70,186,71,186,72,186,73,186,74,186,75,186,76,186,77,186,78,186,79,186,80,186,81,186,82,186,83,186,84,186,85,186,86,187,7,187,8,187,9,187,10,187,11,187,12,187,13,187,14,187,15,187,16,187,17,187,18,187,19,187,20,187,21,187,22,187,23,187,24,187,25,187,26,187,27,187,28,187,29,187,30,187,31,187,32,187,33,187,34,187,35,187,36,187,37,187,38,187,39,187,40,187,41,187,42,187,43,187,44,187,45,187,46,187,47,187,48,187,49,187,50,187,51,187,52,187,53,187,54,187,55,187,56,187,57,187,58,187,59,187,60,187,61,187,62,187,63,187,64,187,65,187,66,187,67,187,68,187,69,187,70,187,71,187,72,187,73,187,74,187,75,187,76,187,77,187,78,187,79,187,80,187,81,187,82,187,83,187,84,187,85,187,86,188,6,188,7,188,8,188,9,188,10,188,11,188,12,188,13,188,14,188,15,188,16,188,17,188,18,188,19,188,20,188,21,188,22,188,23,188,24,188,25,188,26,188,27,188,28,188,29,188,30,188,31,188,32,188,33,188,34,188,35,188,36,188,37,188,38,188,39,188,40,188,41,188,42,188,43,188,44,188,45,188,46,188,53,188,54,188,55,188,56,188,57,188,58,188,59,188,60,188,61,188,62,188,63,188,64,188,65,188,66,188,67,188,68,188,69,188,70,188,71,188,72,188,73,188,74,188,75,188,76,188,77,188,78,188,79,188,80,188,81,188,82,188,83,188,84,188,85,188,86,189,6,189,7,189,8,189,9,189,10,189,11,189,12,189,13,189,14,189,15,189,16,189,17,189,18,189,19,189,20,189,21,189,22,189,23,189,24,189,25,189,26,189,27,189,28,189,29,189,30,189,31,189,32,189,33,189,34,189,35,189,36,189,37,189,38,189,39,189,40,189,41,189,42,189,43,189,44,189,45,189,46,189,53,189,54,189,55,189,56,189,57,189,58,189,59,189,60,189,61,189,62,189,63,189,64,189,65,189,66,189,67,189,68,189,69,189,70,189,71,189,72,189,73,189,74,189,75,189,76,189,77,189,78,189,79,189,80,189,81,189,82,189,83,189,84,189,85,189,86,190,6,190,7,190,8,190,9,190,10,190,11,190,12,190,13,190,14,190,15,190,16,190,17,190,18,190,19,190,20,190,21,190,22,190,23,190,24,190,25,190,26,190,27,190,28,190,29,190,30,190,31,190,32,190,33,190,34,190,35,190,36,190,37,190,38,190,39,190,40,190,41,190,42,190,43,190,44,190,45,190,46,190,53,190,54,190,55,190,56,190,57,190,58,190,59,190,60,190,61,190,62,190,63,190,64,190,65,190,66,190,67,190,68,190,69,190,70,190,71,190,72,190,73,190,74,190,75,190,76,190,77,190,78,190,79,190,80,190,81,190,82,190,83,190,84,190,85,190,86,191,5,191,6,191,7,191,8,191,9,191,10,191,11,191,12,191,13,191,14,191,15,191,16,191,17,191,18,191,19,191,20,191,21,191,22,191,23,191,24,191,25,191,26,191,27,191,28,191,29,191,30,191,31,191,32,191,33,191,34,191,35,191,36,191,37,191,38,191,39,191,40,191,41,191,42,191,43,191,44,191,45,191,46,191,53,191,54,191,55,191,56,191,57,191,58,191,59,191,60,191,61,191,62,191,63,191,64,191,65,191,66,191,67,191,68,191,69,191,70,191,71,191,72,191,73,191,74,191,75,191,76,191,77,191,78,191,79,191,80,191,81,191,82,191,83,191,84,191,85,191,86,192,5,192,6,192,7,192,8,192,9,192,10,192,11,192,12,192,13,192,14,192,15,192,16,192,17,192,18,192,19,192,20,192,21,192,22,192,23,192,24,192,25,192,26,192,27,192,28,192,29,192,30,192,31,192,32,192,33,192,34,192,35,192,36,192,37,192,38,192,39,192,40,192,41,192,42,192,43,192,44,192,45,192,46,192,53,192,54,192,55,192,56,192,57,192,58,192,59,192,60,192,61,192,62,192,63,192,64,192,65,192,66,192,67,192,68,192,69,192,70,192,71,192,72,192,73,192,74,192,75,192,76,192,77,192,78,192,79,192,80,192,81,192,82,192,83,192,84,192,85,192,86,192,87,192,88,192,89,192,90,192,91,192,92,192,93,192,94,192,95,192,104,192,105,193,5,193,6,193,7,193,8,193,9,193,10,193,11,193,12,193,13,193,14,193,15,193,16,193,17,193,18,193,19,193,20,193,21,193,22,193,23,193,24,193,25,193,26,193,27,193,28,193,29,193,30,193,31,193,32,193,33,193,34,193,35,193,36,193,37,193,38,193,39,193,40,193,41,193,42,193,43,193,44,193,45,193,46,193,53,193,54,193,55,193,56,193,57,193,58,193,59,193,60,193,61,193,62,193,63,193,64,193,65,193,66,193,67,193,68,193,69,193,70,193,71,193,72,193,73,193,74,193,75,193,76,193,77,193,78,193,79,193,80,193,81,193,82,193,83,193,84,193,85,193,86,193,91,193,92,193,93,193,95,193,96,193,97,193,98,193,99,193,100,193,101,193,102,193,103,194,5,194,6,194,7,194,8,194,9,194,10,194,11,194,12,194,13,194,14,194,15,194,16,194,17,194,18,194,19,194,20,194,21,194,22,194,23,194,24,194,25,194,26,194,27,194,28,194,29,194,30,194,31,194,32,194,33,194,34,194,35,194,36,194,37,194,38,194,39,194,40,194,41,194,42,194,43,194,44,194,45,194,46,194,53,194,54,194,55,194,56,194,57,194,58,194,59,194,60,194,61,194,62,194,63,194,64,194,65,194,66,194,67,194,68,194,69,194,70,194,71,194,72,194,73,194,74,194,75,194,76,194,77,194,78,194,79,194,80,194,81,194,82,194,83,194,84,194,85,194,86,194,91,194,92,194,96,194,97,195,5,195,6,195,7,195,8,195,9,195,10,195,11,195,12,195,13,195,14,195,15,195,16,195,17,195,18,195,19,195,20,195,21,195,22,195,23,195,24,195,25,195,26,195,27,195,28,195,29,195,30,195,31,195,32,195,33,195,34,195,35,195,36,195,37,195,38,195,39,195,40,195,41,195,42,195,43,195,44,195,45,195,46,195,53,195,54,195,55,195,56,195,57,195,58,195,59,195,60,195,61,195,62,195,63,195,64,195,65,195,66,195,67,195,68,195,69,195,70,195,71,195,72,195,73,195,74,195,75,195,76,195,77,195,78,195,79,195,80,195,81,195,82,195,83,195,84,195,85,195,86,195,91,196,5,196,6,196,7,196,8,196,9,196,10,196,11,196,12,196,13,196,14,196,15,196,16,196,17,196,18,196,19,196,20,196,21,196,22,196,23,196,24,196,25,196,26,196,27,196,28,196,29,196,30,196,31,196,32,196,33,196,34,196,35,196,36,196,37,196,38,196,39,196,40,196,41,196,42,196,43,196,44,196,45,196,46,196,53,196,54,196,55,196,56,196,57,196,58,196,59,196,60,196,61,196,62,196,63,196,64,196,65,196,66,196,67,196,68,196,69,196,70,196,71,196,72,196,73,196,74,196,75,196,76,196,77,196,78,196,79,196,80,196,81,196,82,196,83,196,84,196,85,196,86,196,91,197,5,197,6,197,7,197,8,197,9,197,10,197,11,197,12,197,13,197,14,197,15,197,16,197,17,197,18,197,19,197,20,197,21,197,22,197,23,197,24,197,25,197,26,197,27,197,28,197,29,197,30,197,31,197,32,197,33,197,34,197,35,197,36,197,37,197,38,197,39,197,40,197,41,197,42,197,43,197,44,197,45,197,46,197,53,197,54,197,55,197,56,197,57,197,58,197,59,197,60,197,61,197,62,197,63,197,64,197,65,197,66,197,67,197,68,197,69,197,70,197,71,197,72,197,73,197,74,197,75,197,76,197,77,197,78,197,79,197,80,197,81,197,82,197,83,197,84,197,85,197,86,197,91,198,5,198,6,198,7,198,8,198,9,198,10,198,11,198,12,198,13,198,14,198,15,198,16,198,17,198,18,198,19,198,20,198,21,198,22,198,23,198,24,198,25,198,26,198,27,198,28,198,29,198,30,198,31,198,32,198,33,198,34,198,35,198,36,198,37,198,38,198,39,198,40,198,41,198,42,198,43,198,44,198,45,198,46,198,53,198,54,198,55,198,56,198,57,198,58,198,59,198,60,198,61,198,62,198,63,198,64,198,65,198,66,198,67,198,68,198,69,198,70,198,71,198,72,198,73,198,74,198,75,198,76,198,77,198,78,198,79,198,80,198,81,198,82,198,83,198,84,198,85,198,86,198,91,199,5,199,6,199,7,199,8,199,9,199,10,199,11,199,12,199,13,199,14,199,15,199,16,199,17,199,18,199,19,199,20,199,21,199,22,199,23,199,24,199,25,199,26,199,27,199,28,199,29,199,30,199,31,199,32,199,33,199,34,199,35,199,36,199,37,199,38,199,39,199,40,199,41,199,42,199,43,199,44,199,45,199,46,199,53,199,54,199,55,199,56,199,57,199,58,199,59,199,60,199,61,199,62,199,63,199,64,199,65,199,66,199,67,199,68,199,69,199,70,199,71,199,72,199,73,199,74,199,75,199,76,199,77,199,78,199,79,199,80,199,81,199,82,199,83,199,84,199,85,199,86,199,91,199,92,199,93,200,5,200,6,200,7,200,8,200,9,200,10,200,11,200,12,200,13,200,14,200,15,200,16,200,17,200,18,200,19,200,20,200,21,200,22,200,23,200,24,200,25,200,26,200,27,200,28,200,29,200,30,200,31,200,32,200,33,200,34,200,35,200,36,200,37,200,38,200,39,200,40,200,41,200,42,200,43,200,44,200,45,200,46,200,53,200,54,200,55,200,56,200,57,200,58,200,59,200,60,200,61,200,62,200,63,200,64,200,65,200,66,200,67,200,68,200,69,200,70,200,71,200,72,200,73,200,74,200,75,200,76,200,77,200,78,200,79,200,80,200,81,200,82,200,83,200,84,200,85,200,86,200,91,200,92,200,93,200,94,200,96,200,97,201,5,201,6,201,7,201,8,201,9,201,10,201,11,201,12,201,13,201,14,201,15,201,16,201,17,201,18,201,19,201,20,201,21,201,22,201,23,201,24,201,25,201,26,201,27,201,28,201,29,201,30,201,31,201,32,201,33,201,34,201,35,201,36,201,37,201,38,201,39,201,40,201,41,201,42,201,43,201,44,201,45,201,46,201,47,201,48,201,49,201,50,201,51,201,52,201,53,201,54,201,55,201,56,201,57,201,58,201,59,201,60,201,61,201,62,201,63,201,64,201,65,201,66,201,67,201,68,201,69,201,70,201,71,201,72,201,73,201,74,201,75,201,76,201,77,201,78,201,79,201,80,201,81,201,82,201,83,201,84,201,85,201,86,201,91,201,92,201,93,201,94,201,95,201,96,201,97,201,98,202,5,202,6,202,7,202,8,202,9,202,10,202,11,202,12,202,13,202,14,202,15,202,16,202,17,202,18,202,19,202,20,202,21,202,22,202,23,202,24,202,25,202,26,202,27,202,28,202,29,202,30,202,31,202,32,202,33,202,34,202,35,202,36,202,37,202,38,202,39,202,40,202,41,202,42,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,202,56,202,57,202,58,202,59,202,60,202,61,202,62,202,63,202,64,202,65,202,66,202,67,202,68,202,69,202,70,202,71,202,72,202,73,202,74,202,75,202,76,202,77,202,78,202,79,202,80,202,81,202,82,202,83,202,84,202,85,202,86,202,98,202,99,202,100,203,5,203,6,203,7,203,8,203,9,203,10,203,11,203,12,203,13,203,14,203,15,203,16,203,17,203,18,203,19,203,20,203,21,203,22,203,23,203,24,203,25,203,26,203,27,203,28,203,29,203,30,203,31,203,32,203,33,203,34,203,35,203,36,203,37,203,38,203,39,203,40,203,41,203,42,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,203,59,203,60,203,61,203,62,203,63,203,64,203,65,203,66,203,67,203,68,203,69,203,70,203,71,203,72,203,73,203,74,203,75,203,76,203,77,203,78,203,79,203,80,203,81,203,82,203,83,203,84,203,85,203,86,203,100,203,101,203,102,203,103,203,104,204,5,204,6,204,7,204,8,204,9,204,10,204,11,204,12,204,13,204,14,204,15,204,16,204,17,204,18,204,19,204,20,204,21,204,22,204,23,204,24,204,25,204,26,204,27,204,28,204,29,204,30,204,31,204,32,204,33,204,34,204,35,204,36,204,37,204,38,204,39,204,40,204,41,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,63,204,64,204,65,204,66,204,67,204,68,204,69,204,70,204,71,204,72,204,73,204,74,204,75,204,76,204,77,204,78,204,79,204,80,204,81,204,82,204,83,204,84,204,85,204,86,204,104,204,105,205,6,205,7,205,8,205,9,205,10,205,11,205,12,205,13,205,14,205,15,205,16,205,17,205,18,205,19,205,20,205,21,205,22,205,23,205,24,205,25,205,26,205,27,205,28,205,29,205,30,205,31,205,32,205,33,205,34,205,35,205,36,205,37,205,38,205,39,205,40,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,65,205,66,205,67,205,68,205,69,205,70,205,71,205,72,205,73,205,74,205,75,205,76,205,77,205,78,205,79,205,80,205,81,205,82,205,83,205,84,205,85,205,86,206,6,206,7,206,8,206,9,206,10,206,11,206,12,206,13,206,14,206,15,206,16,206,17,206,18,206,19,206,20,206,21,206,22,206,23,206,24,206,25,206,26,206,27,206,28,206,29,206,30,206,31,206,32,206,33,206,34,206,35,206,36,206,37,206,38,206,39,206,40,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,206,64,206,65,206,66,206,67,206,68,206,69,206,70,206,71,206,72,206,73,206,74,206,75,206,76,206,77,206,78,206,79,206,80,206,81,206,82,206,83,206,84,206,85,206,86,207,6,207,7,207,8,207,9,207,10,207,11,207,12,207,13,207,14,207,15,207,16,207,17,207,18,207,19,207,20,207,21,207,22,207,23,207,24,207,25,207,26,207,27,207,28,207,29,207,30,207,31,207,32,207,33,207,34,207,35,207,36,207,37,207,38,207,39,207,40,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,207,66,207,67,207,68,207,69,207,70,207,71,207,72,207,73,207,74,207,75,207,76,207,77,207,78,207,79,207,80,207,81,207,82,207,83,207,84,207,85,207,86,208,6,208,7,208,8,208,9,208,10,208,11,208,12,208,13,208,14,208,15,208,16,208,17,208,18,208,19,208,20,208,21,208,22,208,23,208,24,208,25,208,26,208,27,208,28,208,29,208,30,208,31,208,32,208,33,208,34,208,35,208,36,208,37,208,38,208,39,208,40,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,64,208,65,208,66,208,67,208,68,208,69,208,70,208,71,208,72,208,73,208,74,208,75,208,76,208,77,208,78,208,79,208,80,208,81,208,82,208,83,208,84,208,85,208,86,209,7,209,8,209,9,209,10,209,11,209,12,209,13,209,14,209,15,209,16,209,17,209,18,209,19,209,20,209,21,209,22,209,23,209,24,209,25,209,26,209,27,209,28,209,29,209,30,209,31,209,32,209,33,209,34,209,35,209,36,209,37,209,38,209,39,209,40,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,209,65,209,66,209,67,209,68,209,69,209,70,209,71,209,72,209,73,209,74,209,75,209,76,209,77,209,78,209,79,209,80,209,81,209,82,209,83,209,84,209,85,209,86,209,87,209,88,209,89,209,90,210,7,210,8,210,9,210,10,210,11,210,12,210,13,210,14,210,15,210,16,210,17,210,18,210,19,210,20,210,21,210,22,210,23,210,24,210,25,210,26,210,27,210,28,210,29,210,30,210,31,210,32,210,33,210,34,210,35,210,36,210,37,210,38,210,39,210,40,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,65,210,70,210,71,210,72,210,73,210,74,210,85,210,86,210,91,210,92,210,93,210,94,210,95,210,96,210,97,210,98,210,99,210,100,211,7,211,8,211,9,211,10,211,11,211,12,211,13,211,14,211,15,211,16,211,17,211,18,211,19,211,20,211,21,211,22,211,23,211,24,211,25,211,26,211,27,211,28,211,29,211,30,211,31,211,32,211,33,211,34,211,35,211,36,211,37,211,38,211,39,211,40,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,50,211,51,211,52,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,211,64,211,65,211,70,211,71,211,72,211,73,211,83,211,84,211,85,211,101,211,102,212,7,212,8,212,9,212,10,212,11,212,12,212,13,212,14,212,15,212,16,212,17,212,18,212,19,212,20,212,21,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,31,212,32,212,33,212,34,212,35,212,36,212,37,212,38,212,39,212,40,212,41,212,42,212,43,212,44,212,45,212,46,212,47,212,48,212,49,212,50,212,51,212,52,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,212,64,212,82,212,83,212,102,212,103,212,104,212,105,213,8,213,9,213,10,213,11,213,12,213,13,213,14,213,15,213,16,213,17,213,18,213,19,213,20,213,21,213,22,213,23,213,24,213,25,213,26,213,27,213,28,213,29,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,44,213,45,213,46,213,47,213,48,213,49,213,50,213,51,213,52,213,53,213,54,213,55,213,56,213,57,213,58,213,59,213,60,213,61,213,62,213,63,213,64,213,80,213,81,213,82,213,103,213,104,213,105,214,8,214,9,214,10,214,11,214,12,214,13,214,14,214,15,214,16,214,17,214,18,214,19,214,20,214,21,214,22,214,23,214,24,214,25,214,26,214,27,214,28,214,29,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,42,214,43,214,44,214,45,214,46,214,47,214,48,214,49,214,50,214,52,214,53,214,54,214,55,214,56,214,57,214,58,214,59,214,60,214,61,214,62,214,63,214,78,214,79,214,80,214,103,214,104,214,105,215,9,215,10,215,11,215,12,215,13,215,14,215,15,215,16,215,17,215,18,215,19,215,20,215,21,215,22,215,23,215,24,215,25,215,26,215,27,215,28,215,29,215,30,215,31,215,32,215,33,215,34,215,35,215,36,215,37,215,38,215,39,215,40,215,41,215,42,215,43,215,44,215,45,215,46,215,47,215,48,215,49,215,54,215,55,215,56,215,57,215,58,215,59,215,60,215,61,215,62,215,63,215,75,215,76,215,77,216,12,216,13,216,14,216,15,216,16,216,17,216,18,216,19,216,20,216,21,216,22,216,23,216,24,216,25,216,26,216,27,216,28,216,29,216,30,216,31,216,32,216,33,216,34,216,35,216,36,216,37,216,38,216,39,216,40,216,41,216,42,216,43,216,44,216,45,216,46,216,47,216,56,216,57,216,58,216,59,216,60,216,61,216,62,216,72,216,73,216,74,216,75,217,14,217,15,217,16,217,17,217,18,217,19,217,20,217,21,217,22,217,23,217,24,217,25,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,35,217,36,217,37,217,38,217,39,217,40,217,41,217,42,217,43,217,44,217,45,217,46,217,58,217,59,217,60,217,69,217,70,217,71,218,16,218,17,218,18,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,26,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,36,218,37,218,38,218,39,218,40,218,41,218,42,218,43,218,44,218,45,218,60,218,61,218,62,218,66,218,67,218,68,218,69,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,26,219,27,219,28,219,29,219,30,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,38,219,39,219,40,219,41,219,42,219,43,219,62,219,63,219,64,219,65,220,20,220,21,220,22,220,23,220,24,220,25,220,26,220,27,220,28,220,29,220,30,220,31,220,32,220,33,220,34,220,35,220,36,220,37,220,38,220,39,220,40,221,22,221,23,221,24,221,25,221,26,221,27,221,28,221,29,221,30,221,31,221,32,221,33,221,34,221,35,221,36,221,37,221,38,222,25,222,26,222,27,222,28,222,29,222,30,222,31,222,32,222,33,222,34}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1] + 107, 1, 1); idx = idx + 2; end coords = nil; end end function render_monster_0001 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {191,88,191,89,191,90,191,91,192,87,192,88,192,89,192,90,192,91,192,92,193,86,193,87,193,88,193,89,193,90,193,91,193,92,194,84,194,85,194,86,194,87,194,88,194,89,194,90,194,91,194,92,195,19,195,20,195,84,195,85,195,86,195,87,195,88,195,89,195,90,195,91,195,92,196,18,196,19,196,20,196,82,196,83,196,84,196,85,196,86,196,87,196,88,196,89,196,90,196,91,196,92,197,14,197,15,197,17,197,18,197,19,197,20,197,80,197,81,197,82,197,83,197,84,197,85,197,86,197,87,197,88,197,89,197,90,197,91,197,92,198,11,198,12,198,13,198,14,198,15,198,16,198,17,198,18,198,19,198,20,198,78,198,79,198,80,198,81,198,82,198,83,198,84,198,85,198,86,198,87,198,88,198,89,198,90,198,91,198,92,199,11,199,12,199,13,199,14,199,15,199,16,199,17,199,18,199,19,199,20,199,77,199,78,199,79,199,80,199,81,199,82,199,83,199,84,199,85,199,86,199,87,199,88,199,89,199,90,199,91,199,92,200,11,200,12,200,13,200,14,200,15,200,16,200,18,200,19,200,20,200,21,200,76,200,77,200,78,200,79,200,80,200,81,200,82,200,83,200,84,200,85,200,86,200,87,200,88,200,89,200,90,200,91,200,92,201,11,201,12,201,14,201,15,201,16,201,19,201,20,201,21,201,74,201,75,201,76,201,77,201,78,201,79,201,80,201,81,201,82,201,85,201,86,201,87,201,88,201,89,201,90,201,91,202,11,202,12,202,14,202,15,202,16,202,17,202,19,202,20,202,21,202,22,202,73,202,74,202,75,202,76,202,77,202,78,202,79,202,80,202,81,202,84,202,85,202,86,202,87,202,88,202,89,202,90,202,91,203,11,203,12,203,14,203,15,203,16,203,17,203,20,203,21,203,22,203,72,203,73,203,74,203,75,203,76,203,77,203,78,203,79,203,80,203,83,203,84,203,85,203,86,203,87,203,88,203,89,203,90,203,91,204,11,204,12,204,15,204,16,204,17,204,20,204,21,204,22,204,23,204,71,204,72,204,73,204,74,204,75,204,76,204,77,204,78,204,79,204,80,204,82,204,83,204,84,204,85,204,86,204,87,204,88,204,89,204,90,204,91,205,11,205,12,205,13,205,15,205,16,205,17,205,19,205,20,205,21,205,22,205,23,205,24,205,25,205,71,205,72,205,73,205,74,205,75,205,76,205,77,205,78,205,79,205,81,205,82,205,83,205,84,205,85,205,86,205,87,205,88,205,89,205,90,206,11,206,12,206,13,206,16,206,17,206,18,206,20,206,21,206,22,206,23,206,24,206,25,206,26,206,27,206,70,206,71,206,72,206,73,206,74,206,75,206,76,206,77,206,78,206,81,206,82,206,83,206,84,206,85,206,86,206,87,206,88,206,89,206,90,207,11,207,12,207,13,207,14,207,17,207,18,207,20,207,21,207,22,207,23,207,24,207,25,207,26,207,27,207,28,207,70,207,71,207,72,207,73,207,74,207,75,207,76,207,77,207,80,207,81,207,82,207,83,207,84,207,85,207,86,207,87,207,88,207,89,208,12,208,13,208,14,208,15,208,18,208,19,208,20,208,21,208,22,208,23,208,24,208,25,208,26,208,27,208,28,208,29,208,30,208,31,208,69,208,70,208,71,208,72,208,73,208,74,208,75,208,76,208,79,208,80,208,81,208,82,208,83,208,84,208,85,208,86,208,87,208,88,208,89,209,12,209,13,209,14,209,15,209,16,209,18,209,19,209,20,209,21,209,22,209,23,209,24,209,25,209,26,209,27,209,28,209,29,209,30,209,31,209,32,209,33,209,34,209,69,209,70,209,71,209,72,209,73,209,74,209,75,209,76,209,78,209,79,209,80,209,81,209,82,209,83,209,84,209,85,209,86,209,87,209,88,210,12,210,13,210,14,210,15,210,16,210,18,210,19,210,20,210,21,210,22,210,23,210,24,210,25,210,26,210,27,210,28,210,29,210,30,210,31,210,32,210,33,210,34,210,35,210,36,210,69,210,70,210,71,210,72,210,73,210,74,210,75,210,77,210,78,210,79,210,80,210,81,210,82,210,83,210,84,210,85,210,86,210,87,210,88,211,13,211,14,211,15,211,16,211,17,211,18,211,19,211,20,211,21,211,22,211,23,211,24,211,25,211,26,211,27,211,28,211,29,211,30,211,31,211,32,211,33,211,34,211,35,211,36,211,37,211,68,211,69,211,70,211,71,211,72,211,73,211,74,211,77,211,78,211,79,211,80,211,81,211,82,211,83,211,84,211,85,211,86,211,87,212,13,212,14,212,15,212,16,212,17,212,18,212,19,212,20,212,21,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,31,212,32,212,33,212,34,212,35,212,36,212,37,212,38,212,39,212,68,212,69,212,70,212,71,212,72,212,73,212,76,212,77,212,78,212,79,212,80,212,81,212,82,212,83,212,85,212,86,213,14,213,15,213,17,213,18,213,19,213,20,213,21,213,22,213,23,213,24,213,25,213,26,213,27,213,28,213,29,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,68,213,69,213,70,213,71,213,72,213,73,213,75,213,76,213,77,213,78,213,79,213,80,213,81,213,82,213,83,214,18,214,19,214,20,214,21,214,22,214,23,214,24,214,25,214,26,214,27,214,28,214,29,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,42,214,43,214,44,214,64,214,65,214,66,214,67,214,68,214,69,214,70,214,71,214,72,214,75,214,76,214,77,214,78,214,79,214,80,214,81,214,82,214,83,215,36,215,37,215,38,215,39,215,40,215,41,215,42,215,43,215,44,215,45,215,46,215,62,215,63,215,64,215,65,215,66,215,67,215,68,215,69,215,70,215,71,215,72,215,74,215,75,215,76,215,77,215,78,215,79,215,80,215,81,215,82,215,83,216,37,216,38,216,39,216,40,216,41,216,42,216,43,216,44,216,45,216,46,216,47,216,48,216,61,216,62,216,63,216,64,216,65,216,66,216,67,216,68,216,69,216,70,216,71,216,74,216,75,216,76,216,77,216,78,216,79,216,80,216,81,216,82,216,83,217,20,217,21,217,22,217,23,217,24,217,25,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,40,217,41,217,42,217,43,217,44,217,45,217,46,217,47,217,48,217,49,217,50,217,60,217,61,217,62,217,63,217,64,217,65,217,66,217,67,217,68,217,69,217,70,217,71,217,73,217,74,217,75,217,76,217,77,217,78,217,79,217,80,217,81,217,82,217,83,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,26,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,36,218,43,218,44,218,45,218,46,218,47,218,48,218,49,218,50,218,51,218,59,218,60,218,61,218,62,218,63,218,64,218,65,218,66,218,67,218,68,218,69,218,70,218,71,218,73,218,74,218,75,218,76,218,77,218,78,218,79,218,80,218,81,218,82,218,83,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,26,219,27,219,28,219,29,219,30,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,38,219,39,219,40,219,41,219,42,219,45,219,46,219,47,219,48,219,49,219,50,219,51,219,52,219,56,219,57,219,58,219,59,219,60,219,61,219,62,219,63,219,64,219,65,219,66,219,67,219,68,219,69,219,70,219,71,219,73,219,74,219,75,219,76,219,77,219,78,219,79,219,80,219,81,219,82,219,83,220,14,220,15,220,16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,25,220,26,220,27,220,28,220,29,220,30,220,31,220,32,220,33,220,34,220,35,220,36,220,37,220,38,220,39,220,40,220,41,220,42,220,43,220,44,220,47,220,48,220,49,220,50,220,51,220,52,220,53,220,54,220,55,220,56,220,57,220,58,220,59,220,60,220,61,220,62,220,63,220,64,220,65,220,66,220,67,220,68,220,69,220,70,220,72,220,73,220,74,220,75,220,76,220,77,220,78,220,79,220,80,220,81,220,82,220,83,221,12,221,13,221,14,221,15,221,16,221,17,221,18,221,19,221,20,221,21,221,22,221,23,221,24,221,25,221,26,221,27,221,28,221,29,221,30,221,31,221,32,221,33,221,34,221,35,221,36,221,37,221,38,221,39,221,40,221,41,221,42,221,43,221,44,221,45,221,48,221,49,221,50,221,51,221,52,221,53,221,54,221,55,221,56,221,57,221,58,221,59,221,60,221,61,221,62,221,63,221,64,221,65,221,66,221,67,221,68,221,69,221,70,221,72,221,73,221,74,221,75,221,76,221,77,221,78,221,79,221,80,221,81,221,82,221,83,222,10,222,11,222,12,222,13,222,14,222,15,222,16,222,17,222,18,222,19,222,20,222,21,222,22,222,23,222,24,222,25,222,26,222,27,222,28,222,29,222,30,222,31,222,32,222,33,222,34,222,35,222,36,222,37,222,38,222,39,222,40,222,41,222,42,222,43,222,44,222,45,222,46,222,49,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,58,222,59,222,60,222,61,222,62,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,72,222,73,222,74,222,75,222,76,222,77,222,78,222,79,222,80,222,81,222,82,222,83,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,18,223,19,223,20,223,21,223,22,223,23,223,29,223,30,223,31,223,32,223,33,223,34,223,35,223,36,223,37,223,38,223,39,223,40,223,41,223,42,223,43,223,44,223,45,223,46,223,47,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,67,223,68,223,69,223,70,223,71,223,72,223,73,223,74,223,75,223,76,223,77,223,78,223,79,223,80,223,81,223,82,223,83,223,84,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,18,224,19,224,20,224,21,224,22,224,23,224,29,224,30,224,31,224,32,224,33,224,34,224,35,224,36,224,37,224,38,224,39,224,40,224,41,224,42,224,43,224,44,224,45,224,46,224,47,224,48,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,69,224,70,224,71,224,72,224,73,224,74,224,75,224,76,224,77,224,78,224,79,224,80,224,81,224,82,224,83,224,84,225,16,225,17,225,18,225,19,225,20,225,21,225,22,225,23,225,29,225,30,225,31,225,32,225,33,225,34,225,35,225,36,225,37,225,38,225,39,225,40,225,41,225,42,225,43,225,44,225,45,225,46,225,47,225,48,225,49,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,69,225,70,225,71,225,72,225,73,225,74,225,75,225,76,225,77,225,78,225,79,225,80,225,81,225,82,225,83,225,84,225,85,226,19,226,20,226,21,226,22,226,23,226,29,226,30,226,31,226,32,226,33,226,34,226,48,226,49,226,50,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,68,226,69,226,70,226,71,226,72,226,73,226,74,226,75,226,76,226,77,226,78,226,79,226,80,226,81,226,82,226,83,226,84,226,85,227,18,227,19,227,20,227,21,227,22,227,23,227,29,227,30,227,31,227,32,227,33,227,34,227,35,227,36,227,37,227,38,227,39,227,48,227,49,227,50,227,51,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,67,227,68,227,69,227,70,227,71,227,72,227,73,227,74,227,75,227,76,227,77,227,78,227,79,227,80,227,81,227,82,227,83,227,84,227,85,228,18,228,19,228,20,228,21,228,22,228,23,228,29,228,30,228,31,228,32,228,33,228,40,228,48,228,49,228,50,228,51,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,64,228,65,228,66,228,67,228,68,228,69,228,70,228,71,228,72,228,73,228,74,228,75,228,76,228,77,228,78,228,79,228,80,228,81,228,82,228,83,228,84,228,85,229,18,229,19,229,20,229,21,229,22,229,23,229,24,229,25,229,26,229,27,229,28,229,29,229,30,229,31,229,32,229,34,229,35,229,36,229,37,229,38,229,39,229,40,229,45,229,46,229,47,229,50,229,51,229,52,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,67,229,68,229,69,229,70,229,71,229,72,229,73,229,74,229,75,229,76,229,77,229,78,229,79,229,80,229,81,229,82,229,83,229,84,229,85,230,18,230,19,230,20,230,21,230,22,230,23,230,24,230,25,230,26,230,27,230,28,230,29,230,30,230,31,230,32,230,35,230,36,230,44,230,45,230,46,230,47,230,51,230,52,230,53,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,67,230,68,230,69,230,70,230,71,230,72,230,73,230,74,230,75,230,76,230,77,230,78,230,79,230,80,230,81,230,82,230,83,230,84,230,85,231,18,231,19,231,20,231,21,231,22,231,23,231,24,231,25,231,26,231,27,231,28,231,31,231,32,231,37,231,38,231,44,231,45,231,46,231,47,231,49,231,51,231,52,231,53,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,67,231,68,231,69,231,70,231,71,231,72,231,73,231,74,231,75,231,76,231,77,231,78,231,79,231,80,231,81,231,82,231,83,231,84,231,85,232,18,232,19,232,20,232,21,232,22,232,23,232,24,232,25,232,26,232,27,232,28,232,31,232,32,232,39,232,40,232,43,232,44,232,45,232,46,232,49,232,50,232,52,232,53,232,54,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,70,232,71,232,72,232,73,232,74,232,75,232,76,232,77,232,78,232,79,232,80,232,81,232,82,232,83,232,84,232,85,233,18,233,19,233,20,233,21,233,22,233,23,233,24,233,25,233,26,233,27,233,28,233,31,233,32,233,34,233,35,233,36,233,37,233,38,233,39,233,40,233,43,233,44,233,45,233,48,233,49,233,50,233,52,233,53,233,54,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,70,233,71,233,72,233,75,233,76,233,77,233,78,233,79,233,80,233,81,233,82,233,83,233,84,233,85,234,17,234,18,234,19,234,20,234,21,234,22,234,23,234,24,234,25,234,26,234,27,234,28,234,29,234,30,234,31,234,32,234,36,234,37,234,38,234,43,234,44,234,45,234,47,234,48,234,49,234,50,234,52,234,53,234,54,234,56,234,57,234,58,234,59,234,60,234,61,234,69,234,70,234,75,234,76,234,77,234,81,234,82,234,83,234,84,234,85,235,15,235,16,235,17,235,18,235,19,235,20,235,21,235,22,235,23,235,24,235,25,235,26,235,27,235,28,235,29,235,30,235,31,235,32,235,38,235,39,235,43,235,44,235,46,235,47,235,48,235,49,235,50,235,53,235,54,235,56,235,57,235,58,235,59,235,66,235,79,235,80,235,81,235,82,235,83,235,84,235,85,235,86,236,8,236,9,236,10,236,11,236,12,236,13,236,14,236,15,236,16,236,17,236,18,236,19,236,20,236,21,236,22,236,23,236,24,236,25,236,26,236,27,236,28,236,29,236,30,236,31,236,32,236,35,236,36,236,37,236,38,236,39,236,40,236,42,236,43,236,44,236,46,236,47,236,48,236,49,236,50,236,51,236,53,236,54,236,56,236,57,236,58,236,59,236,64,236,65,236,66,236,72,236,77,236,78,236,79,236,80,236,81,236,82,236,83,236,84,236,85,236,86,236,87,237,8,237,9,237,10,237,11,237,12,237,13,237,14,237,15,237,16,237,17,237,18,237,19,237,20,237,21,237,22,237,23,237,29,237,30,237,31,237,32,237,35,237,36,237,37,237,38,237,42,237,43,237,45,237,46,237,47,237,48,237,49,237,52,237,53,237,54,237,56,237,57,237,58,237,59,237,61,237,62,237,63,237,64,237,65,237,66,237,69,237,70,237,71,237,72,237,76,237,77,237,78,237,79,237,80,237,81,237,82,237,83,237,84,237,85,237,86,237,87,238,9,238,10,238,11,238,12,238,13,238,14,238,15,238,16,238,17,238,18,238,19,238,20,238,21,238,22,238,23,238,29,238,30,238,31,238,32,238,33,238,35,238,38,238,39,238,41,238,42,238,43,238,45,238,46,238,47,238,48,238,51,238,52,238,53,238,55,238,56,238,57,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,68,238,69,238,70,238,71,238,72,238,73,238,74,238,75,238,76,238,77,238,78,238,79,238,80,238,81,238,82,238,83,238,84,238,85,238,86,238,87,239,10,239,11,239,12,239,13,239,14,239,15,239,16,239,17,239,18,239,19,239,20,239,21,239,22,239,23,239,29,239,30,239,31,239,32,239,33,239,36,239,37,239,38,239,41,239,42,239,45,239,46,239,49,239,50,239,51,239,52,239,53,239,55,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,68,239,69,239,70,239,71,239,72,239,73,239,74,239,75,239,76,239,77,239,78,239,79,239,80,239,81,239,82,239,83,239,84,239,85,239,86,239,87,240,9,240,10,240,11,240,12,240,13,240,14,240,15,240,16,240,17,240,18,240,19,240,20,240,21,240,22,240,23,240,29,240,30,240,31,240,32,240,33,240,34,240,42,240,44,240,48,240,49,240,50,240,51,240,52,240,55,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,240,64,240,65,240,66,240,67,240,68,240,69,240,70,240,71,240,72,240,73,240,74,240,75,240,76,240,77,240,78,240,79,240,80,240,81,240,82,240,83,240,84,240,85,240,86,240,87,241,9,241,10,241,12,241,13,241,14,241,15,241,16,241,17,241,18,241,19,241,20,241,21,241,22,241,23,241,29,241,30,241,31,241,32,241,33,241,34,241,35,241,36,241,37,241,38,241,39,241,40,241,46,241,47,241,48,241,49,241,50,241,51,241,52,241,54,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,68,241,69,241,70,241,71,241,72,241,73,241,74,241,75,241,76,241,77,241,78,241,79,241,80,241,81,241,82,241,83,241,84,241,85,241,86,241,87,241,88,242,9,242,10,242,12,242,13,242,14,242,15,242,16,242,17,242,18,242,19,242,20,242,21,242,22,242,23,242,29,242,30,242,31,242,32,242,33,242,34,242,35,242,36,242,37,242,38,242,39,242,40,242,41,242,42,242,43,242,44,242,45,242,46,242,47,242,48,242,49,242,50,242,51,242,52,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,68,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,80,242,81,242,82,242,83,242,84,242,85,242,86,242,87,242,88,243,8,243,9,243,10,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,25,243,26,243,27,243,28,243,29,243,30,243,31,243,32,243,33,243,34,243,35,243,36,243,37,243,38,243,39,243,40,243,41,243,42,243,43,243,44,243,45,243,46,243,47,243,48,243,49,243,50,243,51,243,53,243,54,243,55,243,56,243,57,243,58,243,59,243,60,243,61,243,62,243,63,243,64,243,65,243,66,243,67,243,68,243,69,243,70,243,71,243,72,243,73,243,74,243,75,243,76,243,77,243,78,243,79,243,82,243,83,243,84,243,85,243,86,243,87,243,88,243,89,244,8,244,9,244,10,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,24,244,25,244,26,244,27,244,28,244,29,244,30,244,31,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,39,244,40,244,41,244,42,244,43,244,44,244,45,244,46,244,47,244,48,244,49,244,50,244,53,244,54,244,55,244,56,244,57,244,58,244,59,244,60,244,61,244,62,244,63,244,64,244,65,244,66,244,67,244,68,244,69,244,70,244,71,244,72,244,73,244,74,244,75,244,76,244,77,244,78,244,79,244,80,244,82,244,83,244,84,244,85,244,86,244,87,244,88,244,89,245,8,245,9,245,10,245,16,245,17,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,25,245,26,245,27,245,28,245,29,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,39,245,40,245,41,245,42,245,43,245,44,245,45,245,46,245,47,245,48,245,49,245,50,245,52,245,53,245,54,245,55,245,56,245,57,245,58,245,59,245,60,245,61,245,62,245,63,245,64,245,65,245,66,245,67,245,68,245,69,245,70,245,71,245,72,245,73,245,74,245,75,245,76,245,77,245,78,245,79,245,80,245,83,245,84,245,85,245,86,245,87,245,88,245,89,245,90,246,7,246,8,246,9,246,10,246,11,246,15,246,16,246,17,246,18,246,19,246,20,246,21,246,22,246,23,246,24,246,25,246,26,246,27,246,28,246,29,246,30,246,31,246,32,246,33,246,34,246,35,246,36,246,37,246,38,246,39,246,40,246,41,246,42,246,43,246,44,246,45,246,46,246,47,246,48,246,49,246,51,246,52,246,53,246,54,246,55,246,56,246,57,246,58,246,59,246,60,246,61,246,62,246,63,246,64,246,65,246,66,246,67,246,68,246,69,246,70,246,71,246,72,246,73,246,74,246,75,246,76,246,77,246,78,246,79,246,80,246,81,246,83,246,84,246,85,246,86,246,87,246,88,246,89,246,90,246,91,247,7,247,8,247,9,247,10,247,11,247,15,247,16,247,17,247,18,247,19,247,20,247,21,247,22,247,23,247,24,247,25,247,26,247,27,247,28,247,29,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,37,247,38,247,39,247,40,247,41,247,42,247,43,247,44,247,45,247,46,247,47,247,50,247,51,247,52,247,53,247,54,247,55,247,56,247,57,247,58,247,59,247,60,247,61,247,62,247,63,247,64,247,65,247,66,247,67,247,68,247,69,247,70,247,71,247,72,247,73,247,74,247,75,247,76,247,77,247,78,247,79,247,80,247,81,247,82,247,84,247,85,247,86,247,87,247,88,247,89,247,90,247,91,247,92,247,93,248,4,248,5,248,6,248,7,248,8,248,9,248,10,248,11,248,16,248,18,248,19,248,20,248,21,248,22,248,23,248,24,248,25,248,26,248,27,248,28,248,29,248,30,248,31,248,32,248,33,248,34,248,35,248,36,248,37,248,38,248,39,248,40,248,41,248,42,248,43,248,44,248,45,248,46,248,49,248,50,248,51,248,52,248,53,248,54,248,55,248,56,248,57,248,59,248,60,248,61,248,62,248,63,248,64,248,65,248,66,248,67,248,68,248,69,248,70,248,71,248,72,248,73,248,74,248,75,248,76,248,77,248,78,248,79,248,80,248,81,248,82,248,85,248,86,248,87,248,88,248,89,248,90,248,91,248,92,248,93,248,94,249,4,249,5,249,6,249,7,249,10,249,11,249,12,249,15,249,16,249,17,249,18,249,19,249,20,249,21,249,22,249,23,249,24,249,25,249,26,249,27,249,28,249,29,249,30,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,41,249,42,249,43,249,44,249,48,249,49,249,50,249,51,249,52,249,53,249,54,249,55,249,56,249,57,249,59,249,60,249,61,249,62,249,63,249,64,249,65,249,66,249,67,249,68,249,69,249,70,249,71,249,72,249,73,249,74,249,75,249,76,249,77,249,78,249,79,249,80,249,81,249,82,249,83,249,86,249,87,249,88,249,89,249,90,249,91,249,92,249,93,249,94,249,95,250,4,250,5,250,7,250,8,250,11,250,12,250,13,250,14,250,15,250,16,250,17,250,18,250,20,250,21,250,22,250,23,250,24,250,25,250,26,250,27,250,28,250,29,250,30,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,41,250,45,250,46,250,47,250,48,250,49,250,50,250,51,250,52,250,53,250,54,250,55,250,56,250,58,250,59,250,60,250,61,250,62,250,63,250,64,250,65,250,66,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,74,250,75,250,76,250,77,250,78,250,79,250,80,250,81,250,82,250,83,250,84,250,86,250,87,250,88,250,89,250,90,250,91,250,92,250,93,250,94,250,95,251,4,251,5,251,7,251,8,251,9,251,11,251,12,251,13,251,14,251,15,251,16,251,17,251,18,251,19,251,21,251,22,251,23,251,24,251,25,251,26,251,27,251,28,251,29,251,30,251,31,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,39,251,40,251,43,251,44,251,45,251,46,251,47,251,48,251,49,251,50,251,51,251,52,251,53,251,54,251,55,251,58,251,59,251,60,251,61,251,62,251,63,251,64,251,65,251,66,251,67,251,68,251,69,251,70,251,71,251,72,251,73,251,74,251,75,251,76,251,77,251,78,251,79,251,80,251,81,251,82,251,83,251,84,251,87,251,88,251,89,251,90,251,91,251,92,251,93,251,94,251,95,252,4,252,5,252,8,252,9,252,10,252,12,252,13,252,14,252,15,252,16,252,17,252,18,252,19,252,31,252,32,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,40,252,43,252,44,252,45,252,46,252,47,252,48,252,49,252,50,252,51,252,52,252,53,252,54,252,55,252,57,252,58,252,59,252,60,252,61,252,62,252,63,252,64,252,65,252,66,252,67,252,68,252,69,252,70,252,71,252,72,252,73,252,74,252,75,252,76,252,77,252,78,252,79,252,80,252,81,252,82,252,83,252,84,252,85,252,87,252,88,252,89,252,90,252,91,252,92,252,93,252,94,252,95,252,96,253,4,253,5,253,6,253,8,253,9,253,10,253,13,253,14,253,15,253,16,253,17,253,18,253,19,253,20,253,21,253,22,253,23,253,24,253,25,253,26,253,27,253,28,253,29,253,30,253,34,253,35,253,36,253,37,253,38,253,39,253,42,253,43,253,44,253,45,253,46,253,47,253,48,253,49,253,50,253,51,253,52,253,53,253,54,253,56,253,57,253,58,253,59,253,60,253,61,253,62,253,63,253,64,253,65,253,66,253,67,253,68,253,69,253,70,253,71,253,72,253,73,253,74,253,75,253,76,253,77,253,78,253,79,253,80,253,81,253,82,253,83,253,84,253,85,253,86,253,88,253,89,253,90,253,91,253,92,253,93,253,94,253,95,253,96,254,4,254,5,254,6,254,9,254,10,254,11,254,14,254,15,254,16,254,17,254,18,254,19,254,20,254,21,254,22,254,23,254,24,254,25,254,26,254,27,254,28,254,29,254,30,254,31,254,32,254,41,254,42,254,43,254,44,254,45,254,46,254,47,254,48,254,49,254,50,254,51,254,52,254,53,254,56,254,57,254,58,254,59,254,60,254,61,254,62,254,63,254,64,254,65,254,66,254,67,254,68,254,69,254,70,254,71,254,72,254,73,254,74,254,75,254,76,254,77,254,78,254,79,254,80,254,81,254,82,254,83,254,84,254,85,254,86,254,88,254,89,254,90,254,91,254,92,254,93,254,94,254,95,254,96,255,4,255,5,255,6,255,7,255,9,255,10,255,11,255,12,255,13,255,18,255,19,255,20,255,21,255,22,255,23,255,24,255,25,255,26,255,27,255,28,255,29,255,30,255,31,255,32,255,33,255,34,255,35,255,36,255,37,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,50,255,51,255,52,255,53,255,55,255,56,255,57,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,255,68,255,69,255,70,255,71,255,72,255,73,255,74,255,75,255,76,255,77,255,78,255,79,255,80,255,81,255,82,255,83,255,84,255,85,255,86,255,89,255,90,255,91,255,92,255,93,255,94,255,95,255,96,256,4,256,5,256,6,256,7,256,10,256,11,256,12,256,13,256,14,256,15,256,16,256,18,256,19,256,20,256,21,256,22,256,23,256,24,256,25,256,26,256,27,256,28,256,29,256,30,256,31,256,32,256,33,256,34,256,35,256,36,256,37,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,48,256,49,256,50,256,51,256,52,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,256,68,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,256,79,256,80,256,81,256,82,256,83,256,84,256,85,256,86,256,87,256,89,256,90,256,91,256,92,256,93,256,94,256,95,256,96,257,4,257,5,257,6,257,7,257,8,257,11,257,12,257,13,257,14,257,15,257,16,257,17,257,18,257,19,257,20,257,21,257,22,257,23,257,24,257,25,257,26,257,27,257,28,257,29,257,30,257,31,257,32,257,33,257,34,257,35,257,36,257,37,257,38,257,39,257,40,257,41,257,42,257,43,257,44,257,45,257,46,257,47,257,48,257,49,257,50,257,51,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,257,80,257,81,257,82,257,83,257,84,257,85,257,86,257,87,257,89,257,90,257,91,257,92,257,93,257,94,257,95,257,96,258,4,258,5,258,6,258,7,258,8,258,9,258,12,258,13,258,14,258,15,258,16,258,17,258,18,258,19,258,20,258,21,258,22,258,23,258,24,258,25,258,26,258,27,258,28,258,29,258,30,258,31,258,32,258,33,258,34,258,35,258,36,258,37,258,38,258,39,258,40,258,41,258,42,258,43,258,44,258,45,258,46,258,47,258,48,258,49,258,50,258,53,258,54,258,55,258,56,258,57,258,58,258,59,258,60,258,61,258,64,258,65,258,66,258,67,258,68,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,79,258,80,258,81,258,82,258,83,258,84,258,85,258,86,258,87,258,88,258,90,258,91,258,92,258,93,258,94,258,95,258,96,259,4,259,5,259,6,259,7,259,8,259,9,259,10,259,11,259,12,259,13,259,14,259,15,259,16,259,17,259,18,259,19,259,20,259,21,259,22,259,23,259,24,259,25,259,26,259,27,259,28,259,29,259,30,259,31,259,32,259,33,259,34,259,35,259,36,259,37,259,38,259,39,259,40,259,41,259,42,259,43,259,44,259,45,259,46,259,47,259,48,259,49,259,52,259,53,259,54,259,55,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,65,259,66,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,78,259,79,259,80,259,81,259,82,259,83,259,84,259,85,259,86,259,87,259,88,259,90,259,91,259,92,259,93,259,94,259,95,259,96,260,4,260,5,260,6,260,7,260,8,260,9,260,10,260,11,260,12,260,13,260,14,260,15,260,16,260,17,260,18,260,19,260,20,260,21,260,22,260,23,260,24,260,25,260,26,260,27,260,28,260,29,260,30,260,31,260,32,260,33,260,34,260,35,260,36,260,37,260,38,260,39,260,40,260,41,260,42,260,43,260,44,260,45,260,46,260,47,260,51,260,52,260,53,260,54,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,76,260,77,260,78,260,79,260,80,260,81,260,82,260,83,260,84,260,85,260,86,260,87,260,88,260,90,260,91,260,92,260,93,260,94,260,95,260,96,261,5,261,6,261,7,261,8,261,9,261,10,261,11,261,12,261,13,261,14,261,15,261,16,261,17,261,18,261,19,261,20,261,21,261,22,261,23,261,24,261,25,261,26,261,27,261,28,261,29,261,30,261,31,261,32,261,33,261,34,261,35,261,36,261,37,261,38,261,39,261,40,261,41,261,42,261,49,261,50,261,51,261,52,261,53,261,54,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,68,261,69,261,70,261,71,261,72,261,73,261,74,261,75,261,76,261,77,261,78,261,79,261,80,261,81,261,82,261,83,261,84,261,85,261,86,261,87,261,88,261,90,261,91,261,92,261,93,261,94,261,95,261,96,262,7,262,8,262,9,262,10,262,11,262,12,262,14,262,15,262,16,262,17,262,18,262,19,262,20,262,21,262,22,262,23,262,24,262,25,262,26,262,27,262,28,262,29,262,30,262,31,262,32,262,33,262,44,262,45,262,46,262,47,262,48,262,49,262,50,262,51,262,52,262,53,262,54,262,55,262,56,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,68,262,69,262,70,262,71,262,72,262,73,262,74,262,75,262,76,262,77,262,78,262,79,262,80,262,81,262,82,262,83,262,84,262,85,262,86,262,87,262,88,262,89,262,91,262,92,262,93,262,94,262,95,262,96,263,10,263,11,263,12,263,13,263,14,263,15,263,16,263,17,263,18,263,19,263,20,263,21,263,22,263,23,263,24,263,25,263,26,263,27,263,28,263,29,263,30,263,31,263,32,263,33,263,34,263,35,263,36,263,37,263,38,263,39,263,40,263,41,263,42,263,43,263,44,263,45,263,46,263,47,263,48,263,49,263,50,263,51,263,52,263,53,263,54,263,55,263,56,263,57,263,58,263,59,263,60,263,61,263,62,263,63,263,64,263,65,263,66,263,67,263,68,263,69,263,70,263,71,263,72,263,73,263,74,263,75,263,76,263,77,263,78,263,79,263,80,263,81,263,82,263,83,263,84,263,85,263,86,263,87,263,88,263,89,263,91,263,92,263,93,263,94,263,95,263,96,264,13,264,14,264,15,264,16,264,17,264,18,264,19,264,20,264,21,264,22,264,23,264,24,264,25,264,26,264,27,264,28,264,29,264,30,264,31,264,32,264,33,264,34,264,35,264,36,264,37,264,38,264,39,264,40,264,41,264,42,264,43,264,44,264,45,264,46,264,47,264,48,264,49,264,50,264,51,264,52,264,53,264,54,264,55,264,56,264,57,264,58,264,59,264,60,264,61,264,62,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,264,72,264,73,264,74,264,75,264,76,264,77,264,78,264,79,264,80,264,81,264,82,264,83,264,84,264,85,264,86,264,87,264,88,264,89,264,91,264,92,264,93,264,94,264,95,264,96,265,16,265,17,265,18,265,19,265,20,265,21,265,22,265,23,265,24,265,25,265,26,265,27,265,28,265,29,265,30,265,31,265,32,265,33,265,34,265,35,265,36,265,37,265,38,265,39,265,40,265,41,265,42,265,43,265,44,265,45,265,46,265,47,265,48,265,49,265,50,265,51,265,52,265,53,265,54,265,55,265,56,265,57,265,58,265,59,265,60,265,61,265,62,265,63,265,64,265,65,265,66,265,67,265,68,265,69,265,70,265,71,265,72,265,73,265,74,265,75,265,76,265,77,265,78,265,79,265,80,265,81,265,82,265,83,265,84,265,85,265,86,265,87,265,88,265,89,265,91,265,92,265,93,265,94,265,95,265,96,266,17,266,18,266,19,266,20,266,21,266,22,266,23,266,24,266,25,266,26,266,27,266,28,266,29,266,30,266,31,266,32,266,33,266,34,266,35,266,36,266,37,266,38,266,39,266,40,266,41,266,42,266,43,266,44,266,45,266,46,266,47,266,48,266,49,266,50,266,51,266,57,266,58,266,59,266,60,266,61,266,62,266,63,266,64,266,65,266,66,266,67,266,68,266,69,266,70,266,71,266,72,266,73,266,74,266,75,266,76,266,77,266,78,266,79,266,80,266,81,266,82,266,83,266,84,266,85,266,86,266,87,266,88,266,89,266,91,266,92,266,93,266,94,266,95,266,96,267,20,267,21,267,22,267,23,267,24,267,25,267,26,267,27,267,28,267,29,267,30,267,31,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,39,267,40,267,41,267,42,267,43,267,44,267,45,267,46,267,47,267,48,267,63,267,64,267,65,267,66,267,67,267,68,267,69,267,70,267,71,267,72,267,73,267,74,267,75,267,76,267,77,267,78,267,79,267,80,267,81,267,82,267,83,267,84,267,85,267,86,267,87,267,88,267,89,267,91,267,92,267,93,267,94,267,95,267,96,268,22,268,23,268,24,268,25,268,26,268,27,268,28,268,29,268,30,268,31,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,39,268,40,268,41,268,42,268,43,268,44,268,45,268,46,268,47,268,64,268,65,268,66,268,67,268,68,268,69,268,70,268,71,268,72,268,73,268,74,268,75,268,76,268,77,268,78,268,79,268,80,268,81,268,82,268,83,268,84,268,85,268,86,268,87,268,88,268,89,268,91,268,92,268,93,268,94,268,95,268,96,269,27,269,28,269,29,269,30,269,83,269,84,269,85,269,86,269,87,269,88,269,91,269,92,269,93,269,94,269,95,269,96,270,84,270,85,270,86,270,87,270,88,270,90,270,91,270,92,270,93,270,94,270,95,270,96,271,83,271,84,271,85,271,86,271,87,271,90,271,91,271,92,271,93,271,94,271,95,271,96,272,82,272,83,272,84,272,85,272,86,272,87,272,89,272,90,272,91,272,92,272,93,272,94,272,95,272,96,273,81,273,82,273,83,273,84,273,85,273,86,273,89,273,90,273,91,273,92,273,93,273,94,273,95,274,81,274,82,274,83,274,84,274,85,274,86,274,88,274,89,274,90,274,91,274,92,274,93,274,94,275,79,275,80,275,81,275,82,275,83,275,84,275,85,275,87,275,88,275,89,275,90,275,91,275,92,275,93,275,94,276,79,276,80,276,81,276,83,276,84,276,87,276,88,276,89,276,90,276,91,276,92,276,93,276,94,277,78,277,79,277,80,277,81,277,82,277,83,277,84,277,86,277,87,277,88,277,89,277,90,277,91,277,92,277,93,277,94,278,78,278,79,278,80,278,81,278,82,278,83,278,84,278,85,278,86,278,87,278,88,278,89,278,90,278,91,278,92,278,93,279,78,279,79,279,80,279,81,279,82,279,83,279,84,279,85,279,86,279,87,279,88,279,89,279,90,279,91,280,77,280,78,280,79,280,80,280,81,280,82,280,83,280,84,280,85,280,86,280,87,280,88,280,89,280,90,281,77,281,78,281,79,281,80,281,81,281,82,281,83,281,84,281,85,281,86,281,87,281,88,282,77,282,78,282,79,282,80,282,81,282,82,282,83,282,84,282,85,282,86,282,87,282,88,283,77,283,78,283,79,283,80,283,81,283,82,283,83,283,84,283,85,283,86,283,87,283,88,284,79,284,80,284,81,284,82,284,83,284,84,284,85,284,86,284,87}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0002 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {156,95,156,96,156,97,156,99,156,100,156,101,157,91,157,92,157,93,157,94,157,95,157,98,157,99,157,100,157,101,157,102,158,85,158,86,158,87,158,88,158,89,158,90,158,91,158,92,158,93,158,97,158,98,158,99,158,100,158,101,158,102,158,103,159,82,159,83,159,84,159,85,159,86,159,87,159,88,159,89,159,90,159,91,159,92,159,95,159,96,159,97,159,98,159,99,159,100,159,101,159,102,159,103,160,79,160,80,160,81,160,82,160,83,160,84,160,85,160,86,160,87,160,88,160,89,160,90,160,91,160,92,160,94,160,95,160,96,160,97,160,98,160,99,160,100,160,101,160,102,160,103,161,77,161,78,161,79,161,80,161,81,161,82,161,83,161,84,161,85,161,86,161,87,161,88,161,89,161,90,161,91,161,92,161,94,161,95,161,96,161,97,161,98,161,99,161,100,161,101,161,102,161,103,162,12,162,13,162,14,162,15,162,16,162,17,162,18,162,19,162,20,162,21,162,22,162,23,162,24,162,25,162,26,162,27,162,28,162,29,162,30,162,31,162,32,162,33,162,34,162,35,162,36,162,73,162,74,162,75,162,76,162,77,162,78,162,79,162,80,162,81,162,82,162,83,162,84,162,85,162,86,162,87,162,88,162,89,162,90,162,91,162,92,162,94,162,95,162,96,162,97,162,98,162,99,162,100,162,101,162,102,162,103,163,8,163,9,163,10,163,11,163,12,163,13,163,14,163,15,163,16,163,17,163,18,163,19,163,20,163,21,163,22,163,23,163,36,163,37,163,38,163,69,163,70,163,71,163,72,163,73,163,74,163,75,163,76,163,77,163,78,163,79,163,80,163,81,163,82,163,83,163,84,163,85,163,86,163,87,163,88,163,89,163,90,163,91,163,92,163,94,163,95,163,96,163,97,163,98,163,99,163,100,163,101,163,102,163,103,164,5,164,6,164,7,164,8,164,9,164,10,164,11,164,12,164,13,164,14,164,15,164,16,164,17,164,18,164,19,164,20,164,21,164,22,164,23,164,38,164,39,164,40,164,41,164,42,164,43,164,44,164,67,164,68,164,69,164,70,164,71,164,72,164,73,164,74,164,75,164,76,164,77,164,78,164,79,164,80,164,81,164,82,164,83,164,84,164,85,164,86,164,87,164,88,164,89,164,90,164,91,164,93,164,94,164,95,164,96,164,97,164,98,164,99,164,100,164,101,164,102,164,103,165,3,165,4,165,5,165,6,165,7,165,8,165,9,165,10,165,11,165,12,165,13,165,17,165,18,165,19,165,20,165,21,165,22,165,23,165,44,165,45,165,46,165,47,165,65,165,66,165,67,165,68,165,69,165,70,165,71,165,72,165,73,165,74,165,75,165,76,165,77,165,78,165,79,165,80,165,81,165,82,165,83,165,84,165,85,165,86,165,87,165,88,165,89,165,90,165,91,165,94,165,95,165,96,165,97,165,98,165,99,165,100,166,3,166,4,166,5,166,6,166,7,166,8,166,9,166,10,166,11,166,12,166,18,166,19,166,20,166,21,166,22,166,23,166,47,166,48,166,64,166,65,166,66,166,67,166,68,166,69,166,70,166,71,166,72,166,73,166,74,166,75,166,76,166,77,166,78,166,79,166,80,166,81,166,82,166,83,166,84,166,85,166,86,166,87,166,88,166,89,166,90,166,91,166,92,166,95,166,96,167,3,167,4,167,5,167,6,167,7,167,8,167,9,167,10,167,11,167,12,167,18,167,19,167,20,167,21,167,22,167,23,167,29,167,30,167,31,167,32,167,48,167,58,167,59,167,60,167,61,167,62,167,63,167,64,167,65,167,66,167,67,167,68,167,69,167,70,167,71,167,72,167,73,167,74,167,75,167,76,167,77,167,78,167,79,167,80,167,81,167,82,167,83,167,84,167,85,167,86,167,87,167,88,167,89,167,90,167,91,167,92,167,93,168,4,168,5,168,6,168,7,168,8,168,9,168,10,168,11,168,12,168,18,168,19,168,20,168,21,168,22,168,23,168,29,168,33,168,48,168,49,168,57,168,58,168,59,168,60,168,61,168,62,168,63,168,64,168,65,168,66,168,67,168,68,168,69,168,70,168,71,168,72,168,73,168,74,168,75,168,76,168,77,168,78,168,79,168,80,168,81,168,82,168,83,168,84,168,85,168,86,168,87,168,88,168,89,168,90,169,5,169,6,169,7,169,8,169,9,169,10,169,11,169,12,169,13,169,17,169,18,169,19,169,20,169,21,169,22,169,23,169,24,169,26,169,29,169,30,169,31,169,32,169,33,169,49,169,55,169,56,169,57,169,58,169,59,169,60,169,61,169,62,169,63,169,64,169,65,169,66,169,67,169,68,169,69,169,70,169,71,169,72,169,73,169,74,169,75,169,76,169,77,169,78,169,79,169,80,169,81,169,82,169,83,169,84,169,85,169,86,169,87,169,88,170,5,170,6,170,7,170,8,170,9,170,10,170,11,170,12,170,13,170,14,170,15,170,16,170,17,170,18,170,19,170,20,170,21,170,22,170,23,170,24,170,26,170,29,170,30,170,31,170,32,170,33,170,49,170,50,170,51,170,52,170,53,170,54,170,55,170,56,170,57,170,58,170,59,170,60,170,61,170,62,170,63,170,64,170,65,170,66,170,67,170,68,170,69,170,70,170,71,170,72,170,73,170,74,170,75,170,76,170,77,170,78,170,79,170,80,170,81,170,82,170,83,170,84,170,85,170,86,171,6,171,7,171,8,171,9,171,10,171,11,171,12,171,13,171,14,171,15,171,16,171,17,171,18,171,19,171,20,171,21,171,22,171,23,171,24,171,26,171,29,171,30,171,31,171,32,171,33,171,50,171,51,171,52,171,53,171,54,171,55,171,56,171,57,171,58,171,59,171,60,171,61,171,62,171,63,171,64,171,65,171,66,171,67,171,68,171,69,171,70,171,71,171,72,171,73,171,74,171,75,171,76,171,77,171,78,171,79,171,80,171,81,171,82,171,83,171,84,171,85,172,8,172,9,172,10,172,11,172,12,172,13,172,14,172,15,172,16,172,17,172,18,172,19,172,20,172,21,172,22,172,23,172,24,172,26,172,29,172,30,172,33,172,41,172,42,172,43,172,44,172,45,172,46,172,47,172,51,172,52,172,53,172,54,172,55,172,56,172,57,172,58,172,59,172,60,172,61,172,62,172,63,172,64,172,65,172,66,172,67,172,68,172,69,172,70,172,71,172,72,172,73,172,74,172,75,172,76,172,77,172,78,172,79,172,80,172,81,172,82,172,83,173,10,173,11,173,12,173,13,173,14,173,15,173,16,173,17,173,18,173,19,173,20,173,21,173,22,173,23,173,24,173,26,173,29,173,33,173,39,173,40,173,41,173,42,173,43,173,44,173,45,173,46,173,47,173,52,173,53,173,54,173,55,173,56,173,57,173,58,173,59,173,60,173,61,173,62,173,63,173,64,173,65,173,66,173,67,173,68,173,69,173,70,173,71,173,72,173,73,173,74,173,75,173,76,173,77,173,78,173,79,173,80,173,81,174,12,174,13,174,14,174,15,174,16,174,17,174,18,174,19,174,20,174,21,174,22,174,23,174,24,174,30,174,31,174,32,174,33,174,39,174,40,174,41,174,42,174,45,174,46,174,47,174,48,174,52,174,53,174,54,174,55,174,56,174,57,174,58,174,59,174,60,174,61,174,62,174,63,174,64,174,65,174,66,174,67,174,68,174,69,174,70,174,71,174,72,174,73,174,74,174,75,174,76,174,77,174,78,174,79,175,13,175,14,175,15,175,16,175,17,175,18,175,19,175,20,175,21,175,22,175,23,175,24,175,39,175,40,175,47,175,48,175,53,175,54,175,55,175,56,175,57,175,58,175,59,175,60,175,61,175,62,175,63,175,64,175,65,175,66,175,67,175,68,175,69,175,70,175,71,175,72,175,73,175,74,175,75,175,76,175,77,176,13,176,14,176,15,176,16,176,17,176,18,176,19,176,20,176,21,176,22,176,23,176,24,176,39,176,40,176,41,176,42,176,43,176,47,176,48,176,53,176,54,176,55,176,56,176,57,176,58,176,59,176,60,176,61,176,62,176,63,176,64,176,65,176,66,176,67,176,68,176,69,176,70,176,71,176,72,176,73,176,74,176,75,177,13,177,14,177,15,177,16,177,17,177,18,177,19,177,20,177,21,177,22,177,23,177,24,177,39,177,40,177,47,177,48,177,53,177,54,177,55,177,56,177,57,177,58,177,59,177,60,177,61,177,62,177,65,177,66,177,67,177,68,177,69,177,70,177,71,177,72,177,73,178,13,178,14,178,15,178,16,178,17,178,18,178,19,178,20,178,21,178,22,178,23,178,24,178,39,178,40,178,41,178,42,178,43,178,47,178,48,178,53,178,54,178,55,178,56,178,57,178,58,178,59,178,60,178,61,178,64,178,65,178,66,178,67,178,68,178,69,178,70,178,71,178,72,179,13,179,14,179,15,179,16,179,17,179,18,179,19,179,20,179,21,179,22,179,23,179,24,179,39,179,40,179,47,179,48,179,53,179,54,179,55,179,56,179,57,179,58,179,59,179,60,179,63,179,64,179,65,179,66,179,67,179,68,179,69,179,70,180,13,180,14,180,15,180,16,180,17,180,18,180,19,180,20,180,21,180,22,180,23,180,24,180,26,180,29,180,30,180,31,180,32,180,33,180,39,180,40,180,41,180,42,180,46,180,47,180,53,180,54,180,55,180,56,180,57,180,58,180,59,180,60,180,63,180,64,180,65,180,66,180,67,180,68,180,69,181,13,181,14,181,15,181,16,181,17,181,18,181,19,181,20,181,21,181,22,181,23,181,24,181,26,181,29,181,33,181,39,181,40,181,41,181,42,181,44,181,45,181,46,181,47,181,52,181,53,181,54,181,55,181,56,181,57,181,58,181,59,181,62,181,63,181,64,181,65,181,66,181,67,181,68,182,13,182,14,182,15,182,16,182,17,182,18,182,19,182,20,182,21,182,22,182,23,182,24,182,26,182,29,182,30,182,31,182,32,182,33,182,40,182,41,182,42,182,43,182,44,182,45,182,46,182,52,182,53,182,54,182,55,182,56,182,57,182,58,182,59,182,61,182,62,182,63,182,64,182,65,182,66,182,67,183,13,183,14,183,15,183,16,183,17,183,18,183,19,183,20,183,21,183,22,183,23,183,24,183,26,183,29,183,30,183,31,183,32,183,33,183,41,183,42,183,43,183,44,183,51,183,52,183,53,183,54,183,55,183,56,183,57,183,58,183,61,183,62,183,63,183,64,183,65,183,66,183,82,183,83,183,84,183,85,184,13,184,14,184,15,184,16,184,17,184,18,184,19,184,20,184,21,184,22,184,23,184,24,184,26,184,29,184,33,184,50,184,51,184,52,184,53,184,54,184,55,184,56,184,57,184,58,184,60,184,61,184,62,184,63,184,64,184,65,184,80,184,81,184,82,184,83,184,84,184,85,184,86,185,13,185,14,185,15,185,16,185,17,185,18,185,19,185,20,185,21,185,22,185,23,185,24,185,26,185,29,185,30,185,31,185,32,185,33,185,48,185,49,185,50,185,51,185,52,185,53,185,54,185,55,185,56,185,57,185,60,185,61,185,62,185,63,185,64,185,78,185,80,185,81,185,82,185,83,185,84,185,85,185,86,185,87,186,13,186,14,186,15,186,16,186,17,186,18,186,19,186,20,186,21,186,22,186,23,186,24,186,47,186,48,186,49,186,50,186,51,186,52,186,53,186,54,186,55,186,56,186,57,186,59,186,60,186,61,186,62,186,75,186,76,186,77,186,80,186,81,186,82,186,83,186,84,186,85,186,86,186,87,187,12,187,13,187,14,187,15,187,16,187,17,187,18,187,19,187,20,187,21,187,22,187,23,187,24,187,46,187,47,187,48,187,49,187,50,187,51,187,52,187,53,187,54,187,55,187,56,187,59,187,60,187,61,187,62,187,73,187,74,187,75,187,76,187,79,187,80,187,81,187,82,187,83,187,84,187,85,187,86,187,87,188,10,188,11,188,12,188,13,188,14,188,15,188,16,188,17,188,18,188,19,188,20,188,21,188,22,188,23,188,24,188,45,188,46,188,47,188,48,188,49,188,50,188,51,188,52,188,53,188,54,188,55,188,58,188,59,188,60,188,61,188,62,188,71,188,72,188,73,188,74,188,75,188,76,188,78,188,79,188,80,188,81,188,82,188,83,188,84,188,85,188,86,189,9,189,10,189,11,189,12,189,13,189,17,189,18,189,19,189,20,189,21,189,22,189,23,189,24,189,44,189,45,189,46,189,47,189,48,189,49,189,50,189,51,189,52,189,53,189,54,189,55,189,58,189,59,189,60,189,61,189,62,189,69,189,70,189,71,189,72,189,73,189,74,189,75,189,76,189,78,189,79,189,80,189,81,189,82,189,83,189,84,189,85,189,86,190,8,190,9,190,10,190,11,190,12,190,18,190,19,190,20,190,21,190,22,190,23,190,24,190,43,190,44,190,45,190,46,190,47,190,48,190,49,190,50,190,51,190,52,190,53,190,54,190,55,190,58,190,59,190,60,190,61,190,62,190,68,190,69,190,70,190,71,190,72,190,73,190,74,190,75,190,76,190,78,190,79,190,80,190,81,190,82,190,83,190,84,190,85,190,86,191,7,191,8,191,9,191,10,191,11,191,12,191,18,191,19,191,20,191,21,191,22,191,23,191,24,191,41,191,42,191,43,191,44,191,45,191,46,191,47,191,48,191,49,191,50,191,51,191,52,191,53,191,54,191,55,191,58,191,59,191,60,191,61,191,62,191,67,191,68,191,69,191,70,191,71,191,72,191,73,191,74,191,75,191,76,191,78,191,79,191,80,191,81,191,82,191,83,191,84,191,85,191,86,192,6,192,7,192,8,192,9,192,10,192,11,192,12,192,18,192,19,192,20,192,21,192,22,192,23,192,39,192,40,192,41,192,42,192,43,192,44,192,45,192,46,192,47,192,48,192,49,192,50,192,51,192,52,192,53,192,54,192,55,192,58,192,59,192,60,192,61,192,62,192,66,192,67,192,68,192,69,192,70,192,71,192,72,192,73,192,74,192,75,192,76,192,78,192,79,192,80,192,81,192,82,192,83,192,84,192,85,192,86,193,4,193,5,193,6,193,7,193,8,193,9,193,10,193,11,193,12,193,13,193,17,193,18,193,19,193,20,193,21,193,22,193,23,193,37,193,38,193,39,193,40,193,41,193,42,193,43,193,44,193,45,193,46,193,47,193,48,193,49,193,50,193,51,193,52,193,53,193,54,193,55,193,57,193,58,193,59,193,60,193,61,193,62,193,65,193,66,193,67,193,68,193,69,193,70,193,71,193,72,193,73,193,74,193,75,193,76,193,78,193,79,193,80,193,81,193,82,193,83,193,84,193,85,194,3,194,4,194,5,194,6,194,7,194,8,194,9,194,10,194,11,194,12,194,13,194,14,194,15,194,16,194,17,194,18,194,19,194,20,194,21,194,22,194,23,194,35,194,36,194,37,194,38,194,39,194,40,194,41,194,42,194,43,194,44,194,45,194,46,194,47,194,48,194,49,194,50,194,51,194,52,194,53,194,54,194,55,194,57,194,58,194,59,194,60,194,61,194,62,194,65,194,66,194,67,194,68,194,69,194,70,194,71,194,72,194,73,194,74,194,75,194,76,194,78,194,79,194,80,194,81,194,82,194,83,194,84,194,85,195,4,195,5,195,6,195,7,195,8,195,9,195,10,195,11,195,12,195,13,195,14,195,15,195,16,195,17,195,18,195,19,195,20,195,21,195,22,195,23,195,26,195,27,195,28,195,29,195,30,195,31,195,32,195,33,195,34,195,35,195,36,195,37,195,38,195,39,195,40,195,41,195,42,195,43,195,44,195,45,195,46,195,47,195,48,195,49,195,50,195,51,195,52,195,53,195,54,195,57,195,58,195,59,195,60,195,61,195,62,195,64,195,65,195,66,195,67,195,68,195,69,195,70,195,71,195,72,195,73,195,74,195,75,195,76,195,80,195,81,195,82,195,83,195,84,196,7,196,8,196,9,196,10,196,11,196,12,196,13,196,14,196,15,196,16,196,17,196,18,196,19,196,20,196,21,196,22,196,23,196,24,196,25,196,26,196,27,196,28,196,29,196,30,196,31,196,32,196,33,196,34,196,35,196,36,196,37,196,38,196,39,196,40,196,41,196,42,196,43,196,44,196,45,196,46,196,47,196,48,196,49,196,50,196,51,196,52,196,53,196,54,196,57,196,58,196,59,196,60,196,61,196,62,196,63,196,64,196,65,196,66,196,67,196,68,196,69,196,70,196,71,196,72,196,73,196,74,196,75,196,76,196,77,196,78,196,82,196,83,197,10,197,11,197,12,197,13,197,14,197,15,197,16,197,17,197,18,197,19,197,20,197,21,197,22,197,23,197,24,197,25,197,26,197,27,197,28,197,29,197,30,197,31,197,32,197,33,197,34,197,35,197,36,197,37,197,38,197,39,197,40,197,41,197,42,197,43,197,44,197,45,197,46,197,47,197,48,197,49,197,50,197,51,197,52,197,53,197,54,197,58,197,59,197,60,197,61,197,62,197,63,197,64,197,65,197,66,197,67,197,68,197,69,197,70,197,71,197,72,197,73,197,74,197,75,197,76,197,77,197,78,197,79,197,80,198,18,198,19,198,20,198,21,198,22,198,23,198,24,198,25,198,26,198,27,198,28,198,29,198,30,198,31,198,32,198,33,198,34,198,35,198,36,198,37,198,38,198,39,198,42,198,43,198,44,198,45,198,46,198,47,198,48,198,49,198,50,198,51,198,52,198,53,198,54,198,55,198,56,198,57,198,58,198,59,198,60,198,61,198,62,198,63,198,64,198,65,198,66,198,67,198,68,198,69,198,70,198,71,198,72,198,73,198,74,198,75,198,76,198,77,198,78,198,79,198,80,198,81,199,17,199,18,199,19,199,20,199,21,199,22,199,23,199,24,199,25,199,26,199,27,199,28,199,29,199,30,199,31,199,32,199,33,199,34,199,35,199,36,199,37,199,38,199,44,199,45,199,46,199,47,199,48,199,49,199,50,199,51,199,52,199,53,199,54,199,55,199,56,199,57,199,58,199,59,199,60,199,61,199,62,199,63,199,64,199,65,199,66,199,67,199,68,199,69,199,70,199,71,199,72,199,73,199,74,199,75,199,76,199,77,199,78,199,79,199,80,199,81,200,16,200,17,200,18,200,19,200,20,200,21,200,22,200,23,200,24,200,25,200,26,200,27,200,28,200,29,200,30,200,31,200,32,200,33,200,34,200,35,200,40,200,41,200,42,200,43,200,44,200,45,200,46,200,47,200,48,200,49,200,50,200,51,200,52,200,53,200,54,200,55,200,56,200,57,200,58,200,59,200,60,200,61,200,62,200,63,200,64,200,65,200,66,200,67,200,68,200,69,200,70,200,71,200,72,200,73,200,74,200,75,200,76,200,77,200,78,200,79,201,15,201,16,201,17,201,18,201,19,201,20,201,21,201,22,201,23,201,24,201,25,201,26,201,27,201,28,201,29,201,30,201,31,201,32,201,33,201,37,201,38,201,39,201,40,201,41,201,42,201,43,201,44,201,45,201,46,201,47,201,48,201,49,201,50,201,51,201,52,201,53,201,54,201,55,201,56,201,57,201,58,201,59,201,60,201,61,201,62,201,63,201,64,201,65,201,66,201,67,201,68,201,69,201,70,201,71,201,72,201,73,201,74,201,75,201,76,201,77,201,78,202,15,202,16,202,17,202,18,202,19,202,20,202,21,202,22,202,23,202,24,202,25,202,26,202,27,202,28,202,29,202,30,202,31,202,32,202,35,202,36,202,37,202,38,202,39,202,40,202,41,202,42,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,202,56,202,57,202,58,202,59,202,60,202,61,202,62,202,63,202,64,202,65,202,66,202,67,202,68,202,69,202,70,202,71,202,72,202,73,202,74,202,75,202,76,202,77,203,14,203,15,203,16,203,17,203,18,203,19,203,20,203,21,203,22,203,23,203,24,203,25,203,26,203,27,203,28,203,29,203,30,203,33,203,34,203,35,203,36,203,37,203,38,203,39,203,40,203,41,203,42,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,203,59,203,60,203,61,203,62,203,63,203,64,203,65,203,66,203,67,203,68,203,69,203,70,203,71,203,72,203,73,203,74,203,75,204,13,204,14,204,15,204,16,204,17,204,18,204,19,204,20,204,21,204,22,204,23,204,24,204,25,204,26,204,27,204,28,204,29,204,32,204,33,204,34,204,35,204,36,204,37,204,38,204,39,204,40,204,41,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,63,204,64,204,65,204,66,204,67,204,68,204,69,204,70,204,71,204,72,204,73,204,74,205,12,205,13,205,14,205,15,205,16,205,17,205,18,205,19,205,20,205,21,205,22,205,23,205,24,205,25,205,26,205,27,205,31,205,32,205,33,205,34,205,35,205,36,205,37,205,38,205,39,205,40,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,65,205,66,205,67,205,68,205,69,205,70,205,71,205,72,206,12,206,13,206,14,206,15,206,16,206,17,206,18,206,19,206,20,206,21,206,22,206,23,206,24,206,25,206,26,206,29,206,30,206,31,206,32,206,33,206,34,206,35,206,36,206,37,206,38,206,39,206,40,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,206,64,206,65,206,66,206,67,206,68,206,69,206,70,206,71,207,11,207,12,207,13,207,14,207,15,207,16,207,17,207,18,207,19,207,20,207,21,207,22,207,23,207,24,207,28,207,29,207,30,207,31,207,32,207,33,207,34,207,35,207,36,207,37,207,38,207,39,207,40,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,207,66,207,67,207,68,207,69,207,70,208,11,208,12,208,13,208,14,208,15,208,16,208,17,208,18,208,19,208,20,208,21,208,22,208,23,208,26,208,27,208,28,208,29,208,30,208,31,208,32,208,33,208,34,208,35,208,36,208,37,208,38,208,39,208,40,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,64,208,65,208,66,208,67,208,68,208,69,209,10,209,11,209,12,209,13,209,14,209,15,209,16,209,17,209,18,209,19,209,20,209,21,209,22,209,25,209,26,209,27,209,28,209,29,209,30,209,31,209,32,209,33,209,34,209,35,209,36,209,37,209,38,209,39,209,40,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,209,65,209,66,209,67,209,68,210,9,210,10,210,11,210,12,210,13,210,14,210,15,210,16,210,17,210,18,210,19,210,20,210,21,210,24,210,25,210,26,210,27,210,28,210,29,210,30,210,31,210,32,210,33,210,34,210,35,210,36,210,37,210,38,210,39,210,40,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,65,210,66,210,67,211,9,211,10,211,11,211,12,211,13,211,14,211,15,211,16,211,17,211,18,211,19,211,20,211,23,211,24,211,25,211,26,211,27,211,28,211,29,211,30,211,31,211,32,211,33,211,34,211,35,211,36,211,37,211,38,211,39,211,40,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,50,211,51,211,52,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,211,64,211,65,211,66,212,9,212,10,212,11,212,12,212,13,212,14,212,15,212,16,212,17,212,18,212,19,212,20,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,31,212,32,212,33,212,34,212,35,212,36,212,37,212,38,212,39,212,40,212,41,212,42,212,43,212,44,212,45,212,46,212,47,212,48,212,49,212,50,212,51,212,52,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,213,9,213,10,213,11,213,12,213,13,213,14,213,15,213,16,213,17,213,18,213,19,213,22,213,23,213,24,213,25,213,26,213,27,213,28,213,29,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,44,213,45,213,46,213,47,213,48,213,49,213,50,213,51,213,52,213,53,213,54,213,55,213,56,213,57,213,58,214,9,214,10,214,11,214,12,214,13,214,14,214,15,214,16,214,17,214,18,214,19,214,21,214,22,214,23,214,24,214,25,214,26,214,27,214,28,214,29,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,42,214,43,214,44,214,45,214,46,214,47,214,48,214,49,214,50,214,51,214,52,214,53,214,54,214,55,214,56,214,57,214,58,215,9,215,10,215,11,215,12,215,13,215,14,215,15,215,16,215,17,215,18,215,21,215,22,215,23,215,24,215,25,215,26,215,27,215,28,215,29,215,30,215,31,215,32,215,33,215,34,215,35,215,36,215,37,215,38,215,39,215,40,215,41,215,42,215,43,215,44,215,45,215,46,215,47,215,48,215,49,215,50,215,51,215,52,215,53,215,54,215,55,215,56,215,57,216,9,216,10,216,11,216,12,216,13,216,14,216,15,216,16,216,17,216,18,216,20,216,21,216,22,216,23,216,24,216,25,216,26,216,27,216,28,216,29,216,30,216,31,216,32,216,33,216,34,216,35,216,36,216,37,216,38,216,39,216,40,216,41,216,42,216,43,216,44,216,45,216,46,216,47,216,48,216,49,216,50,216,51,216,52,216,53,216,54,216,55,216,56,217,9,217,10,217,11,217,12,217,13,217,14,217,15,217,16,217,17,217,20,217,21,217,22,217,23,217,24,217,25,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,35,217,36,217,37,217,38,217,39,217,40,217,41,217,42,217,43,217,44,217,45,217,46,217,47,217,48,217,49,217,50,217,51,217,52,217,53,217,54,217,55,218,9,218,10,218,11,218,12,218,13,218,14,218,15,218,16,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,26,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,36,218,37,218,38,218,39,218,40,218,41,218,42,218,43,218,44,218,45,218,46,218,47,218,48,218,49,218,50,218,51,218,52,218,53,218,54,218,55,219,9,219,10,219,11,219,12,219,13,219,14,219,15,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,26,219,27,219,28,219,29,219,30,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,38,219,39,219,40,219,41,219,42,219,43,219,44,219,45,219,46,219,47,219,48,219,49,219,50,219,51,219,52,219,53,219,54,220,9,220,10,220,11,220,12,220,13,220,14,220,15,220,16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,25,220,26,220,27,220,28,220,29,220,30,220,31,220,32,220,33,220,34,220,35,220,36,220,37,220,38,220,39,220,40,220,41,220,42,220,43,220,45,220,46,220,47,220,48,220,49,220,50,220,51,220,52,220,53,220,54,221,9,221,10,221,11,221,12,221,13,221,14,221,15,221,16,221,17,221,18,221,19,221,21,221,22,221,23,221,24,221,25,221,26,221,28,221,29,221,30,221,31,221,32,221,33,221,34,221,35,221,36,221,37,221,38,221,39,221,40,221,41,221,42,221,43,221,45,221,46,221,47,221,48,221,49,221,50,221,51,221,52,221,53,222,9,222,10,222,11,222,12,222,13,222,14,222,15,222,16,222,17,222,18,222,19,222,20,222,23,222,24,222,25,222,26,222,28,222,29,222,30,222,33,222,34,222,35,222,36,222,37,222,38,222,39,222,40,222,41,222,42,222,43,222,45,222,46,222,47,222,48,222,49,222,50,222,51,222,52,222,53,223,9,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,18,223,19,223,20,223,21,223,22,223,24,223,25,223,26,223,28,223,29,223,30,223,32,223,33,223,34,223,35,223,36,223,37,223,38,223,39,223,40,223,41,223,42,223,43,223,45,223,46,223,47,223,48,223,49,223,50,223,51,223,52,223,53,224,9,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,18,224,19,224,20,224,21,224,22,224,25,224,26,224,28,224,29,224,32,224,33,224,34,224,35,224,36,224,37,224,38,224,39,224,40,224,41,224,42,224,43,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,225,9,225,10,225,11,225,12,225,13,225,14,225,15,225,16,225,17,225,18,225,19,225,20,225,21,225,22,225,23,225,32,225,33,225,36,225,37,225,38,225,39,225,40,225,41,225,42,225,43,225,45,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,226,9,226,10,226,11,226,12,226,13,226,14,226,15,226,16,226,17,226,18,226,22,226,23,226,31,226,32,226,35,226,36,226,37,226,38,226,39,226,40,226,41,226,42,226,43,226,45,226,46,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,227,9,227,10,227,11,227,12,227,13,227,14,227,15,227,16,227,17,227,18,227,19,227,20,227,34,227,35,227,36,227,37,227,38,227,39,227,40,227,41,227,42,227,45,227,46,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,228,9,228,10,228,11,228,12,228,13,228,14,228,15,228,16,228,17,228,18,228,19,228,20,228,21,228,33,228,34,228,35,228,36,228,37,228,38,228,39,228,40,228,41,228,42,228,46,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,229,9,229,10,229,11,229,12,229,13,229,14,229,15,229,16,229,17,229,18,229,19,229,20,229,21,229,22,229,33,229,34,229,35,229,36,229,37,229,38,229,39,229,40,229,41,229,42,229,43,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,230,9,230,10,230,11,230,12,230,13,230,14,230,15,230,16,230,17,230,18,230,37,230,38,230,39,230,40,230,41,230,42,230,43,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,231,9,231,10,231,11,231,12,231,13,231,14,231,15,231,16,231,17,231,18,231,19,231,20,231,21,231,22,231,23,231,33,231,34,231,35,231,36,231,37,231,38,231,39,231,40,231,41,231,42,231,43,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,58,231,59,232,9,232,10,232,11,232,12,232,13,232,14,232,15,232,16,232,17,232,18,232,19,232,20,232,21,232,33,232,34,232,35,232,36,232,37,232,38,232,39,232,40,232,41,232,42,232,43,232,44,232,47,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,57,232,58,232,59,232,60,233,9,233,10,233,11,233,12,233,13,233,14,233,15,233,16,233,17,233,18,233,19,233,20,233,34,233,35,233,36,233,37,233,38,233,39,233,40,233,41,233,42,233,43,233,44,233,45,233,48,233,49,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,57,233,58,233,59,233,60,233,61,234,9,234,10,234,11,234,12,234,13,234,14,234,15,234,16,234,17,234,18,234,19,234,22,234,23,234,26,234,28,234,31,234,32,234,35,234,36,234,37,234,38,234,39,234,40,234,41,234,42,234,43,234,44,234,45,234,49,234,50,234,51,234,52,234,53,234,54,234,55,234,56,234,57,234,58,234,59,234,60,234,61,235,9,235,10,235,11,235,12,235,13,235,14,235,15,235,16,235,17,235,18,235,19,235,20,235,21,235,22,235,23,235,26,235,28,235,31,235,32,235,33,235,36,235,37,235,38,235,39,235,40,235,41,235,42,235,43,235,44,235,45,235,46,235,49,235,50,235,51,235,52,235,53,235,54,235,55,235,56,235,57,235,58,235,59,235,60,235,61,236,9,236,10,236,11,236,12,236,13,236,14,236,15,236,16,236,17,236,18,236,19,236,20,236,21,236,22,236,25,236,26,236,28,236,29,236,32,236,33,236,34,236,35,236,36,236,37,236,38,236,39,236,40,236,41,236,42,236,43,236,44,236,45,236,46,236,47,236,48,236,49,236,50,236,51,236,52,236,53,236,54,236,55,236,56,236,57,236,58,236,59,236,60,236,61,237,9,237,10,237,11,237,12,237,14,237,15,237,16,237,17,237,18,237,19,237,20,237,21,237,22,237,24,237,25,237,26,237,28,237,29,237,30,237,32,237,33,237,34,237,35,237,36,237,37,237,38,237,39,237,40,237,41,237,42,237,43,237,44,237,45,237,46,237,47,237,48,237,49,237,50,237,51,237,52,237,53,237,54,237,55,237,56,237,57,237,58,237,59,237,60,237,61,238,9,238,10,238,11,238,12,238,15,238,16,238,17,238,18,238,19,238,20,238,21,238,22,238,24,238,25,238,26,238,28,238,29,238,30,238,31,238,32,238,33,238,34,238,35,238,36,238,37,238,38,238,39,238,40,238,41,238,42,238,43,238,44,238,45,238,46,238,47,238,48,238,49,238,50,238,51,238,52,238,53,238,54,238,55,238,56,238,57,238,58,238,59,238,60,238,61,238,62,239,9,239,10,239,11,239,12,239,13,239,15,239,16,239,17,239,18,239,19,239,20,239,21,239,22,239,23,239,24,239,25,239,26,239,27,239,28,239,29,239,30,239,31,239,32,239,33,239,34,239,35,239,36,239,37,239,38,239,39,239,40,239,41,239,42,239,43,239,44,239,45,239,46,239,47,239,48,239,49,239,50,239,51,239,52,239,53,239,54,239,55,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,240,9,240,10,240,11,240,12,240,13,240,15,240,16,240,17,240,18,240,19,240,20,240,21,240,22,240,23,240,24,240,25,240,26,240,27,240,28,240,29,240,30,240,31,240,32,240,33,240,34,240,35,240,36,240,37,240,38,240,39,240,40,240,41,240,42,240,43,240,44,240,45,240,46,240,47,240,48,240,49,240,50,240,51,240,52,240,53,240,54,240,55,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,241,9,241,10,241,11,241,12,241,13,241,16,241,17,241,18,241,19,241,20,241,21,241,22,241,23,241,24,241,25,241,26,241,27,241,28,241,29,241,30,241,31,241,32,241,33,241,34,241,35,241,36,241,37,241,38,241,39,241,40,241,41,241,42,241,43,241,44,241,45,241,46,241,47,241,48,241,49,241,50,241,51,241,52,241,53,241,54,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,242,9,242,10,242,11,242,12,242,13,242,16,242,17,242,18,242,19,242,20,242,21,242,22,242,23,242,24,242,25,242,26,242,27,242,28,242,29,242,30,242,31,242,32,242,33,242,34,242,35,242,36,242,37,242,38,242,39,242,40,242,41,242,42,242,43,242,44,242,45,242,46,242,47,242,48,242,49,242,50,242,51,242,52,242,53,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,243,9,243,10,243,11,243,12,243,13,243,14,243,16,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,25,243,26,243,27,243,28,243,29,243,30,243,31,243,32,243,33,243,34,243,35,243,36,243,37,243,38,243,39,243,40,243,41,243,42,243,43,243,44,243,45,243,46,243,47,243,48,243,49,243,52,243,53,243,54,243,55,243,56,243,57,243,58,243,59,243,60,243,61,243,62,243,63,243,64,243,65,243,66,244,10,244,11,244,12,244,13,244,14,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,24,244,25,244,26,244,27,244,28,244,29,244,30,244,31,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,40,244,41,244,42,244,43,244,44,244,45,244,46,244,47,244,48,244,49,244,53,244,54,244,55,244,56,244,57,244,58,244,59,244,60,244,61,244,62,244,63,244,64,244,65,244,66,244,67,245,10,245,11,245,12,245,13,245,14,245,15,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,25,245,26,245,27,245,28,245,29,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,41,245,42,245,43,245,44,245,45,245,46,245,47,245,48,245,49,245,54,245,55,245,56,245,57,245,58,245,59,245,60,245,61,245,62,245,63,245,64,245,65,245,66,245,67,245,68,245,69,246,10,246,11,246,12,246,13,246,14,246,15,246,16,246,18,246,19,246,20,246,21,246,22,246,23,246,24,246,25,246,26,246,27,246,28,246,29,246,30,246,31,246,32,246,33,246,34,246,35,246,36,246,37,246,38,246,39,246,41,246,42,246,43,246,44,246,45,246,46,246,47,246,48,246,49,246,55,246,56,246,57,246,58,246,59,246,60,246,61,246,62,246,63,246,64,246,65,246,66,246,67,246,68,246,69,246,70,247,11,247,12,247,13,247,14,247,15,247,16,247,19,247,20,247,21,247,22,247,23,247,24,247,25,247,26,247,27,247,28,247,29,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,37,247,38,247,39,247,41,247,42,247,43,247,44,247,45,247,46,247,47,247,48,247,49,247,56,247,57,247,58,247,59,247,60,247,61,247,62,247,63,247,64,247,65,247,66,247,67,247,68,247,69,247,70,247,71,248,11,248,12,248,13,248,14,248,15,248,16,248,17,248,21,248,22,248,23,248,24,248,25,248,26,248,27,248,28,248,29,248,30,248,31,248,32,248,33,248,34,248,35,248,36,248,37,248,39,248,42,248,43,248,44,248,45,248,46,248,47,248,48,248,49,248,50,248,57,248,58,248,59,248,60,248,61,248,62,248,63,248,64,248,65,248,66,248,67,248,68,248,69,248,70,248,71,248,72,249,12,249,13,249,14,249,15,249,16,249,17,249,18,249,19,249,22,249,23,249,24,249,25,249,26,249,27,249,28,249,29,249,30,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,43,249,44,249,45,249,46,249,47,249,48,249,49,249,50,249,51,249,58,249,59,249,60,249,61,249,62,249,63,249,64,249,65,249,66,249,67,249,68,249,69,249,70,249,71,249,72,249,73,249,74,250,12,250,13,250,14,250,15,250,16,250,17,250,18,250,19,250,20,250,21,250,22,250,23,250,24,250,25,250,26,250,27,250,28,250,29,250,30,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,44,250,45,250,46,250,47,250,48,250,49,250,50,250,51,250,52,250,58,250,59,250,60,250,61,250,62,250,63,250,64,250,65,250,66,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,74,250,75,251,13,251,14,251,15,251,16,251,17,251,18,251,19,251,20,251,21,251,22,251,23,251,24,251,25,251,26,251,27,251,28,251,29,251,30,251,31,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,39,251,40,251,41,251,42,251,45,251,46,251,47,251,48,251,49,251,50,251,51,251,52,251,53,251,59,251,60,251,61,251,62,251,63,251,64,251,65,251,66,251,67,251,68,251,69,251,70,251,71,251,72,251,76,252,13,252,14,252,15,252,16,252,17,252,18,252,19,252,20,252,21,252,22,252,23,252,24,252,25,252,26,252,27,252,28,252,29,252,30,252,31,252,32,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,40,252,41,252,42,252,43,252,46,252,47,252,48,252,49,252,50,252,51,252,52,252,53,252,54,252,60,252,61,252,62,252,63,252,64,252,65,252,66,252,67,252,68,252,69,252,70,252,74,252,75,252,76,252,77,253,14,253,15,253,16,253,17,253,18,253,19,253,20,253,21,253,22,253,23,253,24,253,25,253,26,253,27,253,28,253,29,253,30,253,31,253,32,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,40,253,41,253,42,253,43,253,44,253,47,253,48,253,49,253,50,253,51,253,52,253,53,253,54,253,55,253,61,253,62,253,63,253,64,253,65,253,66,253,67,253,68,253,69,253,72,253,73,253,74,253,75,253,76,253,77,254,15,254,16,254,17,254,18,254,19,254,20,254,21,254,22,254,23,254,24,254,25,254,26,254,27,254,28,254,29,254,30,254,31,254,32,254,33,254,34,254,35,254,37,254,38,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,48,254,49,254,50,254,51,254,52,254,53,254,54,254,55,254,56,254,57,254,62,254,63,254,64,254,65,254,66,254,67,254,68,254,71,254,72,254,73,254,74,254,75,254,76,254,77,254,78,255,16,255,17,255,18,255,19,255,20,255,21,255,22,255,23,255,24,255,25,255,26,255,27,255,28,255,29,255,30,255,31,255,32,255,33,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,50,255,51,255,52,255,53,255,54,255,55,255,56,255,57,255,58,255,59,255,64,255,65,255,66,255,67,255,70,255,71,255,72,255,73,255,74,255,75,255,76,255,77,255,78,256,16,256,17,256,18,256,19,256,20,256,21,256,22,256,23,256,24,256,25,256,26,256,27,256,28,256,29,256,30,256,31,256,38,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,48,256,49,256,50,256,51,256,52,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,65,256,66,256,67,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,257,17,257,18,257,19,257,20,257,21,257,22,257,23,257,24,257,25,257,26,257,27,257,28,257,29,257,30,257,31,257,32,257,47,257,48,257,49,257,50,257,51,257,52,257,53,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,66,257,67,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,258,17,258,18,258,19,258,20,258,21,258,22,258,23,258,24,258,25,258,26,258,27,258,28,258,29,258,30,258,31,258,32,258,49,258,50,258,51,258,52,258,53,258,54,258,55,258,56,258,57,258,58,258,59,258,60,258,61,258,62,258,67,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,77,259,18,259,19,259,20,259,21,259,22,259,23,259,24,259,25,259,26,259,27,259,28,259,29,259,30,259,31,259,32,259,33,259,51,259,52,259,53,259,54,259,55,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,63,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,76,260,18,260,19,260,20,260,21,260,22,260,23,260,24,260,25,260,26,260,27,260,28,260,29,260,30,260,31,260,32,260,33,260,53,260,54,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,65,260,69,260,70,260,71,260,72,260,73,260,74,260,75,260,76,261,19,261,20,261,21,261,22,261,23,261,24,261,25,261,26,261,27,261,28,261,29,261,30,261,31,261,32,261,33,261,34,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,262,19,262,20,262,21,262,22,262,23,262,24,262,25,262,26,262,27,262,28,262,29,262,30,262,31,262,32,262,33,262,34,262,35,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,68,263,20,263,21,263,22,263,23,263,24,263,25,263,26,263,27,263,28,263,29,263,30,263,31,263,32,263,33,263,34,263,35,263,36,263,58,263,59,263,60,263,61,263,62,263,63,263,64,263,65,263,66,263,67,263,68,263,69,264,21,264,22,264,23,264,24,264,25,264,26,264,27,264,28,264,29,264,30,264,31,264,32,264,33,264,34,264,35,264,36,264,37,264,60,264,61,264,62,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,265,22,265,23,265,24,265,25,265,26,265,27,265,28,265,29,265,30,265,31,265,32,265,33,265,34,265,35,265,36,265,37,265,61,265,62,265,63,265,64,265,65,265,66,265,67,265,68,265,69,265,70,265,71,265,72,265,73,266,23,266,24,266,25,266,26,266,27,266,28,266,29,266,30,266,31,266,32,266,33,266,34,266,35,266,36,266,37,266,38,266,62,266,63,266,64,266,65,266,66,266,67,266,68,266,69,266,70,266,71,266,72,266,75,266,76,266,77,267,24,267,25,267,26,267,27,267,28,267,29,267,30,267,31,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,39,267,63,267,64,267,65,267,66,267,67,267,68,267,69,267,70,267,71,267,74,267,75,267,76,267,77,267,78,268,24,268,25,268,26,268,27,268,28,268,29,268,30,268,31,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,39,268,40,268,64,268,65,268,66,268,67,268,68,268,69,268,70,268,71,268,73,268,74,268,75,268,76,268,77,268,78,268,79,269,26,269,27,269,28,269,29,269,30,269,31,269,32,269,33,269,34,269,35,269,36,269,37,269,38,269,39,269,40,269,41,269,65,269,66,269,67,269,68,269,69,269,70,269,71,269,73,269,74,269,75,269,76,269,77,269,78,269,79,270,26,270,27,270,28,270,29,270,30,270,31,270,32,270,33,270,34,270,35,270,36,270,37,270,38,270,39,270,40,270,41,270,42,270,66,270,67,270,68,270,69,270,70,270,71,270,73,270,74,270,75,270,76,270,77,270,78,270,79,271,27,271,28,271,29,271,30,271,31,271,32,271,33,271,34,271,35,271,36,271,37,271,38,271,39,271,40,271,41,271,42,271,67,271,68,271,69,271,70,271,71,271,73,271,74,271,75,271,76,271,77,271,78,271,79,272,28,272,29,272,30,272,31,272,32,272,33,272,34,272,35,272,36,272,37,272,38,272,39,272,40,272,41,272,42,272,43,272,68,272,69,272,70,272,71,272,73,272,74,272,75,272,76,272,77,272,78,273,29,273,30,273,31,273,32,273,33,273,34,273,35,273,36,273,37,273,38,273,39,273,40,273,41,273,42,273,43,273,44,273,70,273,71,273,74,273,75,273,76,273,77,273,78,274,30,274,31,274,32,274,33,274,34,274,35,274,36,274,37,274,38,274,39,274,40,274,41,274,42,274,43,274,44,274,45,274,71,274,72,274,74,274,75,274,76,274,77,274,78,275,31,275,32,275,33,275,34,275,35,275,36,275,37,275,38,275,39,275,40,275,41,275,42,275,43,275,44,275,45,275,46,276,31,276,32,276,33,276,34,276,35,276,36,276,37,276,38,276,39,276,40,276,41,276,42,276,43,276,44,276,45,276,46,276,47,277,32,277,33,277,34,277,35,277,36,277,37,277,38,277,39,277,40,277,41,277,42,277,43,277,44,277,45,277,46,277,47,277,48,278,33,278,34,278,35,278,36,278,37,278,38,278,39,278,40,278,41,278,42,278,43,278,44,278,45,278,46,278,47,278,48,279,34,279,35,279,36,279,37,279,38,279,39,279,40,279,41,279,42,279,43,279,44,279,45,279,46,279,47,279,48,279,49,280,35,280,36,280,37,280,38,280,39,280,40,280,41,280,42,280,43,280,44,280,45,280,46,280,47,280,48,280,49,280,50,281,36,281,37,281,38,281,39,281,40,281,41,281,42,281,43,281,44,281,45,281,46,281,47,281,48,281,49,281,50,281,51,282,37,282,38,282,39,282,40,282,41,282,42,282,43,282,44,282,45,282,46,282,47,282,48,282,49,282,50,282,51,282,52,283,38,283,39,283,40,283,41,283,42,283,43,283,44,283,45,283,46,283,47,283,48,283,49,283,50,283,51,283,52,283,53,284,39,284,40,284,41,284,42,284,43,284,44,284,45,284,46,284,47,284,48,284,49,284,50,284,51,284,52,284,53,284,54,285,41,285,42,285,43,285,44,285,45,285,46,285,47,285,48,285,49,285,50,285,51,285,52,285,53,285,54,285,55,286,41,286,42,286,43,286,44,286,45,286,46,286,47,286,48,286,49,286,50,286,51,286,52,286,53,286,54,286,55,286,56,287,43,287,44,287,45,287,46,287,47,287,48,287,49,287,50,287,51,287,52,287,53,287,54,287,55,287,56,287,57,288,44,288,45,288,46,288,47,288,48,288,49,288,50,288,51,288,52,288,53,288,54,288,55,288,56,288,57,288,58,289,45,289,46,289,47,289,48,289,49,289,50,289,51,289,52,289,53,289,54,289,55,289,56,289,57,289,58,289,59,289,60,290,47,290,48,290,49,290,50,290,51,290,52,290,53,290,54,290,55,290,56,290,57,290,58,290,59,290,60,290,61,291,48,291,49,291,50,291,51,291,52,291,53,291,54,291,55,291,56,291,57,291,58,291,59,291,60,291,61,291,62,291,63,292,49,292,50,292,51,292,52,292,53,292,54,292,55,292,56,292,57,292,58,292,59,292,60,292,61,292,62,292,63,292,64,292,65,293,50,293,51,293,52,293,53,293,54,293,55,293,56,293,57,293,58,293,59,293,60,293,61,293,62,293,63,293,64,293,65,293,66,294,51,294,52,294,53,294,54,294,55,294,56,294,57,294,58,294,59,294,60,294,61,294,62,294,63,294,64,294,65,294,66,294,67,295,52,295,53,295,54,295,55,295,56,295,57,295,58,295,59,295,60,295,61,295,62,295,63,295,66,295,67,295,68,296,53,296,54,296,55,296,56,296,57,296,58,296,59,296,60,296,61,296,63,296,64,296,67,296,68,296,69,296,70,297,54,297,55,297,56,297,57,297,58,297,59,297,60,297,61,297,62,297,64,297,65,297,68,297,69,297,70,297,71,298,55,298,56,298,57,298,58,298,59,298,60,298,61,298,62,298,65,298,66,298,69,298,70,298,71,298,72,299,56,299,57,299,58,299,59,299,62,299,63,299,66,299,67,299,68,299,72,299,73,300,57,300,58,300,59,300,60,300,63,300,64,300,67,300,68,300,69,300,70,300,71,300,73,301,60,301,61,301,63,301,64,301,65,301,66,301,68,301,69,301,70,301,72,302,61,302,62,302,64,302,65,302,66,302,69,302,70,302,71,303,62,303,63,303,66,303,67,303,70,303,71,304,63,304,64,304,67,305,65}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0003 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {165,1,165,2,166,1,166,2,166,3,167,1,167,2,167,3,167,4,168,1,168,2,168,3,168,4,169,1,169,2,169,3,169,4,169,5,170,1,170,2,170,3,170,4,170,5,170,6,171,1,171,2,171,3,171,4,171,5,171,6,172,1,172,2,172,3,172,4,172,5,172,6,172,7,173,2,173,3,173,4,173,5,173,6,173,7,174,2,174,3,174,4,174,5,174,6,174,7,174,8,175,2,175,3,175,4,175,5,175,6,175,7,175,8,176,2,176,3,176,4,176,5,176,6,176,7,176,8,176,9,177,2,177,3,177,4,177,5,177,6,177,7,177,8,177,9,178,3,178,4,178,5,178,6,178,7,178,8,178,9,178,10,178,24,178,25,179,3,179,4,179,5,179,6,179,7,179,8,179,9,179,10,179,24,179,26,180,3,180,4,180,5,180,6,180,7,180,8,180,9,180,10,180,23,180,26,180,27,181,4,181,5,181,6,181,7,181,8,181,9,181,10,181,11,181,12,181,23,181,26,181,27,182,4,182,5,182,6,182,7,182,8,182,9,182,10,182,11,182,12,182,13,182,21,182,22,182,23,182,26,182,28,183,4,183,5,183,6,183,7,183,8,183,9,183,10,183,11,183,12,183,13,183,14,183,15,183,20,183,21,183,22,183,23,183,27,183,28,183,43,183,44,183,45,183,46,183,47,183,48,184,4,184,5,184,6,184,7,184,8,184,9,184,10,184,11,184,12,184,13,184,14,184,15,184,16,184,20,184,21,184,22,184,23,184,27,184,28,184,41,184,42,184,43,184,44,184,45,184,46,184,47,184,48,184,49,185,4,185,5,185,6,185,7,185,8,185,9,185,10,185,11,185,12,185,13,185,14,185,15,185,16,185,17,185,18,185,19,185,20,185,21,185,22,185,23,185,27,185,29,185,38,185,39,185,40,185,41,185,42,185,43,185,44,185,45,185,46,185,47,185,48,185,49,185,50,186,5,186,6,186,7,186,8,186,9,186,10,186,11,186,12,186,13,186,14,186,15,186,16,186,17,186,18,186,19,186,20,186,21,186,22,186,23,186,24,186,27,186,28,186,29,186,30,186,35,186,36,186,37,186,38,186,39,186,40,186,41,186,42,186,43,186,44,186,45,186,46,186,47,186,48,186,50,187,5,187,6,187,7,187,8,187,9,187,10,187,11,187,12,187,13,187,14,187,15,187,16,187,17,187,18,187,19,187,20,187,21,187,22,187,23,187,24,187,27,187,28,187,29,187,30,187,35,187,36,187,37,187,38,187,39,187,40,187,41,187,42,187,43,187,44,187,45,187,46,187,47,187,48,187,50,187,51,188,5,188,6,188,7,188,8,188,9,188,10,188,11,188,12,188,13,188,14,188,15,188,16,188,17,188,18,188,19,188,20,188,21,188,22,188,23,188,24,188,28,188,29,188,30,188,33,188,34,188,35,188,36,188,37,188,38,188,39,188,40,188,41,188,42,188,43,188,44,188,45,188,46,188,47,188,48,188,51,188,52,189,6,189,7,189,8,189,9,189,10,189,11,189,12,189,13,189,14,189,15,189,16,189,17,189,18,189,19,189,20,189,21,189,22,189,23,189,24,189,25,189,28,189,29,189,30,189,31,189,32,189,33,189,34,189,35,189,36,189,37,189,38,189,39,189,40,189,41,189,42,189,43,189,44,189,45,189,46,189,47,189,50,189,51,189,52,189,53,190,6,190,7,190,8,190,9,190,10,190,11,190,12,190,13,190,14,190,15,190,16,190,17,190,18,190,19,190,20,190,21,190,22,190,23,190,24,190,25,190,28,190,29,190,30,190,31,190,32,190,33,190,34,190,35,190,36,190,37,190,38,190,39,190,40,190,41,190,42,190,43,190,44,190,45,190,46,190,47,190,50,190,51,190,52,190,53,190,54,191,6,191,7,191,8,191,9,191,10,191,11,191,12,191,13,191,14,191,15,191,16,191,17,191,18,191,19,191,20,191,21,191,22,191,23,191,24,191,25,191,28,191,29,191,30,191,31,191,32,191,33,191,34,191,35,191,36,191,37,191,38,191,39,191,40,191,41,191,42,191,43,191,44,191,45,191,46,191,49,191,50,191,51,191,52,191,53,191,54,191,55,192,6,192,7,192,8,192,9,192,10,192,11,192,12,192,13,192,14,192,15,192,16,192,17,192,18,192,19,192,20,192,21,192,22,192,23,192,24,192,25,192,26,192,29,192,30,192,31,192,32,192,33,192,34,192,35,192,36,192,37,192,38,192,39,192,40,192,41,192,42,192,43,192,44,192,45,192,46,192,49,192,50,192,51,192,52,192,53,192,54,192,55,192,56,193,7,193,8,193,9,193,10,193,11,193,12,193,13,193,14,193,15,193,16,193,17,193,18,193,19,193,20,193,21,193,22,193,23,193,24,193,25,193,26,193,29,193,30,193,31,193,32,193,33,193,34,193,35,193,36,193,37,193,38,193,39,193,40,193,41,193,42,193,43,193,44,193,45,193,49,193,50,193,51,193,52,193,53,193,54,193,55,193,56,194,7,194,8,194,9,194,10,194,11,194,12,194,13,194,14,194,15,194,16,194,17,194,18,194,19,194,20,194,21,194,22,194,23,194,24,194,25,194,26,194,29,194,30,194,31,194,32,194,33,194,34,194,35,194,36,194,37,194,38,194,39,194,40,194,41,194,42,194,43,194,44,194,48,194,49,194,50,194,51,194,52,194,53,194,54,194,55,194,56,194,57,195,7,195,8,195,9,195,10,195,11,195,12,195,13,195,14,195,15,195,16,195,17,195,18,195,19,195,20,195,21,195,22,195,23,195,24,195,25,195,26,195,29,195,30,195,31,195,32,195,33,195,34,195,35,195,36,195,37,195,38,195,39,195,40,195,41,195,42,195,43,195,44,195,48,195,49,195,50,195,51,195,52,195,53,195,54,195,55,195,56,195,57,195,58,195,59,196,8,196,9,196,10,196,11,196,12,196,13,196,14,196,15,196,16,196,17,196,18,196,19,196,20,196,21,196,22,196,23,196,24,196,25,196,26,196,29,196,30,196,31,196,32,196,33,196,34,196,35,196,36,196,37,196,38,196,39,196,40,196,41,196,42,196,43,196,47,196,48,196,49,196,50,196,51,196,52,196,53,196,54,196,55,196,56,196,57,196,58,196,59,196,60,196,61,196,62,196,63,196,64,196,65,197,9,197,10,197,11,197,12,197,13,197,14,197,15,197,16,197,17,197,18,197,19,197,20,197,21,197,22,197,23,197,24,197,25,197,26,197,29,197,30,197,31,197,32,197,33,197,34,197,35,197,36,197,37,197,38,197,39,197,40,197,41,197,42,197,47,197,48,197,49,197,50,197,51,197,52,197,53,197,54,197,55,197,56,197,57,197,58,197,59,197,60,197,61,197,62,197,63,197,64,197,65,198,9,198,10,198,11,198,12,198,13,198,14,198,15,198,16,198,17,198,18,198,19,198,20,198,21,198,22,198,23,198,24,198,25,198,26,198,27,198,30,198,31,198,32,198,33,198,34,198,35,198,36,198,37,198,38,198,39,198,40,198,41,198,42,198,46,198,47,198,48,198,49,198,50,198,51,198,52,198,53,198,54,198,55,198,56,198,57,198,58,198,59,198,60,198,61,198,62,198,63,198,64,198,65,199,10,199,11,199,12,199,13,199,14,199,15,199,16,199,17,199,18,199,19,199,20,199,21,199,22,199,23,199,24,199,25,199,26,199,27,199,30,199,31,199,32,199,33,199,34,199,35,199,36,199,37,199,38,199,39,199,40,199,41,199,46,199,47,199,48,199,49,199,50,199,51,199,52,199,53,199,54,199,55,199,56,199,57,199,58,199,59,199,60,199,61,199,62,199,63,199,64,199,65,200,10,200,11,200,12,200,13,200,14,200,15,200,16,200,17,200,18,200,19,200,20,200,21,200,22,200,23,200,24,200,25,200,26,200,27,200,30,200,31,200,32,200,33,200,34,200,35,200,36,200,37,200,38,200,39,200,40,200,41,200,45,200,46,200,47,200,48,200,49,200,50,200,51,200,52,200,53,200,54,200,55,200,56,200,57,200,58,200,59,200,60,200,61,200,62,200,63,200,64,200,65,201,11,201,12,201,13,201,14,201,15,201,16,201,17,201,18,201,19,201,20,201,21,201,22,201,23,201,24,201,25,201,26,201,27,201,30,201,31,201,32,201,33,201,34,201,35,201,36,201,37,201,38,201,39,201,40,201,44,201,45,201,46,201,47,201,48,201,49,201,50,201,51,201,52,201,53,201,54,201,55,201,56,201,57,201,58,201,59,201,60,201,61,201,62,201,63,201,64,201,65,202,12,202,13,202,14,202,15,202,16,202,17,202,18,202,19,202,20,202,21,202,22,202,23,202,24,202,25,202,26,202,27,202,28,202,30,202,31,202,32,202,33,202,34,202,35,202,36,202,37,202,38,202,39,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,202,56,202,57,202,58,202,59,202,60,202,61,202,62,202,63,202,64,202,65,203,12,203,13,203,14,203,15,203,16,203,17,203,18,203,19,203,20,203,21,203,22,203,23,203,24,203,25,203,26,203,27,203,28,203,29,203,30,203,31,203,32,203,33,203,34,203,35,203,36,203,37,203,38,203,39,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,203,59,203,60,203,61,203,62,203,63,203,64,204,13,204,14,204,15,204,16,204,17,204,18,204,19,204,20,204,21,204,22,204,23,204,24,204,25,204,26,204,27,204,28,204,29,204,30,204,31,204,32,204,33,204,34,204,35,204,36,204,37,204,38,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,63,205,14,205,15,205,16,205,17,205,18,205,19,205,20,205,21,205,22,205,23,205,24,205,25,205,26,205,27,205,28,205,29,205,30,205,31,205,32,205,33,205,34,205,35,205,36,205,37,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,206,15,206,16,206,17,206,18,206,19,206,20,206,21,206,22,206,23,206,24,206,25,206,26,206,27,206,28,206,29,206,30,206,31,206,32,206,33,206,34,206,35,206,36,206,40,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,207,16,207,17,207,18,207,19,207,20,207,21,207,22,207,23,207,24,207,25,207,26,207,27,207,28,207,29,207,30,207,31,207,32,207,33,207,34,207,35,207,36,207,39,207,40,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,208,17,208,18,208,19,208,20,208,21,208,22,208,23,208,24,208,25,208,26,208,27,208,28,208,29,208,30,208,31,208,32,208,33,208,34,208,35,208,38,208,39,208,40,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,209,18,209,19,209,20,209,21,209,22,209,23,209,24,209,25,209,26,209,27,209,28,209,29,209,30,209,31,209,32,209,33,209,34,209,35,209,36,209,37,209,38,209,39,209,40,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,210,18,210,19,210,20,210,21,210,22,210,23,210,24,210,25,210,26,210,27,210,28,210,29,210,30,210,31,210,32,210,33,210,34,210,35,210,36,210,37,210,38,210,39,210,40,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,211,19,211,20,211,21,211,22,211,23,211,24,211,25,211,26,211,27,211,28,211,29,211,30,211,31,211,32,211,33,211,34,211,35,211,36,211,37,211,38,211,39,211,40,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,50,211,51,211,52,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,212,20,212,21,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,31,212,32,212,33,212,34,212,35,212,36,212,37,212,38,212,39,212,40,212,41,212,42,212,43,212,44,212,51,212,52,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,212,64,213,21,213,22,213,23,213,24,213,25,213,26,213,27,213,28,213,29,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,53,213,54,213,55,213,56,213,57,213,58,213,59,213,60,213,61,213,62,213,63,213,64,213,65,214,22,214,23,214,24,214,25,214,26,214,27,214,28,214,29,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,54,214,55,214,56,214,57,214,58,214,59,214,60,214,61,214,62,214,63,214,64,214,65,214,66,215,23,215,24,215,25,215,26,215,27,215,28,215,29,215,30,215,31,215,32,215,33,215,34,215,35,215,36,215,37,215,55,215,56,215,57,215,58,215,59,215,60,215,61,215,62,215,63,215,64,215,65,215,66,215,67,216,24,216,25,216,26,216,27,216,28,216,29,216,30,216,31,216,32,216,33,216,34,216,35,216,55,216,56,216,57,216,58,216,59,216,60,216,61,216,62,216,63,216,64,216,65,216,66,216,67,216,68,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,35,217,56,217,57,217,58,217,59,217,60,217,61,217,62,217,63,217,64,217,65,217,66,217,67,217,68,217,69,217,70,217,71,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,57,218,58,218,59,218,60,218,61,218,62,218,63,218,64,218,65,218,66,218,67,218,68,218,69,218,70,218,71,218,72,218,73,219,29,219,30,219,31,219,32,219,33,219,57,219,58,219,59,219,60,219,61,219,62,219,63,219,64,219,65,219,66,219,67,219,68,219,69,219,70,219,71,219,72,219,73,219,74,219,75,219,76,219,77,220,32,220,58,220,59,220,60,220,61,220,62,220,63,220,64,220,65,220,66,220,67,220,68,220,69,220,70,220,71,220,72,220,73,220,74,220,75,220,76,220,77,220,78,220,79,220,80,221,36,221,37,221,38,221,39,221,40,221,41,221,42,221,43,221,44,221,45,221,46,221,47,221,48,221,49,221,50,221,58,221,59,221,60,221,61,221,62,221,63,221,64,221,65,221,66,221,67,221,68,221,69,221,70,221,71,221,72,221,73,221,74,221,75,221,76,221,77,221,78,221,79,221,80,221,81,221,82,221,83,222,35,222,36,222,37,222,38,222,39,222,40,222,41,222,42,222,43,222,44,222,45,222,46,222,47,222,48,222,49,222,50,222,51,222,59,222,60,222,61,222,62,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,71,222,72,222,73,222,74,222,75,222,76,222,77,222,78,222,79,222,80,222,81,222,82,222,83,222,84,222,85,222,86,223,34,223,35,223,36,223,37,223,38,223,39,223,40,223,41,223,42,223,43,223,44,223,45,223,46,223,47,223,48,223,49,223,50,223,51,223,52,223,53,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,67,223,68,223,69,223,70,223,71,223,72,223,73,223,74,223,75,223,76,223,77,223,78,223,79,223,80,223,81,223,82,223,83,223,84,223,85,223,86,223,87,223,88,224,33,224,34,224,35,224,36,224,43,224,44,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,224,54,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,69,224,70,224,71,224,72,224,73,224,74,224,75,224,76,224,77,224,78,224,79,224,80,224,81,224,82,224,83,224,84,224,85,224,86,224,87,224,88,224,89,225,33,225,34,225,35,225,36,225,37,225,38,225,39,225,40,225,41,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,69,225,70,225,71,225,72,225,73,225,74,225,75,225,76,225,77,225,78,225,79,225,80,225,81,225,82,225,83,225,84,225,85,225,86,225,87,225,88,225,89,226,32,226,33,226,34,226,35,226,36,226,37,226,38,226,39,226,40,226,41,226,42,226,43,226,44,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,68,226,69,226,70,226,71,226,72,226,73,226,74,226,75,226,76,226,77,226,78,226,79,226,80,226,81,226,82,226,83,226,84,226,85,226,86,226,87,226,88,226,89,227,32,227,33,227,34,227,35,227,36,227,37,227,38,227,39,227,40,227,41,227,42,227,43,227,44,227,45,227,46,227,47,227,52,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,69,227,70,227,71,227,72,227,73,227,74,227,75,227,76,227,77,227,78,227,79,227,80,227,81,227,82,227,83,227,84,227,85,227,86,227,87,227,88,227,89,227,90,228,32,228,33,228,34,228,35,228,36,228,37,228,38,228,39,228,40,228,41,228,42,228,43,228,44,228,45,228,46,228,47,228,48,228,49,228,50,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,72,228,73,228,74,228,75,228,76,228,77,228,78,228,79,228,80,228,81,228,82,228,83,228,84,228,85,228,86,228,87,228,88,228,89,228,90,228,91,229,33,229,34,229,35,229,36,229,37,229,38,229,39,229,40,229,41,229,42,229,43,229,44,229,45,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,72,229,73,229,74,229,75,229,76,229,77,229,78,229,79,229,80,229,81,229,82,229,83,229,84,229,85,229,86,229,87,229,88,229,89,229,90,229,91,230,36,230,37,230,38,230,39,230,40,230,41,230,42,230,43,230,44,230,45,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,72,230,73,230,74,230,75,230,76,230,77,230,78,230,79,230,80,230,81,230,82,230,83,230,84,230,85,230,86,230,87,230,88,230,89,230,90,230,91,230,92,231,39,231,40,231,41,231,42,231,43,231,44,231,45,231,46,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,69,231,70,231,71,231,72,231,73,231,74,231,75,231,76,231,77,231,78,231,79,231,80,231,82,231,83,231,84,231,85,231,86,231,87,231,88,231,89,231,90,231,91,231,92,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,67,232,68,232,69,232,70,232,71,232,72,232,73,232,74,232,75,232,76,232,77,232,78,232,79,232,82,232,83,232,84,232,85,232,86,232,87,232,88,232,89,232,90,232,91,232,92,232,93,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,64,233,65,233,66,233,67,233,68,233,69,233,70,233,71,233,72,233,73,233,74,233,75,233,76,233,77,233,78,233,79,233,83,233,84,233,85,233,86,233,87,233,88,233,89,233,90,233,91,233,92,233,93,233,94,234,51,234,52,234,53,234,54,234,55,234,56,234,57,234,58,234,59,234,60,234,61,234,62,234,63,234,64,234,65,234,66,234,67,234,68,234,69,234,70,234,71,234,72,234,73,234,74,234,75,234,76,234,77,234,78,234,79,234,83,234,84,234,85,234,86,234,87,234,88,234,89,234,90,234,91,234,92,234,93,234,94,234,95,235,51,235,52,235,53,235,55,235,56,235,57,235,58,235,59,235,60,235,61,235,62,235,63,235,64,235,65,235,66,235,67,235,68,235,69,235,70,235,71,235,72,235,73,235,74,235,75,235,76,235,77,235,78,235,79,235,83,235,84,235,85,235,86,235,87,235,88,235,89,235,90,235,91,235,92,235,93,235,94,235,95,235,96,236,51,236,52,236,53,236,54,236,56,236,57,236,58,236,59,236,60,236,61,236,62,236,63,236,64,236,65,236,66,236,67,236,68,236,69,236,70,236,71,236,72,236,73,236,74,236,75,236,76,236,77,236,78,236,79,236,83,236,84,236,85,236,86,236,87,236,88,236,89,236,90,236,91,236,92,236,93,236,94,236,95,236,96,237,52,237,53,237,54,237,56,237,57,237,58,237,59,237,60,237,61,237,62,237,63,237,64,237,65,237,66,237,67,237,68,237,69,237,70,237,71,237,72,237,73,237,74,237,75,237,76,237,77,237,78,237,79,237,83,237,84,237,85,237,86,237,87,237,88,237,89,237,90,237,91,237,92,237,93,237,94,237,95,237,96,237,97,238,53,238,54,238,56,238,57,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,68,238,69,238,70,238,71,238,72,238,73,238,74,238,75,238,76,238,77,238,78,238,79,238,84,238,85,238,86,238,87,238,88,238,89,238,90,238,91,238,92,238,93,238,94,238,95,238,96,238,97,238,98,239,53,239,54,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,68,239,69,239,70,239,71,239,72,239,73,239,74,239,75,239,76,239,77,239,78,239,79,239,84,239,85,239,86,239,87,239,88,239,89,239,90,239,91,239,92,239,93,239,94,239,95,239,96,239,97,239,98,240,53,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,240,64,240,65,240,66,240,67,240,68,240,69,240,70,240,71,240,72,240,73,240,74,240,75,240,76,240,77,240,78,240,79,240,84,240,85,240,86,240,87,240,88,240,89,240,90,240,91,240,92,240,93,240,94,240,95,240,96,240,97,240,98,241,53,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,68,241,69,241,70,241,71,241,72,241,73,241,74,241,75,241,76,241,77,241,78,241,79,241,84,241,85,241,86,241,87,241,88,241,89,241,90,241,91,241,92,241,93,241,94,241,95,241,96,241,97,241,98,242,52,242,53,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,68,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,83,242,84,242,85,242,86,242,87,242,88,242,89,242,90,242,91,242,92,242,93,242,94,242,95,242,96,242,97,243,52,243,53,243,54,243,55,243,56,243,57,243,58,243,59,243,60,243,61,243,62,243,63,243,64,243,65,243,66,243,67,243,68,243,69,243,70,243,71,243,72,243,73,243,74,243,75,243,76,243,77,243,78,243,79,243,83,243,84,243,85,243,86,243,87,243,88,243,89,243,90,243,91,243,92,243,93,243,94,243,95,244,51,244,52,244,53,244,54,244,55,244,56,244,57,244,58,244,59,244,60,244,61,244,62,244,63,244,64,244,65,244,66,244,67,244,68,244,69,244,70,244,71,244,72,244,73,244,74,244,75,244,76,244,77,244,78,244,79,244,82,244,83,244,84,244,85,244,86,244,87,244,88,244,89,244,90,244,91,244,92,244,93,244,94,245,50,245,51,245,52,245,53,245,54,245,55,245,56,245,57,245,58,245,59,245,60,245,61,245,62,245,63,245,64,245,65,245,66,245,67,245,68,245,69,245,70,245,71,245,72,245,73,245,74,245,75,245,76,245,77,245,78,245,79,245,80,245,81,245,82,245,83,245,84,245,85,245,86,245,87,245,88,245,89,245,90,245,91,245,92,245,93,246,49,246,50,246,51,246,52,246,53,246,54,246,55,246,56,246,57,246,58,246,59,246,60,246,61,246,62,246,63,246,64,246,72,246,73,246,74,246,75,246,76,246,77,246,78,246,79,246,80,246,81,246,82,246,83,246,84,246,85,246,86,246,87,246,88,246,89,246,90,246,91,246,92,247,48,247,49,247,50,247,51,247,52,247,55,247,56,247,57,247,58,247,59,247,60,247,61,247,62,247,63,247,64,247,72,247,73,247,74,247,75,247,76,247,77,247,78,247,79,247,80,247,81,247,82,247,83,247,84,247,85,247,86,247,87,247,88,247,89,247,90,248,46,248,47,248,48,248,49,248,50,248,51,248,54,248,55,248,56,248,57,248,58,248,59,248,60,248,61,248,62,248,63,248,64,248,65,248,71,248,72,248,73,248,74,248,75,248,76,248,77,248,78,248,79,248,80,248,81,248,82,248,83,248,84,248,85,248,86,248,87,248,88,248,89,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,45,249,46,249,47,249,48,249,49,249,53,249,54,249,55,249,56,249,57,249,58,249,59,249,60,249,61,249,62,249,63,249,64,249,65,249,66,249,67,249,68,249,69,249,70,249,71,249,72,249,73,249,74,249,75,249,76,249,77,249,78,249,79,249,80,249,81,249,82,249,83,249,84,249,85,249,86,249,87,249,88,250,29,250,30,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,41,250,42,250,43,250,44,250,45,250,46,250,47,250,48,250,51,250,52,250,53,250,54,250,55,250,56,250,57,250,58,250,59,250,60,250,61,250,62,250,63,250,64,250,65,250,66,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,74,250,75,250,76,250,77,250,78,250,79,250,80,250,81,250,82,250,83,250,84,250,85,250,86,250,87,251,29,251,30,251,31,251,32,251,33,251,34,251,37,251,38,251,39,251,40,251,41,251,42,251,43,251,44,251,45,251,46,251,49,251,50,251,51,251,52,251,53,251,54,251,55,251,56,251,57,251,58,251,59,251,60,251,61,251,62,251,63,251,64,251,65,251,66,251,67,251,68,251,69,251,70,251,71,251,72,251,73,251,74,251,75,251,76,251,77,251,78,251,79,251,80,251,81,251,82,251,83,251,84,251,85,251,86,252,30,252,31,252,32,252,33,252,34,252,35,252,40,252,41,252,42,252,48,252,49,252,50,252,51,252,52,252,53,252,54,252,55,252,56,252,57,252,58,252,59,252,60,252,61,252,62,252,63,252,64,252,65,252,66,252,67,252,68,252,69,252,70,252,71,252,72,252,73,252,74,252,75,252,76,252,77,252,78,252,79,252,80,252,81,252,82,252,83,252,84,252,85,253,32,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,44,253,45,253,46,253,47,253,48,253,49,253,50,253,51,253,52,253,53,253,54,253,55,253,56,253,57,253,58,253,59,253,60,253,61,253,62,253,63,253,64,253,65,253,66,253,67,253,68,253,69,253,70,253,71,253,72,253,73,253,74,253,75,253,76,253,77,253,78,253,79,253,80,253,81,253,82,253,83,253,84,254,34,254,35,254,36,254,37,254,38,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,46,254,47,254,48,254,49,254,50,254,51,254,52,254,53,254,54,254,55,254,56,254,57,254,58,254,59,254,60,254,61,254,62,254,63,254,64,254,65,254,66,254,67,254,68,254,69,254,70,254,71,254,72,254,73,254,74,254,75,254,76,254,77,254,78,254,79,254,80,254,81,254,82,254,83,255,36,255,37,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,50,255,51,255,52,255,53,255,54,255,55,255,56,255,57,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,255,68,255,69,255,70,255,71,255,72,255,73,255,74,255,75,255,76,255,77,255,78,255,79,255,80,255,81,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,48,256,49,256,50,256,51,256,52,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,256,68,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,257,39,257,40,257,41,257,42,257,43,257,45,257,46,257,47,257,48,257,49,257,50,257,51,257,52,257,53,257,54,257,55,257,58,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,258,48,258,49,258,50,258,51,258,52,258,57,258,58,258,59,258,60,258,61,258,62,258,63,258,64,258,65,258,66,258,67,258,68,258,69,258,70,258,71,258,72,258,73,258,74,258,75,259,30,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,63,259,64,259,65,259,66,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,260,29,260,30,260,31,260,32,260,33,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,65,260,66,260,67,260,68,260,69,260,70,260,71,260,72,261,27,261,28,261,29,261,30,261,34,261,35,261,54,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,68,261,69,261,70,262,26,262,27,262,28,262,29,262,30,262,34,262,35,262,36,262,37,262,53,262,54,262,55,262,56,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,263,25,263,26,263,27,263,28,263,29,263,34,263,35,263,36,263,37,263,38,263,52,263,53,263,54,263,55,263,56,263,57,263,58,263,59,263,60,263,61,263,62,263,63,263,64,263,65,263,66,264,24,264,25,264,26,264,27,264,28,264,29,264,33,264,34,264,35,264,36,264,39,264,40,264,51,264,52,264,53,264,54,264,55,264,56,264,57,264,58,264,59,264,60,264,61,264,62,264,63,264,64,265,23,265,24,265,25,265,26,265,27,265,28,265,29,265,33,265,34,265,35,265,36,265,37,265,41,265,42,265,50,265,51,265,52,265,53,265,54,265,55,265,56,265,57,265,58,265,59,265,60,265,61,265,62,265,63,265,64,266,23,266,24,266,25,266,26,266,27,266,28,266,29,266,32,266,33,266,34,266,35,266,36,266,37,266,41,266,42,266,43,266,44,266,45,266,49,266,50,266,51,266,52,266,53,266,54,266,55,266,56,266,57,266,58,266,59,266,60,266,61,266,62,266,63,267,22,267,23,267,24,267,25,267,26,267,27,267,28,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,42,267,43,267,44,267,45,267,46,267,47,267,48,267,49,267,50,267,51,267,52,267,53,267,54,267,55,267,56,267,57,267,58,267,59,267,60,267,61,267,62,267,63,268,21,268,22,268,23,268,24,268,25,268,26,268,27,268,28,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,42,268,43,268,44,268,45,268,46,268,47,268,48,268,49,268,50,268,51,268,52,268,53,268,54,268,55,268,56,268,57,268,58,268,59,268,60,268,61,268,62,268,63,269,20,269,21,269,22,269,23,269,24,269,25,269,26,269,27,269,28,269,32,269,33,269,34,269,35,269,36,269,37,269,38,269,39,269,43,269,44,269,45,269,46,269,47,269,48,269,49,269,50,269,51,269,52,269,53,269,54,269,55,269,56,269,57,269,58,269,59,269,60,269,61,269,62,269,63,270,19,270,20,270,21,270,22,270,23,270,24,270,25,270,26,270,27,270,32,270,33,270,34,270,35,270,36,270,37,270,38,270,39,270,43,270,44,270,45,270,46,270,47,270,48,270,49,270,50,270,51,270,52,270,53,270,54,270,55,270,56,270,57,270,58,270,59,270,60,270,61,270,62,270,63,271,18,271,19,271,20,271,21,271,22,271,23,271,24,271,25,271,26,271,27,271,31,271,32,271,33,271,34,271,35,271,36,271,37,271,38,271,39,271,40,271,44,271,45,271,46,271,47,271,48,271,49,271,50,271,51,271,52,271,53,271,54,271,55,271,56,271,57,271,58,271,59,271,60,271,61,271,62,271,63,272,17,272,18,272,19,272,20,272,21,272,22,272,23,272,24,272,25,272,26,272,31,272,32,272,33,272,34,272,35,272,36,272,37,272,38,272,39,272,40,272,44,272,45,272,46,272,47,272,48,272,49,272,50,272,51,272,52,272,53,272,54,272,55,272,56,272,57,272,58,272,59,272,60,272,61,272,62,272,63,273,15,273,16,273,17,273,18,273,19,273,20,273,21,273,22,273,23,273,24,273,25,273,26,273,31,273,32,273,33,273,34,273,35,273,36,273,37,273,38,273,39,273,40,273,45,273,46,273,47,273,48,273,49,273,50,273,51,273,52,273,53,273,54,273,55,273,56,273,57,273,58,273,59,273,60,273,61,273,62,273,63,273,64,274,15,274,16,274,17,274,18,274,19,274,20,274,21,274,22,274,23,274,24,274,25,274,26,274,31,274,32,274,33,274,34,274,35,274,36,274,37,274,38,274,39,274,40,274,41,274,46,274,47,274,48,274,49,274,50,274,51,274,52,274,53,274,54,274,55,274,56,274,57,274,58,274,59,274,60,274,61,274,62,274,63,274,64,275,14,275,15,275,16,275,17,275,18,275,19,275,20,275,21,275,22,275,23,275,24,275,25,275,26,275,30,275,31,275,32,275,33,275,34,275,35,275,36,275,37,275,38,275,39,275,40,275,41,275,46,275,47,275,48,275,49,275,50,275,51,275,52,275,53,275,54,275,55,275,56,275,57,275,58,275,59,275,60,275,61,275,62,275,63,275,64,276,13,276,14,276,15,276,16,276,17,276,18,276,19,276,20,276,21,276,22,276,23,276,24,276,25,276,30,276,31,276,32,276,33,276,34,276,35,276,36,276,37,276,38,276,39,276,40,276,41,276,47,276,48,276,49,276,50,276,51,276,52,276,53,276,54,276,55,276,56,276,57,276,58,276,59,276,60,276,61,276,62,276,63,276,64,276,65,277,12,277,13,277,14,277,15,277,16,277,17,277,18,277,19,277,20,277,21,277,22,277,23,277,24,277,25,277,30,277,31,277,32,277,33,277,34,277,35,277,36,277,37,277,38,277,39,277,40,277,41,277,42,277,47,277,48,277,49,277,50,277,51,277,52,277,53,277,54,277,55,277,56,277,57,277,58,277,59,277,60,277,61,277,62,277,63,277,64,277,65,278,12,278,13,278,14,278,15,278,16,278,17,278,18,278,19,278,20,278,21,278,22,278,23,278,24,278,25,278,29,278,30,278,31,278,32,278,33,278,34,278,35,278,36,278,37,278,38,278,39,278,40,278,41,278,42,278,48,278,49,278,50,278,51,278,52,278,53,278,54,278,55,278,56,278,57,278,58,278,59,278,60,278,61,278,62,278,63,278,64,278,65,279,11,279,12,279,13,279,14,279,15,279,16,279,17,279,18,279,19,279,20,279,21,279,22,279,23,279,24,279,25,279,29,279,30,279,31,279,32,279,33,279,34,279,35,279,36,279,37,279,38,279,39,279,40,279,41,279,42,279,49,279,50,279,51,279,52,279,53,279,54,279,55,279,56,279,57,279,58,279,59,279,60,280,11,280,12,280,13,280,14,280,15,280,16,280,17,280,18,280,19,280,20,280,21,280,22,280,23,280,24,280,25,280,29,280,30,280,31,280,32,280,33,280,34,280,35,280,36,280,37,280,38,280,39,280,40,280,41,280,42,280,43,280,49,280,50,280,51,280,52,280,53,280,54,280,55,280,56,280,57,280,58,281,10,281,11,281,12,281,13,281,14,281,15,281,16,281,17,281,18,281,19,281,20,281,21,281,22,281,23,281,24,281,25,281,28,281,29,281,30,281,31,281,32,281,33,281,34,281,35,281,36,281,37,281,38,281,39,281,40,281,41,281,42,281,43,281,50,281,51,281,52,281,53,281,54,281,55,281,56,282,10,282,11,282,12,282,13,282,14,282,15,282,16,282,17,282,18,282,19,282,20,282,21,282,22,282,23,282,24,282,28,282,29,282,30,282,31,282,32,282,33,282,34,282,35,282,36,282,37,282,38,282,39,282,40,282,41,282,42,282,43,282,50,282,51,282,52,282,53,282,54,282,55,283,9,283,10,283,11,283,12,283,13,283,14,283,15,283,16,283,17,283,18,283,19,283,20,283,21,283,22,283,23,283,24,283,27,283,28,283,29,283,30,283,31,283,32,283,33,283,34,283,35,283,36,283,37,283,38,283,39,283,40,283,41,283,42,283,43,283,44,283,51,283,52,283,53,283,54,284,9,284,10,284,11,284,12,284,13,284,14,284,15,284,16,284,17,284,18,284,19,284,20,284,21,284,22,284,23,284,24,284,27,284,28,284,29,284,30,284,31,284,32,284,33,284,34,284,35,284,36,284,37,284,38,284,39,284,40,284,41,284,42,284,43,284,44,284,45,284,51,284,52,284,53,285,8,285,9,285,10,285,11,285,12,285,13,285,14,285,15,285,16,285,17,285,18,285,19,285,20,285,21,285,22,285,23,285,24,285,27,285,28,285,29,285,30,285,31,285,32,285,33,285,34,285,35,285,36,285,37,285,38,285,39,285,40,285,41,285,42,285,43,285,44,285,45,285,46,285,51,285,52,286,8,286,9,286,10,286,11,286,12,286,13,286,14,286,15,286,16,286,17,286,18,286,19,286,20,286,21,286,22,286,23,286,27,286,28,286,29,286,30,286,31,286,32,286,33,286,34,286,35,286,36,286,37,286,38,286,39,286,40,286,41,286,42,286,43,286,44,286,45,286,46,286,47,286,51,287,7,287,8,287,9,287,10,287,11,287,12,287,13,287,14,287,15,287,16,287,17,287,18,287,19,287,20,287,21,287,22,287,23,287,27,287,28,287,29,287,30,287,31,287,32,287,33,287,34,287,35,287,36,287,37,287,38,287,39,287,40,287,41,287,42,287,43,287,44,287,45,287,46,287,47,287,48,287,50,288,7,288,8,288,9,288,10,288,11,288,12,288,13,288,14,288,15,288,16,288,17,288,18,288,19,288,20,288,21,288,22,288,23,288,27,288,28,288,29,288,30,288,31,288,32,288,41,288,42,288,43,288,44,288,45,288,46,288,47,288,48,288,49,288,50,289,7,289,8,289,9,289,10,289,11,289,12,289,13,289,14,289,15,289,16,289,17,289,18,289,19,289,20,289,21,289,22,289,23,289,27,289,28,289,29,289,30,289,42,289,43,289,44,289,45,289,46,289,47,289,48,289,49,289,50,290,6,290,7,290,8,290,9,290,10,290,11,290,12,290,13,290,14,290,15,290,16,290,17,290,18,290,19,290,20,290,21,290,22,290,23,290,26,290,27,290,28,290,29,290,43,290,44,290,45,290,46,290,47,290,48,290,49,290,50,291,6,291,7,291,8,291,9,291,10,291,11,291,12,291,13,291,14,291,15,291,16,291,17,291,18,291,19,291,20,291,21,291,22,291,23,291,26,291,27,291,28,291,44,291,45,291,46,291,47,291,48,291,49,292,5,292,6,292,7,292,8,292,9,292,10,292,11,292,12,292,13,292,14,292,15,292,16,292,17,292,18,292,19,292,20,292,21,292,22,292,23,292,27,292,46,292,47,292,48,292,49,293,5,293,6,293,7,293,8,293,9,293,10,293,11,293,12,293,13,293,14,293,15,293,16,293,17,293,18,293,19,293,20,293,21,293,22,293,23,293,27,294,4,294,5,294,6,294,7,294,8,294,9,294,10,294,11,294,12,294,13,294,14,294,15,294,16,294,17,294,18,294,19,294,20,294,22,294,23,294,27,295,4,295,5,295,6,295,7,295,8,295,9,295,10,295,11,295,12,295,13,295,14,295,15,295,16,295,17,295,18,295,23,295,27,296,4,296,5,296,6,296,7,296,8,296,9,296,10,296,11,296,12,296,13,296,14,296,15,296,16,296,17,296,18,296,23,296,26,296,27,297,4,297,5,297,6,297,7,297,8,297,9,297,10,297,11,297,12,297,13,297,14,297,15,297,16,297,17,297,24,297,25,297,26,298,4,298,5,298,6,298,7,298,8,298,9,298,10,298,11,298,12,298,13,298,14,298,15,298,16,299,4,299,5,299,6,299,7,299,8,299,9,299,10,299,11,299,12,299,13,299,14,299,15,299,16,300,4,300,5,300,6,300,7,300,8,300,9,300,10,300,11,300,12,300,13,300,14,300,15,301,4,301,5,301,6,301,7,301,8,301,9,301,10,301,11,301,12,301,13,301,14,302,4,302,5,302,6,302,7,302,8,302,9,302,10,302,11,302,12,302,13,303,3,303,4,303,5,303,6,303,7,303,8,303,9,303,10,303,11,303,12,304,3,304,4,304,5,304,6,304,7,304,8,305,3,305,4,305,5,305,6,305,7,306,3,306,4,306,5,306,6,307,3,307,4,307,5,308,3,308,4}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0004 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {199,24,199,25,199,26,199,27,199,28,199,29,199,30,199,31,199,32,199,33,199,34,199,35,200,20,200,21,200,22,200,23,200,24,200,30,200,31,200,32,200,33,200,34,200,35,200,36,200,37,200,38,200,39,200,40,201,14,201,15,201,16,201,17,201,18,201,19,201,33,201,34,201,35,201,36,201,37,201,38,201,39,201,40,201,41,201,42,201,43,201,44,201,45,201,46,201,47,201,48,201,49,202,9,202,10,202,11,202,12,202,13,202,34,202,35,202,36,202,37,202,38,202,39,202,40,202,41,202,42,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,203,8,203,9,203,10,203,11,203,12,203,13,203,14,203,15,203,16,203,17,203,36,203,37,203,38,203,39,203,40,203,41,203,42,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,204,10,204,11,204,12,204,18,204,19,204,20,204,21,204,22,204,23,204,24,204,25,204,26,204,27,204,28,204,38,204,39,204,40,204,41,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,70,204,71,204,72,204,73,204,74,204,75,204,76,204,77,205,13,205,14,205,28,205,29,205,30,205,31,205,32,205,33,205,34,205,35,205,36,205,37,205,38,205,39,205,40,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,68,205,69,205,70,205,71,205,72,205,73,205,74,205,75,205,76,205,77,206,15,206,16,206,17,206,39,206,40,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,206,64,206,65,206,66,206,67,206,68,206,69,206,70,206,71,206,72,206,73,206,74,206,75,206,76,206,77,206,78,207,17,207,18,207,38,207,39,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,207,66,207,67,207,73,207,74,207,75,207,76,207,77,207,78,208,19,208,20,208,36,208,37,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,64,208,65,208,66,208,74,208,75,208,76,208,77,208,78,209,20,209,21,209,35,209,36,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,209,65,209,75,209,76,209,77,209,78,210,21,210,22,210,23,210,24,210,33,210,34,210,35,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,75,210,76,210,77,210,78,211,24,211,25,211,26,211,27,211,32,211,33,211,60,211,61,211,62,211,63,211,74,211,75,211,76,211,77,211,78,211,79,211,80,212,27,212,28,212,29,212,30,212,31,212,32,212,61,212,62,212,73,212,74,212,75,212,76,212,77,212,78,212,79,212,80,212,81,212,82,213,60,213,61,213,72,213,73,213,74,213,75,213,76,213,77,213,78,213,79,213,80,213,81,213,82,213,83,213,84,214,59,214,60,214,71,214,72,214,73,214,74,214,75,214,76,214,77,214,78,214,79,214,80,214,81,214,82,214,83,214,84,215,58,215,59,215,69,215,70,215,71,215,72,215,73,215,74,215,75,215,76,215,77,215,78,215,79,215,80,215,81,215,82,215,92,215,93,215,94,216,57,216,58,216,66,216,67,216,68,216,69,216,76,216,77,216,78,216,79,216,80,216,81,216,88,216,89,216,90,216,91,216,92,216,93,216,94,217,20,217,21,217,22,217,23,217,24,217,25,217,26,217,27,217,28,217,29,217,30,217,31,217,32,217,33,217,34,217,35,217,36,217,37,217,56,217,57,217,65,217,66,217,86,217,87,217,88,217,89,217,90,217,91,217,92,217,93,217,94,218,18,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,26,218,27,218,28,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,36,218,37,218,38,218,54,218,55,218,63,218,64,218,85,218,86,218,87,218,88,218,89,218,90,218,91,218,92,218,93,218,94,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,36,219,37,219,38,219,39,219,40,219,53,219,54,219,62,219,63,219,84,219,85,219,86,219,87,219,88,219,89,219,90,219,91,219,92,219,93,219,94,220,15,220,16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,25,220,37,220,38,220,39,220,40,220,41,220,53,220,61,220,62,220,83,220,84,220,85,220,86,220,87,220,88,220,89,220,90,220,91,220,92,220,93,220,94,221,13,221,14,221,15,221,16,221,17,221,18,221,19,221,20,221,21,221,22,221,23,221,24,221,40,221,41,221,42,221,43,221,51,221,52,221,53,221,54,221,55,221,60,221,61,221,81,221,82,221,83,221,84,221,85,221,86,221,87,221,88,221,89,221,90,221,91,221,92,221,93,221,94,222,12,222,13,222,14,222,15,222,16,222,17,222,18,222,19,222,20,222,21,222,22,222,23,222,24,222,41,222,42,222,43,222,44,222,49,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,59,222,60,222,62,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,71,222,72,222,73,222,74,222,75,222,76,222,77,222,78,222,79,222,80,222,81,222,82,222,83,222,84,222,85,222,86,222,87,222,88,222,89,222,90,222,91,222,92,222,93,222,94,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,18,223,19,223,20,223,21,223,22,223,23,223,42,223,43,223,44,223,47,223,48,223,49,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,67,223,72,223,73,223,74,223,75,223,76,223,77,223,78,223,79,223,80,223,81,223,82,223,83,223,84,223,85,223,86,223,87,223,88,223,89,223,90,223,91,223,92,223,93,224,9,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,18,224,19,224,20,224,21,224,22,224,23,224,30,224,31,224,32,224,44,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,74,224,75,224,76,224,77,224,78,224,79,224,80,224,81,224,82,224,83,224,84,224,85,224,86,224,87,224,88,224,89,224,90,224,91,224,92,224,93,225,8,225,9,225,10,225,11,225,12,225,13,225,14,225,15,225,16,225,17,225,18,225,19,225,20,225,21,225,22,225,30,225,31,225,32,225,45,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,74,225,75,225,76,225,77,225,78,225,79,225,80,225,81,225,82,225,83,225,84,225,85,225,86,225,87,225,88,225,89,225,90,225,91,225,92,225,93,226,8,226,9,226,10,226,11,226,12,226,13,226,14,226,15,226,16,226,17,226,18,226,19,226,20,226,21,226,22,226,30,226,31,226,32,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,70,226,74,226,75,226,76,226,77,226,78,226,79,226,80,226,81,226,82,226,83,226,84,226,85,226,86,226,87,226,88,226,89,226,90,226,91,226,92,227,7,227,8,227,9,227,10,227,11,227,12,227,13,227,14,227,15,227,16,227,17,227,18,227,19,227,20,227,21,227,30,227,31,227,32,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,67,227,74,227,75,227,76,227,77,227,78,227,79,227,80,227,81,227,82,227,83,227,84,227,85,227,86,227,87,227,88,227,89,227,90,227,91,228,6,228,7,228,8,228,9,228,10,228,11,228,12,228,13,228,14,228,15,228,16,228,17,228,18,228,19,228,20,228,30,228,31,228,32,228,42,228,43,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,64,228,65,228,66,228,67,228,69,228,74,228,75,228,76,228,77,228,78,228,79,228,80,228,81,228,82,228,83,228,84,228,85,228,86,228,87,228,88,228,89,228,90,229,5,229,6,229,7,229,8,229,9,229,10,229,11,229,12,229,13,229,14,229,15,229,16,229,17,229,18,229,19,229,20,229,42,229,43,229,47,229,48,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,67,229,71,229,75,229,76,229,77,229,78,229,79,229,80,229,81,229,82,229,83,229,84,229,85,229,86,229,87,229,88,230,4,230,5,230,6,230,7,230,8,230,9,230,10,230,11,230,12,230,13,230,14,230,15,230,16,230,17,230,18,230,19,230,20,230,42,230,43,230,47,230,48,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,67,230,75,231,3,231,4,231,5,231,6,231,7,231,8,231,9,231,10,231,11,231,12,231,13,231,14,231,15,231,16,231,17,231,18,231,19,231,20,231,42,231,43,231,47,231,48,231,54,231,55,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,67,231,75,232,3,232,4,232,5,232,6,232,7,232,8,232,9,232,10,232,11,232,12,232,13,232,14,232,15,232,16,232,17,232,18,232,19,232,20,232,42,232,43,232,47,232,48,232,55,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,67,232,69,232,71,232,75,233,4,233,5,233,6,233,7,233,8,233,9,233,10,233,11,233,12,233,13,233,14,233,15,233,16,233,17,233,18,233,19,233,20,233,35,233,36,233,37,233,42,233,43,233,47,233,48,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,64,233,65,233,66,233,67,233,72,233,75,234,4,234,5,234,6,234,7,234,8,234,9,234,10,234,11,234,12,234,13,234,14,234,15,234,16,234,17,234,18,234,19,234,20,234,35,234,36,234,37,234,42,234,43,234,47,234,48,234,55,234,56,234,57,234,58,234,59,234,60,234,61,234,62,234,63,234,64,234,65,234,66,234,67,234,75,235,5,235,6,235,7,235,8,235,9,235,10,235,11,235,12,235,13,235,14,235,15,235,16,235,17,235,18,235,19,235,20,235,42,235,43,235,47,235,48,235,55,235,56,235,57,235,58,235,59,235,60,235,61,235,62,235,63,235,64,235,65,235,66,235,67,235,70,235,75,236,5,236,6,236,7,236,8,236,9,236,10,236,11,236,12,236,13,236,14,236,15,236,16,236,17,236,18,236,19,236,20,236,42,236,43,236,47,236,48,236,54,236,55,236,56,236,57,236,58,236,59,236,60,236,61,236,62,236,63,236,64,236,65,236,66,236,67,236,69,236,75,237,6,237,7,237,8,237,9,237,10,237,11,237,12,237,13,237,14,237,15,237,16,237,17,237,18,237,19,237,20,237,30,237,31,237,32,237,42,237,43,237,47,237,48,237,54,237,55,237,56,237,57,237,58,237,59,237,60,237,61,237,62,237,63,237,64,237,65,237,66,237,67,237,73,237,75,238,7,238,8,238,9,238,10,238,11,238,12,238,13,238,14,238,15,238,16,238,17,238,18,238,19,238,20,238,21,238,30,238,31,238,32,238,47,238,48,238,53,238,54,238,55,238,56,238,57,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,74,238,75,238,76,238,77,238,78,238,79,238,80,238,81,238,82,238,83,238,84,238,85,238,86,238,87,239,8,239,9,239,10,239,11,239,12,239,13,239,14,239,15,239,16,239,17,239,18,239,19,239,20,239,21,239,30,239,31,239,32,239,47,239,48,239,51,239,52,239,53,239,54,239,55,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,71,239,74,239,75,239,76,239,77,239,78,239,79,239,80,239,81,239,82,239,83,239,84,239,85,239,86,239,87,239,88,239,89,240,8,240,9,240,10,240,11,240,12,240,13,240,14,240,15,240,16,240,17,240,18,240,19,240,20,240,21,240,30,240,31,240,32,240,47,240,48,240,49,240,50,240,51,240,52,240,53,240,54,240,55,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,240,64,240,65,240,66,240,67,240,69,240,74,240,75,240,76,240,77,240,78,240,79,240,80,240,81,240,82,240,83,240,84,240,85,240,86,240,87,240,88,240,89,240,90,240,91,241,9,241,10,241,11,241,12,241,13,241,14,241,15,241,16,241,17,241,18,241,19,241,20,241,21,241,22,241,30,241,31,241,32,241,47,241,48,241,49,241,50,241,51,241,52,241,53,241,54,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,73,241,74,241,75,241,76,241,77,241,78,241,79,241,80,241,81,241,82,241,83,241,84,241,85,241,86,241,87,241,88,241,89,241,90,241,91,241,92,241,93,242,10,242,11,242,12,242,13,242,14,242,15,242,16,242,17,242,18,242,19,242,20,242,21,242,22,242,39,242,40,242,41,242,42,242,43,242,44,242,45,242,46,242,47,242,48,242,49,242,50,242,51,242,52,242,53,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,68,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,80,242,81,242,82,242,83,242,84,242,85,242,86,242,87,242,88,242,89,242,90,242,91,242,92,242,93,243,11,243,12,243,13,243,14,243,15,243,16,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,38,243,39,243,40,243,41,243,48,243,49,243,50,243,51,243,52,243,53,243,54,243,55,243,56,243,57,243,62,243,63,243,72,243,74,243,75,243,76,243,77,243,78,243,79,243,80,243,81,243,82,243,83,243,84,243,85,243,86,243,87,243,88,243,89,243,90,243,91,243,92,243,93,244,12,244,13,244,14,244,15,244,16,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,37,244,38,244,39,244,49,244,50,244,51,244,52,244,53,244,54,244,55,244,56,244,63,244,64,244,76,244,77,244,78,244,79,244,80,244,81,244,82,244,83,244,84,244,85,244,86,244,87,244,88,244,89,244,90,244,91,244,92,244,93,245,14,245,15,245,16,245,17,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,36,245,37,245,38,245,50,245,51,245,52,245,53,245,54,245,55,245,64,245,65,245,80,245,81,245,82,245,83,245,84,245,85,245,86,245,87,245,88,245,89,245,90,245,91,245,92,245,93,246,15,246,16,246,17,246,18,246,19,246,20,246,21,246,22,246,23,246,24,246,34,246,35,246,36,246,37,246,50,246,51,246,52,246,53,246,54,246,65,246,66,246,83,246,84,246,85,246,86,246,87,246,88,246,89,246,90,246,91,246,92,246,93,247,16,247,17,247,18,247,19,247,20,247,21,247,22,247,23,247,24,247,25,247,26,247,27,247,28,247,29,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,51,247,52,247,53,247,54,247,55,247,66,247,67,247,68,247,85,247,86,247,87,247,88,247,89,247,90,247,91,247,92,247,93,248,17,248,18,248,19,248,20,248,21,248,22,248,23,248,24,248,25,248,26,248,27,248,28,248,29,248,30,248,31,248,32,248,33,248,34,248,56,248,57,248,58,248,68,248,69,248,86,248,87,248,88,248,89,248,90,248,91,248,92,248,93,249,58,249,59,249,69,249,70,249,71,249,87,249,88,249,89,249,90,249,91,250,59,250,60,250,70,250,71,251,60,251,61,251,70,251,71,251,72,252,61,252,62,252,69,252,70,252,71,252,72,253,62,253,63,253,68,253,69,253,70,253,71,254,63,254,64,254,65,254,66,254,67,254,68,254,69,254,70,254,71,255,57,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,255,68,255,69,255,70,255,71,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,256,68,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,256,79,256,80,256,81,256,82,256,83,257,52,257,53,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,257,79,257,80,257,81,257,82,257,83,257,84,258,52,258,53,258,54,258,55,258,56,258,57,258,58,258,59,258,60,258,61,258,62,258,63,258,64,258,65,258,66,258,67,258,68,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,77,258,78,258,79,258,80,258,81,258,82,258,83,258,84,258,85,259,51,259,52,259,53,259,54,259,55,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,63,259,64,259,65,259,66,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,76,259,77,259,78,259,79,259,80,259,81,259,82,259,83,259,84,259,85,260,51,260,52,260,53,260,54,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,65,260,66,260,67,260,68,260,69,260,70,260,71,260,72,260,73,260,74,260,75,260,76,260,77,260,78,260,79,260,80,260,81,260,82,260,83,260,84,260,85,261,52,261,53,261,54,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,68,261,69,261,70,261,71,261,72,261,73,261,74,261,75,261,76,261,77,261,78,261,79,261,80,261,81,261,82,261,83,261,84,261,85,262,52,262,53,262,54,262,55,262,56,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,68,262,69,262,70,262,71,262,72,262,73,262,74,262,75,262,76,262,77,262,78,262,79,262,80,262,81,262,82,262,83,262,84,263,53,263,54,263,55,263,56,263,57,263,58,263,59,263,60,263,61,263,62,263,63,263,64,263,65,263,66,263,67,263,68,263,69,263,70,263,71,263,72,263,73,263,74,263,75,263,76,263,77,263,78,263,79,263,80,264,54,264,55,264,56,264,57,264,58,264,59,264,60,264,61,264,62,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,264,72,264,73,264,74,264,75}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0005 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {180,72,180,73,181,71,181,72,182,68,182,69,182,70,182,71,183,67,183,68,183,69,183,70,184,65,184,66,184,67,184,68,184,69,185,65,185,66,185,67,185,68,185,69,185,76,185,77,186,64,186,65,186,66,186,67,186,68,186,69,186,74,186,75,186,76,186,77,187,64,187,65,187,66,187,67,187,68,187,69,187,73,187,74,187,75,187,76,187,77,188,64,188,65,188,66,188,67,188,68,188,72,188,73,188,74,188,75,188,76,189,63,189,64,189,65,189,66,189,67,189,68,189,71,189,72,189,73,189,74,189,75,189,76,190,63,190,64,190,65,190,66,190,67,190,68,190,71,190,72,190,73,190,74,190,75,191,63,191,64,191,65,191,66,191,67,191,68,191,69,191,70,191,71,191,72,191,73,191,74,191,75,192,62,192,63,192,64,192,65,192,66,192,67,192,68,192,69,192,70,192,71,192,72,192,73,192,74,193,60,193,61,193,62,193,63,193,64,193,65,193,66,193,67,193,68,193,69,193,70,193,71,193,72,193,73,193,74,194,60,194,61,194,62,194,63,194,64,194,65,194,66,194,67,194,68,194,69,194,70,194,71,194,72,194,73,195,59,195,60,195,61,195,62,195,63,195,64,195,65,195,66,195,67,195,68,195,69,195,70,195,71,195,72,196,59,196,60,196,61,196,62,196,63,196,64,196,65,196,66,196,67,196,68,196,69,196,70,196,71,196,72,197,59,197,60,197,61,197,62,197,63,197,64,197,65,197,66,197,67,197,68,197,69,197,70,197,71,198,59,198,60,198,61,198,62,198,63,198,64,198,65,198,66,198,67,198,68,198,69,198,70,199,59,199,60,199,61,199,62,199,63,199,64,199,65,199,66,199,67,199,68,199,69,199,70,200,59,200,60,200,61,200,62,200,63,200,64,200,65,200,66,200,67,200,68,200,69,201,59,201,60,201,61,201,62,201,63,201,64,201,65,201,66,201,67,201,68,201,69,202,58,202,59,202,60,202,61,202,62,202,63,202,64,202,65,202,66,202,67,202,68,203,57,203,58,203,59,203,60,203,61,203,62,203,63,203,64,203,65,203,66,203,67,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,63,204,64,204,65,204,66,204,67,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,65,205,66,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,206,64,206,65,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,64,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,210,19,210,20,210,21,210,22,210,23,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,211,18,211,19,211,20,211,21,211,22,211,23,211,24,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,212,16,212,17,212,18,212,19,212,20,212,21,212,22,212,23,212,24,212,25,212,26,212,27,212,28,212,29,212,30,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,213,14,213,15,213,16,213,17,213,18,213,19,213,20,213,21,213,22,213,23,213,24,213,25,213,26,213,30,213,31,213,53,213,54,213,55,213,56,213,57,213,58,213,59,213,60,213,61,213,62,214,12,214,13,214,14,214,15,214,16,214,17,214,18,214,19,214,20,214,21,214,22,214,23,214,24,214,25,214,26,214,31,214,32,214,53,214,54,214,55,214,56,214,57,214,58,214,59,214,60,214,61,215,10,215,11,215,12,215,13,215,14,215,15,215,16,215,17,215,18,215,19,215,20,215,21,215,22,215,23,215,24,215,25,215,26,215,32,215,33,215,34,215,53,215,54,215,55,215,56,215,57,215,58,215,59,215,60,215,61,216,9,216,10,216,11,216,12,216,13,216,14,216,15,216,16,216,17,216,18,216,19,216,20,216,21,216,22,216,23,216,24,216,25,216,26,216,32,216,34,216,35,216,54,216,55,216,56,216,57,216,58,216,59,216,60,217,8,217,9,217,10,217,11,217,12,217,13,217,14,217,15,217,16,217,17,217,18,217,19,217,20,217,21,217,22,217,23,217,24,217,25,217,35,217,36,217,54,217,55,217,56,217,57,217,58,217,59,217,60,217,84,217,85,217,86,217,87,217,88,217,89,218,7,218,8,218,9,218,10,218,11,218,12,218,13,218,14,218,15,218,16,218,17,218,18,218,19,218,20,218,21,218,22,218,23,218,24,218,25,218,36,218,54,218,55,218,56,218,57,218,58,218,59,218,60,218,83,218,84,218,85,218,86,218,87,218,88,218,89,219,7,219,8,219,9,219,10,219,11,219,12,219,13,219,14,219,15,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,36,219,37,219,54,219,55,219,56,219,57,219,58,219,59,219,60,219,61,219,62,219,63,219,64,219,65,219,82,219,83,219,84,219,85,219,86,219,87,219,88,219,89,220,6,220,7,220,8,220,9,220,10,220,11,220,12,220,13,220,14,220,15,220,16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,25,220,37,220,53,220,54,220,55,220,56,220,57,220,58,220,59,220,60,220,61,220,62,220,63,220,64,220,65,220,82,220,83,220,84,220,85,220,86,220,87,220,88,220,89,220,92,221,6,221,7,221,8,221,9,221,10,221,11,221,12,221,13,221,14,221,15,221,16,221,17,221,18,221,19,221,20,221,21,221,22,221,23,221,24,221,25,221,36,221,37,221,51,221,52,221,53,221,54,221,55,221,56,221,57,221,58,221,59,221,60,221,61,221,62,221,63,221,64,221,65,221,81,221,82,221,83,221,84,221,85,221,86,221,87,221,88,221,92,221,93,222,6,222,7,222,8,222,9,222,10,222,11,222,12,222,13,222,14,222,15,222,16,222,17,222,18,222,19,222,20,222,21,222,22,222,23,222,24,222,25,222,35,222,36,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,58,222,59,222,60,222,61,222,62,222,63,222,64,222,65,222,66,222,81,222,82,222,83,222,84,222,85,222,86,222,87,222,88,222,92,222,93,223,6,223,7,223,8,223,9,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,18,223,19,223,20,223,21,223,24,223,25,223,33,223,34,223,35,223,49,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,81,223,82,223,83,223,84,223,85,223,86,223,87,223,91,223,92,223,93,223,94,224,6,224,7,224,8,224,9,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,18,224,19,224,20,224,21,224,25,224,26,224,27,224,28,224,29,224,30,224,31,224,32,224,33,224,49,224,50,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,81,224,82,224,83,224,84,224,85,224,86,224,91,224,92,224,93,224,94,225,6,225,7,225,8,225,9,225,10,225,11,225,12,225,13,225,14,225,15,225,16,225,17,225,18,225,19,225,20,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,80,225,81,225,82,225,83,225,84,225,85,225,86,225,91,225,92,225,93,225,94,226,6,226,7,226,8,226,9,226,10,226,11,226,12,226,13,226,14,226,15,226,16,226,17,226,18,226,19,226,20,226,45,226,46,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,80,226,81,226,82,226,83,226,84,226,85,226,90,226,91,226,92,226,93,226,94,227,6,227,7,227,8,227,9,227,10,227,11,227,12,227,13,227,14,227,15,227,16,227,17,227,18,227,19,227,20,227,40,227,41,227,42,227,43,227,44,227,45,227,46,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,227,56,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,80,227,81,227,82,227,83,227,84,227,89,227,90,227,91,227,92,227,93,227,94,228,6,228,7,228,8,228,9,228,10,228,11,228,12,228,13,228,14,228,15,228,16,228,17,228,18,228,19,228,40,228,41,228,42,228,43,228,44,228,45,228,46,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,228,56,228,59,228,60,228,61,228,62,228,63,228,64,228,80,228,81,228,82,228,83,228,84,228,89,228,90,228,91,228,92,228,93,228,94,229,6,229,7,229,8,229,9,229,10,229,11,229,12,229,13,229,14,229,15,229,16,229,17,229,18,229,19,229,39,229,40,229,41,229,42,229,44,229,45,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,79,229,80,229,81,229,82,229,83,229,84,229,88,229,89,229,90,229,91,229,92,229,93,229,94,230,6,230,7,230,8,230,9,230,10,230,11,230,12,230,13,230,14,230,15,230,16,230,17,230,18,230,19,230,36,230,37,230,38,230,39,230,44,230,45,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,79,230,80,230,81,230,82,230,83,230,84,230,85,230,87,230,88,230,89,230,90,230,91,230,92,230,93,230,94,231,7,231,8,231,9,231,10,231,11,231,12,231,13,231,14,231,15,231,16,231,17,231,18,231,19,231,34,231,35,231,36,231,37,231,38,231,39,231,44,231,45,231,46,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,78,231,79,231,80,231,81,231,82,231,83,231,84,231,85,231,86,231,87,231,88,231,89,231,90,231,91,231,92,231,93,232,7,232,8,232,9,232,10,232,11,232,12,232,13,232,14,232,15,232,16,232,17,232,18,232,31,232,32,232,33,232,34,232,35,232,36,232,37,232,38,232,44,232,45,232,46,232,47,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,78,232,79,232,80,232,81,232,82,232,83,232,84,232,85,232,86,232,87,232,88,232,89,232,90,232,91,232,92,232,93,233,8,233,9,233,10,233,11,233,12,233,13,233,14,233,15,233,16,233,17,233,18,233,19,233,22,233,30,233,31,233,32,233,33,233,34,233,35,233,36,233,37,233,38,233,43,233,44,233,45,233,46,233,47,233,48,233,49,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,61,233,62,233,63,233,64,233,65,233,66,233,77,233,78,233,79,233,80,233,81,233,82,233,83,233,84,233,85,233,86,233,87,233,88,233,89,233,90,233,91,233,92,233,93,234,8,234,9,234,10,234,11,234,12,234,13,234,14,234,15,234,16,234,20,234,21,234,22,234,28,234,29,234,31,234,32,234,33,234,34,234,35,234,36,234,37,234,38,234,43,234,44,234,45,234,46,234,47,234,48,234,49,234,50,234,51,234,52,234,53,234,54,234,55,234,56,234,57,234,61,234,62,234,63,234,64,234,65,234,66,234,76,234,77,234,78,234,79,234,80,234,81,234,82,234,83,234,84,234,85,234,86,234,87,234,88,234,89,234,90,234,91,234,92,235,9,235,10,235,11,235,12,235,13,235,14,235,21,235,22,235,23,235,27,235,28,235,31,235,32,235,33,235,34,235,35,235,36,235,37,235,43,235,44,235,45,235,46,235,47,235,48,235,49,235,50,235,51,235,52,235,53,235,54,235,55,235,56,235,57,235,58,235,60,235,61,235,62,235,63,235,64,235,65,235,66,235,67,235,74,235,75,235,76,235,77,235,78,235,79,235,80,235,81,235,82,235,83,235,84,235,85,235,86,235,87,235,88,235,89,235,90,235,91,235,92,236,9,236,10,236,11,236,12,236,13,236,20,236,21,236,22,236,23,236,24,236,25,236,26,236,31,236,32,236,33,236,34,236,35,236,36,236,37,236,43,236,44,236,45,236,46,236,47,236,48,236,49,236,50,236,51,236,52,236,53,236,54,236,55,236,56,236,57,236,58,236,59,236,60,236,61,236,62,236,63,236,64,236,65,236,66,236,67,236,68,236,74,236,75,236,76,236,77,236,78,236,79,236,80,236,81,236,82,236,83,236,84,236,85,236,86,236,87,236,88,236,89,236,90,236,91,236,92,237,10,237,20,237,21,237,22,237,23,237,24,237,30,237,31,237,32,237,33,237,34,237,35,237,36,237,37,237,43,237,44,237,45,237,46,237,47,237,48,237,49,237,50,237,51,237,52,237,53,237,54,237,55,237,56,237,57,237,58,237,59,237,60,237,61,237,62,237,63,237,64,237,65,237,66,237,67,237,68,237,69,237,73,237,74,237,75,237,76,237,77,237,78,237,79,237,80,237,81,237,82,237,83,237,84,237,85,237,86,237,87,237,88,237,89,237,90,237,91,238,10,238,19,238,20,238,21,238,22,238,23,238,24,238,30,238,31,238,32,238,33,238,34,238,35,238,36,238,37,238,43,238,44,238,45,238,46,238,47,238,48,238,49,238,50,238,51,238,52,238,53,238,54,238,55,238,56,238,57,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,68,238,69,238,70,238,72,238,73,238,74,238,75,238,76,238,77,238,78,238,79,238,80,238,81,238,82,238,83,238,84,238,85,238,86,238,87,238,88,238,89,238,90,238,91,239,11,239,18,239,19,239,20,239,21,239,22,239,23,239,24,239,30,239,31,239,32,239,33,239,34,239,35,239,36,239,37,239,43,239,44,239,45,239,46,239,47,239,48,239,49,239,50,239,51,239,52,239,53,239,54,239,55,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,68,239,69,239,70,239,71,239,72,239,73,239,74,239,75,239,76,239,77,239,78,239,79,239,80,239,81,239,82,239,83,239,84,239,85,239,86,239,87,239,88,239,89,239,90,240,11,240,12,240,17,240,18,240,19,240,20,240,21,240,22,240,23,240,24,240,29,240,30,240,31,240,32,240,33,240,34,240,35,240,36,240,37,240,43,240,44,240,45,240,46,240,47,240,48,240,49,240,50,240,51,240,52,240,53,240,54,240,55,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,240,64,240,65,240,66,240,67,240,68,240,69,240,70,240,71,240,72,240,73,240,74,240,75,240,76,240,77,240,78,240,79,240,80,240,81,240,82,240,83,240,84,240,85,240,86,240,87,240,88,240,89,241,12,241,13,241,17,241,18,241,19,241,20,241,21,241,22,241,23,241,24,241,29,241,30,241,31,241,32,241,33,241,34,241,35,241,36,241,37,241,44,241,45,241,46,241,47,241,48,241,49,241,50,241,51,241,52,241,53,241,54,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,68,241,69,241,70,241,71,241,72,241,73,241,74,241,75,241,76,241,77,241,78,241,79,241,80,241,81,241,82,241,83,241,84,241,85,241,86,241,87,242,13,242,16,242,17,242,18,242,19,242,20,242,21,242,22,242,23,242,24,242,29,242,30,242,31,242,32,242,33,242,34,242,35,242,36,242,37,242,44,242,45,242,46,242,47,242,48,242,49,242,50,242,51,242,52,242,53,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,68,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,80,242,81,242,82,242,83,242,84,242,85,242,86,243,13,243,14,243,16,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,29,243,30,243,31,243,32,243,33,243,34,243,35,243,36,243,37,243,38,243,44,243,45,243,46,243,47,243,48,243,49,243,50,243,51,243,52,243,53,243,54,243,55,243,56,243,57,243,58,243,59,243,60,243,61,243,62,243,63,243,64,243,65,243,66,243,67,243,68,243,69,243,70,243,71,243,72,243,73,243,74,243,75,243,76,243,77,243,78,243,79,243,80,243,81,243,82,243,83,243,84,244,14,244,16,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,24,244,30,244,31,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,45,244,46,244,47,244,48,244,49,244,50,244,51,244,52,244,53,244,54,244,55,244,56,244,57,244,58,244,59,244,60,244,61,244,62,244,63,244,64,244,65,244,66,244,67,244,68,244,69,244,70,244,71,244,72,244,73,244,74,244,75,244,76,244,77,244,78,244,79,244,80,244,81,244,82,244,83,245,15,245,16,245,17,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,45,245,46,245,47,245,48,245,49,245,50,245,51,245,52,245,53,245,54,245,55,245,56,245,57,245,58,245,59,245,62,245,63,245,64,245,65,245,66,245,67,245,68,245,69,245,70,245,71,245,72,245,73,245,74,245,75,245,76,245,77,245,78,245,79,245,80,245,81,245,82,246,15,246,16,246,17,246,18,246,19,246,20,246,21,246,22,246,23,246,24,246,30,246,31,246,32,246,33,246,34,246,35,246,36,246,37,246,38,246,39,246,46,246,47,246,48,246,49,246,50,246,51,246,52,246,53,246,54,246,55,246,56,246,57,246,58,246,59,246,63,246,64,246,65,246,66,246,67,246,68,246,69,246,70,246,71,246,72,246,73,246,74,246,75,246,76,246,77,246,78,246,79,246,80,246,81,247,16,247,17,247,18,247,19,247,20,247,21,247,22,247,23,247,24,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,37,247,38,247,39,247,46,247,47,247,48,247,49,247,50,247,51,247,52,247,53,247,54,247,55,247,56,247,57,247,58,247,59,247,64,247,65,247,66,247,67,247,68,247,69,247,70,247,71,247,72,247,73,247,74,247,75,247,76,247,77,247,78,247,79,248,17,248,18,248,19,248,20,248,21,248,22,248,23,248,24,248,31,248,32,248,33,248,34,248,35,248,36,248,37,248,38,248,39,248,40,248,47,248,48,248,49,248,50,248,51,248,52,248,53,248,54,248,55,248,56,248,57,248,58,248,65,248,66,248,67,248,68,248,69,248,70,248,71,248,72,248,73,248,74,248,75,248,76,248,77,249,19,249,20,249,21,249,22,249,23,249,24,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,41,249,47,249,48,249,49,249,50,249,51,249,52,249,53,249,54,249,55,249,56,249,57,249,58,249,66,249,67,249,68,249,69,249,70,249,71,249,72,250,21,250,22,250,23,250,24,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,41,250,42,250,47,250,48,250,50,250,51,250,52,250,53,250,54,250,55,250,56,250,57,250,67,250,68,250,69,250,70,250,71,251,23,251,24,251,25,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,39,251,40,251,41,251,42,251,43,251,45,251,46,251,47,251,50,251,51,251,52,251,53,251,54,251,55,251,56,251,57,252,25,252,26,252,27,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,40,252,41,252,42,252,43,252,44,252,45,252,46,252,50,252,51,252,52,252,53,252,54,252,55,252,56,253,27,253,28,253,29,253,30,253,31,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,40,253,41,253,42,253,43,253,44,253,45,253,46,253,50,253,51,253,52,253,53,253,54,253,55,253,56,253,57,254,31,254,32,254,33,254,34,254,35,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,46,254,50,254,51,254,52,254,53,254,54,254,55,254,56,254,57,254,58,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,51,255,52,255,53,255,54,255,55,255,56,255,57,255,58,255,59,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,52,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,257,38,257,39,257,40,257,41,257,42,257,43,257,44,257,45,257,46,257,53,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,62,258,38,258,39,258,40,258,41,258,42,258,43,258,44,258,45,258,46,258,47,258,48,258,56,258,57,258,58,258,59,258,60,258,61,258,62,258,63,258,64,259,37,259,38,259,39,259,40,259,41,259,42,259,43,259,44,259,45,259,46,259,47,259,48,259,49,259,50,259,62,259,63,259,64,259,65,259,66,260,37,260,38,260,39,260,40,260,41,260,42,260,43,260,44,260,45,260,46,260,47,260,48,260,49,260,50,260,51,260,52,260,66,260,67,261,36,261,37,261,38,261,39,261,40,261,41,261,42,261,43,261,44,261,45,261,46,261,47,261,48,261,49,261,50,261,51,261,52,261,53,261,54,261,55,261,67,262,36,262,37,262,38,262,39,262,40,262,41,262,42,262,43,262,46,262,47,262,48,262,49,262,50,262,51,262,52,262,53,262,54,262,55,262,56,262,57,262,67,262,68,263,36,263,37,263,38,263,39,263,40,263,41,263,42,263,48,263,49,263,50,263,51,263,52,263,53,263,54,263,55,263,56,263,57,263,58,263,59,263,68,264,35,264,36,264,37,264,38,264,39,264,40,264,41,264,42,264,51,264,52,264,53,264,54,264,59,264,60,265,35,265,36,265,37,265,38,265,39,265,40,265,41,265,42,265,60,265,61,266,35,266,36,266,37,266,38,266,39,266,40,266,41,266,42,266,61,266,62,267,35,267,36,267,37,267,38,267,39,267,40,267,41,267,42,267,62,268,35,268,36,268,37,268,38,268,39,268,40,268,41,268,62,268,63,269,35,269,36,269,37,269,38,269,39,269,40,269,41,269,63,270,36,270,37,270,38,270,39,270,40,270,41,270,63,270,64,271,36,271,37,271,38,271,39,271,40,271,41,271,42,272,36,272,37,272,38,272,39,272,40,272,41,272,42,272,43,273,38,273,39,273,40,273,41,273,42,273,43,274,39,274,40,274,41,274,42,274,43,275,40,275,41,275,42,275,43,275,44,276,41,276,42,276,43,276,44,277,42,277,43,277,44,277,45,278,43,278,44,278,45,278,46,278,47,279,44,279,45,279,46,279,47,279,48,280,45,280,46,280,47,280,48,280,49,281,46,281,47,281,48,281,49,281,50,282,48,282,49,282,50,282,51,283,49,283,50,283,51}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0006 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {192,60,192,61,192,62,192,79,192,80,192,81,192,82,193,58,193,59,193,60,193,61,193,62,193,63,193,75,193,76,193,77,193,78,193,79,193,80,193,81,193,82,193,83,194,56,194,57,194,58,194,59,194,60,194,61,194,62,194,63,194,64,194,73,194,74,194,75,194,78,194,79,194,80,194,81,194,82,194,83,195,47,195,48,195,49,195,50,195,51,195,52,195,53,195,54,195,55,195,56,195,57,195,58,195,59,195,60,195,61,195,62,195,63,195,64,195,70,195,71,195,72,195,73,195,74,195,75,195,76,195,77,195,78,195,79,195,80,195,81,195,82,195,83,196,45,196,46,196,47,196,48,196,49,196,50,196,51,196,52,196,53,196,54,196,55,196,56,196,57,196,58,196,59,196,60,196,61,196,62,196,63,196,64,196,78,196,79,196,80,196,81,196,82,196,83,197,45,197,46,197,47,197,48,197,49,197,50,197,51,197,52,197,53,197,54,197,55,197,56,197,57,197,58,197,59,197,60,197,61,197,62,197,63,197,64,197,78,197,79,197,80,197,81,197,82,197,83,198,43,198,44,198,45,198,46,198,47,198,48,198,49,198,50,198,51,198,52,198,53,198,54,198,55,198,56,198,57,198,62,198,63,198,70,198,71,198,72,198,73,198,74,198,75,198,76,198,77,198,78,198,79,198,80,198,81,198,82,198,83,199,42,199,43,199,44,199,45,199,46,199,47,199,48,199,49,199,50,199,51,199,52,199,53,199,54,199,55,199,56,199,61,199,62,199,70,199,71,199,78,199,79,199,80,199,81,199,82,199,83,200,42,200,43,200,44,200,45,200,46,200,47,200,48,200,49,200,50,200,51,200,52,200,53,200,54,200,55,200,56,200,57,200,58,200,60,200,61,200,62,200,63,200,64,200,65,200,66,200,71,200,72,200,73,200,74,200,75,200,76,200,77,200,78,200,79,200,80,200,81,200,82,200,83,201,41,201,42,201,43,201,44,201,45,201,46,201,47,201,48,201,49,201,50,201,51,201,52,201,53,201,54,201,55,201,56,201,57,201,58,201,59,201,60,201,61,201,64,201,65,201,78,201,79,201,80,201,81,201,82,201,83,202,40,202,41,202,42,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,202,56,202,57,202,58,202,59,202,63,202,64,202,70,202,71,202,72,202,73,202,74,202,75,202,76,202,77,202,78,202,79,202,80,202,81,202,82,202,83,203,40,203,41,203,42,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,203,59,203,60,203,62,203,63,203,68,203,69,203,71,203,72,203,73,203,77,203,78,203,79,203,80,203,81,203,82,203,83,204,39,204,40,204,41,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,68,204,69,204,70,204,71,204,73,204,74,204,77,204,78,204,79,204,80,204,81,204,82,204,83,205,39,205,40,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,65,205,66,205,70,205,72,205,73,205,74,205,75,205,76,205,77,205,78,205,79,205,80,205,81,205,82,205,83,206,39,206,40,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,65,206,71,206,75,206,76,206,77,206,78,206,79,206,80,206,81,206,82,206,83,207,39,207,40,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,207,66,207,67,207,68,207,72,207,76,207,77,207,78,207,79,207,80,207,81,207,82,207,83,208,38,208,39,208,40,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,66,208,67,208,69,208,72,208,73,208,75,208,77,208,78,208,79,208,80,208,81,208,82,209,38,209,39,209,40,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,66,209,69,209,70,209,71,209,72,209,73,209,74,209,75,209,76,209,77,209,78,209,79,209,80,209,81,209,82,210,38,210,39,210,40,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,65,210,66,210,70,210,72,210,73,210,74,210,75,210,76,210,77,210,78,210,79,210,80,210,81,210,82,211,38,211,39,211,40,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,211,64,211,65,211,66,211,67,211,68,211,69,211,70,211,71,211,72,211,73,211,74,211,75,211,76,211,77,211,78,211,79,211,80,211,81,212,37,212,38,212,39,212,40,212,41,212,42,212,43,212,44,212,45,212,46,212,47,212,48,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,212,64,212,65,212,66,212,67,212,68,212,69,212,70,212,71,212,72,212,73,212,74,212,75,212,76,212,77,212,78,212,79,212,80,213,35,213,36,213,37,213,38,213,39,213,40,213,41,213,42,213,43,213,44,213,45,213,46,213,47,213,48,213,55,213,57,213,58,213,59,213,60,213,61,213,62,213,63,213,64,213,65,213,66,213,67,213,68,213,69,213,70,213,71,213,72,213,73,213,74,213,75,213,76,213,77,213,78,213,79,214,35,214,36,214,37,214,38,214,39,214,40,214,41,214,42,214,43,214,44,214,45,214,46,214,47,214,48,214,49,214,56,214,57,214,58,214,59,214,60,214,61,214,62,214,63,214,64,214,65,214,66,214,67,214,68,214,69,214,70,214,71,214,72,214,73,214,74,214,75,214,76,214,77,214,78,214,79,215,34,215,35,215,36,215,37,215,38,215,39,215,40,215,41,215,42,215,43,215,44,215,45,215,46,215,47,215,48,215,49,215,56,215,57,215,58,215,59,215,60,215,61,215,62,215,63,215,64,215,65,215,66,215,67,215,68,215,69,215,70,215,71,215,72,215,73,215,74,215,75,215,76,215,77,215,78,215,82,215,83,216,33,216,34,216,35,216,36,216,37,216,38,216,39,216,40,216,41,216,42,216,43,216,44,216,45,216,46,216,47,216,48,216,49,216,50,216,56,216,57,216,58,216,59,216,60,216,61,216,62,216,63,216,64,216,65,216,66,216,67,216,68,216,69,216,70,216,71,216,72,216,73,216,74,216,75,216,76,216,77,216,78,216,81,216,82,217,32,217,33,217,34,217,35,217,36,217,37,217,38,217,39,217,40,217,41,217,42,217,43,217,44,217,45,217,46,217,47,217,48,217,49,217,50,217,51,217,56,217,57,217,58,217,59,217,60,217,61,217,62,217,63,217,64,217,65,217,66,217,67,217,68,217,69,217,70,217,71,217,72,217,73,217,74,217,75,217,76,217,77,217,78,217,79,217,80,217,81,217,82,218,32,218,33,218,34,218,35,218,36,218,37,218,38,218,39,218,40,218,41,218,42,218,43,218,44,218,45,218,46,218,47,218,48,218,49,218,50,218,51,218,55,218,56,218,57,218,58,218,59,218,60,218,61,218,62,218,63,218,64,218,65,218,66,218,67,218,68,218,69,218,70,218,71,218,72,218,73,218,74,218,75,218,76,218,77,218,78,218,79,218,80,218,81,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,38,219,39,219,40,219,41,219,42,219,43,219,44,219,45,219,46,219,47,219,48,219,49,219,50,219,51,219,52,219,53,219,54,219,55,219,56,219,57,219,58,219,59,219,60,219,61,219,62,219,63,219,64,219,65,219,66,219,67,219,68,219,69,219,70,219,71,219,72,219,73,219,74,219,75,219,76,219,77,219,78,219,79,219,80,219,81,220,31,220,32,220,33,220,34,220,35,220,36,220,37,220,38,220,39,220,40,220,41,220,42,220,43,220,44,220,45,220,46,220,47,220,48,220,49,220,50,220,51,220,52,220,53,220,54,220,55,220,56,220,57,220,58,220,59,220,60,220,61,220,62,220,63,220,64,220,65,220,66,220,67,220,68,220,69,220,70,220,71,220,72,220,73,220,74,220,75,220,76,220,77,220,78,220,79,220,80,220,81,221,31,221,32,221,33,221,34,221,35,221,36,221,37,221,38,221,39,221,40,221,41,221,42,221,43,221,44,221,45,221,46,221,47,221,48,221,49,221,50,221,51,221,52,221,53,221,54,221,55,221,56,221,57,221,58,221,59,221,60,221,61,221,62,221,63,221,64,221,65,221,66,221,67,221,68,221,69,221,70,221,71,221,72,221,73,221,74,221,75,221,76,221,77,221,78,221,79,221,80,221,81,222,31,222,32,222,33,222,34,222,35,222,36,222,37,222,38,222,39,222,40,222,41,222,42,222,43,222,44,222,45,222,46,222,47,222,48,222,49,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,58,222,59,222,60,222,61,222,62,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,71,222,72,222,73,222,74,222,75,222,76,222,77,222,78,222,79,222,80,222,81,223,31,223,32,223,33,223,34,223,35,223,36,223,37,223,38,223,39,223,40,223,41,223,42,223,43,223,44,223,45,223,46,223,47,223,48,223,49,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,59,223,60,223,61,223,62,223,63,223,64,223,65,223,66,223,67,223,68,223,69,223,70,223,71,223,72,223,73,223,74,223,75,223,76,223,77,223,78,223,79,223,80,223,81,224,31,224,32,224,33,224,34,224,35,224,36,224,37,224,38,224,39,224,40,224,41,224,42,224,43,224,44,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,59,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,69,224,70,224,71,224,72,224,73,224,74,224,75,224,76,224,77,224,78,224,79,224,80,224,81,225,31,225,32,225,33,225,34,225,35,225,36,225,37,225,38,225,39,225,40,225,41,225,42,225,43,225,44,225,45,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,69,225,70,225,71,225,72,225,73,225,74,225,75,225,76,225,77,225,78,225,79,225,80,226,31,226,32,226,33,226,34,226,35,226,36,226,37,226,38,226,39,226,40,226,41,226,42,226,43,226,44,226,45,226,46,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,68,226,69,226,70,226,71,226,72,226,73,226,74,226,75,226,76,226,77,226,78,226,79,226,80,227,30,227,31,227,32,227,33,227,34,227,35,227,36,227,37,227,38,227,39,227,40,227,41,227,42,227,43,227,44,227,45,227,46,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,67,227,68,227,69,227,70,227,71,227,72,227,73,227,74,227,75,227,76,227,77,227,78,227,79,227,80,228,29,228,30,228,31,228,32,228,33,228,34,228,35,228,36,228,37,228,38,228,39,228,40,228,41,228,42,228,43,228,44,228,45,228,46,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,64,228,65,228,66,228,67,228,68,228,69,228,70,228,71,228,72,228,73,228,74,228,75,228,76,228,77,228,78,228,79,228,80,229,28,229,29,229,30,229,31,229,32,229,33,229,34,229,35,229,36,229,37,229,38,229,39,229,40,229,41,229,42,229,43,229,44,229,45,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,67,229,68,229,69,229,70,229,71,229,72,229,73,229,74,229,75,229,76,229,77,229,78,229,79,229,80,229,81,230,27,230,28,230,29,230,30,230,31,230,32,230,33,230,34,230,35,230,36,230,37,230,38,230,39,230,40,230,41,230,42,230,43,230,44,230,45,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,67,230,68,230,69,230,70,230,71,230,72,230,73,230,74,230,75,230,76,230,77,230,78,230,79,230,80,230,81,231,24,231,25,231,26,231,27,231,28,231,29,231,30,231,31,231,32,231,33,231,34,231,35,231,36,231,37,231,38,231,39,231,40,231,41,231,42,231,43,231,44,231,45,231,46,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,67,231,68,231,69,231,70,231,71,231,72,231,73,231,74,231,75,231,76,231,77,231,78,231,79,231,80,231,81,232,23,232,24,232,25,232,26,232,27,232,28,232,29,232,30,232,31,232,32,232,33,232,34,232,35,232,36,232,37,232,38,232,39,232,40,232,41,232,42,232,43,232,44,232,45,232,46,232,47,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,67,232,68,232,69,232,70,232,71,232,72,232,73,232,74,232,75,232,76,232,77,232,78,232,79,232,80,232,81,233,22,233,23,233,24,233,25,233,26,233,27,233,28,233,29,233,30,233,31,233,32,233,33,233,34,233,35,233,36,233,37,233,38,233,39,233,40,233,41,233,42,233,43,233,44,233,45,233,46,233,47,233,48,233,49,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,64,233,65,233,66,233,67,233,68,233,69,233,70,233,71,233,72,233,73,233,74,233,76,233,77,233,78,233,79,233,80,233,81,234,21,234,22,234,23,234,24,234,25,234,26,234,27,234,28,234,29,234,30,234,31,234,32,234,33,234,34,234,35,234,36,234,37,234,38,234,39,234,40,234,41,234,42,234,43,234,44,234,45,234,46,234,47,234,48,234,49,234,50,234,51,234,52,234,53,234,54,234,55,234,56,234,57,234,58,234,59,234,60,234,61,234,62,234,63,234,64,234,65,234,66,234,67,234,68,234,69,234,70,234,71,234,72,234,73,234,77,234,78,234,79,234,80,234,81,235,19,235,20,235,21,235,22,235,23,235,24,235,25,235,26,235,27,235,28,235,29,235,30,235,31,235,32,235,33,235,34,235,35,235,36,235,37,235,38,235,39,235,40,235,41,235,42,235,43,235,44,235,45,235,46,235,47,235,48,235,49,235,50,235,51,235,52,235,53,235,54,235,55,235,56,235,57,235,58,235,59,235,60,235,61,235,62,235,63,235,64,235,65,235,66,235,67,235,68,235,69,235,70,235,71,235,72,235,78,235,79,235,80,235,81,235,82,236,18,236,19,236,20,236,21,236,24,236,25,236,26,236,27,236,28,236,29,236,30,236,31,236,32,236,33,236,34,236,35,236,36,236,37,236,38,236,39,236,40,236,41,236,42,236,43,236,44,236,45,236,46,236,47,236,48,236,49,236,50,236,51,236,52,236,53,236,54,236,55,236,56,236,57,236,58,236,59,236,60,236,61,236,62,236,63,236,64,236,65,236,66,236,67,236,68,236,69,236,70,236,71,236,72,236,79,236,80,236,81,236,82,237,17,237,18,237,22,237,23,237,24,237,25,237,26,237,27,237,28,237,29,237,30,237,31,237,32,237,33,237,34,237,35,237,36,237,37,237,38,237,39,237,40,237,41,237,42,237,43,237,44,237,45,237,46,237,47,237,48,237,49,237,50,237,51,237,52,237,53,237,54,237,55,237,56,237,57,237,58,237,59,237,60,237,61,237,62,237,63,237,64,237,65,237,66,237,67,237,68,237,69,237,70,237,71,237,72,237,80,237,81,238,21,238,22,238,23,238,24,238,25,238,26,238,27,238,28,238,29,238,30,238,31,238,32,238,33,238,34,238,35,238,36,238,37,238,38,238,39,238,40,238,41,238,42,238,43,238,44,238,45,238,46,238,47,238,48,238,49,238,50,238,51,238,52,238,53,238,54,238,55,238,56,238,57,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,68,238,69,238,70,238,71,238,72,238,81,238,82,238,83,238,84,238,85,238,86,238,87,239,20,239,21,239,22,239,23,239,24,239,25,239,26,239,27,239,28,239,29,239,30,239,31,239,32,239,33,239,34,239,35,239,36,239,37,239,38,239,39,239,40,239,41,239,42,239,43,239,44,239,45,239,46,239,47,239,48,239,49,239,50,239,51,239,52,239,53,239,54,239,55,239,56,239,57,239,58,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,68,239,69,239,70,239,71,239,72,239,73,239,74,239,81,239,82,239,83,239,84,239,85,239,86,239,87,239,88,240,19,240,20,240,21,240,22,240,23,240,24,240,25,240,26,240,27,240,28,240,29,240,30,240,31,240,32,240,33,240,34,240,35,240,36,240,37,240,38,240,39,240,40,240,41,240,42,240,43,240,44,240,45,240,46,240,47,240,48,240,49,240,50,240,51,240,52,240,53,240,54,240,55,240,56,240,57,240,58,240,59,240,60,240,61,240,62,240,63,240,65,240,66,240,67,240,68,240,71,240,72,240,73,240,74,240,75,240,76,240,82,240,83,240,84,240,85,240,86,240,87,240,88,240,89,241,18,241,19,241,20,241,21,241,22,241,23,241,24,241,25,241,26,241,27,241,28,241,29,241,30,241,31,241,32,241,33,241,34,241,35,241,36,241,37,241,38,241,39,241,40,241,41,241,42,241,43,241,44,241,45,241,46,241,47,241,48,241,49,241,50,241,51,241,52,241,53,241,54,241,55,241,56,241,57,241,58,241,59,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,68,241,70,241,71,241,72,241,73,241,74,241,75,241,76,241,77,241,83,241,84,241,85,241,86,241,87,241,88,241,89,241,90,241,91,242,18,242,19,242,20,242,21,242,22,242,23,242,24,242,25,242,26,242,27,242,28,242,29,242,30,242,31,242,32,242,33,242,34,242,35,242,36,242,37,242,38,242,39,242,40,242,41,242,42,242,43,242,44,242,45,242,46,242,47,242,48,242,49,242,50,242,51,242,52,242,53,242,54,242,55,242,56,242,57,242,58,242,59,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,80,242,81,242,84,242,85,242,86,242,87,242,88,242,89,242,90,242,91,242,92,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,25,243,26,243,27,243,28,243,29,243,30,243,31,243,32,243,33,243,34,243,35,243,36,243,37,243,38,243,39,243,40,243,41,243,42,243,43,243,44,243,45,243,46,243,47,243,48,243,49,243,50,243,51,243,52,243,53,243,54,243,55,243,56,243,57,243,58,243,59,243,60,243,61,243,62,243,63,243,64,243,65,243,66,243,68,243,69,243,70,243,71,243,72,243,73,243,74,243,75,243,76,243,77,243,78,243,79,243,80,243,81,243,85,243,86,243,87,243,88,243,89,243,90,243,91,243,92,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,24,244,25,244,26,244,27,244,28,244,29,244,30,244,31,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,39,244,40,244,41,244,42,244,43,244,44,244,45,244,46,244,47,244,48,244,49,244,50,244,51,244,52,244,53,244,54,244,55,244,56,244,57,244,58,244,59,244,60,244,61,244,62,244,63,244,64,244,65,244,67,244,68,244,69,244,70,244,71,244,72,244,73,244,74,244,75,244,76,244,77,244,78,244,79,244,80,244,81,244,86,244,87,244,88,244,89,244,90,244,91,244,92,245,17,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,25,245,26,245,27,245,28,245,29,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,39,245,40,245,41,245,42,245,43,245,44,245,45,245,46,245,47,245,48,245,49,245,50,245,51,245,52,245,53,245,54,245,55,245,56,245,57,245,61,245,62,245,63,245,64,245,66,245,67,245,68,245,69,245,70,245,71,245,72,245,73,245,74,245,75,245,76,245,77,245,78,245,79,245,80,245,81,245,82,245,87,245,88,245,89,245,90,245,91,245,92,246,19,246,20,246,21,246,22,246,23,246,24,246,25,246,26,246,27,246,28,246,29,246,30,246,31,246,32,246,33,246,34,246,35,246,36,246,37,246,38,246,39,246,40,246,41,246,42,246,43,246,44,246,45,246,46,246,47,246,48,246,49,246,50,246,51,246,52,246,53,246,54,246,55,246,56,246,57,246,58,246,59,246,65,246,66,246,67,246,68,246,69,246,70,246,71,246,72,246,73,246,74,246,75,246,76,246,77,246,78,246,79,246,80,246,81,246,82,246,88,246,89,246,90,246,91,246,92,247,18,247,19,247,20,247,21,247,22,247,23,247,24,247,25,247,26,247,27,247,28,247,29,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,37,247,38,247,39,247,40,247,41,247,42,247,43,247,44,247,45,247,46,247,47,247,48,247,49,247,50,247,51,247,52,247,53,247,54,247,55,247,56,247,57,247,58,247,59,247,60,247,61,247,62,247,68,247,69,247,70,247,71,247,72,247,73,247,74,247,75,247,76,247,77,247,78,247,79,247,80,247,81,247,82,247,83,247,89,247,90,247,91,248,18,248,19,248,20,248,21,248,22,248,23,248,24,248,25,248,26,248,27,248,28,248,29,248,30,248,31,248,32,248,33,248,34,248,35,248,36,248,37,248,38,248,39,248,40,248,41,248,42,248,43,248,44,248,45,248,46,248,47,248,48,248,51,248,52,248,53,248,54,248,55,248,56,248,57,248,58,248,59,248,60,248,61,248,66,248,70,248,71,248,72,248,73,248,74,248,75,248,76,248,77,248,78,248,79,248,80,248,81,248,82,248,83,248,84,249,18,249,19,249,20,249,21,249,22,249,23,249,24,249,25,249,26,249,27,249,28,249,29,249,30,249,31,249,32,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,41,249,42,249,45,249,46,249,47,249,48,249,49,249,51,249,52,249,53,249,54,249,57,249,58,249,59,249,60,249,63,249,64,249,66,249,67,249,68,249,69,249,74,249,75,249,76,249,77,249,78,249,79,249,80,249,81,249,82,249,83,249,84,250,17,250,18,250,19,250,20,250,21,250,22,250,23,250,24,250,25,250,26,250,27,250,28,250,29,250,30,250,31,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,41,250,42,250,43,250,46,250,47,250,48,250,49,250,52,250,53,250,54,250,55,250,58,250,59,250,60,250,62,250,63,250,64,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,77,250,78,250,79,250,80,250,81,250,82,250,83,250,84,250,85,251,17,251,18,251,19,251,20,251,21,251,22,251,23,251,24,251,25,251,26,251,27,251,28,251,29,251,30,251,31,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,39,251,40,251,41,251,42,251,43,251,44,251,45,251,47,251,48,251,49,251,50,251,53,251,54,251,55,251,56,251,61,251,62,251,63,251,64,251,65,251,67,251,68,251,69,251,70,251,71,251,72,251,73,251,74,251,76,251,77,251,78,251,79,251,80,251,81,251,82,251,83,251,84,251,85,251,86,252,17,252,18,252,19,252,20,252,21,252,22,252,23,252,24,252,25,252,26,252,27,252,28,252,29,252,30,252,31,252,32,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,40,252,41,252,42,252,43,252,44,252,45,252,46,252,48,252,49,252,50,252,51,252,53,252,54,252,55,252,56,252,57,252,63,252,64,252,65,252,68,252,69,252,70,252,71,252,72,252,73,252,75,252,76,252,77,252,78,252,79,252,80,252,81,252,82,252,83,252,84,252,85,252,86,253,22,253,23,253,24,253,25,253,26,253,27,253,28,253,29,253,30,253,31,253,32,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,40,253,41,253,42,253,43,253,44,253,45,253,46,253,49,253,50,253,51,253,53,253,54,253,55,253,56,253,57,253,61,253,65,253,66,253,68,253,69,253,70,253,71,253,72,253,74,253,75,253,76,253,77,253,78,253,79,253,80,253,81,253,82,253,83,253,84,253,85,253,86,253,87,254,22,254,23,254,24,254,25,254,26,254,27,254,28,254,29,254,30,254,31,254,32,254,33,254,34,254,35,254,36,254,37,254,38,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,46,254,47,254,48,254,50,254,51,254,53,254,54,254,55,254,56,254,62,254,63,254,66,254,69,254,70,254,71,254,73,254,74,254,75,254,76,254,77,254,78,254,79,254,80,254,81,254,82,254,83,254,84,254,85,254,86,254,87,255,22,255,23,255,24,255,25,255,26,255,27,255,28,255,29,255,30,255,31,255,32,255,33,255,34,255,35,255,36,255,37,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,54,255,55,255,62,255,63,255,64,255,65,255,69,255,70,255,72,255,73,255,74,255,75,255,76,255,77,255,78,255,79,255,80,255,81,255,82,255,83,255,84,255,85,255,86,255,87,255,88,256,22,256,23,256,24,256,25,256,26,256,27,256,28,256,29,256,30,256,31,256,32,256,33,256,34,256,35,256,36,256,37,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,49,256,50,256,53,256,54,256,57,256,58,256,59,256,62,256,63,256,64,256,65,256,66,256,67,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,256,79,256,80,256,81,256,82,256,83,256,84,256,85,256,86,256,87,256,88,256,89,257,22,257,23,257,24,257,25,257,26,257,27,257,28,257,29,257,30,257,31,257,32,257,33,257,34,257,35,257,36,257,37,257,38,257,39,257,40,257,41,257,42,257,43,257,44,257,45,257,46,257,47,257,50,257,51,257,52,257,56,257,57,257,58,257,59,257,62,257,63,257,64,257,65,257,66,257,67,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,257,79,257,80,257,81,257,84,257,85,257,86,257,87,257,88,257,89,257,90,258,22,258,23,258,24,258,25,258,26,258,27,258,28,258,29,258,30,258,31,258,32,258,33,258,34,258,35,258,36,258,37,258,38,258,39,258,40,258,41,258,42,258,43,258,44,258,45,258,47,258,48,258,51,258,52,258,53,258,55,258,56,258,57,258,58,258,59,258,63,258,64,258,65,258,66,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,77,258,78,258,79,258,80,258,81,258,86,258,87,258,88,258,89,258,90,259,22,259,23,259,24,259,25,259,26,259,27,259,28,259,29,259,30,259,31,259,32,259,33,259,34,259,35,259,36,259,37,259,38,259,39,259,40,259,41,259,42,259,43,259,44,259,45,259,47,259,48,259,49,259,51,259,52,259,53,259,54,259,56,259,57,259,58,259,59,259,60,259,64,259,65,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,76,259,77,259,78,259,79,259,80,259,81,259,86,259,87,259,88,259,89,259,90,260,22,260,23,260,24,260,25,260,26,260,27,260,28,260,29,260,30,260,31,260,32,260,33,260,34,260,35,260,36,260,37,260,38,260,39,260,40,260,41,260,42,260,43,260,44,260,45,260,46,260,48,260,49,260,51,260,52,260,53,260,54,260,55,260,58,260,59,260,60,260,61,260,66,260,67,260,68,260,69,260,70,260,71,260,72,260,73,260,74,260,75,260,76,260,77,260,78,260,79,260,80,260,81,260,87,260,88,260,89,260,90,260,91,261,22,261,23,261,24,261,25,261,26,261,27,261,28,261,29,261,30,261,31,261,32,261,33,261,34,261,35,261,36,261,37,261,38,261,39,261,40,261,41,261,42,261,43,261,44,261,45,261,46,261,48,261,49,261,50,261,52,261,53,261,54,261,55,261,56,261,59,261,60,261,61,261,62,261,65,261,66,261,67,261,68,261,69,261,70,261,71,261,72,261,73,261,74,261,75,261,76,261,77,261,78,261,79,261,80,261,88,261,89,261,90,261,91,262,22,262,23,262,24,262,25,262,26,262,27,262,28,262,29,262,30,262,31,262,32,262,33,262,34,262,35,262,36,262,37,262,38,262,39,262,40,262,41,262,42,262,43,262,44,262,45,262,46,262,48,262,49,262,50,262,53,262,54,262,55,262,56,262,57,262,60,262,61,262,62,262,64,262,65,262,66,262,67,262,68,262,69,262,70,262,71,262,72,262,73,262,74,262,75,262,76,262,77,262,78,262,79,262,80,262,88,262,89,262,90,262,91,262,92,263,21,263,22,263,23,263,24,263,25,263,26,263,27,263,28,263,29,263,30,263,31,263,32,263,33,263,34,263,35,263,36,263,37,263,38,263,39,263,40,263,41,263,42,263,43,263,44,263,45,263,46,263,48,263,49,263,50,263,51,263,53,263,54,263,57,263,58,263,59,263,63,263,64,263,65,263,66,263,67,263,68,263,69,263,70,263,71,263,72,263,73,263,74,263,75,263,76,263,77,263,78,263,79,263,80,263,89,263,90,263,91,263,92,264,21,264,22,264,23,264,24,264,25,264,26,264,27,264,28,264,29,264,30,264,31,264,32,264,33,264,34,264,35,264,36,264,37,264,38,264,39,264,40,264,41,264,42,264,43,264,44,264,45,264,46,264,48,264,49,264,50,264,51,264,52,264,54,264,55,264,57,264,58,264,59,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,264,72,264,73,264,74,264,75,264,76,264,77,264,78,264,79,264,80,264,89,264,90,264,91,264,92,265,21,265,22,265,23,265,24,265,25,265,26,265,27,265,28,265,29,265,30,265,31,265,32,265,33,265,34,265,35,265,36,265,37,265,38,265,39,265,40,265,41,265,42,265,43,265,44,265,45,265,46,265,47,265,49,265,50,265,51,265,52,265,54,265,55,265,61,265,62,265,65,265,66,265,67,265,68,265,69,265,70,265,71,265,72,265,73,265,74,265,75,265,76,265,77,265,78,265,79,265,80,266,21,266,22,266,23,266,24,266,25,266,26,266,27,266,28,266,29,266,30,266,31,266,32,266,33,266,34,266,35,266,36,266,37,266,38,266,39,266,40,266,41,266,42,266,43,266,44,266,45,266,46,266,47,266,49,266,50,266,51,266,52,266,55,266,56,266,57,266,60,266,61,266,62,266,63,266,67,266,68,266,69,266,70,266,71,266,72,266,73,266,74,266,75,266,76,266,77,266,78,267,21,267,22,267,23,267,24,267,25,267,26,267,27,267,28,267,29,267,30,267,31,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,39,267,40,267,41,267,42,267,43,267,44,267,45,267,46,267,47,267,48,267,50,267,51,267,52,267,53,267,56,267,58,267,61,267,62,267,63,267,64,267,65,267,68,267,69,267,70,267,71,267,72,267,73,267,74,267,75,267,76,267,77,267,78,268,20,268,21,268,22,268,23,268,24,268,25,268,26,268,27,268,28,268,29,268,30,268,31,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,39,268,40,268,41,268,42,268,43,268,44,268,45,268,46,268,47,268,48,268,50,268,51,268,52,268,53,268,54,268,62,268,63,268,64,268,65,268,66,268,67,268,70,268,71,268,72,268,73,268,74,268,75,268,76,268,77,269,20,269,21,269,22,269,23,269,24,269,26,269,27,269,28,269,31,269,32,269,33,269,34,269,35,269,36,269,37,269,38,269,39,269,40,269,41,269,42,269,43,269,44,269,45,269,46,269,47,269,48,269,51,269,52,269,53,269,56,269,60,269,64,269,65,269,66,269,67,269,68,269,71,269,72,269,73,269,74,269,75,269,76,269,77,270,20,270,21,270,22,270,23,270,26,270,27,270,28,270,31,270,32,270,33,270,35,270,36,270,37,270,38,270,39,270,40,270,41,270,42,270,43,270,44,270,45,270,46,270,47,270,48,270,49,270,51,270,52,270,53,270,56,270,57,270,58,270,61,270,62,270,65,270,66,270,67,270,68,270,69,270,70,270,71,270,72,270,73,270,74,270,75,270,76,270,77,271,20,271,21,271,22,271,23,271,26,271,27,271,28,271,31,271,32,271,36,271,37,271,38,271,39,271,40,271,41,271,42,271,43,271,44,271,45,271,46,271,47,271,48,271,49,271,50,271,52,271,54,271,57,271,58,271,59,271,61,271,62,271,63,271,64,271,65,271,66,271,67,271,68,271,69,271,70,271,71,271,72,271,73,271,74,271,75,271,76,271,77,271,78,272,20,272,21,272,22,272,23,272,26,272,27,272,28,272,30,272,31,272,38,272,39,272,40,272,41,272,42,272,43,272,44,272,45,272,46,272,47,272,48,272,49,272,50,272,53,272,54,272,55,272,58,272,59,272,60,272,61,272,62,272,63,272,64,272,65,272,66,272,67,272,68,272,69,272,70,272,71,272,72,272,73,272,74,272,75,272,76,272,77,272,78,272,79,273,20,273,21,273,22,273,23,273,26,273,27,273,28,273,30,273,31,273,40,273,41,273,42,273,43,273,44,273,45,273,46,273,47,273,48,273,52,273,53,273,54,273,55,273,56,273,59,273,60,273,61,273,62,273,63,273,64,273,65,273,66,273,67,273,68,273,69,273,70,273,71,273,72,273,73,273,74,273,75,273,76,273,77,273,78,273,79,274,20,274,21,274,22,274,23,274,26,274,27,274,28,274,30,274,31,274,42,274,43,274,44,274,45,274,46,274,47,274,48,274,50,274,53,274,54,274,55,274,56,274,57,274,60,274,61,274,62,274,63,274,64,274,65,274,66,274,67,274,68,274,69,274,70,274,71,274,72,274,73,274,74,274,75,274,76,274,77,274,78,274,79,275,20,275,21,275,22,275,23,275,26,275,27,275,28,275,29,275,43,275,44,275,45,275,46,275,47,275,48,275,49,275,50,275,51,275,52,275,55,275,56,275,57,275,58,275,59,275,63,275,64,275,65,275,66,275,67,275,68,275,69,275,70,275,71,275,72,275,73,275,74,275,75,275,76,275,77,275,78,275,79,276,20,276,21,276,22,276,23,276,27,276,28,276,29,276,43,276,44,276,45,276,46,276,47,276,48,276,49,276,50,276,51,276,52,276,53,276,56,276,57,276,58,276,59,276,60,276,61,276,65,276,66,276,67,276,68,276,69,276,70,276,71,276,72,276,73,276,74,276,75,276,76,276,77,277,20,277,21,277,22,277,23,277,27,277,28,277,29,277,42,277,43,277,44,277,45,277,46,277,47,277,48,277,49,277,50,277,51,277,52,277,53,277,54,277,57,277,58,277,59,277,60,277,61,277,62,277,63,277,66,277,67,277,68,277,69,277,70,277,71,277,72,277,73,277,74,277,75,277,76,277,77,277,78,278,20,278,21,278,22,278,23,278,28,278,29,278,42,278,43,278,44,278,45,278,46,278,47,278,48,278,49,278,50,278,51,278,52,278,53,278,54,278,55,278,59,278,60,278,61,278,62,278,63,278,64,278,65,278,66,278,67,278,68,278,69,278,70,278,71,278,72,278,73,278,74,278,75,278,76,278,77,278,78,279,21,279,22,279,23,279,24,279,42,279,43,279,44,279,45,279,46,279,47,279,48,279,49,279,50,279,51,279,52,279,53,279,54,279,55,279,56,279,57,279,60,279,61,279,62,279,63,279,64,279,65,279,66,279,67,279,68,279,69,279,70,279,71,279,72,279,73,279,74,279,75,279,76,279,77,279,78,280,21,280,22,280,23,280,24,280,42,280,43,280,44,280,45,280,46,280,47,280,48,280,49,280,50,280,51,280,52,280,53,280,54,280,55,280,56,280,57,280,58,280,60,280,61,280,62,280,63,280,64,280,65,280,66,280,67,280,68,280,69,280,70,280,71,280,72,280,73,281,21,281,22,281,23,281,24,281,42,281,43,281,44,281,45,281,46,281,47,281,48,281,49,281,50,281,51,281,52,281,53,281,54,281,55,281,56,281,57,281,58,281,59,281,60,281,61,281,62,281,63,281,64,281,65,281,66,281,67,281,68,281,69,281,70,281,71,282,22,282,23,282,24,282,42,282,43,282,44,282,45,282,46,282,47,282,48,282,49,282,50,282,51,282,52,282,53,282,54,282,55,282,56,282,57,282,58,282,59,282,60,282,61,282,62,282,63,282,64,282,65,282,66,282,67,282,68,282,69,282,70,282,71,282,72,283,22,283,23,283,24,283,43,283,44,283,45,283,46,283,47,283,48,283,49,283,50,283,51,283,52,283,53,283,54,283,55,283,56,283,57,283,58,283,59,283,60,283,61,283,62,283,63,283,64,283,65,283,66,283,67,283,68,283,69,283,70,283,71,283,72,284,22,284,23,284,24,284,25,284,43,284,44,284,45,284,46,284,47,284,48,284,49,284,50,284,51,284,52,284,53,284,54,284,55,284,56,284,57,284,58,284,59,284,60,284,61,284,62,284,63,284,64,284,65,284,66,284,67,284,68,284,69,284,70,284,71,284,72,285,22,285,23,285,24,285,25,285,43,285,44,285,45,285,46,285,47,285,48,285,49,285,50,285,51,285,52,285,53,285,54,285,55,285,56,285,57,285,58,285,59,285,60,285,61,285,62,285,63,285,64,285,65,285,66,285,67,285,68,285,69,285,70,285,71,285,72,285,73,285,74,285,75,285,76,286,23,286,24,286,25,286,42,286,43,286,44,286,45,286,46,286,47,286,48,286,49,286,50,286,51,286,52,286,53,286,54,286,55,286,56,286,57,286,58,286,59,286,60,286,61,286,62,286,63,286,64,286,65,286,66,286,67,286,68,286,69,286,70,286,71,286,72,286,73,286,74,286,75,286,76,286,77,287,24,287,25,287,42,287,43,287,44,287,45,287,46,287,47,287,48,287,49,287,50,287,51,287,52,287,53,287,54,287,55,287,56,287,57,287,58,287,59,287,60,287,61,287,62,287,63,287,64,287,65,287,66,287,67,287,68,287,69,287,70,287,73,287,74,287,75,287,76,287,77,288,25,288,41,288,42,288,43,288,44,288,45,288,46,288,47,288,48,288,49,288,50,288,51,288,52,288,53,288,54,288,55,288,56,288,57,288,58,288,59,288,60,288,61,288,62,288,63,288,64,288,65,288,66,288,67,288,68,288,69,288,70,288,74,288,75,288,76,288,77,289,41,289,42,289,43,289,44,289,45,289,46,289,47,289,48,289,49,289,50,289,51,289,52,289,53,289,54,289,55,289,56,289,57,289,58,289,59,289,60,289,61,289,62,289,63,289,64,289,65,289,66,289,67,289,68,289,69,289,70,289,71,290,42,290,43,290,44,290,45,290,46,290,47,290,48,290,49,290,50,290,51,290,52,290,53,290,54,290,55,290,56,290,57,290,58,290,59,290,60,290,61,290,62,290,63,290,64,290,65,290,66,290,67,290,68,290,69,290,70,290,71,291,42,291,43,291,44,291,45,291,46,291,47,291,48,291,49,291,50,291,51,291,52,291,53,291,54,291,55,291,56,291,57,291,58,291,59,291,60,291,61,291,62,291,63,291,64,291,65,291,66,291,67,291,68,291,69,291,70,291,71,292,42,292,43,292,44,292,45,292,46,292,47,292,48,292,49,292,50,292,51,292,52,292,53,292,54,292,55,292,56,292,57,292,58,292,59,292,60,292,61,292,62,292,63,292,64,292,65,292,66,292,67,292,68,292,69,292,70,292,71,292,72,293,43,293,45,293,46,293,47,293,48,293,49,293,50,293,51,293,52,293,53,293,54,293,55,293,56,293,57,293,58,293,59,293,60,293,61,293,62,293,63,293,64,293,65,293,66,293,67,293,68,293,69,293,71,293,72,293,73,294,43,294,45,294,46,294,47,294,48,294,49,294,50,294,51,294,52,294,53,294,54,294,57,294,58,294,59,294,60,294,61,294,62,294,63,294,65,294,66,294,67,294,68,294,71,294,72,294,73,294,74,294,75,295,43,295,45,295,46,295,47,295,48,295,49,295,50,295,51,295,52,295,53,295,54,295,56,295,57,295,58,295,59,295,60,295,61,295,62,295,63,295,66,295,67,295,68,295,69,295,72,295,73,295,74,295,75,295,76,296,45,296,46,296,47,296,48,296,49,296,50,296,51,296,52,296,53,296,54,296,56,296,57,296,58,296,59,296,60,296,61,296,62,296,63,296,64,296,66,296,67,296,68,296,69,296,73,296,74,296,75,296,76,297,45,297,46,297,47,297,48,297,49,297,50,297,51,297,52,297,53,297,54,297,56,297,57,297,58,297,59,297,60,297,61,297,62,297,63,297,64,297,66,297,67,297,68,297,69,297,70,297,74,297,75,297,76,297,77,298,44,298,45,298,46,298,47,298,48,298,49,298,50,298,51,298,52,298,53,298,54,298,56,298,57,298,58,298,59,298,60,298,61,298,62,298,63,298,64,298,66,298,67,298,68,298,69,298,70,299,44,299,45,299,46,299,47,299,48,299,50,299,51,299,52,299,53,299,54,299,57,299,58,299,59,299,60,299,61,299,62,299,63,299,64,299,66,299,67,299,68,299,69,299,70,299,71,300,44,300,45,300,46,300,47,300,48,300,51,300,52,300,53,300,54,300,59,300,60,300,61,300,62,300,63,300,64,300,68,300,69,300,70,300,71,301,44,301,45,301,46,301,47,301,48,301,51,301,52,301,53,301,54,301,60,301,61,301,62,301,63,301,64,301,65,301,69,301,70,301,71,302,44,302,45,302,46,302,47,302,48,302,51,302,52,302,53,302,54,302,61,302,62,302,63,302,64,302,65,303,44,303,45,303,46,303,47,303,48,303,52,303,53,303,54,303,62,303,63,303,64,304,44,304,45,304,46,304,47,304,53,304,54,305,44,305,45,305,46,305,47,305,53,305,54,306,44,306,45,306,46,306,47,306,53,306,54,307,44,307,45,307,46}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function render_monster_0007 (inverted) local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 106); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {235,29,235,30,235,31,236,15,236,16,236,17,236,18,236,19,236,20,236,21,236,22,236,23,236,27,236,28,236,29,236,32,236,33,237,12,237,13,237,14,237,15,237,18,237,23,237,24,237,25,237,26,237,27,237,34,237,35,238,11,238,12,238,25,238,27,238,28,238,29,238,30,238,31,238,32,238,33,238,34,238,35,238,36,238,37,239,10,239,11,239,25,239,35,239,36,239,37,239,38,239,39,240,10,240,15,240,16,240,17,240,18,240,19,240,20,240,21,240,25,240,35,240,36,240,37,240,38,240,39,240,40,241,9,241,13,241,14,241,15,241,25,241,36,241,37,241,38,241,39,241,40,241,41,242,7,242,8,242,12,242,13,242,25,242,35,242,36,242,37,242,38,242,39,242,40,242,41,242,42,243,6,243,7,243,10,243,11,243,12,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,25,243,34,243,35,243,36,243,37,243,38,243,39,243,40,243,41,243,42,243,43,243,44,244,5,244,6,244,9,244,10,244,13,244,14,244,15,244,16,244,17,244,25,244,26,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,39,244,40,244,41,244,42,244,43,244,44,244,45,245,3,245,4,245,5,245,8,245,9,245,11,245,12,245,13,245,26,245,27,245,28,245,29,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,39,245,40,245,41,245,42,245,43,245,44,245,45,245,46,245,47,246,3,246,7,246,10,246,11,246,29,246,30,246,34,246,35,246,36,246,37,246,38,246,39,246,40,246,41,246,42,246,43,246,44,246,45,246,46,246,47,246,48,247,2,247,3,247,6,247,9,247,10,247,35,247,36,247,37,247,38,247,39,247,40,247,41,247,42,247,43,247,44,247,45,247,46,247,47,247,48,248,2,248,5,248,8,248,9,248,36,248,37,248,38,248,39,248,40,248,41,248,42,248,43,248,44,248,45,248,46,248,47,248,48,249,1,249,2,249,8,249,27,249,28,249,29,249,37,249,38,249,39,249,40,249,41,249,42,249,43,249,44,249,45,249,46,249,47,249,48,250,1,250,2,250,7,250,26,250,27,250,28,250,29,250,30,250,31,250,38,250,39,250,40,250,41,250,42,250,43,250,44,250,45,250,46,250,47,250,48,251,1,251,2,251,5,251,6,251,24,251,25,251,26,251,27,251,28,251,29,251,30,251,31,251,32,251,38,251,39,251,40,251,41,251,42,251,43,251,44,251,45,251,46,251,47,251,48,252,1,252,2,252,4,252,5,252,20,252,21,252,22,252,23,252,24,252,25,252,26,252,27,252,28,252,29,252,30,252,31,252,32,252,37,252,38,252,39,252,40,252,41,252,42,252,43,252,44,252,45,252,46,252,47,252,48,252,65,252,66,253,1,253,2,253,3,253,4,253,16,253,17,253,18,253,19,253,20,253,21,253,22,253,23,253,24,253,25,253,26,253,27,253,28,253,29,253,30,253,31,253,32,253,36,253,37,253,38,253,39,253,40,253,41,253,42,253,43,253,44,253,45,253,46,253,47,253,48,253,49,253,62,253,63,253,64,253,65,253,66,253,67,254,12,254,13,254,14,254,15,254,16,254,17,254,18,254,19,254,20,254,21,254,22,254,23,254,24,254,25,254,26,254,27,254,28,254,29,254,30,254,31,254,32,254,36,254,37,254,38,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,46,254,47,254,48,254,49,254,50,254,60,254,61,254,62,254,63,254,64,254,65,254,66,254,67,255,11,255,12,255,13,255,14,255,15,255,16,255,17,255,18,255,19,255,20,255,21,255,22,255,23,255,24,255,25,255,26,255,27,255,28,255,29,255,30,255,31,255,32,255,33,255,34,255,35,255,36,255,37,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,50,255,51,255,52,255,53,255,54,255,55,255,56,255,57,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,256,10,256,11,256,12,256,13,256,14,256,15,256,16,256,17,256,18,256,19,256,20,256,21,256,22,256,23,256,24,256,25,256,26,256,27,256,28,256,29,256,30,256,31,256,32,256,35,256,36,256,37,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,48,256,49,256,50,256,51,256,52,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,257,8,257,9,257,10,257,11,257,12,257,13,257,14,257,15,257,16,257,17,257,18,257,19,257,20,257,21,257,22,257,23,257,24,257,25,257,26,257,27,257,28,257,29,257,37,257,38,257,39,257,40,257,41,257,42,257,43,257,44,257,45,257,46,257,47,257,48,257,49,257,50,257,51,257,52,257,53,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,258,7,258,8,258,9,258,10,258,11,258,12,258,13,258,14,258,15,258,16,258,17,258,18,258,19,258,20,258,21,258,22,258,23,258,38,258,39,258,40,258,41,258,42,258,43,258,44,258,45,258,46,258,47,258,48,258,49,258,50,258,51,258,52,258,53,258,54,258,55,258,56,258,57,258,58,258,59,258,60,258,61,258,62,258,63,258,64,258,65,258,66,258,67,258,77,258,78,258,79,258,80,258,81,258,82,259,7,259,8,259,9,259,10,259,11,259,12,259,13,259,14,259,15,259,16,259,17,259,18,259,19,259,20,259,21,259,32,259,33,259,39,259,40,259,41,259,42,259,43,259,44,259,45,259,46,259,47,259,48,259,49,259,50,259,51,259,52,259,53,259,54,259,55,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,63,259,64,259,65,259,66,259,67,259,78,259,79,259,80,259,81,259,82,259,83,260,7,260,8,260,9,260,10,260,11,260,12,260,13,260,14,260,15,260,16,260,17,260,18,260,19,260,20,260,32,260,33,260,34,260,35,260,39,260,40,260,41,260,42,260,43,260,44,260,45,260,46,260,47,260,48,260,49,260,50,260,51,260,52,260,53,260,54,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,65,260,66,260,67,260,78,260,79,260,80,260,81,260,82,260,83,261,7,261,8,261,9,261,10,261,11,261,12,261,13,261,14,261,15,261,16,261,17,261,18,261,19,261,20,261,26,261,27,261,28,261,32,261,35,261,40,261,41,261,42,261,43,261,44,261,45,261,46,261,47,261,48,261,49,261,50,261,51,261,52,261,53,261,54,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,78,261,79,261,80,261,81,261,82,261,83,262,7,262,8,262,9,262,10,262,11,262,12,262,13,262,14,262,15,262,16,262,17,262,18,262,19,262,20,262,26,262,27,262,28,262,32,262,35,262,36,262,41,262,42,262,43,262,44,262,45,262,46,262,47,262,48,262,49,262,50,262,51,262,52,262,53,262,54,262,55,262,56,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,78,262,79,262,80,262,81,262,82,262,83,263,7,263,8,263,9,263,10,263,11,263,12,263,13,263,14,263,15,263,16,263,17,263,18,263,19,263,20,263,32,263,36,263,41,263,42,263,43,263,44,263,45,263,46,263,47,263,48,263,49,263,50,263,51,263,52,263,53,263,54,263,55,263,56,263,63,263,64,263,65,263,66,263,67,263,78,263,79,263,80,263,81,263,82,263,83,264,7,264,8,264,9,264,10,264,11,264,12,264,13,264,14,264,15,264,16,264,17,264,18,264,19,264,32,264,36,264,42,264,43,264,44,264,45,264,46,264,47,264,48,264,49,264,50,264,51,264,52,264,53,264,54,264,55,264,56,264,63,264,64,264,65,264,66,264,67,264,77,264,78,265,7,265,8,265,9,265,10,265,11,265,12,265,13,265,14,265,15,265,16,265,17,265,18,265,19,265,29,265,32,265,36,265,42,265,43,265,44,265,45,265,46,265,47,265,48,265,49,265,50,265,51,265,52,265,53,265,54,265,55,265,56,265,63,265,64,265,65,265,66,265,67,265,68,265,69,265,70,265,71,265,72,265,73,265,74,265,75,265,76,265,77,266,7,266,8,266,9,266,10,266,11,266,12,266,13,266,14,266,15,266,16,266,17,266,18,266,19,266,29,266,32,266,36,266,42,266,43,266,44,266,45,266,46,266,47,266,48,266,49,266,50,266,51,266,52,266,53,266,54,266,55,266,56,266,63,266,64,266,65,266,66,266,67,267,7,267,8,267,9,267,10,267,11,267,12,267,13,267,14,267,15,267,16,267,17,267,18,267,19,267,32,267,36,267,42,267,43,267,44,267,45,267,46,267,47,267,48,267,49,267,50,267,51,267,52,267,53,267,54,267,55,267,56,267,63,267,64,267,65,267,66,267,67,268,7,268,8,268,9,268,10,268,11,268,12,268,13,268,14,268,15,268,16,268,17,268,18,268,19,268,32,268,36,268,42,268,43,268,44,268,45,268,46,268,47,268,48,268,49,268,50,268,51,268,52,268,53,268,54,268,55,268,56,268,63,268,64,268,65,268,66,268,67,268,68,268,69,268,70,268,71,268,72,268,73,268,74,268,75,268,76,268,77,268,78,268,79,268,80,268,81,269,7,269,8,269,9,269,10,269,11,269,12,269,13,269,14,269,15,269,16,269,17,269,18,269,19,269,20,269,26,269,27,269,28,269,32,269,36,269,42,269,43,269,44,269,45,269,46,269,47,269,48,269,49,269,50,269,51,269,52,269,53,269,54,269,55,269,56,269,63,269,64,269,65,269,66,269,67,269,77,269,78,269,79,269,80,269,81,269,82,270,7,270,8,270,9,270,10,270,11,270,12,270,13,270,14,270,15,270,16,270,17,270,18,270,19,270,20,270,26,270,27,270,28,270,32,270,34,270,35,270,36,270,42,270,43,270,44,270,45,270,46,270,47,270,48,270,49,270,50,270,51,270,52,270,53,270,54,270,55,270,56,270,57,270,58,270,59,270,60,270,61,270,62,270,63,270,64,270,65,270,66,270,67,270,78,270,79,270,80,270,81,270,82,271,7,271,8,271,9,271,10,271,11,271,12,271,13,271,14,271,15,271,16,271,17,271,18,271,19,271,20,271,21,271,32,271,33,271,34,271,42,271,43,271,44,271,45,271,46,271,47,271,48,271,49,271,50,271,51,271,52,271,53,271,54,271,55,271,56,271,57,271,58,271,59,271,60,271,61,271,62,271,63,271,64,271,65,271,66,271,67,271,78,271,79,271,80,271,81,271,82,272,7,272,8,272,9,272,10,272,11,272,12,272,13,272,14,272,15,272,16,272,17,272,18,272,19,272,20,272,21,272,40,272,41,272,42,272,43,272,44,272,45,272,46,272,47,272,48,272,49,272,50,272,51,272,52,272,53,272,54,272,55,272,56,272,57,272,58,272,59,272,60,272,61,272,62,272,63,272,64,272,65,272,66,272,67,272,78,272,79,272,80,272,81,272,82,273,7,273,8,273,9,273,10,273,11,273,12,273,13,273,14,273,15,273,16,273,17,273,18,273,19,273,20,273,21,273,22,273,23,273,39,273,40,273,41,273,42,273,43,273,44,273,45,273,46,273,47,273,48,273,49,273,50,273,51,273,52,273,53,273,54,273,55,273,56,273,57,273,58,273,59,273,60,273,61,273,62,273,63,273,64,273,65,273,66,273,67,273,77,273,78,273,79,273,80,273,81,273,82,274,8,274,9,274,10,274,11,274,12,274,13,274,14,274,15,274,16,274,17,274,18,274,19,274,20,274,21,274,22,274,23,274,24,274,38,274,39,274,40,274,41,274,42,274,43,274,44,274,45,274,46,274,47,274,48,274,49,274,50,274,51,274,52,274,53,274,54,274,55,274,56,274,57,274,58,274,59,274,60,274,61,274,62,274,63,274,64,274,65,274,66,274,67,274,77,274,78,274,79,274,80,274,81,274,82,275,9,275,10,275,11,275,12,275,13,275,14,275,15,275,16,275,17,275,18,275,19,275,20,275,21,275,22,275,23,275,24,275,25,275,26,275,27,275,28,275,29,275,30,275,31,275,32,275,33,275,37,275,38,275,39,275,40,275,41,275,42,275,43,275,44,275,45,275,46,275,47,275,48,275,49,275,50,275,51,275,52,275,53,275,54,275,55,275,56,275,57,275,58,275,59,275,60,275,61,275,62,275,63,275,64,275,65,275,66,275,67,275,73,275,74,275,75,275,76,275,77,275,78,275,79,275,80,275,81,276,10,276,11,276,12,276,13,276,14,276,15,276,16,276,17,276,18,276,19,276,20,276,21,276,22,276,23,276,24,276,25,276,26,276,27,276,28,276,29,276,30,276,31,276,32,276,33,276,34,276,35,276,36,276,37,276,38,276,39,276,40,276,41,276,42,276,43,276,44,276,45,276,46,276,47,276,48,276,49,276,50,276,51,276,52,276,53,276,54,276,55,276,56,276,57,276,58,276,59,276,60,276,61,276,62,276,63,276,64,276,65,276,66,276,67,276,68,276,69,276,70,276,71,276,72,276,73,276,78,276,79,276,80,276,81,277,13,277,14,277,15,277,16,277,17,277,18,277,19,277,20,277,21,277,22,277,23,277,24,277,25,277,26,277,27,277,28,277,29,277,30,277,31,277,32,277,33,277,36,277,37,277,38,277,39,277,40,277,41,277,42,277,43,277,44,277,45,277,46,277,47,277,48,277,49,277,50,277,51,277,52,277,60,277,61,277,62,277,63,277,64,277,65,277,66,277,67,277,78,277,79,277,80,277,81,278,15,278,16,278,17,278,18,278,19,278,20,278,21,278,22,278,23,278,24,278,25,278,26,278,27,278,28,278,29,278,30,278,31,278,32,278,36,278,37,278,38,278,39,278,40,278,41,278,42,278,43,278,44,278,45,278,46,278,47,278,48,278,49,278,50,278,51,278,52,278,53,278,61,278,62,278,63,278,64,278,65,278,66,278,67,278,78,278,79,278,80,279,17,279,18,279,19,279,20,279,21,279,22,279,23,279,24,279,25,279,26,279,27,279,28,279,29,279,30,279,31,279,36,279,37,279,38,279,39,279,40,279,41,279,42,279,43,279,44,279,45,279,46,279,47,279,48,279,49,279,50,279,51,279,52,279,53,279,54,279,55,279,63,279,64,279,65,279,66,279,67,280,22,280,23,280,24,280,25,280,26,280,27,280,28,280,29,280,30,280,38,280,39,280,40,280,41,280,42,280,43,280,44,280,45,280,46,280,47,280,48,280,49,280,50,280,51,280,52,280,53,280,54,280,55,280,56,280,57,280,58,280,59,280,64,280,65,280,66,280,67,281,23,281,24,281,25,281,26,281,27,281,28,281,29,281,39,281,40,281,41,281,42,281,43,281,44,281,45,281,46,281,47,281,48,281,49,281,50,281,51,281,52,281,53,281,54,281,55,281,56,281,57,281,58,281,59,281,60,281,65,281,66,282,41,282,42,282,43,282,44,282,45,282,46,282,47,282,48,282,49,282,50,282,51,282,52,282,53,282,54,282,55,282,56,282,57,282,58,282,59,282,60,282,61,282,62,282,63,283,44,283,45,283,46,283,47,283,48,283,49,283,50,283,51,283,52,283,53,283,54,283,55,283,56,283,57,283,58,283,59,283,60,283,61,283,63,283,64,284,48,284,49,284,50,284,51,284,52,284,53,284,54,284,55,284,56,284,57,284,58,284,59,284,60,284,64,284,65,284,66,285,52,285,53,285,54,285,55,285,56,285,57,285,58,285,59,285,60,285,61,285,62,285,63,285,64,285,65,285,66,286,58,286,59,286,62,286,63,286,66,287,60,287,64,287,65,287,66,288,61,288,62,288,63,288,64}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; end function get_monster_0001_data() return { attack=6, defense=5, hp=10, gold_min=8, gold_max=9, min_exp_yield=2, max_exp_yield=4 }; end function get_monster_0002_data() return { attack=6, defense=5, hp=10, gold_min=8, gold_max=9, min_exp_yield=2, max_exp_yield=4 }; end function get_monster_0003_data() return { attack=8, defense=4, hp=15, gold_min=28, gold_max=32, min_exp_yield=31, max_exp_yield=32 }; end function get_monster_0004_data() return { attack=9, defense=5, hp=25, gold_min=100, gold_max=175, min_exp_yield=31, max_exp_yield=32 }; end function get_monster_0005_data() return { attack=19, defense=5, hp=25, gold_min=100, gold_max=175, min_exp_yield=14, max_exp_yield=19 }; end function get_monster_0006_data() return { attack=18, defense=2, hp=70, gold_min=610, gold_max=850, min_exp_yield=6, max_exp_yield=9 }; end function get_monster_0007_data() return { attack=18, defense=2, hp=70, gold_min=610, gold_max=850, min_exp_yield=6, max_exp_yield=9 }; end function SET_SWORD(idx) local swords = {{name="Phoenix Sword", attack=10},{name="Phoenix Sword LVL 2", attack=14},{name="Phoenix Sword LVL 3", attack=16},{name="Phoenix Sword LVL 4", attack=21},{name="Phoenix Sword LVL 5", attack=21},{name="Phoenix Sword LVL 5", attack=21},{name="Phoenix Sword LVL 6", attack=26}}; PUT_STATE("sword", 0, idx, "Ren's Sword"); end function GET_SWORD_DATA() local swords = {{name="Phoenix Sword", attack=10},{name="Phoenix Sword LVL 2", attack=14},{name="Phoenix Sword LVL 3", attack=16},{name="Phoenix Sword LVL 4", attack=21},{name="Phoenix Sword LVL 5", attack=21},{name="Phoenix Sword LVL 5", attack=21},{name="Phoenix Sword LVL 6", attack=26}}; local idx = GET_STATE("sword", 0); if swords[idx + 1] ~= nil then return swords[idx + 1];end return nil; end function SET_SHIELD(idx) local shields = {{name="Phoenix Shield", defense=1},{name="Phoenix Shield LVL 2", defense=2},{name="Phoenix Shield LVL 3", defense=5},{name="Phoenix Shield LVL 3", defense=9},{name="Phoenix Shield LVL 4", defense=10},{name="Phoenix Shield LVL 5", defense=10},{name="Phoenix Shield LVL 5", defense=15}}; PUT_STATE("shield", 0, idx, "Ren's Shield"); end function GET_SHIELD_DATA() local shields = {{name="Phoenix Shield", defense=1},{name="Phoenix Shield LVL 2", defense=2},{name="Phoenix Shield LVL 3", defense=5},{name="Phoenix Shield LVL 3", defense=9},{name="Phoenix Shield LVL 4", defense=10},{name="Phoenix Shield LVL 5", defense=10},{name="Phoenix Shield LVL 5", defense=15}}; local idx = GET_STATE("shield", 0); if shields[idx + 1] ~= nil then return shields[idx + 1];end return nil; end function render_main_menu(inverted) ALPHA_RED = 250; ALPHA_GREEN = 250; ALPHA_BLUE = 250; local gfx = GFX; gfx:setColorRGB(255, 255, 255); if inverted == true then gfx:setColorRGB(0, 0, 0); end gfx:fillRect(0, 0, 318, 212); gfx:setColorRGB(0, 0, 0); if inverted == true then gfx:setColorRGB(255, 255, 255); end local idx = 1; local coords = {12,6,12,7,12,8,12,9,12,10,12,11,12,12,12,13,12,14,12,15,12,16,12,17,12,18,12,19,12,20,12,21,12,22,12,23,12,24,12,25,12,26,12,27,12,28,12,29,12,30,12,31,12,32,12,33,12,34,12,35,12,36,12,37,12,38,12,39,12,40,12,41,12,42,12,43,12,44,12,45,12,46,12,47,12,48,12,49,13,6,13,7,13,8,13,9,13,10,13,11,13,12,13,13,13,14,13,15,13,16,13,17,13,18,13,19,13,20,13,21,13,22,13,23,13,24,13,25,13,26,13,27,13,28,13,29,13,30,13,31,13,32,13,33,13,34,13,35,13,36,13,37,13,38,13,39,13,40,13,41,13,42,13,43,13,44,13,45,13,46,13,47,13,48,13,49,13,179,13,186,14,6,14,7,14,8,14,9,14,10,14,11,14,12,14,13,14,14,14,15,14,16,14,17,14,18,14,19,14,20,14,21,14,22,14,23,14,24,14,25,14,26,14,27,14,28,14,29,14,30,14,31,14,32,14,33,14,34,14,35,14,36,14,37,14,38,14,39,14,40,14,41,14,42,14,43,14,44,14,45,14,46,14,47,14,179,14,180,14,181,14,182,14,183,14,184,14,185,14,186,14,193,14,194,14,195,14,196,14,197,14,198,15,6,15,7,15,8,15,9,15,10,15,11,15,12,15,13,15,14,15,15,15,16,15,17,15,18,15,19,15,20,15,21,15,22,15,23,15,24,15,25,15,26,15,27,15,28,15,29,15,30,15,31,15,32,15,33,15,34,15,35,15,36,15,37,15,38,15,39,15,40,15,41,15,42,15,43,15,44,15,179,15,180,15,181,15,182,15,183,15,184,15,185,15,186,15,192,15,193,15,194,15,195,15,196,15,197,15,198,15,199,16,6,16,7,16,8,16,9,16,10,16,11,16,12,16,13,16,14,16,15,16,16,16,17,16,18,16,19,16,20,16,21,16,22,16,23,16,24,16,25,16,26,16,27,16,28,16,29,16,30,16,31,16,32,16,33,16,34,16,35,16,36,16,37,16,38,16,39,16,40,16,41,16,42,16,179,16,180,16,181,16,182,16,186,16,192,16,199,17,6,17,7,17,8,17,9,17,10,17,11,17,12,17,13,17,14,17,15,17,16,17,17,17,18,17,19,17,20,17,21,17,22,17,23,17,24,17,25,17,26,17,27,17,28,17,29,17,30,17,31,17,32,17,33,17,34,17,35,17,36,17,37,17,38,17,39,17,40,17,41,17,181,17,182,17,183,17,192,17,199,18,6,18,7,18,8,18,9,18,10,18,11,18,12,18,13,18,14,18,15,18,16,18,17,18,18,18,19,18,20,18,21,18,22,18,23,18,24,18,25,18,26,18,27,18,28,18,29,18,30,18,31,18,32,18,33,18,34,18,35,18,36,18,37,18,38,18,39,18,40,18,41,18,48,18,179,18,182,18,183,18,184,18,192,18,193,18,199,19,6,19,7,19,8,19,9,19,10,19,11,19,12,19,13,19,14,19,15,19,16,19,17,19,18,19,19,19,20,19,21,19,22,19,23,19,24,19,25,19,26,19,27,19,28,19,29,19,30,19,31,19,32,19,33,19,34,19,35,19,36,19,37,19,38,19,39,19,40,19,41,19,42,19,43,19,44,19,45,19,46,19,47,19,48,19,49,19,50,19,51,19,179,19,180,19,181,19,182,19,183,19,184,19,185,19,186,20,6,20,7,20,8,20,9,20,10,20,11,20,12,20,13,20,14,20,15,20,16,20,17,20,18,20,19,20,20,20,21,20,22,20,23,20,24,20,25,20,26,20,27,20,28,20,29,20,30,20,31,20,32,20,33,20,34,20,35,20,36,20,37,20,38,20,39,20,40,20,41,20,42,20,43,20,44,20,45,20,46,20,47,20,48,20,49,20,50,20,51,20,52,20,179,20,180,20,181,20,182,20,183,20,184,20,185,20,186,20,195,20,196,20,197,20,198,21,6,21,7,21,8,21,9,21,10,21,11,21,12,21,13,21,14,21,15,21,16,21,17,21,18,21,19,21,20,21,21,21,22,21,23,21,24,21,25,21,26,21,27,21,28,21,29,21,30,21,31,21,32,21,33,21,34,21,35,21,36,21,37,21,38,21,39,21,40,21,41,21,42,21,43,21,44,21,45,21,46,21,47,21,48,21,49,21,50,21,179,21,195,21,199,22,6,22,7,22,8,22,9,22,10,22,11,22,12,22,13,22,14,22,15,22,16,22,17,22,18,22,19,22,20,22,21,22,22,22,23,22,24,22,25,22,26,22,27,22,28,22,29,22,30,22,31,22,32,22,33,22,34,22,35,22,36,22,37,22,38,22,39,22,40,22,41,22,42,22,43,22,44,22,45,22,46,22,47,22,48,22,183,22,184,22,185,22,195,22,199,23,6,23,7,23,8,23,9,23,10,23,11,23,12,23,13,23,14,23,15,23,16,23,17,23,18,23,19,23,20,23,21,23,22,23,23,23,24,23,25,23,26,23,27,23,28,23,29,23,30,23,31,23,32,23,33,23,34,23,35,23,36,23,37,23,38,23,39,23,40,23,41,23,42,23,43,23,44,23,45,23,46,23,182,23,184,23,186,23,195,23,196,23,197,23,198,23,199,24,6,24,7,24,8,24,9,24,10,24,11,24,12,24,13,24,14,24,15,24,16,24,17,24,18,24,19,24,20,24,21,24,22,24,23,24,24,24,25,24,26,24,27,24,28,24,29,24,30,24,31,24,32,24,33,24,34,24,35,24,36,24,37,24,38,24,39,24,40,24,41,24,42,24,43,24,44,24,45,24,182,24,184,24,186,25,6,25,7,25,8,25,9,25,10,25,11,25,12,25,13,25,14,25,15,25,16,25,17,25,18,25,19,25,20,25,21,25,22,25,23,25,24,25,25,25,26,25,27,25,28,25,29,25,30,25,31,25,32,25,33,25,34,25,35,25,36,25,37,25,38,25,39,25,40,25,41,25,42,25,43,25,44,25,59,25,60,25,61,25,183,25,184,25,186,25,195,25,199,26,6,26,7,26,8,26,9,26,10,26,11,26,12,26,13,26,14,26,15,26,16,26,17,26,18,26,19,26,20,26,21,26,22,26,23,26,34,26,35,26,36,26,37,26,38,26,39,26,40,26,41,26,42,26,43,26,44,26,45,26,46,26,47,26,48,26,49,26,50,26,51,26,52,26,195,26,196,26,197,26,198,26,199,27,6,27,7,27,8,27,9,27,10,27,11,27,12,27,13,27,14,27,15,27,16,27,17,27,18,27,19,27,20,27,21,27,36,27,37,27,38,27,39,27,40,27,41,27,42,27,43,27,44,27,45,27,46,27,47,27,48,27,49,27,50,27,51,27,52,27,53,27,54,27,182,27,195,27,199,28,6,28,7,28,8,28,9,28,10,28,11,28,12,28,13,28,14,28,15,28,16,28,17,28,18,28,19,28,38,28,39,28,40,28,41,28,42,28,43,28,44,28,45,28,46,28,47,28,48,28,49,28,50,28,51,28,52,28,53,28,182,28,183,28,184,28,195,29,6,29,7,29,8,29,9,29,10,29,11,29,12,29,13,29,14,29,15,29,16,29,17,29,40,29,41,29,42,29,43,29,44,29,45,29,46,29,47,29,48,29,49,29,50,29,51,29,52,29,183,29,185,29,186,29,195,29,196,29,197,29,198,29,199,30,6,30,7,30,8,30,9,30,10,30,11,30,12,30,13,30,14,30,15,30,16,30,41,30,42,30,43,30,44,30,45,30,46,30,47,30,48,30,49,30,50,30,182,30,183,30,184,30,199,31,6,31,7,31,8,31,9,31,10,31,11,31,12,31,13,31,14,31,15,31,42,31,43,31,44,31,45,31,46,31,47,31,48,31,49,31,185,31,186,31,195,32,6,32,7,32,8,32,9,32,10,32,11,32,12,32,13,32,14,32,43,32,44,32,45,32,46,32,47,32,48,32,59,32,60,32,61,32,62,32,63,32,182,32,183,32,184,32,194,32,195,32,196,32,197,32,198,32,199,33,6,33,7,33,8,33,9,33,10,33,11,33,12,33,13,33,44,33,45,33,46,33,47,33,48,33,49,33,50,33,51,33,52,33,53,33,54,33,182,33,194,33,195,33,199,34,6,34,7,34,8,34,9,34,10,34,11,34,12,34,13,34,44,34,45,34,46,34,47,34,48,34,49,34,50,34,51,34,52,34,53,34,54,34,55,34,195,34,199,35,6,35,7,35,8,35,9,35,10,35,11,35,12,35,45,35,46,35,47,35,48,35,49,35,50,35,51,35,52,35,53,35,54,35,55,35,56,36,6,36,7,36,8,36,9,36,10,36,11,36,12,36,27,36,45,36,46,36,47,36,48,36,49,36,50,36,51,36,52,36,53,36,54,36,55,36,193,36,195,36,196,36,197,36,198,36,199,37,6,37,7,37,8,37,9,37,10,37,11,37,46,37,47,37,48,37,49,37,50,37,51,37,52,37,53,37,54,37,180,37,181,37,182,37,183,37,199,38,6,38,7,38,8,38,9,38,10,38,11,38,46,38,47,38,48,38,49,38,50,38,51,38,52,38,53,38,54,38,57,38,58,38,59,38,60,38,61,38,62,38,63,38,180,38,181,38,182,38,183,38,184,39,6,39,7,39,8,39,9,39,10,39,11,39,28,39,47,39,48,39,49,39,50,39,51,39,52,39,53,39,54,39,55,39,56,39,57,39,58,39,59,39,60,39,61,39,62,39,63,39,64,39,179,39,180,39,185,39,186,39,195,39,196,39,197,39,198,39,199,40,6,40,7,40,8,40,9,40,10,40,47,40,48,40,49,40,50,40,51,40,52,40,53,40,54,40,55,40,56,40,57,40,58,40,179,40,180,40,183,40,186,40,195,40,199,41,6,41,7,41,8,41,9,41,10,41,47,41,48,41,49,41,50,41,51,41,52,41,53,41,54,41,55,41,56,41,57,41,58,41,179,41,180,41,183,41,186,41,195,42,6,42,7,42,8,42,9,42,10,42,22,42,47,42,48,42,49,42,50,42,51,42,52,42,53,42,54,42,55,42,56,42,57,42,58,42,59,42,179,42,180,42,183,42,184,42,185,42,186,42,195,42,196,42,197,42,198,42,199,43,6,43,7,43,8,43,9,43,10,43,47,43,48,43,49,43,50,43,51,43,52,43,53,43,54,43,55,43,56,43,57,43,58,43,59,43,183,43,199,44,6,44,7,44,8,44,9,44,10,44,47,44,48,44,49,44,50,44,51,44,52,44,53,44,54,44,55,44,56,44,57,44,58,44,59,44,60,44,61,44,62,44,63,44,64,44,65,44,66,44,195,45,6,45,7,45,8,45,9,45,10,45,47,45,48,45,49,45,50,45,51,45,52,45,53,45,54,45,55,45,56,45,57,45,58,45,59,45,60,45,61,45,62,45,63,45,64,45,65,45,66,45,67,45,68,45,69,45,70,45,183,45,185,45,186,45,195,45,196,45,197,45,198,45,199,46,6,46,7,46,8,46,9,46,10,46,29,46,47,46,48,46,49,46,50,46,51,46,52,46,53,46,54,46,55,46,56,46,57,46,58,46,59,46,60,46,61,46,62,46,63,46,64,46,65,46,66,46,67,46,68,46,182,46,184,46,186,46,199,47,6,47,7,47,8,47,9,47,10,47,23,47,47,47,48,47,49,47,50,47,51,47,52,47,53,47,54,47,55,47,56,47,57,47,58,47,59,47,60,47,61,47,62,47,182,47,184,47,195,47,199,48,6,48,7,48,8,48,9,48,10,48,24,48,47,48,48,48,49,48,50,48,51,48,52,48,53,48,54,48,55,48,56,48,57,48,58,48,59,48,60,48,61,48,62,48,182,48,183,48,184,48,185,48,186,48,195,48,196,48,197,48,198,48,199,49,6,49,7,49,8,49,9,49,10,49,11,49,47,49,48,49,49,49,50,49,51,49,52,49,53,49,54,49,55,49,56,49,57,49,58,49,59,49,60,49,61,49,62,49,63,49,199,50,6,50,7,50,8,50,9,50,10,50,11,50,46,50,47,50,48,50,49,50,50,50,51,50,52,50,53,50,54,50,55,50,56,50,57,50,58,50,59,50,60,50,61,50,62,50,182,50,186,50,196,50,197,50,198,51,6,51,7,51,8,51,9,51,10,51,11,51,28,51,46,51,47,51,48,51,49,51,50,51,51,51,52,51,53,51,54,51,55,51,59,51,60,51,61,51,62,51,63,51,64,51,65,51,66,51,67,51,68,51,69,51,70,51,71,51,72,51,73,51,74,51,182,51,183,51,184,51,185,51,186,51,195,51,197,51,198,51,199,52,6,52,7,52,8,52,9,52,10,52,11,52,12,52,45,52,46,52,47,52,48,52,49,52,50,52,51,52,52,52,53,52,54,52,55,52,56,52,57,52,63,52,64,52,65,52,66,52,67,52,68,52,69,52,183,52,186,52,195,52,197,52,199,53,6,53,7,53,8,53,9,53,10,53,11,53,12,53,45,53,46,53,47,53,48,53,49,53,50,53,51,53,52,53,53,53,54,53,55,53,56,53,57,53,58,53,59,53,182,53,186,53,195,53,196,53,197,53,199,54,6,54,7,54,8,54,9,54,10,54,11,54,12,54,13,54,44,54,45,54,46,54,47,54,48,54,49,54,50,54,51,54,52,54,53,54,54,54,55,54,56,54,57,54,58,54,59,54,60,54,61,54,182,54,183,54,184,54,185,54,186,54,197,55,6,55,7,55,8,55,9,55,10,55,11,55,12,55,13,55,44,55,45,55,46,55,47,55,48,55,49,55,50,55,51,55,52,55,53,55,54,55,55,55,56,55,57,55,58,55,59,55,60,55,61,55,62,55,63,55,186,56,6,56,7,56,8,56,9,56,10,56,11,56,12,56,13,56,14,56,43,56,44,56,45,56,46,56,47,56,48,56,49,56,50,56,51,56,52,56,53,56,54,56,55,56,56,56,57,56,58,56,59,56,60,56,61,56,62,56,63,56,64,56,65,56,182,56,186,57,6,57,7,57,8,57,9,57,10,57,11,57,12,57,13,57,14,57,15,57,42,57,43,57,44,57,45,57,46,57,47,57,48,57,49,57,50,57,51,57,52,57,53,57,54,57,55,57,56,57,57,57,58,57,59,57,60,57,61,57,62,57,63,57,64,57,65,57,66,57,182,57,183,57,184,57,185,57,186,58,6,58,7,58,8,58,9,58,10,58,11,58,12,58,13,58,14,58,15,58,16,58,41,58,42,58,43,58,44,58,45,58,46,58,47,58,48,58,49,58,50,58,51,58,52,58,53,58,54,58,55,58,56,58,57,58,58,58,59,58,60,58,61,58,62,58,63,58,64,58,65,58,66,58,67,58,68,58,69,58,70,58,186,59,6,59,7,59,8,59,9,59,10,59,11,59,12,59,13,59,14,59,15,59,16,59,17,59,40,59,41,59,42,59,43,59,44,59,45,59,46,59,47,59,48,59,49,59,50,59,51,59,52,59,53,59,54,59,55,59,56,59,57,59,58,59,59,59,60,59,61,59,62,59,63,59,64,59,65,59,66,59,67,59,68,59,69,59,70,59,71,59,72,60,6,60,7,60,8,60,9,60,10,60,11,60,12,60,13,60,14,60,15,60,16,60,17,60,18,60,19,60,38,60,39,60,40,60,41,60,42,60,43,60,44,60,45,60,46,60,47,60,48,60,49,60,50,60,51,60,52,60,53,60,54,60,55,60,56,60,57,60,58,60,59,60,60,60,61,60,62,60,63,60,64,60,65,60,66,60,67,60,68,60,69,60,70,60,71,60,72,60,73,60,74,60,75,60,182,60,184,60,186,61,6,61,7,61,8,61,9,61,10,61,11,61,12,61,13,61,14,61,15,61,16,61,17,61,18,61,19,61,20,61,21,61,36,61,37,61,38,61,39,61,40,61,41,61,42,61,43,61,44,61,45,61,46,61,47,61,48,61,49,61,50,61,51,61,52,61,53,61,54,61,55,61,56,61,57,61,58,61,59,61,60,61,61,61,62,61,63,61,64,61,65,61,66,61,67,61,68,61,69,61,70,61,71,61,72,61,73,61,182,61,184,61,186,62,6,62,7,62,8,62,9,62,10,62,11,62,12,62,13,62,14,62,15,62,16,62,17,62,18,62,19,62,20,62,21,62,22,62,23,62,34,62,35,62,36,62,37,62,38,62,39,62,40,62,41,62,42,62,43,62,44,62,45,62,46,62,47,62,48,62,49,62,50,62,51,62,52,62,53,62,54,62,55,62,56,62,57,62,58,62,59,62,60,62,61,62,62,62,63,62,64,62,65,62,66,62,67,62,68,62,69,62,70,62,71,62,72,62,183,62,184,62,186,63,6,63,7,63,8,63,9,63,10,63,11,63,12,63,13,63,14,63,15,63,16,63,17,63,18,63,19,63,20,63,21,63,22,63,23,63,24,63,25,63,26,63,27,63,28,63,29,63,30,63,31,63,32,63,33,63,34,63,35,63,36,63,37,63,38,63,39,63,40,63,41,63,42,63,43,63,44,63,45,63,46,63,47,63,48,63,49,63,50,63,51,63,52,63,53,63,54,63,55,63,56,63,57,63,58,63,59,63,60,63,61,63,62,63,63,63,64,63,65,63,66,63,67,63,68,63,69,63,70,63,71,64,6,64,7,64,8,64,9,64,10,64,11,64,12,64,13,64,14,64,15,64,16,64,17,64,18,64,19,64,20,64,21,64,22,64,23,64,24,64,25,64,26,64,27,64,28,64,29,64,30,64,31,64,32,64,33,64,34,64,35,64,36,64,37,64,38,64,39,64,40,64,41,64,42,64,43,64,44,64,45,64,46,64,47,64,48,64,49,64,50,64,51,64,52,64,53,64,54,64,55,64,56,64,57,64,58,64,59,64,60,64,61,64,62,64,63,64,64,64,65,64,66,64,67,64,68,64,69,64,70,64,71,64,78,64,79,64,80,64,81,64,82,64,83,64,84,65,6,65,7,65,8,65,9,65,10,65,11,65,12,65,13,65,14,65,15,65,16,65,17,65,18,65,19,65,20,65,21,65,22,65,23,65,24,65,25,65,26,65,27,65,28,65,29,65,30,65,31,65,32,65,33,65,34,65,35,65,36,65,37,65,38,65,39,65,40,65,41,65,42,65,43,65,44,65,45,65,46,65,47,65,48,65,49,65,50,65,51,65,52,65,53,65,54,65,55,65,56,65,57,65,58,65,59,65,60,65,61,65,62,65,63,65,64,65,65,65,66,65,67,65,68,65,69,65,70,65,71,65,72,65,73,65,74,65,75,65,76,66,6,66,7,66,8,66,9,66,10,66,11,66,12,66,13,66,14,66,15,66,16,66,17,66,18,66,19,66,20,66,21,66,22,66,23,66,24,66,25,66,26,66,27,66,28,66,29,66,30,66,31,66,32,66,33,66,34,66,35,66,36,66,37,66,38,66,39,66,40,66,41,66,42,66,43,66,44,66,45,66,46,66,47,66,48,66,49,66,50,66,51,66,52,66,53,66,54,66,55,66,56,66,57,66,58,66,59,66,60,66,61,66,62,66,63,66,64,66,65,66,66,66,67,66,68,66,69,66,70,66,71,66,72,66,73,66,74,66,75,66,76,67,6,67,7,67,8,67,9,67,10,67,11,67,12,67,13,67,14,67,15,67,16,67,17,67,18,67,19,67,20,67,21,67,22,67,23,67,24,67,25,67,26,67,27,67,28,67,29,67,30,67,31,67,32,67,33,67,34,67,35,67,36,67,37,67,38,67,39,67,40,67,41,67,42,67,43,67,44,67,45,67,46,67,47,67,48,67,49,67,50,67,51,67,52,67,53,67,54,67,55,67,56,67,57,67,58,67,59,67,60,67,61,67,62,67,63,67,64,67,65,67,66,67,67,67,68,67,69,67,70,67,71,67,72,67,73,67,74,67,75,67,76,67,77,67,78,68,6,68,7,68,8,68,9,68,10,68,11,68,12,68,13,68,14,68,15,68,16,68,17,68,18,68,19,68,20,68,21,68,22,68,23,68,24,68,25,68,26,68,27,68,28,68,29,68,30,68,31,68,32,68,34,68,35,68,36,68,37,68,38,68,39,68,40,68,41,68,42,68,43,68,44,68,45,68,46,68,47,68,48,68,49,68,50,68,51,68,52,68,53,68,54,68,55,68,56,68,57,68,58,68,59,68,60,68,61,68,62,68,63,68,64,68,65,68,66,68,67,68,68,68,69,68,70,68,71,68,72,68,73,68,74,68,75,68,76,68,77,69,6,69,7,69,8,69,9,69,10,69,11,69,12,69,13,69,14,69,15,69,16,69,17,69,18,69,19,69,20,69,21,69,22,69,23,69,24,69,25,69,26,69,27,69,28,69,29,69,30,69,31,69,32,69,34,69,35,69,36,69,37,69,38,69,39,69,40,69,41,69,42,69,43,69,44,69,45,69,46,69,47,69,48,69,49,69,50,69,51,69,52,69,53,69,54,69,55,69,56,69,57,69,58,69,59,69,60,69,61,69,62,69,63,69,64,69,65,69,66,69,67,69,68,69,69,69,70,69,71,69,72,69,73,69,74,69,75,69,76,70,6,70,7,70,8,70,9,70,10,70,11,70,12,70,13,70,14,70,15,70,16,70,17,70,19,70,20,70,21,70,22,70,23,70,24,70,25,70,26,70,27,70,28,70,29,70,30,70,31,70,34,70,35,70,36,70,37,70,38,70,39,70,40,70,41,70,42,70,43,70,44,70,45,70,46,70,47,70,48,70,49,70,50,70,51,70,52,70,53,70,54,70,55,70,56,70,57,70,58,70,59,70,60,70,61,70,62,70,63,70,64,70,65,70,66,70,67,70,68,70,69,70,70,70,71,70,72,70,73,70,74,71,6,71,7,71,8,71,9,71,10,71,11,71,12,71,13,71,14,71,15,71,16,71,17,71,34,71,35,71,36,71,37,71,38,71,39,71,40,71,41,71,42,71,43,71,44,71,45,71,46,71,47,71,48,71,49,71,50,71,51,71,52,71,53,71,54,71,55,71,56,71,57,71,58,71,59,71,60,71,61,71,62,71,63,71,64,71,65,71,66,71,67,71,68,71,69,71,70,71,71,71,72,71,73,71,74,72,6,72,7,72,8,72,9,72,10,72,11,72,12,72,13,72,14,72,15,72,16,72,17,72,33,72,34,72,35,72,36,72,37,72,38,72,39,72,40,72,41,72,42,72,43,72,44,72,45,72,46,72,47,72,48,72,49,72,50,72,51,72,52,72,53,72,54,72,55,72,56,72,57,72,58,72,59,72,60,72,61,72,62,72,63,72,64,72,65,72,66,72,67,72,68,72,69,72,70,72,71,72,72,72,73,72,74,72,75,72,76,72,77,72,78,72,79,72,80,73,6,73,7,73,8,73,9,73,10,73,11,73,12,73,13,73,14,73,15,73,16,73,17,73,19,73,20,73,21,73,22,73,23,73,24,73,25,73,26,73,27,73,28,73,29,73,30,73,31,73,32,73,33,73,34,73,35,73,36,73,37,73,38,73,39,73,40,73,41,73,42,73,43,73,44,73,45,73,46,73,47,73,48,73,49,73,50,73,51,73,52,73,53,73,54,73,55,73,56,73,57,73,58,73,59,73,60,73,61,73,62,73,63,73,64,73,65,73,66,73,67,73,68,73,69,73,70,73,71,73,72,73,73,73,74,73,75,73,76,73,77,73,78,74,6,74,7,74,8,74,9,74,10,74,11,74,12,74,13,74,14,74,15,74,16,74,17,74,18,74,19,74,20,74,21,74,22,74,23,74,24,74,25,74,26,74,27,74,28,74,29,74,30,74,31,74,32,74,33,74,34,74,35,74,36,74,37,74,38,74,39,74,40,74,41,74,42,74,43,74,44,74,45,74,46,74,47,74,48,74,49,74,50,74,51,74,52,74,53,74,54,74,55,74,56,74,57,74,58,74,59,74,60,74,61,74,62,74,63,74,64,74,65,74,66,74,67,74,68,74,69,74,70,74,71,74,72,74,73,74,74,74,75,75,6,75,7,75,8,75,9,75,10,75,11,75,12,75,13,75,14,75,15,75,16,75,17,75,18,75,19,75,20,75,28,75,29,75,30,75,31,75,32,75,33,75,34,75,35,75,36,75,37,75,38,75,39,75,40,75,41,75,42,75,43,75,44,75,45,75,46,75,47,75,48,75,49,75,50,75,51,75,52,75,53,75,54,75,55,75,56,75,57,75,58,75,59,75,60,75,61,75,62,75,63,75,64,75,65,75,66,75,67,75,68,75,69,75,70,75,71,75,72,75,73,75,181,75,182,75,183,75,184,75,185,75,186,75,196,75,197,75,198,75,199,75,200,76,6,76,7,76,8,76,9,76,10,76,11,76,12,76,13,76,14,76,15,76,16,76,17,76,18,76,19,76,21,76,22,76,23,76,24,76,29,76,30,76,31,76,32,76,33,76,34,76,35,76,36,76,37,76,38,76,39,76,40,76,41,76,42,76,43,76,44,76,45,76,46,76,47,76,48,76,49,76,56,76,57,76,58,76,59,76,60,76,61,76,62,76,63,76,64,76,65,76,66,76,67,76,68,76,69,76,70,76,71,76,180,76,181,76,182,76,183,76,184,76,185,76,186,76,187,76,188,76,194,76,195,76,196,76,197,76,198,76,199,76,200,76,201,76,202,77,6,77,7,77,8,77,9,77,10,77,11,77,12,77,13,77,14,77,15,77,16,77,17,77,18,77,20,77,21,77,22,77,23,77,24,77,25,77,26,77,30,77,31,77,32,77,33,77,34,77,35,77,36,77,37,77,38,77,39,77,40,77,41,77,42,77,43,77,44,77,45,77,46,77,47,77,58,77,59,77,60,77,61,77,62,77,63,77,64,77,65,77,66,77,67,77,68,77,69,77,70,77,179,77,189,77,193,77,203,78,6,78,7,78,8,78,9,78,10,78,11,78,12,78,13,78,14,78,15,78,16,78,17,78,20,78,21,78,22,78,23,78,24,78,25,78,26,78,27,78,30,78,31,78,32,78,33,78,34,78,35,78,36,78,37,78,38,78,39,78,40,78,41,78,42,78,43,78,44,78,45,78,46,78,59,78,60,78,61,78,62,78,63,78,64,78,65,78,66,78,67,78,68,79,6,79,7,79,8,79,9,79,10,79,11,79,12,79,13,79,14,79,15,79,16,79,17,79,19,79,20,79,21,79,22,79,23,79,24,79,25,79,26,79,27,79,30,79,31,79,32,79,33,79,34,79,35,79,36,79,37,79,38,79,39,79,40,79,41,79,42,79,43,79,44,79,45,79,46,79,53,79,59,79,60,79,61,79,62,79,63,79,64,79,65,79,66,79,67,80,6,80,7,80,8,80,9,80,10,80,11,80,12,80,13,80,14,80,15,80,16,80,17,80,19,80,20,80,21,80,22,80,23,80,24,80,25,80,26,80,27,80,28,80,30,80,31,80,32,80,33,80,34,80,35,80,36,80,37,80,38,80,39,80,40,80,41,80,42,80,43,80,44,80,45,80,60,80,61,80,62,80,63,80,64,80,65,80,76,80,77,80,78,80,79,80,80,80,81,80,82,80,83,80,84,80,85,81,6,81,7,81,8,81,9,81,10,81,11,81,12,81,13,81,14,81,15,81,16,81,17,81,19,81,20,81,21,81,22,81,23,81,24,81,25,81,26,81,27,81,28,81,30,81,31,81,32,81,33,81,34,81,35,81,36,81,37,81,38,81,39,81,40,81,41,81,42,81,43,81,44,81,45,81,60,81,61,81,62,81,63,81,64,81,73,81,74,81,75,81,76,81,77,81,78,81,79,81,80,81,81,81,82,81,83,81,84,81,85,81,86,81,179,81,186,82,6,82,7,82,8,82,9,82,10,82,11,82,12,82,13,82,14,82,15,82,16,82,17,82,20,82,21,82,22,82,23,82,24,82,25,82,26,82,27,82,28,82,30,82,31,82,32,82,33,82,34,82,35,82,36,82,37,82,38,82,39,82,40,82,41,82,42,82,43,82,44,82,45,82,52,82,60,82,61,82,62,82,63,82,64,82,72,82,73,82,74,82,75,82,76,82,77,82,78,82,79,82,80,82,81,82,82,82,83,82,84,82,85,82,86,82,179,82,180,82,181,82,182,82,183,82,184,82,185,82,186,82,194,82,195,82,196,82,197,82,198,82,199,83,6,83,7,83,8,83,9,83,10,83,11,83,12,83,13,83,14,83,15,83,16,83,17,83,20,83,21,83,22,83,23,83,24,83,25,83,26,83,27,83,30,83,31,83,32,83,33,83,34,83,35,83,36,83,37,83,38,83,39,83,40,83,41,83,42,83,43,83,44,83,45,83,53,83,60,83,61,83,62,83,63,83,70,83,71,83,72,83,73,83,74,83,75,83,76,83,77,83,78,83,79,83,80,83,81,83,82,83,179,83,180,83,181,83,186,83,193,83,194,83,199,83,200,84,6,84,7,84,8,84,9,84,10,84,11,84,12,84,13,84,14,84,15,84,16,84,17,84,21,84,22,84,23,84,24,84,25,84,26,84,27,84,29,84,30,84,31,84,32,84,33,84,34,84,35,84,36,84,37,84,38,84,39,84,40,84,41,84,42,84,43,84,44,84,45,84,50,84,51,84,60,84,61,84,62,84,68,84,69,84,70,84,71,84,72,84,73,84,74,84,75,84,76,84,77,84,78,84,79,84,80,84,180,84,181,84,182,84,193,84,200,85,6,85,7,85,8,85,9,85,10,85,11,85,12,85,13,85,14,85,15,85,16,85,17,85,18,85,22,85,23,85,24,85,25,85,26,85,29,85,30,85,31,85,32,85,33,85,34,85,35,85,36,85,37,85,38,85,39,85,40,85,41,85,42,85,43,85,44,85,45,85,50,85,51,85,60,85,61,85,66,85,67,85,68,85,69,85,70,85,71,85,72,85,73,85,74,85,75,85,76,85,77,85,78,85,181,85,182,85,183,85,184,85,193,85,200,86,6,86,7,86,8,86,9,86,10,86,11,86,12,86,13,86,14,86,15,86,16,86,17,86,18,86,19,86,27,86,28,86,29,86,30,86,31,86,32,86,33,86,34,86,35,86,36,86,37,86,38,86,39,86,40,86,41,86,42,86,43,86,44,86,45,86,46,86,59,86,60,86,61,86,64,86,65,86,66,86,67,86,68,86,69,86,70,86,71,86,72,86,73,86,74,86,75,86,76,86,77,86,179,86,183,86,184,86,185,86,193,86,194,86,199,86,200,87,6,87,7,87,8,87,9,87,10,87,11,87,12,87,13,87,14,87,15,87,16,87,17,87,18,87,19,87,20,87,25,87,26,87,27,87,28,87,29,87,30,87,31,87,32,87,33,87,34,87,35,87,36,87,37,87,38,87,39,87,40,87,41,87,42,87,43,87,44,87,45,87,46,87,59,87,60,87,61,87,63,87,64,87,65,87,66,87,67,87,68,87,69,87,70,87,71,87,72,87,73,87,74,87,75,87,76,87,77,87,83,87,84,87,85,87,86,87,87,87,179,87,180,87,181,87,182,87,183,87,184,87,185,87,186,88,6,88,7,88,8,88,9,88,10,88,11,88,12,88,13,88,14,88,15,88,16,88,17,88,19,88,20,88,21,88,22,88,23,88,24,88,25,88,26,88,27,88,28,88,29,88,30,88,31,88,32,88,33,88,34,88,35,88,36,88,37,88,38,88,39,88,40,88,41,88,42,88,43,88,44,88,45,88,46,88,47,88,58,88,59,88,60,88,61,88,62,88,63,88,64,88,65,88,66,88,67,88,68,88,69,88,70,88,71,88,72,88,73,88,74,88,75,88,76,88,77,88,78,88,79,88,80,88,81,88,82,88,83,88,84,88,85,88,86,88,87,88,88,88,179,89,6,89,7,89,8,89,9,89,10,89,11,89,12,89,13,89,14,89,15,89,16,89,17,89,28,89,29,89,30,89,31,89,32,89,33,89,34,89,35,89,36,89,37,89,38,89,39,89,40,89,41,89,42,89,43,89,44,89,45,89,46,89,47,89,48,89,49,89,56,89,57,89,58,89,59,89,60,89,61,89,62,89,63,89,64,89,65,89,66,89,67,89,68,89,69,89,70,89,71,89,72,89,73,89,74,89,75,89,76,89,77,89,78,89,79,89,80,89,81,89,82,89,83,89,84,89,85,89,86,89,87,89,88,90,6,90,7,90,8,90,9,90,10,90,11,90,12,90,13,90,14,90,15,90,16,90,17,90,29,90,30,90,31,90,32,90,33,90,34,90,35,90,36,90,37,90,38,90,39,90,40,90,41,90,42,90,43,90,44,90,45,90,46,90,47,90,48,90,49,90,50,90,51,90,52,90,53,90,54,90,55,90,56,90,57,90,58,90,59,90,60,90,61,90,62,90,63,90,64,90,65,90,66,90,67,90,68,90,69,90,70,90,71,90,72,90,73,90,74,90,75,90,76,90,77,90,78,90,79,90,80,90,81,90,82,90,83,90,84,90,85,90,86,90,193,90,203,91,6,91,7,91,8,91,9,91,10,91,11,91,12,91,13,91,14,91,15,91,16,91,17,91,19,91,20,91,21,91,22,91,23,91,24,91,25,91,26,91,30,91,31,91,32,91,33,91,34,91,35,91,36,91,37,91,38,91,39,91,40,91,41,91,42,91,43,91,44,91,45,91,46,91,47,91,48,91,49,91,50,91,51,91,52,91,53,91,54,91,55,91,56,91,57,91,58,91,59,91,60,91,61,91,62,91,63,91,64,91,65,91,66,91,67,91,68,91,69,91,70,91,71,91,72,91,73,91,74,91,75,91,76,91,77,91,78,91,79,91,80,91,81,91,82,91,193,91,194,91,195,91,196,91,197,91,198,91,199,91,200,91,201,91,202,91,203,92,6,92,7,92,8,92,9,92,10,92,11,92,12,92,13,92,14,92,15,92,16,92,17,92,18,92,19,92,20,92,21,92,22,92,23,92,24,92,25,92,26,92,27,92,30,92,31,92,32,92,33,92,34,92,35,92,36,92,37,92,38,92,39,92,40,92,41,92,42,92,43,92,44,92,45,92,46,92,47,92,48,92,49,92,50,92,51,92,52,92,53,92,54,92,55,92,56,92,57,92,58,92,59,92,60,92,61,92,62,92,63,92,64,92,65,92,66,92,67,92,68,92,69,92,70,92,71,92,72,92,73,92,74,92,75,92,76,92,77,92,78,92,79,92,80,92,179,92,180,92,189,92,195,92,196,92,197,92,198,92,199,92,200,92,201,93,6,93,7,93,8,93,9,93,10,93,11,93,12,93,13,93,14,93,15,93,16,93,17,93,18,93,19,93,20,93,21,93,22,93,23,93,24,93,25,93,26,93,27,93,28,93,30,93,31,93,32,93,33,93,34,93,35,93,36,93,37,93,38,93,39,93,40,93,41,93,42,93,43,93,44,93,45,93,46,93,47,93,48,93,49,93,50,93,51,93,52,93,53,93,54,93,55,93,56,93,57,93,58,93,59,93,60,93,61,93,62,93,63,93,64,93,65,93,66,93,67,93,68,93,69,93,70,93,71,93,72,93,73,93,74,93,75,93,76,93,77,93,78,93,180,93,181,93,182,93,183,93,184,93,185,93,186,93,187,93,188,94,6,94,7,94,8,94,9,94,10,94,11,94,12,94,13,94,14,94,15,94,16,94,17,94,18,94,19,94,20,94,21,94,22,94,23,94,24,94,25,94,26,94,27,94,28,94,30,94,31,94,32,94,33,94,34,94,35,94,36,94,37,94,38,94,39,94,40,94,41,94,42,94,43,94,44,94,45,94,46,94,47,94,48,94,49,94,50,94,51,94,52,94,53,94,54,94,55,94,56,94,57,94,58,94,59,94,60,94,61,94,62,94,63,94,64,94,65,94,66,94,67,94,68,94,69,94,70,94,71,94,72,94,73,94,74,94,75,94,76,94,77,94,182,94,183,94,184,94,185,94,186,95,6,95,7,95,8,95,9,95,10,95,11,95,12,95,13,95,14,95,15,95,16,95,17,95,18,95,19,95,20,95,21,95,22,95,23,95,24,95,25,95,26,95,27,95,28,95,30,95,31,95,32,95,33,95,34,95,35,95,36,95,37,95,38,95,39,95,40,95,41,95,42,95,43,95,44,95,45,95,46,95,47,95,48,95,49,95,50,95,51,95,52,95,53,95,54,95,55,95,56,95,57,95,58,95,59,95,60,95,61,95,62,95,63,95,64,95,65,95,66,95,67,95,68,95,69,95,70,95,71,95,72,95,73,95,74,95,75,95,76,95,77,95,85,95,86,95,87,95,88,95,89,96,6,96,7,96,8,96,9,96,10,96,11,96,12,96,13,96,14,96,15,96,16,96,17,96,18,96,19,96,20,96,21,96,22,96,23,96,24,96,25,96,26,96,27,96,29,96,30,96,31,96,32,96,33,96,34,96,35,96,36,96,37,96,38,96,39,96,40,96,41,96,42,96,43,96,44,96,45,96,46,96,47,96,48,96,49,96,50,96,51,96,52,96,53,96,54,96,55,96,56,96,57,96,58,96,59,96,60,96,61,96,62,96,63,96,64,96,65,96,66,96,67,96,68,96,69,96,70,96,71,96,72,96,73,96,74,96,75,96,76,96,77,96,78,96,79,96,80,96,81,96,82,96,83,96,84,96,86,96,87,96,88,96,89,97,6,97,7,97,8,97,9,97,10,97,11,97,12,97,13,97,14,97,15,97,16,97,17,97,30,97,31,97,32,97,33,97,34,97,35,97,36,97,37,97,38,97,39,97,40,97,41,97,42,97,43,97,44,97,45,97,46,97,47,97,48,97,49,97,50,97,51,97,52,97,53,97,54,97,55,97,56,97,57,97,58,97,59,97,60,97,61,97,62,97,63,97,64,97,65,97,66,97,67,97,68,97,69,97,70,97,71,97,72,97,73,97,74,97,75,97,76,97,77,97,78,97,79,97,80,97,81,97,82,97,83,97,84,97,87,97,88,97,89,98,6,98,7,98,8,98,9,98,10,98,11,98,12,98,13,98,14,98,15,98,16,98,17,98,30,98,31,98,32,98,33,98,34,98,35,98,36,98,37,98,38,98,39,98,40,98,41,98,42,98,43,98,44,98,45,98,46,98,47,98,48,98,49,98,50,98,51,98,52,98,53,98,54,98,55,98,56,98,57,98,58,98,59,98,60,98,61,98,62,98,63,98,64,98,65,98,66,98,67,98,68,98,69,98,70,98,71,98,72,98,73,98,74,98,75,98,76,98,77,98,78,98,79,98,80,98,81,98,82,98,83,98,84,98,85,99,6,99,7,99,8,99,9,99,10,99,11,99,12,99,13,99,14,99,15,99,16,99,17,99,30,99,31,99,32,99,33,99,34,99,35,99,36,99,37,99,38,99,39,99,40,99,41,99,42,99,43,99,44,99,45,99,46,99,47,99,48,99,49,99,50,99,51,99,52,99,53,99,54,99,55,99,56,99,57,99,58,99,59,99,60,99,61,99,62,99,63,99,64,99,65,99,66,99,67,99,68,99,69,99,70,99,71,99,72,99,73,99,74,99,75,99,76,99,77,99,78,99,79,99,80,99,81,99,82,99,83,100,6,100,7,100,8,100,9,100,10,100,11,100,12,100,13,100,14,100,15,100,16,100,17,100,18,100,19,100,20,100,21,100,22,100,23,100,24,100,25,100,26,100,27,100,28,100,29,100,30,100,31,100,32,100,33,100,34,100,35,100,36,100,37,100,38,100,39,100,40,100,41,100,42,100,43,100,44,100,45,100,46,100,47,100,48,100,49,100,50,100,51,100,52,100,53,100,54,100,55,100,56,100,57,100,58,100,59,100,60,100,61,100,62,100,63,100,64,100,65,100,66,100,67,100,68,100,69,100,70,100,71,100,72,100,73,100,74,100,75,100,76,100,77,100,78,100,79,100,80,101,6,101,7,101,8,101,9,101,10,101,11,101,12,101,13,101,14,101,15,101,16,101,17,101,19,101,20,101,21,101,22,101,23,101,24,101,25,101,26,101,27,101,28,101,30,101,31,101,32,101,33,101,34,101,35,101,36,101,37,101,38,101,39,101,40,101,41,101,42,101,43,101,44,101,45,101,46,101,47,101,48,101,49,101,50,101,51,101,52,101,53,101,54,101,55,101,56,101,57,101,58,101,59,101,60,101,61,101,62,101,63,101,64,101,65,101,66,101,67,101,68,101,69,101,70,101,71,101,72,101,73,101,74,101,75,101,76,101,77,101,78,101,79,102,6,102,7,102,8,102,9,102,10,102,11,102,12,102,13,102,14,102,15,102,16,102,17,102,30,102,31,102,32,102,33,102,34,102,35,102,36,102,37,102,38,102,39,102,40,102,41,102,42,102,43,102,44,102,45,102,46,102,47,102,48,102,49,102,50,102,51,102,52,102,53,102,54,102,55,102,56,102,57,102,58,102,59,102,60,102,61,102,62,102,63,102,64,102,65,102,66,102,67,102,68,102,69,102,70,102,71,102,72,102,73,102,74,102,75,102,76,102,77,102,78,103,6,103,7,103,8,103,9,103,10,103,11,103,12,103,13,103,14,103,15,103,16,103,17,103,30,103,31,103,32,103,33,103,34,103,35,103,36,103,37,103,38,103,39,103,40,103,41,103,42,103,43,103,44,103,45,103,46,103,47,103,48,103,49,103,50,103,51,103,52,103,53,103,54,103,55,103,56,103,57,103,58,103,59,103,60,103,61,103,64,103,65,103,66,103,67,103,68,103,69,103,70,103,71,103,72,103,73,103,74,103,75,103,76,103,77,103,84,103,85,103,86,104,6,104,7,104,8,104,9,104,10,104,11,104,12,104,13,104,14,104,15,104,16,104,17,104,19,104,20,104,21,104,22,104,24,104,25,104,26,104,27,104,28,104,30,104,31,104,32,104,33,104,34,104,35,104,36,104,37,104,38,104,39,104,40,104,41,104,42,104,43,104,44,104,45,104,46,104,47,104,48,104,49,104,50,104,51,104,52,104,53,104,54,104,55,104,56,104,57,104,58,104,59,104,60,104,61,104,62,104,66,104,67,104,68,104,69,104,70,104,71,104,72,104,73,104,74,104,75,104,76,104,77,104,78,104,79,104,80,104,81,104,82,104,83,104,84,104,85,105,6,105,7,105,8,105,9,105,10,105,11,105,12,105,13,105,14,105,15,105,16,105,17,105,19,105,20,105,21,105,22,105,24,105,25,105,26,105,27,105,28,105,29,105,30,105,31,105,32,105,33,105,34,105,35,105,36,105,37,105,38,105,39,105,40,105,41,105,42,105,43,105,44,105,45,105,46,105,47,105,48,105,49,105,50,105,51,105,52,105,53,105,54,105,55,105,56,105,57,105,58,105,59,105,60,105,61,105,62,105,63,105,64,105,68,105,69,105,70,105,71,105,72,105,73,105,74,105,75,105,76,105,77,105,78,105,79,105,80,105,81,105,82,105,83,105,84,105,85,105,86,106,6,106,7,106,8,106,9,106,10,106,11,106,12,106,13,106,14,106,15,106,16,106,17,106,20,106,21,106,22,106,26,106,27,106,28,106,29,106,30,106,31,106,33,106,34,106,35,106,36,106,37,106,38,106,39,106,41,106,42,106,43,106,44,106,45,106,46,106,47,106,48,106,49,106,50,106,51,106,52,106,53,106,54,106,55,106,56,106,57,106,58,106,59,106,60,106,61,106,62,106,63,106,64,106,65,106,71,106,72,106,73,106,74,106,75,106,76,106,77,106,78,106,79,106,80,106,81,106,82,106,83,106,84,106,85,106,86,107,6,107,7,107,8,107,9,107,10,107,11,107,12,107,13,107,14,107,15,107,16,107,17,107,27,107,28,107,29,107,30,107,31,107,41,107,42,107,43,107,44,107,45,107,46,107,47,107,48,107,49,107,50,107,51,107,52,107,53,107,54,107,55,107,56,107,57,107,58,107,59,107,60,107,61,107,62,107,63,107,64,107,65,107,66,107,73,107,74,107,75,107,76,107,77,107,78,107,79,107,80,107,81,107,82,107,83,108,6,108,7,108,8,108,9,108,10,108,11,108,12,108,13,108,14,108,15,108,16,108,17,108,23,108,24,108,28,108,29,108,30,108,31,108,41,108,42,108,43,108,44,108,45,108,46,108,47,108,48,108,49,108,50,108,51,108,52,108,53,108,54,108,55,108,56,108,57,108,58,108,59,108,60,108,61,108,62,108,63,108,64,108,65,108,66,108,67,108,68,108,76,108,77,108,78,108,79,108,80,109,6,109,7,109,8,109,9,109,10,109,11,109,12,109,13,109,14,109,15,109,16,109,17,109,18,109,19,109,20,109,21,109,22,109,23,109,24,109,25,109,26,109,30,109,31,109,33,109,34,109,35,109,37,109,38,109,39,109,41,109,42,109,43,109,44,109,45,109,46,109,47,109,48,109,49,109,50,109,51,109,52,109,53,109,54,109,55,109,56,109,57,109,58,109,59,109,60,109,61,109,62,109,63,109,64,109,65,109,66,109,67,109,68,109,69,109,78,109,79,110,6,110,7,110,8,110,9,110,10,110,11,110,12,110,13,110,14,110,15,110,16,110,17,110,18,110,19,110,20,110,21,110,22,110,23,110,24,110,25,110,26,110,27,110,30,110,31,110,33,110,34,110,35,110,37,110,38,110,39,110,41,110,42,110,43,110,44,110,45,110,46,110,47,110,48,110,49,110,50,110,51,110,52,110,53,110,54,110,55,110,56,110,57,110,58,110,59,110,60,110,61,110,62,110,63,110,64,110,65,110,66,110,67,110,68,110,69,110,70,110,71,111,6,111,7,111,8,111,9,111,10,111,11,111,12,111,13,111,14,111,15,111,16,111,17,111,18,111,19,111,20,111,21,111,22,111,23,111,24,111,25,111,26,111,27,111,28,111,30,111,31,111,34,111,38,111,41,111,42,111,43,111,44,111,45,111,46,111,47,111,48,111,49,111,50,111,51,111,52,111,53,111,54,111,55,111,56,111,57,111,58,111,59,111,60,111,61,111,62,111,63,111,64,111,65,111,66,111,67,111,68,111,69,111,70,111,71,111,72,111,73,112,6,112,7,112,8,112,9,112,10,112,11,112,12,112,13,112,14,112,15,112,16,112,17,112,18,112,19,112,20,112,21,112,22,112,23,112,24,112,25,112,26,112,27,112,28,112,30,112,31,112,41,112,42,112,43,112,44,112,45,112,46,112,47,112,48,112,49,112,50,112,51,112,52,112,53,112,54,112,55,112,56,112,57,112,58,112,59,112,60,112,61,112,62,112,63,112,64,112,65,112,66,112,67,112,68,112,69,112,70,112,71,112,72,112,73,112,74,113,6,113,7,113,8,113,9,113,10,113,11,113,12,113,13,113,14,113,15,113,16,113,17,113,19,113,20,113,21,113,22,113,23,113,24,113,25,113,26,113,27,113,28,113,30,113,31,113,32,113,35,113,36,113,40,113,41,113,42,113,43,113,44,113,45,113,46,113,47,113,48,113,49,113,50,113,51,113,52,113,53,113,54,113,55,113,56,113,57,113,58,113,59,113,60,113,61,113,62,113,63,113,64,113,65,113,66,113,67,113,68,113,69,113,70,113,71,113,72,113,73,113,74,113,75,113,76,114,6,114,7,114,8,114,9,114,10,114,11,114,12,114,13,114,14,114,15,114,16,114,17,114,19,114,20,114,21,114,22,114,23,114,24,114,25,114,26,114,27,114,28,114,30,114,31,114,32,114,33,114,34,114,35,114,37,114,38,114,39,114,40,114,41,114,42,114,43,114,44,114,45,114,46,114,47,114,48,114,49,114,50,114,51,114,52,114,53,114,54,114,55,114,56,114,57,114,58,114,59,114,60,114,61,114,62,114,63,114,64,114,65,114,66,114,67,114,68,114,69,114,70,114,71,114,72,114,73,114,74,114,75,114,76,114,77,114,78,115,6,115,7,115,8,115,9,115,10,115,11,115,12,115,13,115,14,115,15,115,16,115,17,115,30,115,31,115,32,115,33,115,34,115,35,115,38,115,39,115,40,115,41,115,42,115,44,115,45,115,46,115,47,115,48,115,49,115,50,115,51,115,52,115,53,115,54,115,55,115,56,115,57,115,58,115,59,115,60,115,61,115,62,115,63,115,64,115,65,115,66,115,67,115,68,115,69,115,70,115,71,115,72,115,73,115,74,115,75,115,76,115,77,115,78,115,79,115,80,116,6,116,7,116,8,116,9,116,10,116,11,116,12,116,13,116,14,116,15,116,16,116,17,116,21,116,22,116,23,116,24,116,25,116,26,116,27,116,28,116,30,116,31,116,32,116,33,116,34,116,35,116,40,116,41,116,42,116,44,116,45,116,46,116,47,116,48,116,49,116,50,116,51,116,52,116,53,116,54,116,55,116,56,116,57,116,58,116,59,116,60,116,61,116,62,116,63,116,64,116,65,116,66,116,67,116,68,116,69,116,70,116,71,116,72,116,73,116,74,116,75,116,76,116,77,116,78,116,79,116,80,117,6,117,7,117,8,117,9,117,10,117,11,117,12,117,13,117,14,117,15,117,16,117,17,117,18,117,22,117,23,117,24,117,25,117,26,117,27,117,28,117,29,117,30,117,31,117,32,117,33,117,34,117,35,117,37,117,44,117,45,117,46,117,47,117,48,117,49,117,50,117,51,117,52,117,53,117,54,117,55,117,56,117,57,117,58,117,59,117,60,117,61,117,62,117,63,117,64,117,65,117,66,117,67,117,68,117,69,117,70,117,71,117,72,117,73,117,74,117,75,117,76,117,77,117,78,118,6,118,7,118,8,118,9,118,10,118,11,118,12,118,13,118,14,118,15,118,16,118,17,118,18,118,19,118,23,118,24,118,25,118,26,118,27,118,28,118,29,118,30,118,31,118,32,118,33,118,34,118,35,118,36,118,37,118,38,118,39,118,42,118,43,118,44,118,45,118,46,118,47,118,48,118,49,118,50,118,51,118,52,118,53,118,54,118,55,118,56,118,57,118,58,118,59,118,60,118,61,118,62,118,63,118,64,118,65,118,66,118,67,118,68,118,69,118,70,118,71,118,72,118,73,118,74,118,75,118,76,118,77,119,6,119,7,119,8,119,9,119,10,119,11,119,12,119,13,119,14,119,15,119,16,119,17,119,18,119,19,119,20,119,24,119,25,119,26,119,27,119,28,119,29,119,30,119,31,119,32,119,33,119,34,119,35,119,37,119,40,119,41,119,42,119,43,119,44,119,45,119,46,119,47,119,48,119,49,119,50,119,51,119,52,119,53,119,54,119,55,119,56,119,57,119,58,119,59,119,60,119,61,119,62,119,63,119,64,119,65,119,66,119,67,119,68,119,69,119,70,119,71,119,72,119,73,119,74,119,75,119,76,119,77,120,6,120,7,120,8,120,9,120,10,120,11,120,12,120,13,120,14,120,15,120,16,120,17,120,18,120,19,120,20,120,21,120,25,120,26,120,27,120,28,120,29,120,30,120,31,120,32,120,33,120,34,120,35,120,38,120,39,120,40,120,41,120,42,120,43,120,44,120,47,120,48,120,49,120,50,120,51,120,52,120,53,120,54,120,55,120,56,120,57,120,58,120,59,120,60,120,61,120,62,120,63,120,64,120,65,120,66,120,67,120,68,120,69,120,70,120,71,120,72,120,73,120,74,120,75,120,76,120,77,120,78,120,79,120,80,120,86,120,87,120,88,121,6,121,7,121,8,121,9,121,10,121,11,121,12,121,13,121,14,121,15,121,16,121,17,121,18,121,19,121,20,121,21,121,22,121,26,121,27,121,28,121,29,121,30,121,31,121,32,121,33,121,34,121,35,121,37,121,38,121,39,121,40,121,41,121,42,121,43,121,44,121,45,121,51,121,52,121,53,121,54,121,55,121,56,121,57,121,58,121,59,121,60,121,61,121,62,121,63,121,64,121,65,121,66,121,67,121,68,121,69,121,70,121,71,121,72,121,73,121,74,121,75,121,76,121,77,121,78,121,79,121,80,121,81,121,82,121,83,121,84,121,85,121,86,121,87,121,88,122,6,122,7,122,8,122,9,122,10,122,11,122,12,122,13,122,14,122,15,122,16,122,17,122,18,122,19,122,20,122,21,122,22,122,23,122,24,122,27,122,28,122,29,122,30,122,31,122,32,122,33,122,34,122,35,122,36,122,37,122,38,122,39,122,40,122,41,122,42,122,43,122,44,122,45,122,46,122,47,122,55,122,56,122,57,122,58,122,59,122,60,122,61,122,62,122,63,122,64,122,65,122,66,122,67,122,68,122,69,122,70,122,71,122,72,122,73,122,74,122,75,122,76,122,77,122,78,122,79,122,80,122,81,122,82,122,83,122,84,122,85,122,86,123,6,123,7,123,8,123,9,123,10,123,11,123,12,123,13,123,14,123,15,123,16,123,17,123,18,123,19,123,20,123,21,123,22,123,23,123,24,123,25,123,28,123,29,123,30,123,31,123,32,123,33,123,34,123,35,123,36,123,37,123,38,123,39,123,40,123,41,123,42,123,43,123,44,123,45,123,46,123,47,123,48,123,49,123,59,123,60,123,61,123,62,123,63,123,64,123,65,123,66,123,67,123,68,123,69,123,70,123,71,123,72,123,73,123,74,123,75,123,76,123,77,123,78,123,79,123,80,123,81,123,82,124,6,124,7,124,8,124,9,124,10,124,11,124,12,124,13,124,14,124,15,124,16,124,17,124,19,124,20,124,21,124,22,124,23,124,24,124,25,124,26,124,29,124,30,124,31,124,32,124,33,124,34,124,35,124,36,124,37,124,38,124,39,124,40,124,41,124,42,124,43,124,44,124,45,124,46,124,47,124,48,124,49,124,50,124,51,124,64,124,65,124,66,124,67,124,68,124,69,124,70,124,71,124,72,124,73,124,74,124,75,124,76,124,77,124,78,124,79,124,80,125,6,125,7,125,8,125,9,125,10,125,11,125,12,125,13,125,14,125,15,125,16,125,17,125,30,125,31,125,33,125,34,125,35,125,36,125,37,125,38,125,39,125,41,125,42,125,43,125,44,125,45,125,46,125,47,125,48,125,49,125,50,125,51,125,52,125,53,125,70,125,71,125,72,125,73,125,74,125,75,125,76,125,77,125,78,126,6,126,7,126,8,126,9,126,10,126,11,126,12,126,13,126,14,126,15,126,16,126,17,126,19,126,20,126,21,126,22,126,23,126,24,126,25,126,26,126,27,126,28,126,29,126,30,126,31,126,33,126,34,126,35,126,36,126,37,126,38,126,39,126,41,126,42,126,43,126,44,126,45,126,46,126,47,126,48,126,49,126,50,126,51,126,52,126,53,126,54,126,55,126,56,127,6,127,7,127,8,127,9,127,10,127,11,127,12,127,13,127,14,127,15,127,16,127,17,127,18,127,19,127,20,127,21,127,22,127,23,127,24,127,25,127,26,127,27,127,28,127,29,127,30,127,31,127,41,127,42,127,43,127,44,127,45,127,46,127,47,127,48,127,49,127,50,127,51,127,52,127,53,127,54,127,55,127,56,127,57,127,58,128,6,128,7,128,8,128,9,128,10,128,11,128,12,128,13,128,14,128,15,128,16,128,17,128,30,128,31,128,41,128,42,128,43,128,44,128,45,128,46,128,47,128,48,128,49,128,50,128,51,128,52,128,53,128,54,128,55,128,56,128,57,128,58,128,59,128,60,128,61,129,6,129,7,129,8,129,9,129,10,129,11,129,12,129,13,129,14,129,15,129,16,129,17,129,30,129,31,129,33,129,34,129,35,129,37,129,38,129,39,129,41,129,42,129,43,129,44,129,45,129,46,129,47,129,48,129,49,129,50,129,51,129,52,129,53,129,54,129,55,129,56,129,57,129,58,129,59,129,60,129,61,129,62,129,63,130,6,130,7,130,8,130,9,130,10,130,11,130,12,130,13,130,14,130,15,130,16,130,17,130,30,130,31,130,33,130,34,130,35,130,37,130,38,130,39,130,40,130,41,130,42,130,43,130,44,130,45,130,46,130,47,130,48,130,49,130,50,130,51,130,52,130,53,130,54,130,55,130,56,130,57,130,58,130,59,130,60,130,61,130,62,130,63,130,64,130,65,130,66,131,6,131,7,131,8,131,9,131,10,131,11,131,12,131,13,131,14,131,15,131,16,131,17,131,19,131,20,131,21,131,22,131,24,131,25,131,26,131,27,131,28,131,30,131,31,131,41,131,42,131,43,131,44,131,45,131,46,131,47,131,48,131,49,131,50,131,51,131,52,131,53,131,54,131,55,131,56,131,57,131,58,131,59,131,60,131,61,131,62,131,63,131,64,131,65,131,66,131,67,131,68,131,69,132,6,132,7,132,8,132,9,132,10,132,11,132,12,132,13,132,14,132,15,132,16,132,17,132,19,132,20,132,21,132,22,132,24,132,25,132,26,132,27,132,28,132,30,132,31,132,36,132,37,132,41,132,42,132,43,132,44,132,45,132,46,132,47,132,48,132,49,132,50,132,51,132,52,132,53,132,54,132,55,132,56,132,57,132,58,132,59,132,60,132,61,132,62,132,63,132,64,132,65,132,66,132,67,132,68,132,69,132,70,132,71,132,72,132,73,133,6,133,7,133,8,133,9,133,10,133,11,133,12,133,13,133,14,133,15,133,16,133,17,133,19,133,20,133,21,133,22,133,24,133,25,133,26,133,27,133,28,133,30,133,31,133,32,133,33,133,35,133,36,133,37,133,38,133,39,133,41,133,42,133,43,133,44,133,45,133,46,133,47,133,48,133,49,133,50,133,51,133,52,133,53,133,54,133,55,133,56,133,57,133,58,133,59,133,60,133,61,133,62,133,63,133,64,133,65,133,66,133,67,133,68,133,69,133,70,133,71,133,72,133,73,133,74,133,75,133,76,133,77,134,6,134,7,134,8,134,9,134,10,134,11,134,12,134,13,134,14,134,15,134,16,134,17,134,19,134,20,134,21,134,22,134,24,134,25,134,26,134,27,134,28,134,30,134,31,134,32,134,33,134,34,134,35,134,36,134,37,134,38,134,39,134,40,134,41,134,42,134,43,134,44,134,45,134,46,134,47,134,48,134,49,134,50,134,51,134,52,134,53,134,54,134,55,134,56,134,57,134,58,134,59,134,60,134,61,134,62,134,63,134,64,134,65,134,66,134,67,134,68,134,69,134,70,134,71,134,72,134,73,134,74,134,75,134,76,134,77,135,6,135,7,135,8,135,9,135,10,135,11,135,12,135,13,135,14,135,15,135,16,135,17,135,20,135,21,135,22,135,23,135,24,135,25,135,26,135,27,135,28,135,30,135,31,135,32,135,33,135,34,135,35,135,36,135,38,135,41,135,42,135,43,135,44,135,45,135,46,135,47,135,48,135,49,135,50,135,51,135,52,135,53,135,54,135,55,135,56,135,57,135,58,135,59,135,60,135,61,135,62,135,63,135,64,135,65,135,66,135,67,135,68,135,69,135,70,135,71,135,72,135,73,135,74,135,75,135,76,136,6,136,7,136,8,136,9,136,10,136,11,136,12,136,13,136,14,136,15,136,16,136,17,136,19,136,20,136,21,136,22,136,23,136,24,136,25,136,26,136,27,136,30,136,31,136,32,136,33,136,34,136,35,136,41,136,42,136,43,136,44,136,45,136,46,136,47,136,48,136,49,136,50,136,51,136,52,136,53,136,54,136,55,136,56,136,57,136,58,136,59,136,60,136,61,136,62,136,63,136,64,136,65,136,66,136,67,136,68,136,69,136,70,136,71,136,72,136,73,136,74,136,75,136,76,136,77,136,78,136,79,136,80,136,81,136,82,137,6,137,7,137,8,137,9,137,10,137,11,137,12,137,13,137,14,137,15,137,16,137,17,137,19,137,20,137,21,137,22,137,23,137,24,137,25,137,26,137,27,137,28,137,29,137,30,137,31,137,32,137,33,137,34,137,35,137,37,137,39,137,41,137,42,137,43,137,44,137,45,137,46,137,47,137,48,137,49,137,50,137,51,137,52,137,53,137,54,137,55,137,56,137,57,137,58,137,59,137,60,137,61,137,62,137,63,137,64,137,65,137,66,137,67,137,68,137,69,137,70,137,71,137,72,137,73,137,74,137,75,137,76,137,77,137,78,137,79,138,6,138,7,138,8,138,9,138,10,138,11,138,12,138,13,138,14,138,15,138,16,138,17,138,21,138,22,138,23,138,24,138,25,138,26,138,27,138,28,138,29,138,30,138,31,138,32,138,33,138,34,138,35,138,41,138,42,138,43,138,44,138,45,138,46,138,47,138,48,138,49,138,50,138,51,138,52,138,53,138,54,138,55,138,56,138,57,138,58,138,59,138,60,138,61,138,62,138,63,138,64,138,65,138,66,138,67,138,68,138,69,138,70,138,71,138,72,138,73,138,74,138,75,138,76,139,6,139,7,139,8,139,9,139,10,139,11,139,12,139,13,139,14,139,15,139,16,139,17,139,22,139,23,139,24,139,25,139,26,139,27,139,28,139,30,139,31,139,32,139,33,139,34,139,35,139,41,139,42,139,43,139,44,139,45,139,46,139,47,139,48,139,49,139,50,139,51,139,52,139,53,139,54,139,55,139,56,139,57,139,58,139,59,139,60,139,61,139,62,139,63,139,64,139,65,139,66,139,67,139,68,139,69,139,70,139,71,139,72,139,73,139,74,139,75,140,6,140,7,140,8,140,9,140,10,140,11,140,12,140,13,140,14,140,15,140,16,140,17,140,18,140,19,140,30,140,31,140,32,140,33,140,34,140,35,140,37,140,38,140,39,140,41,140,42,140,43,140,44,140,45,140,46,140,47,140,48,140,49,140,50,140,51,140,52,140,53,140,54,140,55,140,56,140,57,140,58,140,59,140,60,140,61,140,62,140,63,140,64,140,65,140,66,140,67,140,68,140,69,140,70,140,71,140,72,140,73,141,6,141,7,141,8,141,9,141,10,141,11,141,12,141,13,141,14,141,15,141,16,141,17,141,18,141,19,141,20,141,21,141,30,141,31,141,32,141,33,141,34,141,35,141,38,141,39,141,40,141,41,141,42,141,44,141,45,141,46,141,47,141,48,141,49,141,50,141,51,141,52,141,53,141,54,141,55,141,56,141,57,141,58,141,59,141,60,141,61,141,62,141,63,141,64,141,65,141,66,141,67,141,68,141,69,141,70,141,71,141,72,142,6,142,7,142,8,142,9,142,10,142,11,142,12,142,13,142,14,142,15,142,16,142,17,142,18,142,19,142,20,142,23,142,24,142,25,142,26,142,27,142,28,142,30,142,31,142,32,142,33,142,34,142,35,142,40,142,41,142,42,142,44,142,45,142,46,142,47,142,48,142,49,142,50,142,51,142,52,142,53,142,54,142,55,142,56,142,57,142,58,142,59,142,60,142,61,142,62,142,63,142,64,142,65,142,66,142,67,142,68,142,69,142,70,142,71,142,72,142,73,143,6,143,7,143,8,143,9,143,10,143,11,143,12,143,13,143,14,143,15,143,16,143,17,143,18,143,19,143,22,143,23,143,24,143,25,143,26,143,27,143,28,143,29,143,30,143,31,143,32,143,33,143,34,143,35,143,37,143,44,143,45,143,46,143,47,143,48,143,49,143,50,143,51,143,52,143,53,143,54,143,55,143,56,143,57,143,58,143,59,143,60,143,61,143,62,143,63,143,64,143,65,143,66,143,67,143,68,143,69,143,70,143,71,143,72,144,6,144,7,144,8,144,9,144,10,144,11,144,12,144,13,144,14,144,15,144,16,144,17,144,20,144,21,144,22,144,23,144,24,144,25,144,26,144,27,144,28,144,29,144,30,144,31,144,32,144,33,144,34,144,35,144,36,144,37,144,38,144,39,144,42,144,43,144,44,144,45,144,46,144,47,144,48,144,49,144,50,144,51,144,52,144,53,144,54,144,55,144,56,144,57,144,58,144,59,144,60,144,61,144,62,144,63,144,64,144,65,144,66,144,67,144,68,144,69,145,6,145,7,145,8,145,9,145,10,145,11,145,12,145,13,145,14,145,15,145,16,145,17,145,19,145,20,145,21,145,22,145,23,145,24,145,25,145,26,145,27,145,28,145,29,145,30,145,31,145,32,145,33,145,34,145,35,145,37,145,40,145,41,145,42,145,43,145,44,145,45,145,46,145,47,145,48,145,49,145,50,145,51,145,52,145,53,145,54,145,55,145,56,145,57,145,58,145,59,145,60,145,61,145,62,145,63,145,64,145,65,145,66,145,67,146,6,146,7,146,8,146,9,146,10,146,11,146,12,146,13,146,14,146,15,146,16,146,17,146,19,146,20,146,21,146,22,146,23,146,24,146,25,146,26,146,27,146,28,146,29,146,30,146,31,146,32,146,33,146,34,146,35,146,38,146,39,146,40,146,41,146,42,146,43,146,44,146,45,146,46,146,47,146,48,146,49,146,50,146,51,146,52,146,53,146,54,146,55,146,56,146,57,146,58,146,59,146,60,146,61,146,62,146,63,146,64,146,65,147,6,147,7,147,8,147,9,147,10,147,11,147,12,147,13,147,14,147,15,147,16,147,17,147,18,147,19,147,20,147,21,147,22,147,23,147,24,147,25,147,26,147,27,147,28,147,29,147,30,147,31,147,32,147,33,147,34,147,35,147,37,147,38,147,39,147,40,147,41,147,42,147,43,147,44,147,45,147,46,147,47,147,48,147,49,147,50,147,51,147,52,147,53,147,54,147,55,147,56,147,57,147,58,147,59,147,60,147,61,147,62,147,63,148,6,148,7,148,8,148,9,148,10,148,11,148,12,148,13,148,14,148,15,148,16,148,17,148,18,148,19,148,20,148,21,148,22,148,23,148,24,148,25,148,26,148,27,148,28,148,29,148,30,148,31,148,32,148,33,148,34,148,35,148,37,148,38,148,39,148,41,148,42,148,43,148,44,148,45,148,46,148,47,148,48,148,49,148,50,148,51,148,52,148,53,148,54,148,55,148,56,148,57,148,58,148,59,148,60,148,61,148,84,148,85,148,86,148,87,149,6,149,7,149,8,149,9,149,10,149,11,149,12,149,13,149,14,149,15,149,16,149,17,149,18,149,19,149,20,149,21,149,22,149,23,149,24,149,25,149,26,149,27,149,28,149,29,149,30,149,31,149,32,149,33,149,34,149,35,149,41,149,42,149,43,149,44,149,45,149,46,149,47,149,48,149,49,149,50,149,51,149,52,149,53,149,54,149,55,149,56,149,57,149,58,149,59,149,77,149,78,149,79,149,80,149,81,149,82,149,83,149,84,149,85,149,86,149,87,150,6,150,7,150,8,150,9,150,10,150,11,150,12,150,13,150,14,150,15,150,16,150,17,150,18,150,19,150,20,150,21,150,22,150,23,150,24,150,25,150,26,150,27,150,28,150,29,150,30,150,31,150,32,150,33,150,34,150,35,150,38,150,39,150,41,150,42,150,43,150,44,150,45,150,46,150,47,150,48,150,49,150,50,150,51,150,52,150,53,150,54,150,55,150,56,150,57,150,58,150,70,150,71,150,72,150,73,150,74,150,78,150,79,150,80,150,81,150,82,150,83,151,6,151,7,151,8,151,9,151,10,151,11,151,12,151,13,151,14,151,15,151,16,151,17,151,19,151,20,151,21,151,22,151,23,151,24,151,25,151,26,151,27,151,28,151,30,151,31,151,32,151,33,151,34,151,35,151,37,151,38,151,39,151,41,151,42,151,43,151,44,151,45,151,46,151,47,151,48,151,49,151,50,151,51,151,52,151,53,151,54,151,55,151,56,151,57,151,68,151,69,151,70,151,71,151,72,151,73,151,74,151,75,152,6,152,7,152,8,152,9,152,10,152,11,152,12,152,13,152,14,152,15,152,16,152,17,152,30,152,31,152,32,152,33,152,34,152,35,152,41,152,42,152,43,152,44,152,45,152,46,152,47,152,48,152,49,152,50,152,51,152,52,152,53,152,54,152,55,152,56,152,66,152,67,152,68,152,69,152,70,152,71,152,72,152,73,152,74,153,6,153,7,153,8,153,9,153,10,153,11,153,12,153,13,153,14,153,15,153,16,153,17,153,30,153,31,153,32,153,33,153,34,153,35,153,36,153,41,153,42,153,43,153,44,153,45,153,46,153,47,153,48,153,49,153,50,153,51,153,52,153,53,153,54,153,55,153,64,153,65,153,66,153,67,153,68,153,69,153,70,153,71,154,6,154,7,154,8,154,9,154,10,154,11,154,12,154,13,154,14,154,15,154,16,154,17,154,19,154,20,154,21,154,22,154,23,154,24,154,25,154,26,154,27,154,28,154,30,154,31,154,32,154,33,154,34,154,35,154,37,154,38,154,39,154,41,154,42,154,43,154,44,154,45,154,46,154,47,154,48,154,49,154,50,154,51,154,52,154,53,154,54,154,62,154,63,154,64,154,65,154,66,154,67,154,68,154,69,155,6,155,7,155,8,155,9,155,10,155,11,155,12,155,13,155,14,155,15,155,16,155,17,155,19,155,20,155,21,155,22,155,23,155,24,155,25,155,26,155,27,155,28,155,29,155,30,155,31,155,32,155,33,155,34,155,35,155,41,155,42,155,43,155,44,155,45,155,46,155,47,155,48,155,49,155,50,155,51,155,52,155,53,155,60,155,61,155,62,155,63,155,64,155,65,155,66,155,67,155,68,156,6,156,7,156,8,156,9,156,10,156,11,156,12,156,13,156,14,156,15,156,16,156,17,156,19,156,20,156,21,156,22,156,23,156,24,156,25,156,26,156,27,156,28,156,30,156,31,156,32,156,33,156,34,156,35,156,41,156,42,156,43,156,44,156,45,156,46,156,47,156,48,156,49,156,50,156,51,156,52,156,58,156,59,156,60,156,61,156,62,156,63,156,64,156,65,156,66,156,67,157,6,157,7,157,8,157,9,157,10,157,11,157,12,157,13,157,14,157,15,157,16,157,17,157,30,157,31,157,32,157,33,157,34,157,35,157,36,157,37,157,38,157,39,157,41,157,42,157,43,157,44,157,45,157,46,157,47,157,48,157,49,157,50,157,51,157,52,157,56,157,57,157,58,157,59,157,60,157,61,157,62,157,63,157,64,157,65,157,66,157,67,157,68,158,6,158,7,158,8,158,9,158,10,158,11,158,12,158,13,158,14,158,15,158,16,158,17,158,21,158,22,158,23,158,24,158,25,158,26,158,27,158,28,158,30,158,31,158,32,158,33,158,34,158,35,158,36,158,40,158,41,158,42,158,43,158,44,158,45,158,46,158,47,158,48,158,49,158,50,158,51,158,55,158,56,158,57,158,58,158,59,158,60,158,61,158,62,158,63,158,64,158,65,158,66,158,67,158,68,158,69,158,70,159,6,159,7,159,8,159,9,159,10,159,11,159,12,159,13,159,14,159,15,159,16,159,17,159,18,159,22,159,23,159,24,159,25,159,26,159,27,159,28,159,29,159,30,159,31,159,32,159,33,159,34,159,35,159,41,159,42,159,43,159,44,159,45,159,46,159,47,159,48,159,49,159,50,159,51,159,53,159,54,159,55,159,56,159,57,159,58,159,59,159,60,159,61,159,62,159,63,159,64,159,65,159,66,159,67,159,68,159,69,159,70,159,71,160,6,160,7,160,8,160,9,160,10,160,11,160,12,160,13,160,14,160,15,160,16,160,17,160,18,160,19,160,23,160,24,160,25,160,26,160,27,160,28,160,29,160,30,160,31,160,32,160,33,160,34,160,35,160,37,160,38,160,39,160,41,160,42,160,43,160,44,160,45,160,46,160,47,160,48,160,49,160,50,160,51,160,52,160,53,160,54,160,55,160,56,160,57,160,58,160,59,160,60,160,61,160,62,160,63,160,64,160,65,160,66,160,67,160,68,160,69,160,70,161,6,161,7,161,8,161,9,161,10,161,11,161,12,161,13,161,14,161,15,161,16,161,17,161,18,161,19,161,20,161,24,161,25,161,26,161,27,161,28,161,29,161,30,161,31,161,32,161,33,161,34,161,35,161,37,161,38,161,39,161,41,161,42,161,43,161,44,161,45,161,46,161,47,161,48,161,49,161,50,161,51,161,52,161,53,161,54,161,55,161,56,161,57,161,58,161,59,161,60,161,61,161,62,161,63,161,64,161,65,161,66,161,67,162,6,162,7,162,8,162,9,162,10,162,11,162,12,162,13,162,14,162,15,162,16,162,17,162,18,162,19,162,20,162,21,162,25,162,26,162,27,162,28,162,29,162,30,162,31,162,32,162,33,162,34,162,35,162,41,162,42,162,43,162,44,162,45,162,46,162,47,162,48,162,49,162,50,162,51,162,52,162,53,162,54,162,55,162,56,162,57,162,58,162,59,162,60,162,61,162,62,162,63,162,64,162,65,162,66,163,6,163,7,163,8,163,9,163,10,163,11,163,12,163,13,163,14,163,15,163,16,163,17,163,18,163,19,163,20,163,21,163,22,163,26,163,27,163,28,163,29,163,30,163,31,163,32,163,33,163,34,163,35,163,36,163,40,163,41,163,42,163,43,163,44,163,45,163,46,163,47,163,48,163,49,163,50,163,51,163,52,163,53,163,54,163,55,163,56,163,57,163,58,163,59,163,60,163,61,163,62,163,63,163,64,163,65,164,6,164,7,164,8,164,9,164,10,164,11,164,12,164,13,164,14,164,15,164,16,164,17,164,18,164,19,164,20,164,21,164,22,164,23,164,24,164,27,164,28,164,29,164,30,164,31,164,32,164,33,164,34,164,35,164,36,164,37,164,38,164,39,164,40,164,41,164,42,164,43,164,44,164,45,164,46,164,47,164,48,164,49,164,50,164,51,164,52,164,53,164,54,164,55,164,56,164,57,164,58,164,59,164,60,164,61,164,62,164,63,164,64,165,6,165,7,165,8,165,9,165,10,165,11,165,12,165,13,165,14,165,15,165,16,165,17,165,18,165,19,165,20,165,21,165,22,165,23,165,24,165,25,165,28,165,29,165,30,165,31,165,32,165,33,165,34,165,35,165,41,165,42,165,43,165,44,165,45,165,46,165,47,165,48,165,49,165,50,165,51,165,52,165,53,165,54,165,55,165,56,165,57,165,58,165,59,165,60,165,61,165,62,165,63,165,64,165,65,165,66,165,67,165,68,166,6,166,7,166,8,166,9,166,10,166,11,166,12,166,13,166,14,166,15,166,16,166,17,166,19,166,20,166,21,166,22,166,23,166,24,166,25,166,26,166,29,166,30,166,31,166,32,166,33,166,34,166,35,166,41,166,42,166,43,166,44,166,45,166,46,166,47,166,48,166,49,166,50,166,51,166,52,166,53,166,54,166,55,166,56,166,57,166,58,166,59,166,60,166,61,166,62,166,63,166,64,166,65,166,66,166,67,166,68,166,69,166,70,166,71,166,72,166,73,166,74,166,75,166,76,167,6,167,7,167,8,167,9,167,10,167,11,167,12,167,13,167,14,167,15,167,16,167,17,167,30,167,31,167,32,167,33,167,34,167,35,167,38,167,39,167,41,167,42,167,43,167,44,167,45,167,46,167,47,167,48,167,49,167,50,167,51,167,52,167,53,167,54,167,55,167,56,167,57,167,58,167,59,167,60,167,61,167,62,167,63,167,64,167,65,167,66,167,67,167,68,167,69,167,70,167,71,167,72,167,73,168,6,168,7,168,8,168,9,168,10,168,11,168,12,168,13,168,14,168,15,168,16,168,17,168,19,168,20,168,21,168,22,168,23,168,24,168,25,168,26,168,27,168,28,168,29,168,30,168,31,168,32,168,33,168,34,168,35,168,37,168,38,168,39,168,41,168,42,168,43,168,44,168,45,168,46,168,47,168,48,168,49,168,50,168,51,168,52,168,53,168,54,168,55,168,56,168,57,168,58,168,59,168,60,168,61,168,62,168,63,168,64,168,65,168,66,168,67,168,68,168,69,169,6,169,7,169,8,169,9,169,10,169,11,169,12,169,13,169,14,169,15,169,16,169,17,169,18,169,19,169,20,169,21,169,22,169,23,169,24,169,25,169,26,169,27,169,28,169,29,169,30,169,31,169,32,169,33,169,34,169,35,169,41,169,42,169,43,169,44,169,45,169,46,169,47,169,48,169,49,169,50,169,51,169,52,169,53,169,54,169,55,169,56,169,57,169,58,169,59,169,60,169,61,169,62,169,63,169,64,169,65,169,66,169,67,170,6,170,7,170,8,170,9,170,10,170,11,170,12,170,13,170,14,170,15,170,16,170,17,170,18,170,19,170,20,170,21,170,22,170,23,170,24,170,25,170,26,170,27,170,28,170,29,170,30,170,31,170,32,170,33,170,34,170,35,170,36,170,41,170,42,170,43,170,44,170,45,170,46,170,47,170,48,170,49,170,50,170,51,170,52,170,53,170,54,170,55,170,56,170,57,170,58,170,59,170,60,170,61,170,62,170,63,170,64,170,65,171,6,171,7,171,8,171,9,171,10,171,11,171,12,171,13,171,14,171,15,171,16,171,17,171,18,171,19,171,20,171,21,171,22,171,23,171,24,171,25,171,26,171,27,171,28,171,29,171,30,171,31,171,32,171,33,171,34,171,35,171,36,171,37,171,38,171,39,171,41,171,42,171,43,171,44,171,45,171,46,171,47,171,48,171,50,171,51,171,52,171,53,171,54,171,55,171,56,171,57,171,58,171,59,171,60,171,61,171,62,171,63,171,64,172,6,172,7,172,8,172,9,172,10,172,11,172,12,172,13,172,14,172,15,172,16,172,17,172,18,172,19,172,20,172,21,172,22,172,23,172,24,172,25,172,26,172,27,172,28,172,29,172,30,172,31,172,32,172,33,172,34,172,35,172,36,172,40,172,41,172,42,172,43,172,44,172,45,172,46,172,47,172,48,172,49,172,54,172,55,172,56,172,57,172,58,172,59,172,60,172,61,172,62,172,63,172,64,173,6,173,7,173,8,173,9,173,10,173,11,173,12,173,13,173,14,173,15,173,16,173,17,173,18,173,19,173,20,173,21,173,22,173,23,173,24,173,25,173,26,173,27,173,28,173,29,173,30,173,31,173,32,173,33,173,34,173,35,173,41,173,42,173,43,173,44,173,45,173,46,173,47,173,48,173,49,173,50,173,51,173,58,173,59,173,60,173,61,173,62,173,63,173,64,173,65,173,66,173,67,173,68,173,69,174,6,174,7,174,8,174,9,174,10,174,11,174,12,174,13,174,14,174,15,174,16,174,17,174,18,174,19,174,20,174,21,174,22,174,26,174,27,174,28,174,29,174,30,174,31,174,33,174,34,174,35,174,37,174,38,174,39,174,41,174,42,174,43,174,44,174,45,174,46,174,47,174,48,174,49,174,50,174,51,174,52,174,53,174,63,174,64,174,65,174,66,174,67,174,68,174,69,174,70,174,71,174,72,174,73,174,74,174,75,174,76,175,6,175,7,175,8,175,9,175,10,175,11,175,12,175,13,175,14,175,15,175,16,175,17,175,18,175,19,175,20,175,28,175,29,175,30,175,31,175,33,175,34,175,35,175,38,175,41,175,42,175,43,175,44,175,45,175,46,175,47,175,48,175,49,175,50,175,51,175,52,175,53,175,54,175,55,175,67,175,68,175,69,175,70,175,71,175,72,175,73,176,6,176,7,176,8,176,9,176,10,176,11,176,12,176,13,176,14,176,15,176,16,176,17,176,18,176,19,176,21,176,22,176,23,176,24,176,25,176,29,176,30,176,31,176,41,176,42,176,43,176,44,176,45,176,46,176,47,176,48,176,49,176,50,176,51,176,52,176,53,176,54,176,55,176,56,176,57,177,6,177,7,177,8,177,9,177,10,177,11,177,12,177,13,177,14,177,15,177,16,177,17,177,18,177,20,177,21,177,22,177,23,177,24,177,25,177,26,177,30,177,31,177,41,177,42,177,43,177,44,177,45,177,46,177,47,177,48,177,49,177,50,177,51,177,52,177,53,177,54,177,55,177,56,177,57,177,58,177,59,178,6,178,7,178,8,178,9,178,10,178,11,178,12,178,13,178,14,178,15,178,16,178,17,178,20,178,21,178,22,178,23,178,24,178,25,178,26,178,27,178,30,178,31,178,32,178,33,178,34,178,35,178,36,178,37,178,38,178,39,178,40,178,41,178,42,178,43,178,44,178,45,178,46,178,47,178,48,178,49,178,50,178,51,178,52,178,53,178,54,178,55,178,56,178,57,178,58,178,59,178,60,178,61,179,6,179,7,179,8,179,9,179,10,179,11,179,12,179,13,179,14,179,15,179,16,179,17,179,19,179,20,179,21,179,22,179,23,179,24,179,25,179,26,179,27,179,30,179,31,179,32,179,33,179,34,179,35,179,36,179,37,179,38,179,39,179,40,179,41,179,42,179,43,179,44,179,45,179,46,179,47,179,48,179,49,179,50,179,51,179,52,179,53,179,54,179,55,179,56,179,57,179,58,179,59,179,60,179,61,179,62,179,63,179,64,180,6,180,7,180,8,180,9,180,10,180,11,180,12,180,13,180,14,180,15,180,16,180,17,180,19,180,20,180,21,180,22,180,23,180,24,180,25,180,26,180,27,180,28,180,30,180,31,180,32,180,33,180,34,180,35,180,36,180,37,180,38,180,39,180,40,180,41,180,42,180,43,180,44,180,45,180,46,180,47,180,48,180,49,180,50,180,51,180,52,180,53,180,54,180,55,180,56,180,57,180,58,180,59,180,60,180,61,180,62,180,63,180,64,181,6,181,7,181,8,181,9,181,10,181,11,181,12,181,13,181,14,181,15,181,16,181,17,181,19,181,20,181,21,181,22,181,23,181,24,181,25,181,26,181,27,181,28,181,30,181,31,181,32,181,33,181,34,181,35,181,36,181,37,181,38,181,39,181,40,181,41,181,42,181,43,181,44,181,45,181,46,181,47,181,48,181,49,181,50,181,51,181,52,181,53,181,54,181,55,181,56,181,57,181,58,181,59,181,60,181,61,181,62,181,63,181,64,181,65,181,66,181,67,181,68,182,6,182,7,182,8,182,9,182,10,182,11,182,12,182,13,182,14,182,15,182,16,182,17,182,20,182,21,182,22,182,23,182,24,182,25,182,26,182,27,182,28,182,30,182,31,182,33,182,34,182,35,182,36,182,37,182,38,182,39,182,41,182,42,182,43,182,44,182,45,182,46,182,47,182,48,182,49,182,50,182,51,182,52,182,53,182,54,182,55,182,56,182,57,182,58,182,59,182,60,182,61,182,62,182,63,182,64,182,65,182,66,182,67,182,68,182,69,182,70,182,71,183,6,183,7,183,8,183,9,183,10,183,11,183,12,183,13,183,14,183,15,183,16,183,17,183,20,183,21,183,22,183,23,183,24,183,25,183,26,183,27,183,30,183,31,183,41,183,42,183,43,183,44,183,45,183,46,183,47,183,48,183,49,183,50,183,51,183,52,183,53,183,54,183,55,183,56,183,57,183,58,183,59,183,60,183,61,183,62,183,63,183,64,183,65,183,66,183,67,183,68,183,69,183,70,183,71,183,72,183,73,184,6,184,7,184,8,184,9,184,10,184,11,184,12,184,13,184,14,184,15,184,16,184,17,184,21,184,22,184,23,184,24,184,25,184,26,184,27,184,29,184,30,184,31,184,35,184,36,184,37,184,38,184,39,184,41,184,42,184,43,184,44,184,45,184,46,184,47,184,48,184,49,184,50,184,51,184,52,184,53,184,54,184,55,184,56,184,57,184,58,184,59,184,60,184,61,184,62,184,63,184,64,184,65,184,66,184,67,184,68,184,69,184,70,185,6,185,7,185,8,185,9,185,10,185,11,185,12,185,13,185,14,185,15,185,16,185,17,185,18,185,22,185,23,185,24,185,25,185,26,185,28,185,29,185,30,185,31,185,36,185,37,185,38,185,39,185,40,185,41,185,42,185,43,185,44,185,45,185,46,185,47,185,48,185,49,185,50,185,51,185,52,185,53,185,54,185,55,185,56,185,57,185,58,185,59,185,60,185,61,185,62,185,63,185,64,185,65,185,66,185,67,186,6,186,7,186,8,186,9,186,10,186,11,186,12,186,13,186,14,186,15,186,16,186,17,186,18,186,19,186,27,186,28,186,29,186,30,186,31,186,32,186,33,186,37,186,38,186,39,186,40,186,41,186,42,186,43,186,44,186,45,186,46,186,47,186,48,186,49,186,50,186,51,186,52,186,53,186,54,186,55,186,56,186,57,186,58,186,59,186,60,186,61,186,62,186,63,186,64,186,65,186,66,187,6,187,7,187,8,187,9,187,10,187,11,187,12,187,13,187,14,187,15,187,16,187,17,187,18,187,19,187,20,187,21,187,22,187,24,187,25,187,26,187,27,187,28,187,29,187,30,187,31,187,32,187,33,187,34,187,39,187,40,187,41,187,42,187,43,187,44,187,45,187,46,187,47,187,48,187,49,187,50,187,51,187,52,187,53,187,54,187,55,187,56,187,57,187,58,187,59,187,60,187,61,187,62,187,63,187,64,187,65,188,6,188,7,188,8,188,9,188,10,188,11,188,12,188,13,188,14,188,15,188,16,188,17,188,19,188,20,188,21,188,22,188,23,188,24,188,25,188,26,188,27,188,28,188,30,188,31,188,33,188,34,188,35,188,36,188,40,188,41,188,42,188,43,188,44,188,45,188,46,188,47,188,48,188,49,188,50,188,51,188,52,188,53,188,54,188,55,188,56,188,57,188,58,188,59,188,60,188,61,188,62,188,63,188,64,188,71,188,72,188,73,189,6,189,7,189,8,189,9,189,10,189,11,189,12,189,13,189,14,189,15,189,16,189,17,189,30,189,31,189,41,189,42,189,43,189,44,189,45,189,46,189,47,189,48,189,49,189,50,189,51,189,52,189,53,189,54,189,55,189,56,189,57,189,58,189,59,189,60,189,61,189,62,189,63,189,64,189,65,189,66,189,67,189,68,189,69,189,70,189,71,189,72,189,73,189,74,189,75,190,6,190,7,190,8,190,9,190,10,190,11,190,12,190,13,190,14,190,15,190,16,190,17,190,30,190,31,190,33,190,34,190,35,190,36,190,37,190,38,190,39,190,40,190,41,190,42,190,43,190,44,190,45,190,46,190,47,190,48,190,49,190,50,190,51,190,52,190,53,190,54,190,55,190,56,190,57,190,58,190,59,190,60,190,61,190,62,190,63,190,64,190,65,190,66,190,67,190,68,190,69,190,70,190,71,190,72,190,73,190,74,190,75,190,76,191,6,191,7,191,8,191,9,191,10,191,11,191,12,191,13,191,14,191,15,191,16,191,17,191,19,191,20,191,21,191,22,191,23,191,24,191,25,191,26,191,27,191,30,191,31,191,32,191,33,191,34,191,35,191,36,191,37,191,38,191,39,191,40,191,41,191,42,191,43,191,44,191,45,191,46,191,47,191,48,191,49,191,50,191,51,191,52,191,53,191,54,191,55,191,56,191,57,191,58,191,59,191,60,191,61,191,62,191,63,191,64,191,65,191,66,191,67,191,68,191,69,191,70,191,71,191,72,191,73,191,74,192,6,192,7,192,8,192,9,192,10,192,11,192,12,192,13,192,14,192,15,192,16,192,17,192,19,192,20,192,21,192,22,192,23,192,24,192,25,192,26,192,27,192,28,192,30,192,31,192,32,192,34,192,35,192,41,192,42,192,43,192,44,192,45,192,46,192,47,192,48,192,49,192,50,192,51,192,52,192,53,192,54,192,55,192,56,192,57,192,58,192,59,192,60,192,61,192,62,192,63,192,64,192,65,192,66,192,67,192,68,192,69,192,70,193,6,193,7,193,8,193,9,193,10,193,11,193,12,193,13,193,14,193,15,193,16,193,17,193,19,193,20,193,21,193,22,193,23,193,24,193,25,193,26,193,27,193,28,193,30,193,31,193,32,193,34,193,35,193,41,193,42,193,43,193,44,193,45,193,46,193,47,193,48,193,49,193,50,193,51,193,52,193,53,193,54,193,55,193,56,193,57,193,58,193,59,193,60,193,61,193,62,193,63,193,64,193,65,193,66,193,67,193,68,194,6,194,7,194,8,194,9,194,10,194,11,194,12,194,13,194,14,194,15,194,16,194,17,194,19,194,20,194,21,194,22,194,23,194,24,194,25,194,26,194,27,194,28,194,30,194,31,194,32,194,33,194,34,194,35,194,36,194,37,194,38,194,39,194,41,194,42,194,43,194,44,194,45,194,46,194,47,194,48,194,49,194,50,194,51,194,52,194,53,194,54,194,55,194,56,194,57,194,58,194,59,194,60,194,61,194,62,194,63,194,64,194,65,194,66,195,6,195,7,195,8,195,9,195,10,195,11,195,12,195,13,195,14,195,15,195,16,195,17,195,20,195,21,195,22,195,23,195,24,195,25,195,26,195,27,195,28,195,30,195,31,195,32,195,33,195,34,195,35,195,37,195,38,195,39,195,41,195,42,195,43,195,44,195,45,195,46,195,47,195,48,195,49,195,50,195,51,195,52,195,53,195,54,195,55,195,56,195,57,195,58,195,59,195,60,195,61,195,62,195,63,195,64,195,65,196,6,196,7,196,8,196,9,196,10,196,11,196,12,196,13,196,14,196,15,196,16,196,17,196,20,196,21,196,22,196,23,196,24,196,25,196,26,196,27,196,28,196,30,196,31,196,32,196,33,196,34,196,35,196,41,196,42,196,43,196,44,196,45,196,46,196,47,196,48,196,49,196,50,196,51,196,52,196,53,196,54,196,55,196,56,196,57,196,58,196,59,196,60,196,61,196,62,196,63,196,64,196,65,196,71,196,72,196,73,196,74,196,75,196,76,196,77,197,6,197,7,197,8,197,9,197,10,197,11,197,12,197,13,197,14,197,15,197,16,197,17,197,20,197,21,197,22,197,23,197,24,197,25,197,26,197,27,197,30,197,31,197,32,197,33,197,34,197,35,197,41,197,42,197,43,197,44,197,45,197,46,197,47,197,48,197,49,197,50,197,51,197,52,197,53,197,54,197,55,197,56,197,57,197,58,197,59,197,60,197,61,197,62,197,63,197,64,197,65,197,66,197,67,197,68,197,69,197,70,197,71,197,72,197,73,197,74,197,75,197,76,197,77,198,6,198,7,198,8,198,9,198,10,198,11,198,12,198,13,198,14,198,15,198,16,198,17,198,21,198,22,198,23,198,24,198,25,198,26,198,27,198,30,198,31,198,32,198,33,198,34,198,35,198,38,198,39,198,41,198,42,198,43,198,44,198,45,198,46,198,47,198,48,198,49,198,50,198,51,198,52,198,53,198,54,198,55,198,56,198,57,198,58,198,59,198,60,198,61,198,62,198,63,198,64,198,65,198,66,198,67,198,68,198,69,198,70,198,71,198,72,198,73,198,74,198,75,198,76,199,6,199,7,199,8,199,9,199,10,199,11,199,12,199,13,199,14,199,15,199,16,199,17,199,18,199,22,199,23,199,24,199,25,199,29,199,30,199,31,199,32,199,33,199,34,199,35,199,38,199,39,199,40,199,41,199,42,199,43,199,44,199,45,199,46,199,47,199,48,199,49,199,50,199,51,199,52,199,53,199,54,199,55,199,56,199,57,199,58,199,59,199,60,199,61,199,62,199,63,199,64,199,65,199,66,199,67,199,68,199,69,199,70,199,71,199,72,199,73,199,74,200,6,200,7,200,8,200,9,200,10,200,11,200,12,200,13,200,14,200,15,200,16,200,17,200,18,200,19,200,28,200,29,200,30,200,31,200,32,200,33,200,34,200,35,200,37,200,38,200,39,200,41,200,42,200,43,200,44,200,45,200,46,200,47,200,48,200,49,200,50,200,51,200,52,200,53,200,54,200,55,200,56,200,57,200,58,200,59,200,60,200,61,200,62,200,63,200,64,200,65,200,66,200,67,200,68,200,69,200,70,200,71,201,6,201,7,201,8,201,9,201,10,201,11,201,12,201,13,201,14,201,15,201,16,201,17,201,18,201,19,201,20,201,26,201,27,201,28,201,29,201,30,201,31,201,32,201,33,201,34,201,35,201,41,201,42,201,43,201,44,201,45,201,46,201,47,201,48,201,49,201,50,201,51,201,52,201,53,201,54,201,55,201,56,201,57,201,58,201,59,201,60,201,61,201,62,201,63,201,64,201,65,201,66,201,67,201,68,201,69,202,6,202,7,202,8,202,9,202,10,202,11,202,12,202,13,202,14,202,15,202,16,202,17,202,18,202,19,202,20,202,21,202,22,202,23,202,24,202,25,202,26,202,27,202,28,202,29,202,30,202,31,202,32,202,33,202,34,202,35,202,41,202,42,202,43,202,44,202,45,202,46,202,47,202,48,202,49,202,50,202,51,202,52,202,53,202,54,202,55,202,56,202,57,202,58,202,59,202,60,202,61,202,62,202,63,202,64,202,65,202,66,202,67,203,6,203,7,203,8,203,9,203,10,203,11,203,12,203,13,203,14,203,15,203,16,203,17,203,30,203,31,203,32,203,33,203,34,203,35,203,38,203,39,203,41,203,42,203,43,203,44,203,45,203,46,203,47,203,48,203,49,203,50,203,51,203,52,203,53,203,54,203,55,203,56,203,57,203,58,203,59,203,60,203,61,203,62,203,63,203,64,203,65,203,66,204,6,204,7,204,8,204,9,204,10,204,11,204,12,204,13,204,14,204,15,204,16,204,17,204,30,204,31,204,32,204,33,204,34,204,35,204,37,204,38,204,39,204,41,204,42,204,43,204,44,204,45,204,46,204,47,204,48,204,49,204,50,204,51,204,52,204,53,204,54,204,55,204,56,204,57,204,58,204,59,204,60,204,61,204,62,204,63,204,64,204,65,204,66,204,72,204,73,204,74,204,75,204,76,204,77,204,78,205,6,205,7,205,8,205,9,205,10,205,11,205,12,205,13,205,14,205,15,205,16,205,17,205,30,205,31,205,32,205,33,205,34,205,35,205,41,205,42,205,43,205,44,205,45,205,46,205,47,205,48,205,49,205,50,205,51,205,52,205,53,205,54,205,55,205,56,205,57,205,58,205,59,205,60,205,61,205,62,205,63,205,64,205,65,205,66,205,67,205,68,205,69,205,70,205,71,205,72,205,73,205,74,205,75,205,76,205,77,206,6,206,7,206,8,206,9,206,10,206,11,206,12,206,13,206,14,206,15,206,16,206,17,206,19,206,20,206,21,206,22,206,24,206,25,206,26,206,27,206,28,206,30,206,31,206,32,206,33,206,34,206,35,206,36,206,41,206,42,206,43,206,44,206,45,206,46,206,47,206,48,206,49,206,50,206,51,206,52,206,53,206,54,206,55,206,56,206,57,206,58,206,59,206,60,206,61,206,62,206,63,206,64,206,65,206,66,206,67,206,68,206,69,206,70,206,71,206,72,206,73,206,74,206,75,206,76,206,77,207,6,207,7,207,8,207,9,207,10,207,11,207,12,207,13,207,14,207,15,207,16,207,17,207,19,207,20,207,21,207,22,207,24,207,25,207,26,207,27,207,28,207,30,207,31,207,33,207,34,207,35,207,36,207,37,207,38,207,39,207,41,207,42,207,43,207,44,207,45,207,46,207,47,207,48,207,49,207,50,207,51,207,52,207,53,207,54,207,55,207,56,207,57,207,58,207,59,207,60,207,61,207,62,207,63,207,64,207,65,207,66,207,67,207,68,207,69,207,70,207,71,207,72,207,73,207,74,208,6,208,7,208,8,208,9,208,10,208,11,208,12,208,13,208,14,208,15,208,16,208,17,208,19,208,20,208,21,208,22,208,24,208,25,208,26,208,27,208,28,208,30,208,31,208,41,208,42,208,43,208,44,208,45,208,46,208,47,208,48,208,49,208,50,208,51,208,52,208,53,208,54,208,55,208,56,208,57,208,58,208,59,208,60,208,61,208,62,208,63,208,64,208,65,208,66,208,67,208,68,208,69,208,70,208,71,208,72,209,6,209,7,209,8,209,9,209,10,209,11,209,12,209,13,209,14,209,15,209,16,209,17,209,19,209,20,209,21,209,22,209,24,209,25,209,26,209,27,209,28,209,30,209,31,209,41,209,42,209,43,209,44,209,45,209,46,209,47,209,48,209,49,209,50,209,51,209,52,209,53,209,54,209,55,209,56,209,57,209,58,209,59,209,60,209,61,209,62,209,63,209,64,209,65,209,66,209,67,209,68,209,69,209,70,209,71,210,6,210,7,210,8,210,9,210,10,210,11,210,12,210,13,210,14,210,15,210,16,210,17,210,20,210,21,210,22,210,23,210,24,210,25,210,26,210,27,210,28,210,30,210,31,210,32,210,33,210,34,210,35,210,38,210,41,210,42,210,43,210,44,210,45,210,46,210,47,210,48,210,49,210,50,210,51,210,52,210,53,210,54,210,55,210,56,210,57,210,58,210,59,210,60,210,61,210,62,210,63,210,64,210,65,210,66,210,67,210,68,210,69,211,6,211,7,211,8,211,9,211,10,211,11,211,12,211,13,211,14,211,15,211,16,211,17,211,18,211,19,211,20,211,21,211,22,211,23,211,24,211,25,211,26,211,27,211,30,211,31,211,32,211,33,211,34,211,35,211,37,211,38,211,39,211,41,211,42,211,43,211,44,211,45,211,46,211,47,211,48,211,49,211,50,211,51,211,52,211,53,211,54,211,55,211,56,211,57,211,58,211,59,211,60,211,61,211,62,211,63,211,64,211,65,211,66,211,67,211,68,212,6,212,7,212,8,212,9,212,10,212,11,212,12,212,13,212,14,212,15,212,16,212,17,212,18,212,19,212,23,212,24,212,25,212,26,212,27,212,30,212,31,212,32,212,33,212,34,212,35,212,41,212,42,212,43,212,44,212,45,212,46,212,47,212,48,212,49,212,50,212,51,212,52,212,53,212,54,212,55,212,56,212,57,212,58,212,59,212,60,212,61,212,62,212,63,212,64,212,65,212,66,212,67,213,6,213,7,213,8,213,9,213,10,213,11,213,12,213,13,213,14,213,15,213,16,213,17,213,20,213,21,213,24,213,25,213,26,213,27,213,28,213,30,213,31,213,32,213,33,213,34,213,35,213,36,213,40,213,41,213,42,213,43,213,44,213,45,213,46,213,47,213,48,213,49,213,50,213,51,213,52,213,53,213,54,213,55,213,56,213,57,213,58,213,59,213,60,213,61,213,62,213,63,213,64,213,65,213,66,214,6,214,7,214,8,214,9,214,10,214,11,214,12,214,13,214,14,214,15,214,16,214,17,214,19,214,20,214,21,214,24,214,25,214,26,214,27,214,28,214,30,214,31,214,32,214,33,214,34,214,35,214,36,214,37,214,39,214,40,214,41,214,42,214,43,214,44,214,45,214,46,214,47,214,48,214,49,214,50,214,51,214,52,214,53,214,54,214,55,214,56,214,57,214,58,214,59,214,60,214,61,214,62,214,63,214,64,214,65,214,78,215,6,215,7,215,8,215,9,215,10,215,11,215,12,215,13,215,14,215,15,215,16,215,17,215,19,215,20,215,21,215,22,215,25,215,26,215,27,215,28,215,30,215,31,215,32,215,33,215,34,215,35,215,41,215,42,215,43,215,44,215,45,215,46,215,47,215,48,215,49,215,50,215,51,215,52,215,53,215,54,215,55,215,56,215,57,215,58,215,59,215,60,215,61,215,62,215,63,215,64,215,76,216,6,216,7,216,8,216,9,216,10,216,11,216,12,216,13,216,14,216,15,216,16,216,17,216,19,216,20,216,21,216,22,216,25,216,26,216,27,216,28,216,30,216,31,216,32,216,33,216,34,216,35,216,41,216,42,216,43,216,44,216,45,216,46,216,47,216,48,216,49,216,50,216,51,216,52,216,53,216,54,216,55,216,56,216,57,216,58,216,59,216,60,216,61,216,62,216,63,216,74,217,6,217,7,217,8,217,9,217,10,217,11,217,12,217,13,217,14,217,15,217,16,217,17,217,20,217,21,217,22,217,26,217,27,217,28,217,30,217,31,217,32,217,33,217,34,217,35,217,37,217,39,217,41,217,42,217,43,217,44,217,45,217,46,217,47,217,48,217,49,217,50,217,51,217,52,217,53,217,54,217,55,217,56,217,57,217,58,217,59,217,60,217,61,217,62,217,72,217,73,217,74,218,6,218,7,218,8,218,9,218,10,218,11,218,12,218,13,218,14,218,15,218,16,218,17,218,20,218,21,218,22,218,23,218,29,218,30,218,31,218,32,218,33,218,34,218,35,218,39,218,41,218,42,218,43,218,44,218,45,218,46,218,47,218,48,218,49,218,50,218,51,218,52,218,53,218,54,218,55,218,56,218,57,218,58,218,59,218,60,218,61,218,70,218,71,218,72,218,73,218,81,218,82,218,83,218,84,218,85,218,86,218,87,218,88,218,89,219,6,219,7,219,8,219,9,219,10,219,11,219,12,219,13,219,14,219,15,219,16,219,17,219,18,219,19,219,20,219,21,219,22,219,23,219,24,219,25,219,28,219,29,219,30,219,31,219,32,219,33,219,34,219,35,219,36,219,37,219,39,219,40,219,41,219,42,219,43,219,44,219,45,219,46,219,47,219,48,219,49,219,50,219,51,219,52,219,53,219,54,219,55,219,56,219,57,219,58,219,59,219,60,219,69,219,70,219,71,219,72,219,73,219,74,219,75,219,76,219,77,219,78,219,79,220,6,220,7,220,8,220,9,220,10,220,11,220,12,220,13,220,14,220,15,220,16,220,17,220,18,220,19,220,23,220,24,220,25,220,26,220,27,220,30,220,31,220,32,220,33,220,34,220,35,220,37,220,38,220,39,220,41,220,42,220,43,220,44,220,45,220,46,220,47,220,48,220,49,220,50,220,51,220,52,220,53,220,54,220,55,220,56,220,57,220,58,220,59,220,60,220,67,220,68,220,69,220,70,220,71,220,72,220,73,220,74,220,75,220,76,220,77,220,78,220,79,220,80,220,81,221,6,221,7,221,8,221,9,221,10,221,11,221,12,221,13,221,14,221,15,221,16,221,17,221,20,221,21,221,24,221,25,221,26,221,27,221,28,221,30,221,31,221,32,221,33,221,34,221,35,221,41,221,42,221,43,221,44,221,45,221,46,221,47,221,48,221,49,221,50,221,51,221,52,221,53,221,54,221,55,221,56,221,57,221,58,221,59,221,65,221,66,221,67,221,68,221,69,221,70,221,71,221,72,221,73,221,74,221,75,221,76,221,77,221,78,221,79,221,80,221,81,222,6,222,7,222,8,222,9,222,10,222,11,222,12,222,13,222,14,222,15,222,16,222,17,222,19,222,20,222,21,222,24,222,25,222,26,222,27,222,28,222,30,222,31,222,32,222,33,222,34,222,35,222,41,222,42,222,43,222,44,222,45,222,46,222,47,222,48,222,49,222,50,222,51,222,52,222,53,222,54,222,55,222,56,222,57,222,58,222,59,222,63,222,64,222,65,222,66,222,67,222,68,222,69,222,70,222,71,222,72,222,73,222,74,222,75,222,76,222,77,222,78,222,79,222,80,223,6,223,7,223,8,223,9,223,10,223,11,223,12,223,13,223,14,223,15,223,16,223,17,223,19,223,20,223,21,223,22,223,25,223,26,223,27,223,28,223,30,223,31,223,32,223,33,223,34,223,35,223,38,223,39,223,41,223,42,223,43,223,44,223,45,223,46,223,47,223,48,223,49,223,50,223,51,223,52,223,53,223,54,223,55,223,56,223,57,223,58,223,62,223,63,223,64,223,65,223,66,223,67,223,68,223,69,223,70,223,71,223,72,223,73,223,74,223,75,223,76,223,77,223,78,223,79,224,6,224,7,224,8,224,9,224,10,224,11,224,12,224,13,224,14,224,15,224,16,224,17,224,19,224,20,224,21,224,22,224,25,224,26,224,27,224,28,224,30,224,31,224,32,224,33,224,34,224,35,224,38,224,39,224,40,224,41,224,42,224,43,224,44,224,45,224,46,224,47,224,48,224,49,224,50,224,51,224,52,224,53,224,54,224,55,224,56,224,57,224,58,224,60,224,61,224,62,224,63,224,64,224,65,224,66,224,67,224,68,224,69,224,70,224,71,224,72,224,73,224,74,224,75,224,76,224,77,224,78,225,6,225,7,225,8,225,9,225,10,225,11,225,12,225,13,225,14,225,15,225,16,225,17,225,20,225,21,225,22,225,26,225,27,225,28,225,30,225,31,225,32,225,33,225,34,225,35,225,36,225,38,225,44,225,45,225,46,225,47,225,48,225,49,225,50,225,51,225,52,225,53,225,54,225,55,225,56,225,57,225,58,225,59,225,60,225,61,225,62,225,63,225,64,225,65,225,66,225,67,225,68,225,69,225,70,225,71,225,72,225,73,225,74,225,75,225,76,225,77,225,78,225,81,225,82,225,83,225,84,225,85,225,86,225,87,225,88,225,89,225,90,225,91,226,6,226,7,226,8,226,9,226,10,226,11,226,12,226,13,226,14,226,15,226,16,226,17,226,20,226,21,226,22,226,23,226,29,226,30,226,31,226,32,226,33,226,34,226,35,226,40,226,44,226,45,226,46,226,47,226,48,226,49,226,50,226,51,226,52,226,53,226,54,226,55,226,56,226,57,226,58,226,59,226,60,226,61,226,62,226,63,226,64,226,65,226,66,226,67,226,68,226,69,226,70,226,71,226,72,226,73,226,74,226,75,226,76,226,77,226,78,226,79,226,80,226,81,226,82,227,6,227,7,227,8,227,9,227,10,227,11,227,12,227,13,227,14,227,15,227,16,227,17,227,18,227,19,227,20,227,21,227,22,227,23,227,24,227,25,227,27,227,28,227,29,227,30,227,31,227,32,227,33,227,34,227,35,227,37,227,38,227,40,227,42,227,44,227,45,227,46,227,47,227,48,227,49,227,50,227,51,227,52,227,53,227,54,227,55,227,56,227,57,227,58,227,59,227,60,227,61,227,62,227,63,227,64,227,65,227,66,227,67,227,68,227,69,227,70,227,71,227,72,227,73,227,74,227,75,227,76,227,77,227,78,227,79,227,80,227,81,227,82,227,83,228,6,228,7,228,8,228,9,228,10,228,11,228,12,228,13,228,14,228,15,228,16,228,17,228,19,228,20,228,21,228,22,228,23,228,24,228,25,228,26,228,27,228,28,228,30,228,31,228,32,228,33,228,34,228,35,228,40,228,42,228,44,228,45,228,46,228,47,228,48,228,49,228,50,228,51,228,52,228,53,228,54,228,55,228,56,228,57,228,58,228,59,228,60,228,61,228,62,228,63,228,64,228,65,228,66,228,67,228,68,228,69,228,70,228,71,228,72,228,73,228,74,228,75,228,76,228,77,228,78,228,79,228,80,228,81,228,82,228,83,228,84,228,85,229,6,229,7,229,8,229,9,229,10,229,11,229,12,229,13,229,14,229,15,229,16,229,17,229,30,229,31,229,32,229,33,229,34,229,35,229,40,229,42,229,44,229,45,229,46,229,47,229,48,229,49,229,50,229,51,229,52,229,53,229,54,229,55,229,56,229,57,229,58,229,59,229,60,229,61,229,62,229,63,229,64,229,65,229,66,229,67,229,68,229,69,229,70,229,71,229,72,229,73,229,74,229,75,229,76,229,77,229,78,229,79,229,80,229,81,229,82,229,83,229,84,230,6,230,7,230,8,230,9,230,10,230,11,230,12,230,13,230,14,230,15,230,16,230,17,230,30,230,31,230,32,230,33,230,34,230,35,230,37,230,38,230,39,230,40,230,43,230,44,230,45,230,46,230,47,230,48,230,49,230,50,230,51,230,52,230,53,230,54,230,55,230,56,230,57,230,58,230,59,230,60,230,61,230,62,230,63,230,64,230,65,230,66,230,67,230,68,230,69,230,70,230,71,230,72,230,73,230,74,230,75,230,76,230,77,230,78,230,79,230,80,230,81,230,82,230,83,231,6,231,7,231,8,231,9,231,10,231,11,231,12,231,13,231,14,231,15,231,16,231,17,231,19,231,20,231,21,231,22,231,23,231,24,231,25,231,26,231,27,231,28,231,30,231,31,231,32,231,33,231,34,231,35,231,36,231,40,231,41,231,42,231,43,231,44,231,45,231,46,231,47,231,48,231,49,231,50,231,51,231,52,231,53,231,54,231,55,231,56,231,57,231,58,231,59,231,60,231,61,231,62,231,63,231,64,231,65,231,66,231,67,231,68,231,69,231,70,231,71,231,72,231,73,231,74,231,75,231,76,231,77,231,78,231,79,231,80,231,81,231,82,232,6,232,7,232,8,232,9,232,10,232,11,232,12,232,13,232,14,232,15,232,16,232,17,232,18,232,19,232,20,232,21,232,22,232,23,232,24,232,25,232,26,232,27,232,28,232,30,232,31,232,32,232,33,232,34,232,35,232,41,232,42,232,43,232,44,232,45,232,46,232,47,232,48,232,49,232,50,232,51,232,52,232,53,232,54,232,55,232,56,232,57,232,58,232,59,232,60,232,61,232,62,232,63,232,64,232,65,232,66,232,67,232,68,232,69,232,70,232,71,232,72,232,73,232,74,232,75,232,76,232,77,232,78,232,79,232,80,232,81,232,82,232,83,232,84,232,85,232,86,232,87,232,88,232,89,232,90,232,91,232,92,232,93,232,94,232,95,233,6,233,7,233,8,233,9,233,10,233,11,233,12,233,13,233,14,233,15,233,16,233,17,233,18,233,19,233,20,233,21,233,22,233,23,233,24,233,25,233,26,233,30,233,31,233,32,233,33,233,34,233,35,233,37,233,39,233,41,233,42,233,43,233,44,233,45,233,46,233,47,233,48,233,49,233,50,233,51,233,52,233,53,233,54,233,55,233,56,233,57,233,58,233,59,233,60,233,61,233,62,233,63,233,64,233,65,233,66,233,67,233,68,233,69,233,70,233,71,233,72,233,73,233,74,233,75,233,76,233,77,233,78,233,79,233,80,233,81,233,82,233,83,233,84,233,85,233,86,234,6,234,7,234,8,234,9,234,10,234,11,234,12,234,13,234,14,234,15,234,16,234,17,234,18,234,19,234,20,234,21,234,22,234,23,234,24,234,27,234,28,234,29,234,30,234,31,234,32,234,33,234,34,234,35,234,39,234,41,234,42,234,43,234,44,234,45,234,46,234,47,234,48,234,49,234,50,234,51,234,52,234,53,234,54,234,55,234,56,234,57,234,58,234,59,234,60,234,61,234,62,234,63,234,64,234,65,234,66,234,67,234,68,234,69,234,70,234,71,234,72,234,73,234,74,234,75,234,76,234,77,234,78,234,79,234,80,234,81,234,82,234,83,234,84,234,85,234,86,234,87,234,88,235,6,235,7,235,8,235,9,235,10,235,11,235,12,235,13,235,14,235,15,235,16,235,17,235,18,235,19,235,20,235,21,235,22,235,25,235,26,235,27,235,28,235,29,235,30,235,31,235,32,235,33,235,34,235,35,235,36,235,39,235,41,235,42,235,43,235,44,235,45,235,46,235,47,235,48,235,49,235,50,235,51,235,52,235,53,235,54,235,55,235,56,235,57,235,58,235,59,235,60,235,61,235,62,235,63,235,64,235,65,235,66,235,67,235,68,235,69,235,70,235,71,235,72,235,73,235,74,235,75,235,76,235,77,235,78,235,79,235,80,235,81,235,82,235,83,235,84,235,85,235,86,235,87,235,88,235,89,236,6,236,7,236,8,236,9,236,10,236,11,236,12,236,13,236,14,236,15,236,16,236,17,236,18,236,19,236,20,236,23,236,25,236,26,236,27,236,28,236,29,236,30,236,31,236,32,236,33,236,34,236,35,236,37,236,38,236,39,236,41,236,42,236,43,236,44,236,45,236,46,236,47,236,48,236,49,236,50,236,51,236,52,236,53,236,54,236,55,236,56,236,57,236,58,236,59,236,60,236,61,236,62,236,63,236,64,236,65,236,66,236,67,236,68,236,69,236,70,236,71,236,72,236,73,236,74,236,75,236,76,236,77,236,78,236,79,236,80,236,81,236,82,236,83,236,84,236,85,236,86,236,87,236,88,237,6,237,7,237,8,237,9,237,10,237,11,237,12,237,13,237,14,237,15,237,16,237,17,237,18,237,21,237,22,237,23,237,25,237,26,237,27,237,28,237,29,237,30,237,31,237,32,237,33,237,34,237,35,237,41,237,42,237,43,237,44,237,45,237,46,237,47,237,48,237,49,237,50,237,57,237,58,237,59,237,60,237,61,237,62,237,63,237,64,237,65,237,66,237,67,237,68,237,69,237,70,237,71,237,72,237,73,237,74,237,75,237,76,237,77,237,78,237,79,237,80,237,81,237,82,237,83,237,84,237,85,237,86,237,87,238,6,238,7,238,8,238,9,238,10,238,11,238,12,238,13,238,14,238,15,238,16,238,17,238,23,238,25,238,26,238,27,238,28,238,29,238,30,238,31,238,32,238,33,238,34,238,35,238,41,238,42,238,43,238,44,238,45,238,46,238,47,238,48,238,49,238,58,238,59,238,60,238,61,238,62,238,63,238,64,238,65,238,66,238,67,238,68,238,69,238,70,238,71,238,72,238,73,238,74,238,75,238,76,238,77,238,78,238,79,238,80,238,81,238,82,238,83,238,84,238,85,238,86,239,6,239,7,239,8,239,9,239,10,239,11,239,12,239,13,239,14,239,15,239,16,239,17,239,18,239,19,239,25,239,26,239,27,239,28,239,29,239,30,239,31,239,32,239,33,239,34,239,35,239,38,239,39,239,41,239,42,239,43,239,44,239,45,239,46,239,47,239,48,239,59,239,60,239,61,239,62,239,63,239,64,239,65,239,66,239,67,239,68,239,69,239,70,239,71,239,72,239,73,239,74,239,75,239,76,239,77,239,78,239,79,239,80,239,81,239,82,239,83,239,84,239,85,239,86,239,87,239,88,239,89,239,90,239,91,240,6,240,7,240,8,240,9,240,10,240,11,240,12,240,13,240,14,240,15,240,16,240,17,240,18,240,19,240,20,240,21,240,22,240,27,240,28,240,29,240,30,240,31,240,32,240,33,240,34,240,35,240,38,240,39,240,40,240,41,240,42,240,43,240,44,240,45,240,46,240,47,240,53,240,60,240,61,240,62,240,63,240,64,240,65,240,66,240,67,240,68,240,69,240,70,240,71,240,72,240,73,240,74,240,75,240,76,240,77,240,78,240,79,240,80,240,81,240,82,240,83,240,84,240,85,240,86,240,87,240,88,240,89,240,90,241,6,241,7,241,8,241,9,241,10,241,11,241,12,241,13,241,14,241,15,241,16,241,17,241,18,241,19,241,20,241,21,241,22,241,23,241,24,241,30,241,31,241,32,241,33,241,34,241,35,241,36,241,37,241,38,241,39,241,40,241,41,241,42,241,43,241,44,241,45,241,46,241,47,241,60,241,61,241,62,241,63,241,64,241,65,241,66,241,67,241,68,241,69,241,70,241,71,241,72,241,73,241,74,241,75,241,76,241,77,241,78,241,79,241,80,241,81,241,82,241,83,241,84,241,85,241,86,241,87,241,88,241,89,242,6,242,7,242,8,242,9,242,10,242,11,242,12,242,13,242,14,242,15,242,16,242,17,242,18,242,19,242,20,242,21,242,22,242,23,242,24,242,25,242,26,242,30,242,31,242,32,242,33,242,34,242,35,242,36,242,37,242,38,242,39,242,40,242,41,242,42,242,43,242,44,242,45,242,46,242,47,242,60,242,61,242,62,242,63,242,64,242,65,242,66,242,67,242,68,242,69,242,70,242,71,242,72,242,73,242,74,242,75,242,76,242,77,242,78,242,79,242,80,242,81,242,82,242,83,242,84,242,85,242,86,242,87,242,88,242,89,242,94,242,95,242,96,243,6,243,7,243,8,243,9,243,10,243,11,243,12,243,13,243,14,243,15,243,16,243,17,243,18,243,19,243,20,243,21,243,22,243,23,243,24,243,25,243,26,243,27,243,28,243,30,243,31,243,32,243,33,243,34,243,35,243,36,243,37,243,38,243,39,243,40,243,41,243,42,243,43,243,44,243,45,243,46,243,47,243,50,243,54,243,60,243,61,243,62,243,63,243,64,243,65,243,66,243,67,243,68,243,69,243,70,243,71,243,72,243,73,243,74,243,75,243,76,243,77,243,78,243,79,243,80,243,81,243,82,243,83,243,84,243,85,243,86,243,87,243,88,243,89,243,90,243,91,243,92,243,93,243,94,243,95,243,96,243,97,243,98,244,6,244,7,244,8,244,9,244,10,244,11,244,12,244,13,244,14,244,15,244,16,244,17,244,18,244,19,244,20,244,21,244,22,244,23,244,24,244,25,244,26,244,27,244,28,244,29,244,30,244,31,244,32,244,33,244,34,244,35,244,36,244,37,244,38,244,39,244,40,244,41,244,42,244,43,244,44,244,45,244,46,244,47,244,60,244,61,244,62,244,63,244,64,244,65,244,66,244,67,244,68,244,69,244,70,244,71,244,72,244,73,244,74,244,75,244,76,244,77,244,78,244,79,244,80,244,81,244,82,244,83,244,84,244,85,244,86,244,87,244,88,244,89,244,90,244,91,244,92,244,93,244,94,244,95,244,96,244,97,244,98,245,6,245,7,245,8,245,9,245,10,245,11,245,12,245,13,245,14,245,15,245,16,245,17,245,18,245,19,245,20,245,21,245,22,245,23,245,24,245,25,245,26,245,27,245,28,245,29,245,30,245,31,245,32,245,33,245,34,245,35,245,36,245,37,245,38,245,39,245,40,245,41,245,42,245,43,245,44,245,45,245,46,245,47,245,60,245,61,245,62,245,63,245,64,245,65,245,66,245,67,245,68,245,69,245,70,245,71,245,72,245,73,245,74,245,75,245,76,245,77,245,78,245,79,245,80,245,81,245,82,245,83,245,84,245,85,245,86,245,87,245,88,245,89,245,90,245,91,245,92,245,93,245,94,245,95,245,96,246,6,246,7,246,8,246,9,246,10,246,11,246,12,246,13,246,14,246,15,246,16,246,17,246,18,246,19,246,20,246,21,246,22,246,23,246,24,246,25,246,26,246,27,246,28,246,29,246,30,246,31,246,32,246,33,246,34,246,35,246,36,246,37,246,38,246,39,246,40,246,41,246,42,246,43,246,44,246,45,246,46,246,47,246,48,246,59,246,60,246,61,246,62,246,63,246,64,246,65,246,66,246,67,246,68,246,69,246,70,246,71,246,72,246,73,246,74,246,75,246,76,246,77,246,78,246,79,246,80,246,81,246,82,246,83,246,84,246,85,246,86,246,87,246,88,246,89,246,90,246,91,246,92,246,93,246,94,246,95,247,6,247,7,247,8,247,9,247,10,247,11,247,12,247,13,247,14,247,15,247,16,247,17,247,18,247,19,247,20,247,21,247,22,247,23,247,24,247,25,247,26,247,27,247,28,247,29,247,30,247,31,247,32,247,33,247,34,247,35,247,36,247,37,247,38,247,39,247,40,247,41,247,42,247,43,247,44,247,45,247,46,247,47,247,48,247,49,247,58,247,59,247,60,247,61,247,62,247,63,247,64,247,65,247,66,247,67,247,68,247,69,247,70,247,71,247,72,247,73,247,74,247,75,247,76,247,77,247,78,247,79,247,80,247,81,247,82,247,83,247,84,247,85,247,86,247,87,247,88,247,89,247,90,247,91,247,92,247,93,247,94,248,6,248,7,248,8,248,9,248,10,248,11,248,12,248,13,248,14,248,15,248,16,248,17,248,18,248,19,248,20,248,21,248,22,248,23,248,24,248,25,248,26,248,27,248,28,248,29,248,30,248,31,248,32,248,33,248,34,248,35,248,36,248,37,248,38,248,39,248,40,248,41,248,42,248,43,248,44,248,45,248,46,248,47,248,48,248,49,248,50,248,57,248,58,248,59,248,60,248,61,248,62,248,63,248,64,248,65,248,66,248,67,248,68,248,69,248,70,248,71,248,72,248,73,248,74,248,75,248,76,248,77,248,78,248,79,248,80,248,81,248,82,248,83,248,84,248,85,248,86,248,87,248,88,248,89,248,90,248,91,248,92,248,93,248,94,248,95,248,96,248,97,248,98,249,6,249,7,249,8,249,9,249,10,249,11,249,12,249,13,249,14,249,15,249,16,249,17,249,18,249,19,249,20,249,21,249,22,249,23,249,24,249,25,249,26,249,33,249,34,249,35,249,36,249,37,249,38,249,39,249,40,249,41,249,42,249,43,249,44,249,45,249,46,249,47,249,48,249,49,249,50,249,51,249,52,249,53,249,54,249,55,249,56,249,57,249,58,249,59,249,60,249,61,249,62,249,63,249,64,249,65,249,66,249,67,249,68,249,69,249,70,249,71,249,72,249,73,249,74,249,75,249,76,249,77,249,78,249,79,249,80,249,81,249,82,249,83,249,84,249,85,249,86,249,87,249,88,249,89,249,90,249,91,249,92,249,93,249,94,249,95,249,96,249,97,249,98,249,99,249,100,249,101,249,102,250,6,250,7,250,8,250,9,250,10,250,11,250,12,250,13,250,14,250,15,250,16,250,17,250,18,250,19,250,20,250,21,250,22,250,23,250,24,250,32,250,33,250,34,250,35,250,36,250,37,250,38,250,39,250,40,250,41,250,42,250,43,250,44,250,45,250,46,250,47,250,48,250,49,250,50,250,51,250,52,250,53,250,54,250,55,250,56,250,57,250,58,250,59,250,60,250,61,250,62,250,63,250,64,250,65,250,66,250,67,250,68,250,69,250,70,250,71,250,72,250,73,250,74,250,75,250,76,250,77,250,78,250,79,250,80,250,81,250,82,250,83,250,84,250,85,250,86,250,87,250,88,250,89,250,90,250,91,250,92,250,93,250,94,250,95,250,96,250,97,250,98,250,99,250,100,250,101,250,102,250,103,251,6,251,7,251,8,251,9,251,10,251,11,251,12,251,13,251,14,251,15,251,16,251,17,251,18,251,19,251,20,251,21,251,22,251,31,251,32,251,33,251,34,251,35,251,36,251,37,251,38,251,39,251,40,251,41,251,42,251,43,251,44,251,45,251,46,251,47,251,48,251,49,251,50,251,51,251,52,251,53,251,54,251,55,251,56,251,57,251,58,251,59,251,60,251,61,251,62,251,63,251,64,251,65,251,66,251,67,251,68,251,69,251,70,251,71,251,72,251,73,251,74,251,75,251,76,251,77,251,78,251,79,251,80,251,81,251,82,251,83,251,84,251,85,251,86,251,87,251,88,251,89,251,90,251,91,251,92,251,93,251,94,251,95,251,96,251,97,251,98,251,99,251,100,251,101,252,6,252,7,252,8,252,9,252,10,252,11,252,12,252,13,252,14,252,15,252,16,252,17,252,18,252,19,252,20,252,21,252,30,252,31,252,32,252,33,252,34,252,35,252,36,252,37,252,38,252,39,252,40,252,41,252,42,252,43,252,44,252,45,252,46,252,47,252,48,252,49,252,50,252,51,252,52,252,53,252,54,252,55,252,56,252,57,252,58,252,59,252,60,252,61,252,62,252,63,252,64,252,65,252,66,252,67,252,68,252,69,252,70,252,71,252,72,252,73,252,74,252,75,252,76,252,77,252,78,252,79,252,80,252,81,252,82,252,83,252,84,252,85,252,86,252,87,252,88,252,89,252,90,252,91,252,92,252,93,252,94,252,95,252,96,252,97,252,98,252,99,252,100,253,6,253,7,253,8,253,9,253,10,253,11,253,12,253,13,253,14,253,15,253,16,253,17,253,18,253,19,253,20,253,29,253,30,253,31,253,32,253,33,253,34,253,35,253,36,253,37,253,38,253,39,253,40,253,41,253,42,253,43,253,44,253,45,253,46,253,47,253,48,253,49,253,50,253,51,253,52,253,53,253,54,253,55,253,56,253,57,253,58,253,59,253,60,253,61,253,62,253,63,253,64,253,65,253,66,253,67,253,68,253,69,253,70,253,71,253,72,253,73,253,74,253,75,253,76,253,77,253,78,253,79,253,80,253,81,253,82,253,83,253,84,253,85,253,86,253,87,253,88,253,89,253,90,253,91,253,92,253,93,253,94,253,95,253,96,253,97,253,98,253,99,254,6,254,7,254,8,254,9,254,10,254,11,254,12,254,13,254,14,254,15,254,16,254,17,254,18,254,28,254,29,254,30,254,31,254,32,254,33,254,34,254,35,254,36,254,37,254,38,254,39,254,40,254,41,254,42,254,43,254,44,254,45,254,46,254,47,254,48,254,49,254,50,254,51,254,52,254,53,254,54,254,55,254,56,254,57,254,58,254,59,254,60,254,61,254,62,254,63,254,64,254,65,254,66,254,67,254,68,254,69,254,70,254,71,254,72,254,73,254,74,254,75,254,76,254,77,254,78,254,79,254,80,254,81,254,82,254,83,254,84,254,85,254,86,254,87,254,88,254,89,254,90,254,91,254,92,254,93,254,94,254,95,254,96,254,97,254,98,254,99,255,6,255,7,255,8,255,9,255,10,255,11,255,12,255,13,255,14,255,15,255,16,255,17,255,28,255,29,255,30,255,31,255,32,255,33,255,34,255,35,255,36,255,37,255,38,255,39,255,40,255,41,255,42,255,43,255,44,255,45,255,46,255,47,255,48,255,49,255,50,255,51,255,52,255,53,255,54,255,55,255,56,255,57,255,58,255,59,255,60,255,61,255,62,255,63,255,64,255,65,255,66,255,67,255,68,255,69,255,70,255,71,255,72,255,73,255,74,255,75,255,76,255,77,255,78,255,79,255,80,255,81,255,82,255,83,255,84,255,85,255,86,255,87,255,88,255,89,255,90,255,91,255,92,255,93,255,94,255,95,255,96,255,97,255,98,255,99,255,100,255,101,255,102,255,103,255,104,255,105,256,6,256,7,256,8,256,9,256,10,256,11,256,12,256,13,256,14,256,15,256,16,256,27,256,28,256,29,256,30,256,31,256,32,256,33,256,34,256,35,256,36,256,37,256,38,256,39,256,40,256,41,256,42,256,43,256,44,256,45,256,46,256,47,256,48,256,49,256,50,256,51,256,52,256,53,256,54,256,55,256,56,256,57,256,58,256,59,256,60,256,61,256,62,256,63,256,64,256,65,256,66,256,67,256,68,256,69,256,70,256,71,256,72,256,73,256,74,256,75,256,76,256,77,256,78,256,79,256,80,256,81,256,82,256,83,256,84,256,85,256,86,256,87,256,88,256,89,256,90,256,91,256,92,256,93,256,94,256,95,256,96,256,97,256,98,256,99,256,100,256,101,256,102,256,103,256,104,256,105,256,106,256,107,257,6,257,7,257,8,257,9,257,10,257,11,257,12,257,13,257,14,257,15,257,16,257,27,257,28,257,29,257,30,257,31,257,32,257,33,257,34,257,35,257,36,257,37,257,38,257,39,257,40,257,41,257,42,257,43,257,44,257,45,257,46,257,47,257,48,257,49,257,50,257,51,257,52,257,53,257,54,257,55,257,56,257,57,257,58,257,59,257,60,257,61,257,62,257,63,257,64,257,65,257,66,257,67,257,68,257,69,257,70,257,71,257,72,257,73,257,74,257,75,257,76,257,77,257,78,257,79,257,80,257,81,257,82,257,83,257,84,257,85,257,86,257,87,257,88,257,89,257,90,257,91,257,92,257,93,257,94,257,95,257,96,257,97,257,98,257,99,257,100,257,101,257,102,258,6,258,7,258,8,258,9,258,10,258,11,258,12,258,13,258,14,258,15,258,26,258,27,258,28,258,29,258,30,258,31,258,32,258,33,258,34,258,35,258,36,258,37,258,38,258,39,258,40,258,41,258,42,258,43,258,44,258,45,258,46,258,47,258,48,258,49,258,50,258,51,258,52,258,53,258,54,258,55,258,56,258,57,258,58,258,59,258,60,258,61,258,62,258,63,258,64,258,65,258,66,258,67,258,68,258,69,258,70,258,71,258,72,258,73,258,74,258,75,258,76,258,77,258,78,258,79,258,80,258,81,258,82,258,83,258,84,258,85,258,86,258,87,258,88,258,89,258,90,258,91,258,92,258,93,258,94,258,95,258,96,258,97,258,98,258,99,258,100,258,101,258,102,258,103,258,104,258,105,259,6,259,7,259,8,259,9,259,10,259,11,259,12,259,13,259,14,259,26,259,27,259,28,259,29,259,30,259,31,259,32,259,33,259,34,259,35,259,36,259,37,259,38,259,39,259,40,259,41,259,42,259,43,259,44,259,45,259,46,259,47,259,48,259,49,259,50,259,51,259,52,259,53,259,54,259,55,259,56,259,57,259,58,259,59,259,60,259,61,259,62,259,63,259,64,259,65,259,66,259,67,259,68,259,69,259,70,259,71,259,72,259,73,259,74,259,75,259,76,259,77,259,78,259,79,259,80,259,81,259,82,259,83,259,84,259,85,259,86,259,87,259,88,259,89,259,90,259,91,259,92,259,93,259,94,259,95,259,96,259,97,259,98,259,99,259,100,259,101,259,102,259,103,259,104,259,105,260,6,260,7,260,8,260,9,260,10,260,11,260,12,260,13,260,14,260,26,260,27,260,28,260,29,260,30,260,31,260,32,260,33,260,34,260,35,260,36,260,37,260,38,260,39,260,40,260,41,260,42,260,43,260,44,260,45,260,46,260,47,260,48,260,49,260,50,260,51,260,52,260,53,260,54,260,55,260,56,260,57,260,58,260,59,260,60,260,61,260,62,260,63,260,64,260,65,260,66,260,67,260,68,260,69,260,70,260,71,260,72,260,73,260,74,260,75,260,76,260,77,260,78,260,79,260,80,260,81,260,82,260,83,260,84,260,85,260,86,260,87,260,88,260,89,260,90,260,91,260,92,260,93,260,94,260,95,260,96,260,97,260,98,260,99,260,100,260,101,260,102,260,103,260,104,260,105,260,106,260,107,260,108,260,109,260,110,260,111,260,112,260,113,261,6,261,7,261,8,261,9,261,10,261,11,261,12,261,13,261,14,261,25,261,26,261,27,261,28,261,29,261,30,261,31,261,32,261,33,261,34,261,35,261,36,261,37,261,38,261,39,261,40,261,41,261,42,261,43,261,44,261,45,261,46,261,47,261,48,261,49,261,50,261,51,261,52,261,53,261,54,261,55,261,56,261,57,261,58,261,59,261,60,261,61,261,62,261,63,261,64,261,65,261,66,261,67,261,68,261,69,261,70,261,71,261,72,261,73,261,74,261,75,261,76,261,77,261,78,261,79,261,80,261,81,261,82,261,83,261,84,261,85,261,86,261,87,261,88,261,89,261,90,261,91,261,92,261,93,261,94,261,95,261,96,261,97,261,98,261,99,261,100,261,101,261,102,261,103,261,104,261,105,261,106,261,107,261,108,261,109,261,110,261,111,261,112,261,113,261,114,261,191,261,198,262,6,262,7,262,8,262,9,262,10,262,11,262,12,262,13,262,26,262,27,262,28,262,29,262,30,262,31,262,32,262,33,262,34,262,35,262,36,262,37,262,38,262,39,262,40,262,41,262,42,262,43,262,44,262,45,262,46,262,47,262,48,262,49,262,50,262,51,262,52,262,53,262,54,262,55,262,56,262,57,262,58,262,59,262,60,262,61,262,62,262,63,262,64,262,65,262,66,262,67,262,68,262,69,262,70,262,71,262,72,262,73,262,74,262,75,262,76,262,77,262,78,262,79,262,80,262,81,262,82,262,83,262,84,262,85,262,86,262,87,262,88,262,89,262,90,262,91,262,92,262,93,262,94,262,95,262,96,262,97,262,98,262,99,262,100,262,101,262,102,262,103,262,104,262,105,262,106,262,107,262,108,262,191,262,192,262,193,262,194,262,195,262,196,262,197,262,198,263,6,263,7,263,8,263,9,263,10,263,11,263,12,263,26,263,27,263,28,263,29,263,30,263,31,263,32,263,33,263,34,263,35,263,36,263,37,263,38,263,39,263,40,263,41,263,42,263,43,263,44,263,45,263,46,263,47,263,48,263,49,263,50,263,51,263,52,263,53,263,54,263,55,263,56,263,57,263,58,263,59,263,60,263,61,263,62,263,63,263,64,263,65,263,66,263,67,263,68,263,69,263,70,263,71,263,72,263,73,263,74,263,75,263,76,263,77,263,78,263,79,263,80,263,81,263,82,263,83,263,84,263,85,263,86,263,87,263,88,263,89,263,90,263,91,263,92,263,93,263,94,263,95,263,96,263,97,263,98,263,99,263,100,263,101,263,102,263,103,263,104,263,105,263,106,263,107,263,108,263,191,263,194,264,6,264,7,264,8,264,9,264,10,264,11,264,12,264,26,264,27,264,28,264,29,264,30,264,31,264,32,264,33,264,34,264,35,264,36,264,37,264,38,264,39,264,40,264,41,264,42,264,43,264,44,264,45,264,46,264,47,264,48,264,49,264,50,264,51,264,52,264,53,264,54,264,55,264,56,264,57,264,58,264,59,264,60,264,61,264,62,264,63,264,64,264,65,264,66,264,67,264,68,264,69,264,70,264,71,264,72,264,73,264,74,264,75,264,76,264,77,264,78,264,79,264,80,264,81,264,82,264,83,264,84,264,85,264,86,264,87,264,88,264,89,264,90,264,91,264,92,264,93,264,94,264,95,264,96,264,97,264,98,264,99,264,100,264,101,264,102,264,103,264,104,264,105,264,106,264,107,264,108,264,109,264,110,264,111,264,194,265,6,265,7,265,8,265,9,265,10,265,11,265,12,265,26,265,27,265,28,265,29,265,30,265,31,265,32,265,33,265,34,265,35,265,36,265,37,265,38,265,39,265,40,265,41,265,42,265,43,265,44,265,45,265,46,265,47,265,48,265,49,265,50,265,51,265,52,265,53,265,54,265,55,265,56,265,57,265,58,265,59,265,60,265,61,265,62,265,63,265,64,265,65,265,66,265,67,265,73,265,74,265,75,265,76,265,77,265,78,265,79,265,80,265,81,265,82,265,83,265,84,265,85,265,86,265,87,265,88,265,89,265,90,265,91,265,92,265,93,265,94,265,95,265,96,265,97,265,98,265,99,265,100,265,101,265,102,265,103,265,104,265,105,265,106,265,107,265,108,265,109,265,110,265,111,265,112,265,113,265,114,265,115,265,116,265,194,266,6,266,7,266,8,266,9,266,10,266,11,266,26,266,27,266,28,266,29,266,30,266,31,266,32,266,33,266,34,266,35,266,36,266,37,266,38,266,39,266,40,266,41,266,42,266,43,266,44,266,45,266,46,266,47,266,48,266,49,266,50,266,51,266,52,266,53,266,54,266,55,266,56,266,57,266,58,266,59,266,60,266,61,266,62,266,63,266,64,266,65,266,66,266,72,266,73,266,74,266,75,266,76,266,77,266,78,266,79,266,80,266,81,266,82,266,83,266,84,266,85,266,86,266,87,266,88,266,89,266,90,266,91,266,92,266,93,266,94,266,95,266,96,266,97,266,98,266,99,266,100,266,101,266,102,266,103,266,104,266,105,266,106,266,107,266,108,266,109,266,110,266,111,266,112,266,113,266,114,266,115,266,116,266,117,266,118,266,119,266,191,266,194,267,6,267,7,267,8,267,9,267,10,267,11,267,26,267,27,267,28,267,29,267,30,267,31,267,32,267,33,267,34,267,35,267,36,267,37,267,38,267,39,267,40,267,41,267,42,267,43,267,44,267,45,267,46,267,47,267,48,267,49,267,50,267,51,267,52,267,53,267,54,267,55,267,56,267,57,267,58,267,59,267,60,267,61,267,62,267,63,267,64,267,65,267,66,267,73,267,74,267,75,267,76,267,77,267,78,267,79,267,80,267,81,267,82,267,83,267,84,267,85,267,86,267,87,267,88,267,89,267,90,267,91,267,92,267,93,267,94,267,95,267,96,267,97,267,98,267,99,267,100,267,101,267,102,267,103,267,104,267,105,267,106,267,107,267,108,267,109,267,110,267,111,267,112,267,113,267,114,267,115,267,116,267,117,267,118,267,119,267,191,267,192,267,193,267,194,267,195,267,196,267,197,267,198,268,6,268,7,268,8,268,9,268,10,268,18,268,26,268,27,268,28,268,29,268,30,268,31,268,32,268,33,268,34,268,35,268,36,268,37,268,38,268,39,268,40,268,41,268,42,268,43,268,44,268,45,268,46,268,47,268,48,268,49,268,50,268,51,268,52,268,53,268,54,268,55,268,56,268,57,268,58,268,59,268,60,268,61,268,62,268,63,268,64,268,65,268,73,268,74,268,75,268,76,268,77,268,78,268,79,268,80,268,81,268,82,268,83,268,84,268,85,268,86,268,87,268,88,268,89,268,90,268,91,268,92,268,93,268,94,268,95,268,96,268,97,268,98,268,99,268,100,268,101,268,102,268,103,268,104,268,105,268,106,268,107,268,108,268,109,268,110,268,111,268,112,268,113,268,114,268,191,268,198,269,6,269,7,269,8,269,9,269,10,269,26,269,27,269,28,269,29,269,30,269,31,269,32,269,33,269,34,269,35,269,36,269,37,269,38,269,39,269,40,269,41,269,42,269,43,269,44,269,45,269,46,269,47,269,48,269,49,269,50,269,51,269,52,269,53,269,54,269,55,269,56,269,57,269,58,269,59,269,60,269,61,269,62,269,63,269,64,269,73,269,74,269,75,269,76,269,77,269,78,269,79,269,80,269,81,269,82,269,83,269,84,269,85,269,86,269,87,269,88,269,89,269,90,269,91,269,92,269,93,269,94,269,95,269,96,269,97,269,98,269,99,269,100,269,101,269,102,269,103,269,104,269,105,269,106,269,107,269,108,269,109,269,110,269,111,269,112,269,113,270,6,270,7,270,8,270,9,270,10,270,27,270,28,270,29,270,30,270,31,270,32,270,33,270,34,270,35,270,36,270,37,270,38,270,39,270,40,270,41,270,42,270,43,270,44,270,45,270,46,270,47,270,48,270,49,270,50,270,51,270,52,270,53,270,54,270,55,270,56,270,57,270,58,270,59,270,60,270,61,270,62,270,63,270,74,270,75,270,76,270,77,270,78,270,79,270,80,270,81,270,82,270,83,270,84,270,85,270,86,270,87,270,88,270,89,270,90,270,91,270,92,270,93,270,94,270,95,270,96,270,97,270,98,270,99,270,100,270,101,270,102,270,103,270,104,270,105,270,106,270,107,270,108,270,109,270,110,270,111,270,112,270,113,270,114,270,115,270,116,270,117,270,195,270,196,270,197,270,198,271,6,271,7,271,8,271,9,271,10,271,18,271,26,271,27,271,28,271,29,271,30,271,31,271,32,271,33,271,34,271,35,271,36,271,37,271,38,271,39,271,40,271,41,271,42,271,43,271,44,271,45,271,46,271,47,271,48,271,49,271,50,271,51,271,52,271,53,271,54,271,55,271,56,271,57,271,58,271,59,271,60,271,61,271,62,271,63,271,74,271,75,271,76,271,77,271,78,271,79,271,80,271,81,271,82,271,83,271,84,271,85,271,86,271,87,271,88,271,89,271,90,271,91,271,92,271,93,271,94,271,95,271,96,271,97,271,98,271,99,271,100,271,101,271,102,271,103,271,104,271,105,271,106,271,107,271,108,271,109,271,110,271,111,271,112,271,113,271,114,271,115,271,116,271,117,271,118,271,119,271,120,271,121,271,122,271,194,271,196,271,198,272,6,272,7,272,8,272,9,272,10,272,27,272,28,272,29,272,30,272,31,272,32,272,33,272,34,272,35,272,36,272,37,272,38,272,39,272,40,272,41,272,42,272,43,272,44,272,45,272,46,272,47,272,48,272,49,272,50,272,51,272,52,272,53,272,54,272,55,272,56,272,57,272,58,272,59,272,60,272,61,272,62,272,63,272,73,272,74,272,75,272,76,272,77,272,78,272,79,272,80,272,81,272,82,272,83,272,84,272,85,272,86,272,87,272,88,272,89,272,90,272,91,272,92,272,93,272,94,272,95,272,96,272,97,272,98,272,99,272,100,272,101,272,102,272,103,272,104,272,105,272,106,272,107,272,108,272,109,272,110,272,111,272,112,272,113,272,114,272,115,272,116,272,117,272,118,272,119,272,120,272,121,272,122,272,123,272,124,272,125,272,194,272,196,272,198,273,6,273,7,273,8,273,9,273,10,273,27,273,28,273,29,273,30,273,31,273,32,273,33,273,34,273,35,273,36,273,37,273,38,273,39,273,40,273,41,273,42,273,43,273,44,273,45,273,46,273,47,273,48,273,49,273,50,273,51,273,52,273,53,273,54,273,55,273,56,273,57,273,58,273,59,273,60,273,61,273,62,273,74,273,75,273,76,273,77,273,78,273,79,273,80,273,81,273,82,273,83,273,84,273,85,273,86,273,87,273,88,273,89,273,90,273,91,273,92,273,93,273,94,273,95,273,96,273,97,273,98,273,99,273,100,273,101,273,102,273,103,273,104,273,105,273,106,273,107,273,108,273,109,273,110,273,111,273,112,273,113,273,114,273,115,273,116,273,117,273,118,273,119,273,120,273,121,273,122,273,123,273,124,273,195,273,196,273,198,274,6,274,7,274,8,274,9,274,10,274,29,274,30,274,31,274,32,274,33,274,34,274,35,274,36,274,37,274,38,274,39,274,40,274,41,274,42,274,43,274,44,274,45,274,46,274,47,274,48,274,49,274,50,274,51,274,52,274,53,274,54,274,55,274,56,274,57,274,58,274,59,274,60,274,61,274,62,274,73,274,74,274,75,274,76,274,77,274,78,274,79,274,80,274,81,274,82,274,83,274,84,274,85,274,86,274,87,274,88,274,89,274,90,274,91,274,92,274,93,274,94,274,95,274,96,274,97,274,98,274,99,274,100,274,101,274,102,274,103,274,104,274,105,274,106,274,107,274,108,274,109,274,110,274,111,274,112,274,113,274,114,274,115,274,116,274,117,274,118,274,119,274,191,275,6,275,7,275,8,275,9,275,10,275,28,275,29,275,30,275,31,275,32,275,33,275,34,275,35,275,36,275,37,275,38,275,39,275,40,275,41,275,42,275,43,275,44,275,45,275,46,275,47,275,48,275,49,275,50,275,51,275,52,275,53,275,54,275,55,275,56,275,57,275,58,275,59,275,60,275,61,275,62,275,73,275,74,275,75,275,76,275,77,275,78,275,79,275,80,275,81,275,82,275,83,275,84,275,85,275,86,275,87,275,88,275,89,275,90,275,91,275,92,275,93,275,94,275,95,275,96,275,97,275,98,275,99,275,100,275,101,275,102,275,103,275,104,275,105,275,106,275,107,275,108,275,109,275,110,275,111,275,112,275,113,275,114,275,115,275,116,275,117,275,118,275,119,275,120,275,191,275,192,275,193,275,194,275,195,275,196,275,197,275,198,276,6,276,7,276,8,276,9,276,10,276,30,276,31,276,32,276,33,276,34,276,35,276,36,276,37,276,38,276,39,276,40,276,41,276,42,276,43,276,44,276,45,276,46,276,47,276,48,276,49,276,50,276,51,276,52,276,53,276,54,276,55,276,56,276,57,276,58,276,59,276,60,276,61,276,74,276,75,276,76,276,77,276,78,276,79,276,80,276,81,276,82,276,83,276,84,276,85,276,86,276,87,276,88,276,89,276,90,276,91,276,92,276,93,276,94,276,95,276,96,276,97,276,98,276,99,276,100,276,101,276,102,276,103,276,104,276,105,276,106,276,107,276,108,276,109,276,110,276,111,276,112,276,113,276,114,276,115,276,116,276,117,276,118,276,119,276,120,276,121,276,198,277,6,277,7,277,8,277,9,277,10,277,31,277,32,277,33,277,34,277,35,277,36,277,37,277,38,277,39,277,40,277,41,277,42,277,43,277,44,277,45,277,46,277,47,277,48,277,49,277,50,277,51,277,52,277,53,277,54,277,55,277,56,277,57,277,58,277,59,277,60,277,61,277,73,277,74,277,75,277,76,277,77,277,78,277,79,277,80,277,81,277,82,277,83,277,84,277,85,277,86,277,87,277,88,277,89,277,90,277,91,277,92,277,93,277,94,277,95,277,96,277,97,277,98,277,99,277,100,277,101,277,102,277,103,277,104,277,105,277,106,277,107,277,108,277,109,277,110,277,111,277,112,277,113,277,114,277,115,277,116,277,117,277,118,277,119,277,120,277,121,277,122,277,123,277,124,277,125,277,126,277,127,277,128,277,129,277,194,277,201,278,6,278,7,278,8,278,9,278,10,278,19,278,32,278,33,278,34,278,35,278,36,278,37,278,38,278,39,278,40,278,41,278,42,278,43,278,44,278,45,278,46,278,47,278,48,278,49,278,50,278,51,278,52,278,53,278,54,278,55,278,56,278,57,278,58,278,59,278,73,278,74,278,75,278,76,278,77,278,78,278,79,278,80,278,81,278,82,278,83,278,84,278,85,278,86,278,87,278,88,278,89,278,90,278,91,278,92,278,93,278,94,278,95,278,96,278,97,278,98,278,99,278,100,278,101,278,102,278,103,278,104,278,105,278,106,278,107,278,108,278,109,278,110,278,111,278,112,278,113,278,114,278,115,278,116,278,117,278,118,278,119,278,120,278,121,278,122,278,123,278,124,278,125,278,126,278,127,278,128,278,129,278,130,278,194,278,195,278,196,278,197,278,198,278,199,278,200,278,201,279,6,279,7,279,8,279,9,279,10,279,33,279,34,279,35,279,36,279,37,279,38,279,39,279,40,279,41,279,42,279,43,279,44,279,45,279,46,279,47,279,48,279,49,279,50,279,51,279,52,279,53,279,54,279,55,279,56,279,57,279,58,279,67,279,73,279,74,279,75,279,76,279,77,279,78,279,79,279,80,279,81,279,82,279,83,279,84,279,85,279,86,279,87,279,88,279,89,279,90,279,91,279,92,279,93,279,94,279,95,279,96,279,97,279,98,279,99,279,100,279,101,279,102,279,103,279,104,279,105,279,106,279,107,279,108,279,109,279,110,279,111,279,112,279,113,279,114,279,115,279,116,279,117,279,118,279,119,279,120,279,121,279,122,279,123,279,124,279,125,279,194,279,198,279,201,280,6,280,7,280,8,280,9,280,10,280,11,280,34,280,35,280,36,280,37,280,38,280,39,280,40,280,41,280,42,280,43,280,44,280,45,280,46,280,47,280,48,280,49,280,50,280,51,280,52,280,53,280,54,280,55,280,56,280,57,280,72,280,73,280,74,280,75,280,76,280,77,280,78,280,79,280,80,280,81,280,82,280,83,280,84,280,85,280,86,280,87,280,88,280,89,280,90,280,91,280,92,280,93,280,94,280,95,280,96,280,97,280,98,280,99,280,100,280,101,280,102,280,103,280,104,280,105,280,106,280,107,280,108,280,109,280,110,280,111,280,112,280,113,280,114,280,115,280,116,280,117,280,118,280,119,280,120,280,121,280,122,280,123,280,124,280,125,280,126,280,194,280,198,281,6,281,7,281,8,281,9,281,10,281,36,281,37,281,38,281,39,281,40,281,41,281,42,281,43,281,44,281,45,281,46,281,47,281,48,281,49,281,50,281,51,281,52,281,53,281,54,281,55,281,56,281,57,281,72,281,73,281,74,281,75,281,76,281,77,281,78,281,79,281,80,281,81,281,82,281,83,281,84,281,85,281,86,281,87,281,88,281,89,281,90,281,91,281,92,281,93,281,94,281,95,281,96,281,97,281,98,281,99,281,100,281,101,281,102,281,103,281,104,281,105,281,106,281,107,281,108,281,109,281,110,281,111,281,112,281,113,281,114,281,115,281,116,281,117,281,118,281,119,281,120,281,121,281,122,281,123,281,124,281,125,281,126,281,194,281,195,281,196,281,197,281,198,282,6,282,7,282,8,282,9,282,10,282,38,282,39,282,40,282,41,282,42,282,43,282,44,282,45,282,46,282,47,282,48,282,49,282,50,282,51,282,52,282,53,282,54,282,55,282,71,282,72,282,73,282,74,282,75,282,76,282,77,282,78,282,79,282,80,282,81,282,82,282,83,282,84,282,85,282,86,282,87,282,88,282,92,282,93,282,94,282,95,282,96,282,97,282,98,282,99,282,100,282,101,282,102,282,103,282,104,282,105,282,106,282,107,282,108,282,109,282,110,282,111,282,112,282,113,282,114,282,115,282,116,282,117,282,118,282,119,282,120,282,121,282,122,282,123,282,124,282,125,283,6,283,7,283,8,283,9,283,10,283,11,283,39,283,40,283,41,283,42,283,43,283,44,283,45,283,46,283,47,283,48,283,49,283,50,283,51,283,63,283,72,283,73,283,74,283,75,283,76,283,77,283,78,283,79,283,80,283,81,283,82,283,83,283,84,283,85,283,86,283,87,283,88,283,89,283,90,283,96,283,97,283,98,283,99,283,100,283,101,283,102,283,103,283,104,283,105,283,106,283,107,283,108,283,109,283,110,283,111,283,112,283,113,283,114,283,115,283,116,283,117,283,118,283,119,283,120,283,121,283,122,283,123,283,124,283,125,284,6,284,7,284,8,284,9,284,10,284,11,284,30,284,45,284,46,284,71,284,72,284,73,284,74,284,75,284,76,284,77,284,78,284,79,284,80,284,81,284,82,284,83,284,84,284,85,284,86,284,87,284,88,284,89,284,90,284,91,284,92,284,101,284,102,284,103,284,104,284,105,284,106,284,107,284,108,284,109,284,110,284,111,284,112,284,113,284,114,284,115,284,116,284,117,284,118,284,119,284,120,284,121,284,122,284,123,284,124,284,125,284,126,284,127,284,128,284,129,284,130,284,131,285,6,285,7,285,8,285,9,285,10,285,11,285,12,285,70,285,71,285,72,285,73,285,74,285,75,285,76,285,77,285,78,285,79,285,80,285,81,285,82,285,83,285,84,285,85,285,86,285,87,285,88,285,89,285,90,285,91,285,92,285,93,285,94,285,105,285,106,285,107,285,108,285,109,285,110,285,111,285,112,285,113,285,114,285,115,285,116,285,117,285,118,285,119,285,120,285,121,285,122,285,123,285,124,285,125,285,126,285,127,285,128,285,129,285,130,285,131,285,132,285,133,286,6,286,7,286,8,286,9,286,10,286,11,286,12,286,71,286,72,286,73,286,74,286,75,286,76,286,77,286,78,286,79,286,80,286,81,286,82,286,83,286,84,286,85,286,86,286,87,286,88,286,89,286,90,286,91,286,92,286,93,286,94,286,95,286,96,286,110,286,111,286,112,286,113,286,114,286,115,286,116,286,117,286,118,286,119,286,120,286,121,286,122,286,123,286,124,286,125,286,126,286,127,286,128,286,129,286,130,286,131,286,132,286,133,286,134,286,194,286,195,286,196,286,197,286,198,287,6,287,7,287,8,287,9,287,10,287,11,287,12,287,13,287,70,287,71,287,72,287,73,287,74,287,75,287,76,287,77,287,78,287,79,287,80,287,81,287,82,287,83,287,84,287,85,287,86,287,87,287,88,287,89,287,90,287,91,287,92,287,93,287,94,287,95,287,96,287,97,287,98,287,115,287,116,287,117,287,118,287,119,287,120,287,121,287,122,287,123,287,124,287,125,287,126,287,127,287,128,287,129,287,130,287,131,287,132,287,192,287,193,287,194,287,195,287,196,287,197,287,198,287,199,287,200,288,6,288,7,288,8,288,9,288,10,288,11,288,12,288,69,288,70,288,71,288,72,288,73,288,74,288,75,288,76,288,77,288,78,288,79,288,80,288,81,288,82,288,83,288,84,288,85,288,86,288,87,288,88,288,89,288,90,288,91,288,92,288,93,288,94,288,95,288,96,288,97,288,98,288,99,288,100,288,121,288,122,288,123,288,124,288,125,288,126,288,127,288,128,288,129,288,130,288,191,288,201,289,6,289,7,289,8,289,9,289,10,289,11,289,12,289,13,289,14,289,37,289,70,289,71,289,72,289,73,289,74,289,75,289,76,289,77,289,78,289,79,289,80,289,81,289,82,289,83,289,84,289,85,289,86,289,87,289,88,289,89,289,90,289,91,289,92,289,93,289,94,289,95,289,96,289,97,289,98,289,99,289,100,289,101,289,102,289,127,289,128,289,129,290,6,290,7,290,8,290,9,290,10,290,11,290,12,290,13,290,14,290,54,290,55,290,69,290,70,290,71,290,72,290,73,290,74,290,75,290,76,290,77,290,78,290,79,290,80,290,81,290,82,290,83,290,84,290,85,290,86,290,87,290,88,290,89,290,90,290,91,290,92,290,93,290,94,290,95,290,96,290,97,290,98,290,99,290,100,290,101,290,102,290,103,290,104,290,139,290,140,290,141,290,142,290,143,290,144,290,191,290,198,291,6,291,7,291,8,291,9,291,10,291,11,291,12,291,13,291,14,291,15,291,68,291,69,291,70,291,71,291,72,291,73,291,74,291,75,291,76,291,77,291,78,291,79,291,80,291,81,291,82,291,83,291,84,291,85,291,86,291,87,291,88,291,89,291,90,291,91,291,92,291,93,291,94,291,95,291,96,291,97,291,98,291,99,291,100,291,101,291,102,291,103,291,104,291,105,291,106,291,107,291,191,291,192,291,193,291,194,291,195,291,196,291,197,291,198,292,6,292,7,292,8,292,9,292,10,292,11,292,12,292,13,292,14,292,15,292,16,292,41,292,68,292,69,292,70,292,71,292,72,292,73,292,74,292,75,292,76,292,77,292,78,292,79,292,80,292,81,292,82,292,83,292,84,292,85,292,86,292,87,292,88,292,89,292,90,292,91,292,92,292,93,292,94,292,95,292,96,292,97,292,98,292,99,292,100,292,101,292,102,292,103,292,104,292,105,292,106,292,107,292,108,292,109,292,191,292,194,292,198,293,6,293,7,293,8,293,9,293,10,293,11,293,12,293,13,293,14,293,15,293,16,293,68,293,69,293,70,293,71,293,72,293,73,293,74,293,75,293,76,293,77,293,78,293,79,293,80,293,81,293,82,293,83,293,84,293,85,293,86,293,87,293,88,293,89,293,90,293,91,293,92,293,93,293,94,293,95,293,96,293,97,293,98,293,99,293,100,293,101,293,102,293,103,293,104,293,105,293,106,293,107,293,108,293,109,293,110,293,111,293,112,293,194,294,6,294,7,294,8,294,9,294,10,294,11,294,12,294,13,294,14,294,15,294,16,294,17,294,67,294,68,294,69,294,70,294,71,294,72,294,73,294,74,294,75,294,76,294,77,294,78,294,79,294,80,294,81,294,82,294,83,294,84,294,85,294,86,294,87,294,88,294,89,294,90,294,91,294,92,294,93,294,94,294,95,294,96,294,97,294,98,294,99,294,100,294,101,294,102,294,103,294,104,294,105,294,106,294,107,294,108,294,109,294,110,294,111,294,112,294,113,294,114,294,115,294,194,295,6,295,7,295,8,295,9,295,10,295,11,295,12,295,13,295,14,295,15,295,16,295,17,295,18,295,66,295,67,295,68,295,69,295,70,295,71,295,72,295,73,295,74,295,75,295,76,295,77,295,78,295,79,295,80,295,81,295,82,295,83,295,84,295,85,295,86,295,87,295,88,295,89,295,90,295,91,295,92,295,93,295,94,295,95,295,96,295,97,295,98,295,99,295,100,295,101,295,102,295,103,295,104,295,105,295,106,295,107,295,108,295,109,295,110,295,111,295,112,295,113,295,114,295,115,295,116,295,117,295,191,295,194,295,198,296,6,296,7,296,8,296,9,296,10,296,11,296,12,296,13,296,14,296,15,296,16,296,17,296,18,296,65,296,66,296,67,296,68,296,69,296,70,296,71,296,72,296,73,296,74,296,75,296,76,296,77,296,78,296,79,296,80,296,81,296,82,296,83,296,84,296,85,296,86,296,87,296,88,296,89,296,90,296,91,296,92,296,93,296,94,296,95,296,96,296,97,296,98,296,99,296,100,296,101,296,102,296,103,296,104,296,105,296,106,296,107,296,108,296,109,296,110,296,111,296,112,296,113,296,114,296,115,296,116,296,117,296,118,296,119,296,120,296,191,296,192,296,193,296,194,296,195,296,196,296,197,296,198,297,6,297,7,297,8,297,9,297,10,297,11,297,12,297,13,297,14,297,15,297,16,297,17,297,18,297,19,297,64,297,65,297,66,297,67,297,68,297,69,297,70,297,71,297,72,297,73,297,74,297,75,297,76,297,77,297,78,297,79,297,80,297,81,297,82,297,83,297,84,297,85,297,86,297,87,297,88,297,89,297,90,297,91,297,92,297,93,297,94,297,95,297,96,297,97,297,98,297,99,297,100,297,101,297,102,297,103,297,104,297,105,297,106,297,107,297,108,297,109,297,110,297,111,297,112,297,113,297,114,297,115,297,116,297,117,297,118,297,119,297,120,297,121,297,122,297,123,297,124,297,191,297,198,298,6,298,7,298,8,298,9,298,10,298,11,298,12,298,13,298,14,298,15,298,16,298,17,298,18,298,19,298,20,298,63,298,64,298,65,298,66,298,67,298,68,298,69,298,70,298,71,298,72,298,73,298,74,298,75,298,76,298,77,298,78,298,79,298,80,298,81,298,82,298,83,298,84,298,85,298,86,298,87,298,88,298,89,298,90,298,91,298,92,298,93,298,94,298,95,298,96,298,97,298,98,298,99,298,100,298,101,298,102,298,103,298,104,298,105,298,106,298,107,298,108,298,109,298,110,298,111,298,112,298,113,298,114,298,115,298,116,298,117,298,118,298,119,298,120,298,121,298,122,298,123,298,124,298,125,298,126,298,127,299,6,299,7,299,8,299,9,299,10,299,11,299,12,299,13,299,14,299,15,299,16,299,17,299,18,299,19,299,20,299,21,299,63,299,64,299,65,299,66,299,67,299,68,299,69,299,70,299,71,299,72,299,73,299,74,299,75,299,76,299,77,299,78,299,79,299,80,299,81,299,82,299,83,299,84,299,85,299,86,299,87,299,88,299,89,299,90,299,91,299,92,299,93,299,94,299,95,299,96,299,97,299,98,299,99,299,100,299,101,299,102,299,103,299,104,299,105,299,106,299,107,299,108,299,109,299,110,299,111,299,112,299,113,299,114,299,115,299,116,299,117,299,118,299,119,299,120,299,121,299,122,299,123,299,124,299,125,299,126,299,127,299,128,299,129,299,130,299,131,299,191,299,199,299,200,299,201,300,6,300,7,300,8,300,9,300,10,300,11,300,12,300,13,300,14,300,15,300,16,300,17,300,18,300,19,300,20,300,21,300,22,300,61,300,62,300,63,300,64,300,65,300,66,300,67,300,68,300,69,300,70,300,71,300,72,300,73,300,74,300,75,300,76,300,77,300,78,300,79,300,80,300,81,300,82,300,83,300,84,300,85,300,86,300,87,300,88,300,89,300,90,300,91,300,92,300,93,300,94,300,95,300,96,300,97,300,98,300,99,300,100,300,101,300,102,300,103,300,104,300,105,300,106,300,107,300,108,300,109,300,110,300,111,300,112,300,113,300,114,300,115,300,116,300,117,300,118,300,119,300,120,300,121,300,122,300,123,300,124,300,125,300,126,300,127,300,128,300,129,300,130,300,131,300,132,300,133,300,134,300,135,300,136,300,192,300,193,300,194,300,195,300,196,300,197,300,198,300,199,300,200,301,6,301,7,301,8,301,9,301,10,301,11,301,12,301,13,301,14,301,15,301,16,301,17,301,18,301,19,301,20,301,21,301,22,301,23,301,59,301,60,301,61,301,62,301,63,301,64,301,65,301,66,301,67,301,68,301,69,301,70,301,71,301,72,301,73,301,74,301,75,301,76,301,77,301,78,301,79,301,80,301,81,301,82,301,83,301,84,301,85,301,86,301,87,301,88,301,89,301,90,301,91,301,92,301,93,301,94,301,95,301,96,301,97,301,98,301,99,301,100,301,101,301,102,301,103,301,104,301,105,301,106,301,107,301,108,301,109,301,110,301,111,301,112,301,113,301,114,301,115,301,116,301,117,301,118,301,119,301,120,301,121,301,122,301,123,301,124,301,125,301,126,301,127,301,128,301,129,301,130,301,131,301,132,301,133,301,134,301,135,301,136,301,137,301,138,301,139,301,140,301,194,301,195,301,196,301,197,301,198,302,6,302,7,302,8,302,9,302,10,302,11,302,12,302,13,302,14,302,15,302,16,302,17,302,18,302,19,302,20,302,21,302,22,302,23,302,24,302,25,302,26,302,56,302,57,302,58,302,59,302,60,302,61,302,62,302,63,302,64,302,65,302,66,302,67,302,68,302,69,302,70,302,71,302,72,302,73,302,74,302,75,302,76,302,77,302,78,302,79,302,80,302,81,302,82,302,83,302,84,302,85,302,86,302,87,302,88,302,89,302,90,302,91,302,92,302,93,302,94,302,95,302,96,302,97,302,98,302,99,302,100,302,101,302,102,302,103,302,104,302,105,302,106,302,107,302,108,302,109,302,110,302,111,302,112,302,113,302,114,302,115,302,116,302,117,302,118,302,119,302,120,302,121,302,122,302,123,302,124,302,125,302,126,302,127,302,128,302,129,302,130,302,131,302,132,302,133,302,134,302,135,302,136,302,137,302,138,302,139,303,6,303,7,303,8,303,9,303,10,303,11,303,12,303,13,303,14,303,15,303,16,303,17,303,18,303,19,303,20,303,21,303,22,303,23,303,24,303,25,303,26,303,27,303,29,303,54,303,55,303,56,303,57,303,58,303,59,303,60,303,61,303,62,303,63,303,64,303,65,303,66,303,67,303,68,303,69,303,70,303,71,303,72,303,73,303,74,303,75,303,76,303,77,303,78,303,79,303,80,303,81,303,82,303,83,303,84,303,85,303,86,303,87,303,88,303,89,303,90,303,91,303,92,303,93,303,94,303,95,303,96,303,97,303,98,303,99,303,100,303,101,303,102,303,103,303,104,303,105,303,106,303,107,303,108,303,109,303,110,303,111,303,112,303,113,303,114,303,115,303,116,303,117,303,118,303,119,303,120,303,121,303,122,303,123,303,124,303,125,303,126,303,127,303,128,303,129,303,130,303,131,303,132,303,133,303,134,303,135,303,136,303,137,303,138,303,139,303,140,303,141,303,142,303,143,303,144,303,145,303,146,303,147,303,148,303,149,303,150,304,6,304,7,304,8,304,9,304,10,304,11,304,12,304,13,304,14,304,15,304,16,304,17,304,18,304,19,304,20,304,21,304,22,304,23,304,24,304,25,304,26,304,27,304,28,304,29,304,30,304,31,304,32,304,52,304,53,304,54,304,55,304,56,304,57,304,58,304,59,304,60,304,61,304,62,304,63,304,64,304,65,304,66,304,67,304,68,304,69,304,70,304,71,304,72,304,73,304,74,304,75,304,76,304,77,304,78,304,79,304,80,304,81,304,82,304,83,304,84,304,85,304,86,304,87,304,88,304,89,304,90,304,91,304,92,304,93,304,94,304,95,304,96,304,97,304,98,304,99,304,100,304,101,304,102,304,103,304,104,304,105,304,106,304,107,304,108,304,109,304,110,304,111,304,112,304,113,304,114,304,115,304,116,304,117,304,118,304,119,304,120,304,121,304,122,304,123,304,124,304,125,304,126,304,127,304,128,304,129,304,130,304,131,304,132,304,133,304,134,304,135,304,136,304,137,304,138,304,139,304,140,304,141,304,142,304,143,304,144,304,145,304,146,304,147,304,148,304,149,304,150,305,6,305,7,305,8,305,9,305,10,305,11,305,12,305,13,305,14,305,15,305,16,305,17,305,18,305,19,305,20,305,21,305,22,305,23,305,24,305,25,305,26,305,27,305,28,305,29,305,30,305,31,305,32,305,33,305,34,305,35,305,38,305,50,305,51,305,52,305,53,305,54,305,55,305,56,305,57,305,58,305,59,305,60,305,61,305,62,305,63,305,64,305,65,305,66,305,67,305,68,305,69,305,70,305,71,305,72,305,73,305,74,305,75,305,76,305,77,305,78,305,79,305,80,305,81,305,82,305,83,305,84,305,85,305,86,305,87,305,88,305,89,305,90,305,91,305,92,305,93,305,94,305,95,305,96,305,97,305,98,305,99,305,100,305,101,305,102,305,103,305,104,305,105,305,106,305,107,305,108,305,109,305,110,305,111,305,112,305,113,305,114,305,115,305,116,305,117,305,118,305,119,305,120,305,121,305,122,305,123,305,124,305,125,305,126,305,127,305,128,305,129,305,130,305,131,305,132,305,133,305,134,305,135,305,136,305,137,305,138,305,139,305,140,305,141,305,142,306,6,306,7,306,8,306,9,306,10,306,11,306,12,306,13,306,14,306,15,306,16,306,17,306,18,306,19,306,20,306,21,306,22,306,23,306,24,306,25,306,26,306,27,306,28,306,29,306,30,306,31,306,32,306,33,306,34,306,35,306,36,306,37,306,38,306,39,306,40,306,41,306,43,306,44,306,45,306,46,306,47,306,48,306,49,306,50,306,51,306,52,306,53,306,54,306,55,306,56,306,57,306,58,306,59,306,60,306,61,306,62,306,63,306,64,306,65,306,66,306,67,306,68,306,69,306,70,306,71,306,72,306,73,306,74,306,75,306,76,306,77,306,78,306,79,306,80,306,81,306,82,306,83,306,84,306,85,306,86,306,87,306,88,306,89,306,90,306,91,306,92,306,93,306,94,306,95,306,96,306,97,306,98,306,99,306,100,306,101,306,102,306,103,306,104,306,105,306,106,306,107,306,108,306,109,306,110,306,111,306,112,306,113,306,114,306,115,306,116,306,117,306,118,306,119,306,120,306,121,306,122,306,123,306,124,306,125,306,126,306,127,306,128,306,129,306,130,306,131,306,132,306,133,306,134,306,135,306,136,306,137,306,138,306,139,306,140,306,141,306,142,306,143,306,144,307,6,307,7,307,8,307,9,307,10,307,11,307,12,307,13,307,14,307,15,307,16,307,17,307,18,307,19,307,20,307,21,307,22,307,23,307,24,307,25,307,26,307,27,307,28,307,29,307,30,307,31,307,32,307,33,307,34,307,35,307,36,307,37,307,38,307,39,307,40,307,41,307,42,307,43,307,44,307,45,307,46,307,47,307,48,307,49,307,50,307,51,307,52,307,53,307,54,307,55,307,56,307,57,307,58,307,59,307,60,307,61,307,62,307,63,307,64,307,65,307,66,307,67,307,68,307,69,307,70,307,71,307,72,307,73,307,74,307,75,307,76,307,77,307,78,307,79,307,80,307,81,307,82,307,83,307,84,307,85,307,86,307,87,307,88,307,89,307,90,307,91,307,92,307,93,307,94,307,95,307,96,307,97,307,98,307,99,307,100,307,101,307,102,307,103,307,104,307,105,307,106,307,107,307,108,307,109,307,110,307,111,307,112,307,113,307,114,307,115,307,116,307,117,307,118,307,119,307,120,307,121,307,122,307,123,307,124,307,125,307,126,307,127,307,128,307,129,307,130,307,131,307,132,307,133,307,134,307,135,307,136,307,137,307,138,307,139,307,140,307,141,307,142,307,143,307,144,307,145,308,6,308,7,308,8,308,9,308,10,308,11,308,12,308,13,308,14,308,15,308,16,308,17,308,18,308,19,308,20,308,21,308,22,308,23,308,24,308,25,308,26,308,27,308,28,308,29,308,30,308,31,308,32,308,33,308,34,308,35,308,36,308,37,308,38,308,39,308,40,308,41,308,42,308,43,308,44,308,45,308,46,308,47,308,48,308,49,308,50,308,51,308,52,308,53,308,54,308,55,308,56,308,57,308,58,308,59,308,60,308,61,308,62,308,63,308,64,308,65,308,66,308,67,308,68,308,69,308,70,308,71,308,72,308,73,308,74,308,75,308,76,308,77,308,78,308,79,308,80,308,81,308,82,308,83,308,84,308,85,308,86,308,87,308,88,308,89,308,90,308,91,308,92,308,93,308,94,308,95,308,96,308,97,308,98,308,99,308,100,308,101,308,102,308,103,308,104,308,105,308,106,308,107,308,108,308,109,308,110,308,111,308,112,308,113,308,114,308,115,308,116,308,117,308,118,308,119,308,120,308,121,308,122,308,123,308,124,308,125,308,126,308,127,308,128,308,129,308,130,308,131,308,132,308,133,308,134,308,135,308,136,308,137,308,138,308,139,308,140,308,141,308,142,308,143,308,144,308,145}; while coords[idx] ~= nil do gfx:fillRect(coords[idx], coords[idx + 1], 1, 1); idx = idx + 2; end coords = nil; local death_key_found = false; for k, v in pairs(var.list()) do if StringContains(v, "dto_"..tostring(CHAPTER_KEY) .."_") then if var.recall(v) ~= -1 then death_key_found = true; end end end SHOW_CONTINUATION = death_key_found; if death_key_found == false then gfx:setColorRGB(0, 0, 0); gfx:fillRect(4, 191, 118, 16); end end --START OF GLOBALS DO NOT DELETE THIS LINE math.randomseed(timer.getMilliSecCounter()); function GET_STATE(key, scene) local variable = -1; if scene == 0 then variable = var.recall("jto_" .. CHAPTER_KEY .. "_" .. key); end if scene > 0 then variable = var.recall("jto_" .. CHAPTER_KEY .. "_" .. tostring(scene) .. "_" .. key); end if type(variable) == "number" then return variable; end return -1; end function PUT_STATE(key, scene, value, description) local k = "jto_" .. CHAPTER_KEY .. "_" .. tostring(scene) .. "_" .. key; if scene == 0 then k = "jto_" .. CHAPTER_KEY .. "_" .. key; end var.store(k, value); end --Global Vars TEST_VAR = "test"; CHAPTER_KEY = "1"; SCENE_DATA = nil; GFX = nil; ALPHA_RED = 255; ALPHA_GREEN = 255; ALPHA_BLUE = 255; IN_TRANSITION = false; TRANSITION_IDX = 0; REN_EXP = 0; KEY_PRESSES_ALLOWED = true; SHOW_CONTINUATION = false; MONSTER_TRANSITION_IDX = 0; MONSTER_IDX = 1; FOLLOWER = (GET_STATE("follower", 0) == 1); LAST_FOLLOWER_X = -1; LAST_FOLLOWER_Y = -1; LAST_FOLLOWER_DIR = nil; HAS_STEPPED_IN_SCENE = false; -- boat IN_BOAT = (GET_STATE("boat", 0) == 1); BOAT_DIR_IDX = 1 if GET_STATE("boat_dir", 0) > -1 then BOAT_DIR_IDX = GET_STATE("boat_dir", 0); end RENDER_REQUIRED = true; CURRENT_SCENE = 1; SCENE_ENTRANCE_REQUIRED = false; MAP_X_OFFSET = nil; MAP_Y_OFFSET = nil; PLAYER_X_OFFSET = nil; PLAYER_Y_OFFSET = nil; --SCREEN OFFSETS are the players's position (0 to 5 [x], 0 to 3 [y]) SCREEN_X_OFFSET = nil; SCREEN_Y_OFFSET = nil; PLAYER_DIR = nil; -- warping WARP_PLAYER_X = nil; WARP_PLAYER_Y = nil; WARP_MAP_X = nil; WARP_MAP_Y = nil; WARP_SCREEN_X = nil; WARP_SCREEN_Y = nil; WARP_PLAYER_DIR = nil; STARTED_FROM_CONTINUATION = false; -- GAME EASE/DIFFICULTY REN_ATTACK_WEIGHT = 1.0; REN_DEFENSE_WEIGHT = 1.0; MONSTER_ATTACK_WEIGHT = 1.0; MONSTER_DEFENSE_WEIGHT = 1.0; MONSTER_HP_FACTOR = 1.0; -- Drop State Box CURRENT_DROP_STATE_INPUT = ""; DROP_STATE_BOX_INITIALIZED = false; DROP_STATE_EDITOR_BOX = nil; -- GAME MODES IS_SCENE_MODE = false; IS_DIALOG_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_DROP_STATE_MODE = false; IS_BATTLE_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; IS_MAIN_MENU_MODE = true; -- DIALOG vars CURRENT_DIALOG_COPY = ""; PREVIOUS_DIALOG_COPY = ""; DIALOG_FONT_SIZE = 10; DIALOG_SHOULD_ADVANCE = false; DIALOG_CAN_GO_BACK = false; DIALOG_CALLBACK = function() end; -- INN CURRENT_INN_ITEM_KEYS = {"2mg_g"}; EXIT_INN_ITEM_KEYS = {"2mg_g"}; -- the current index of the item being displayed at the merchant window INN_ITEM_IDX = 0; -- BATTLE Vars -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); CURRENT_MONSTER_HP = 0; CURRENT_MONSTER_DEFENSE = 0; CURRENT_GOLD_TO_YIELD = 0; CURRENT_EXP_TO_YIELD = 0; TOTAL_MONSTER_HP = 0; IS_REN_BATTLE_TURN = false; CURRENT_MONSTER_ATTACK_WEIGHT = 0; REN_ATTACK_MILLIS = 0; SHOULD_FLASH_MONSTER = false; MONSTER_FLASHING_MILLIS = 0; MONSTER_DAMAGE_MILLIS = 0; SHOULD_SHOW_MONSTER_DAMAGE = false; SHOW_REN_DAMAGE_MILLIS = 0; SHOULD_FLASH_REN = false; SHOULD_SHOW_MONSTER_HP = true; REN_SHOW_DAMAGE_MILLIS = 0; SHOULD_SHOW_REN_DAMAGE = false; REN_ATTACKS_MONSTER = false; MONSTER_ATTACKS_REN = false; TURN_RESET_MILLIS = 0; REN_WON_BATTLE_MILLIS = 0; REN_WON_BATTLE = false; SHOULD_SHOW_REN_WON = false; MONSTER_WON_BATTLE_MILLIS = 0; MONSTER_WON_BATTLE = true; SHOULD_SHOW_MONSTER_WON = false; EXP_YIELDED = false; GOLD_YIELDED = false; ON_BATTLE_WON = function() end; ON_BATTLE_WON_TWO = function() end; ON_BATTLE_START = function() end; BATTLE_ITEMS_IN_INVENTORY = {}; BATTLE_ITEM_BROWSING_IDX = 1; CAN_GAIN_LEVEL = false; ATTACK_PRIME = 0; -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); -- LOOK AT RESET_BATTLE(); -- inn vars CURRENT_INN_PRICE = 5; PAID_INNKEEPER = false; -- cut scene vars CURRENT_CUT_SCENE_NUMBER = 0; CUT_SCENE_ITEM_IDX = 0; -- items entry point ITEMS = { {name="2MG Ginseng", price=7, key="2mg_g", on_used=function() RESTORE_REN_HP_FIXED(15); end, description="Restores 15 HP"}, {name="5MG Ginseng", price=25, key="5mg_g", on_used=function() RESTORE_REN_HP_FIXED(30); end, description="Restores 30 HP"}, {name="5MG Blue Ginseng", price=50, key="bmg5_g", on_used=function() RESTORE_REN_HP_FIXED(35) end, description="Restores 35 HP"}, {name="Cherry Oil", price=1200, key="b1", on_used=function() ATTACK_PRIME = 50 end, description="Applied to sword, primes next attack for +50 damage"}, {name="10MG Blue Ginseng", price=50, key="bmg10_g", on_used=function() RESTORE_REN_HP_FIXED(50) end, description="Restores 50 HP"}, {name="Boysenberry Extract", price=1800, key="bye_1", on_used=function() ATTACK_PRIME = 100 end, description="Applid to sword, primes next attack for +100 damage"}, {name="Fennel Extract", price=160, key="fxt_1", on_used=function() RESTORE_REN_HP_FIXED(75) end, description="Restores 75 HP"}, {name="Honeysuckle Oil", price=2200, key="hsx_1", on_used=function() ATTACK_PRIME = 150 end, description="Applied to sword, primes next attack for +150 damage"} }; --items exit point -- exp table entry point EXP_DATA = { {level=2, hp_boost=10, attack_boost=4, defense_boost=1, exp_required=120}, {level=3, hp_boost=5, attack_boost=2, defense_boost=3, exp_required=800}, {level=4, hp_boost=15, attack_boost=2, defense_boost=1, exp_required=2500}, {level=5, hp_boost=10, attack_boost=0, defense_boost=0, exp_required=22000}, {level=6, hp_boost=15, attack_boost=0, defense_boost=0, exp_required=27000}, {level=1000, hp_boost=1, attack_boost=1, defense_boost=1, exp_required=100000000} }; -- exp table exit point function deepcopy(orig, copies) copies = copies or {} local orig_type = type(orig) local copy if orig_type == 'table' then if copies[orig] then copy = copies[orig] else copy = {} copies[orig] = copy for orig_key, orig_value in next, orig, nil do copy[deepcopy(orig_key, copies)] = deepcopy(orig_value, copies) end setmetatable(copy, deepcopy(getmetatable(orig), copies)) end else -- number, string, boolean, etc copy = orig end return copy end function POPULATE_BATTLE_ITEMS() local items_in_inventory = {}; for idx, tbl in pairs(ITEMS) do local inv_check = GET_STATE(tbl.key .. "i", 0); if inv_check > 0 then local temp_tbl = {}; temp_tbl.key = tbl.key; temp_tbl.description = tbl.description; temp_tbl.name = tbl.name; temp_tbl.fn = tbl.on_used; temp_tbl.tally = inv_check; table.insert(items_in_inventory, temp_tbl); end end BATTLE_ITEMS_IN_INVENTORY = items_in_inventory; end function GET_ITEM(key, tally) local current_inventory = GET_STATE(key .. "i", 0); if current_inventory == -1 then current_inventory = 0 end current_inventory = current_inventory + tally; PUT_STATE(key .. "i", 0, current_inventory, "Incrementing inventory..."); end function BROWSE_BATTLE_ITEMS() POPULATE_BATTLE_ITEMS(); local idx = BATTLE_ITEM_BROWSING_IDX; local items = BATTLE_ITEMS_IN_INVENTORY; local item = items[idx]; local gfx = GFX; gfx:setColorRGB(0, 0, 0); gfx:fillRect(0, 0, 318, 212); gfx:setFont("serif", "b", 12); local str1 = "Battle Items"; local str1_width = gfx:getStringWidth(str1); gfx:setColorRGB(255, 255, 255); gfx:drawString(str1, math.floor((318 * 0.5) - (str1_width * 0.5)), 12); gfx:fillRect(20, 35, 278, 1); gfx:setFont("serif", "r", 10); local str2 = "Item: " .. item.name; gfx:drawString(str2, 20, 45); local str3 = "Description:"; gfx:drawString(str3, 20, 90); local str4 = item.description; gfx:drawString(str4, 20, 110); local str5 = "Press U to Use (You have " .. tostring(item.tally) .. ")"; gfx:drawString(str5, 20, 130); local str6 = "Press L/R arrows to paginate, or X to cancel" local str6_height = gfx:getStringHeight(str6); gfx:drawString(str6, 20, 212 - 10 - str6_height); platform.window:invalidate(); end function BROWSE_MERCHANT_ITEMS(idx) -- IS_MERCHANT_MODE if idx == nil then CURRENT_INN_ITEMS_FOR_SALE = {}; local idx2 = 1; while ITEMS[idx2] ~= nil do for key,value in pairs(CURRENT_INN_ITEM_KEYS) do if value == ITEMS[idx2].key then table.insert(CURRENT_INN_ITEMS_FOR_SALE, ITEMS[idx2]); end end idx2 = idx2 + 1; end BROWSE_MERCHANT_ITEMS(1); return; end CURRENT_INN_ITEM_IDX = idx; GFX:setFont("serif", "b", 12); local str1 = "Welcome! What would you like to buy?"; GFX:setColorRGB(0, 0, 0); GFX:fillRect(0, 0, 318, 212); GFX:setColorRGB(255, 255, 255); local str1_width = GFX:getStringWidth(str1); GFX:setFont("serif", "b", 11); GFX:drawString(str1, (318 * 0.5) - (str1_width * 0.5), 16); local str2 = CURRENT_INN_ITEMS_FOR_SALE[idx].name; local str2_width = GFX:getStringWidth(str2); GFX:setFont("serif", "r", 9); GFX:drawString(str2, 23, 45); GFX:setFont("serif", "r", 8); local str3 = "Description:"; local str3_width = GFX:getStringWidth(str3); GFX:drawString(str3, 23, 68); local str4 = CURRENT_INN_ITEMS_FOR_SALE[idx].description; GFX:drawString(str4, 23, 80); local str5 = "Price:"; GFX:drawString(str5, 23, 100); local str6 = tostring(CURRENT_INN_ITEMS_FOR_SALE[idx].price) .. "g"; GFX:drawString(str6, 24, 112); local current_inventory = GET_STATE(CURRENT_INN_ITEMS_FOR_SALE[idx].key .. "i", 0); if current_inventory == -1 then current_inventory = 0; end local str7 = "You currently have: " .. tostring(current_inventory) .. " of this item"; GFX:drawString(str7, 23, 135); local str8 = "You have: " .. tostring(PEEK_MONEY()) .. "g"; GFX:drawString(str8, 23, 145); GFX:setFont("serif", "b", 8); local str9 = "Press B to buy, browse other items with L/R arrows"; local str9_width = GFX:getStringWidth(str9); GFX:drawString(str9, 23, 175); local str11 = "Press S to sell for " .. tostring(math.floor(CURRENT_INN_ITEMS_FOR_SALE[idx].price * 0.8)) .. "g"; local str11_width = GFX:getStringWidth(str11); GFX:drawString(str11, 23, 186); local str10 = "Press X to exit"; local str10_width = GFX:getStringWidth(str10); GFX:drawString(str10, 23, 197); platform.window:invalidate(); end function GET_REN_EXP() local curr = GET_STATE("exp", 0); if curr == -1 then curr = 0; end return curr; end function ADD_REN_EXP(amt) local curr = GET_REN_EXP(); curr = curr + amt; PUT_STATE("exp", 0, curr, "Ren's EXP (Experience)"); end function GET_REN_LEVEL() local lvl = GET_STATE("ren_lvl", 0); if lvl == -1 then lvl = 1; end return lvl; end function INCREMENT_REN_LEVEL() local curr = GET_REN_LEVEL(); local curr2 = GET_REN_LEVEL(); curr = curr + 1; PUT_STATE("ren_lvl", 0, curr, "Adding Ren's Level"); local curr_sword_shield_idx = curr2 - 1; local curr_sword = GET_SWORD_DATA(curr_sword_shield_idx); local curr_shield = GET_SHIELD_DATA(curr_sword_shield_idx); local next_sword_shield_idx = curr2; local next_sword = GET_SWORD_DATA(next_sword_shield_idx); local next_shield = GET_SHIELD_DATA(next_sword_shield_idx); SET_SWORD(curr2); SET_SHIELD(curr2); local attack_diff = (next_sword.attack - curr_sword.attack); local shield_diff = (next_shield.defense - curr_shield.defense); return {attack_boost=attack_diff, shield_boost = shield_diff}; end function GET_MONEY(amt) local current_wallet = GET_STATE("money", 0); if current_wallet >= 2000000000 then return; end if current_wallet < 0 then current_wallet = 0; end current_wallet = current_wallet + amt; PUT_STATE("money", 0, current_wallet, "Money..."); end function PEEK_MONEY() wallet = GET_STATE("money", 0); if wallet == -1 then wallet = 0; end return wallet; end function SPEND_MONEY(amt) wallet = GET_STATE("money", 0); wallet = wallet - amt; PUT_STATE("money", 0, wallet, "Money..."); end function RESTORE_REN_HP_PERCENTAGE(dec_amt) local all_hp = GET_HP(); local amt_to_restore = math.floor(all_hp * dec_amt); local curr_hp = GET_REN_HP(); local new_hp = curr_hp + amt_to_restore; if new_hp > all_hp then new_hp = all_hp; end SET_REN_HP(new_hp); end function RESTORE_REN_HP_FIXED(amt) local all_hp = GET_HP(); local amt_to_restore = amt local curr_hp = GET_REN_HP(); local new_hp = curr_hp + amt_to_restore; if new_hp > all_hp then new_hp = all_hp; end SET_REN_HP(new_hp); end -- HP Capacity function GET_HP() local hp = var.recall("jto_" .. CHAPTER_KEY .. "_hp"); if hp == nil or hp == -1 then return 20; end return hp end function INCREMENT_REN_HP(amt) local curr_hp = GET_HP(); curr_hp = curr_hp + amt; var.store("jto_" .. CHAPTER_KEY .. "_hp", curr_hp); SET_REN_HP(curr_hp); end -- the current HP function GET_REN_HP() local r_hp = var.recall("jto_" .. CHAPTER_KEY .. "_rhp"); if r_hp == nil or r_hp == -1 then return 20; end return r_hp; end function SET_REN_HP(amt) PUT_STATE("rhp", 0, amt, "Current HP while battling"); end function DROP_STATE(key, scene) if key == "*" then local v_list = var.list(); for k, v in pairs(v_list) do if StringContains(v, "jto_" .. tostring(CHAPTER_KEY) .. "_") then var.store(v, -1); end if StringContains(v, "dto_" .. tostring(CHAPTER_KEY) .. "_") then var.store(v, -1); end end return; end local k = "jto_" .. CHAPTER_KEY .. "_" .. tostring(scene) .. "_" .. key; if scene == 0 then k = "jto_" .. CHAPTER_KEY .. "_" .. key; end var.store(k, -1); end function DIE() if GET_STATE("rdt", 0) == -1 then CURRENT_SCENE = 1000; WARP_MAP_X = 13 WARP_MAP_Y = 10; WARP_PLAYER_X = 14 WARP_PLAYER_Y = 13 WARP_SCREEN_X = 1; WARP_SCREEN_Y = 3; WARP_PLAYER_DIR = "up"; MAP_X_OFFSET = 13; MAP_Y_OFFSET = 10; PLAYER_X_OFFSET = 14 PLAYER_Y_OFFSET = 13; SCREEN_X_OFFSET = 1; SCREEN_Y_OFFSET = 3; PLAYER_DIR = "up"; --local death_tally = GET_STATE("rdt", 0); --if death_tally == -1 then PUT_STATE("rdt", 0, 1, "Ren's death count"); PUT_STATE("iwpx", 0, 6, "Returning from inn player x"); PUT_STATE("iwpy", 0, 11, "Returning from inn player x"); PUT_STATE("iwmx", 0, 5, "Returning from inn map x"); PUT_STATE("iwmy", 0, 9, "Returning from inn map x"); PUT_STATE("iwsx", 0, 1, "Returning from inn screen x"); PUT_STATE("iwsy", 0, 2, "Returning from inn screen y"); PUT_STATE("iwcs", 0, 2, "Returning from inn current screen"); SCENE_ENTRANCE_REQUIRED = true; SET_MODE("scene"); platform.window:invalidate(); return; end --end timer.stop(); --SCENE_ENTRANCE_REQUIRED = true; --SET_MODE("scene"); --platform.window:invalidate(); SET_MODE("main_menu"); platform.window:invalidate(); end function SAVE_STATE() KEY_PRESSES_ALLOWED = false; local v_list = var.list(); local new_vars = {}; for k, v in pairs(v_list) do if StringContains(v, "jto_" .. tostring(CHAPTER_KEY) .. "_") then local data = {}; data["key"] = string.gsub(v, "jto_", "dto_"); data["value"] = var.recall(v); --var.store(v, -1); table.insert(new_vars, data); end end for k, v in pairs(new_vars) do var.store(v.key, v.value); end --KEY_PRESSES_ALLOWED = true; end function REVIVE() KEY_PRESSES_ALLOWED = false; -- restore inn items from save slots local cnt = 1; local new_items = {}; local new_keys = {}; while cnt < 11 do local value = GET_STATE("mis" .. tostring(cnt), 0); if value ~= -1 then local item = ITEMS[value]; table.insert(new_items, item); table.insert(new_keys, item.key); end cnt = cnt + 1; end --CURRENT_INN_ITEMS_FOR_SALE = new_items; CURRENT_INN_ITEM_KEYS = new_keys; EXIT_INN_ITEM_KEYS = deepcopy(new_keys); -- The Inn price CURRENT_INN_PRICE = GET_STATE("innp", 0); if CURRENT_INN_PRICE == -1 then CURRENT_INN_PRICE = 5; end local v_list = var.list(); for k, v in pairs(v_list) do if StringContains(v, "jto_" .. tostring(CHAPTER_KEY) .. "_") then var.store(v, -1); end end for k, v in pairs(v_list) do if StringContains(v, "dto_" .. tostring(CHAPTER_KEY) .. "_") then local replaced = string.gsub(v, "dto_", "jto_"); var.store(replaced, var.recall(v)); var.store(v, -1); end end SAVE_STATE(); PAID_INNKEEPER = true; KEY_PRESSES_ALLOWED = true; FOLLOWER = (GET_STATE("follower", 0) == 1); IN_BOAT = (GET_STATE("boat", 0) == 1); BOAT_DIR_IDX = 1 if GET_STATE("boat_dir", 0) > -1 then BOAT_DIR_IDX = GET_STATE("boat_dir", 0); end end function SET_MODE(key) -- be sure to update the initial mode vars in the main global vars at top of code file if key == "dialog" then IS_DIALOG_MODE = true; IS_SCENE_MODE = false; DIALOG_CAN_GO_BACK = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; end if key == "scene" then IS_DIALOG_MODE = false; IS_SCENE_MODE = true; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; end if key == "transition" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_TRANSITION_MODE = true; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; TRANSITION_IDX = 0; timer.stop(); timer.start(0.0125); end if key == "monster_transition" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = true; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; MONSTER_TRANSITION_IDX = 0; timer.stop(); timer.start(0.025); end if key == "battle" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = true; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; end if key == "drop_state" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_DROP_STATE_MODE = true; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; CURRENT_DROP_STATE_INPUT = "{key}-{scene}--- or ------- to delete all data {key}-{scene}-() to view data"; DROP_STATE_BOX_INITIALIZED = false; timer.stop(); timer.start(0.1); end if key == "main_menu" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = true; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = false; end if key == "merchant" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = true; IS_BROWSE_BATTLE_MODE = false; end if key == "battle_item" then IS_DIALOG_MODE = false; IS_SCENE_MODE = false; IS_MONSTER_TRANSITION_MODE = false; IS_TRANSITION_MODE = false; IS_BATTLE_MODE = false; IS_DROP_STATE_MODE = false; IS_MAIN_MENU_MODE = false; IS_MERCHANT_MODE = false; IS_BROWSE_BATTLE_MODE = true; end end function TableLength(tbl) local count = 0; for _ in pairs(tbl) do count = count + 1; end return count; end function PrePadString(str, length) local curr_len = string.len(str); while curr_len ~= length do str = "0" .. str curr_len = string.len(str); end return str; end function SplitString(s, delimiter) local result = {}; for match in (s..delimiter):gmatch("(.-)"..delimiter) do table.insert(result, match); end return result; --indexing starts at 1, not 0... end function StringContains(str, search) if string.match(str, search) then return true; end return false; end function render_battle_separator() GFX:setColorRGB(0, 0, 0); GFX:fillRect(0, 105, 318, 2); end function TableHasKey(tbl, key) return tbl[key] ~= nil; end function TrimString(s) return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end function StringReplace(str, search, replacement) return str:gsub(search, replacement); end function on.paint(gc) GFX = gc; main(); end function CHECK_FOR_MONSTERS(bypass) if bypass then return false; end if SCENE_DATA["monsters_enabled"] == false then return false; end if SCENE_DATA["boat_scene"] and IN_BOAT == false then return false; end local frequency = SCENE_DATA["monster_apperance_frequency_percentage"]; local int = math.random(1, 100); if int <= frequency then SET_MODE("monster_transition"); ON_BATTLE_START(); return true; end return false; end function CHECK_FOR_BOAT_ENTRANCE() if not IN_BOAT then local player_x = PLAYER_X_OFFSET; local player_y = PLAYER_Y_OFFSET; for k, v in pairs(SCENE_DATA.boat_entrance_coords) do if v == tostring(player_x) .. "," .. tostring(player_y) then IN_BOAT = true; PUT_STATE("boat", 0, 1, "inside the boat"); SCENE_DATA["boat_entrance_callbacks"][k](); platform.window:invalidate(); return true; end end end return false; end function CHECK_FOR_BOAT_EXIT() if IN_BOAT then local player_x = PLAYER_X_OFFSET; local player_y = PLAYER_Y_OFFSET; for k, v in pairs(SCENE_DATA.boat_exit_coords) do if v == tostring(player_x) .. "," .. tostring(player_y) then IN_BOAT = false; PUT_STATE("boat", 0, 0, "outside the boat"); local curr_vals = SplitString(SCENE_DATA.boat_entrance_coords[k], ","); local curr_x = curr_vals[1]; local curr_y = curr_vals[2]; -- SAVING BOAT TILES PUT_STATE("boat_resx", 0, tonumber(curr_x), "boat x off"); PUT_STATE("boat_resy", 0, tonumber(curr_y), "boat y off"); PUT_STATE("boat_resz", 0, tonumber(CURRENT_SCENE)); PUT_STATE("boat_resd", 0, tonumber(BOAT_DIR_IDX), "boat direction for restoring") SCENE_DATA["boat_exit_callbacks"][k](); platform.window:invalidate(); return true; end end end return false; end function CHECK_FOR_BOAT_RESTORE() if GET_STATE("boat_resz", 0) == CURRENT_SCENE then local b_x = GET_STATE("boat_resx", 0); if b_x > -1 then local b_y = GET_STATE("boat_resy", 0); if b_y > -1 then if not IN_BOAT then SCENE_DATA["tile_at_" .. tostring(b_x) .. "," .. tostring(b_y)] = render_ocean_0001; end end end end end function UNPACK_SCENE() local scene_data = SCENE_DATA; -- first step, fill in the default tile local xx = 0; local yy = 0; while xx < scene_data["tile_x_count"] do while yy < scene_data["tile_y_count"] do scene_data["tile_at_" .. tostring(xx) .. "," .. tostring(yy)] = scene_data["default_tile"]; yy = yy + 1; end yy = 0; xx = xx + 1; end local fn_names = SplitString(scene_data["render_fns_list"], ","); local current_idx = 1; local coord_idx = 1; local unpacked = nil; local x_coord = nil; local y_coord = nil; local current_coords = nil; local key = nil; while fn_names[current_idx] ~= nil do if fn_names[current_idx] ~= scene_data["default_tile_name"] then unpacked = scene_data[fn_names[current_idx] .. "_coordinates"]; if unpacked ~= nil then coord_strings = SplitString(unpacked, ","); while coord_strings[coord_idx] ~= nil do current_coords = SplitString(coord_strings[coord_idx], "_"); x_coord = current_coords[1]; y_coord = current_coords[2]; key = "tile_at_" .. x_coord .. "," .. y_coord; scene_data[key] = _G[fn_names[current_idx]]; coord_idx = coord_idx + 1; end end coord_idx = 1 end current_idx = current_idx + 1; end CHECK_FOR_BOAT_RESTORE(); local coordinates = nil; if scene_data["movement_key"] == "allowed" then coordinates = SplitString(scene_data["allowed_coordinates"], "|"); end if scene_data["movement_key"] == "blocked" then coordinates = SplitString(scene_data["blocked_coordinates"], "|"); end local idx2 = 1; local unpacked2 = nil; local x2 = nil; local y2 = nil; local split2 = nil; local curr2 = nil; while coordinates[idx2] ~= nil do unpacked2 = SplitString(coordinates[idx2], "_"); scene_data["movement_" .. scene_data["movement_key"] .. "_at_" .. unpacked2[1] .. "," .. unpacked2[2]] = true; idx2 = idx2 + 1; end HAS_STEPPED_IN_SCENE = false; end function render_scene() local x_count = 0; local y_count = 0; local x_off = 0; local y_off = 0; local s = SCENE_DATA; while x_count < 6 do while y_count < 4 do s["tile_at_" .. tostring(MAP_X_OFFSET + x_count) .. "," .. tostring(MAP_Y_OFFSET + y_count)](53 * x_count, 53 * y_count); y_count = y_count + 1; end x_count = x_count + 1; y_count = 0; end end function render_player() local fn_name = "render_player_" .. PLAYER_DIR; local fn = _G[fn_name]; if IN_BOAT then fn = render_ocean_0001; if BOAT_DIR_IDX == 0 then fn = render_ocean_0010; end end fn(SCREEN_X_OFFSET * 53, SCREEN_Y_OFFSET * 53); if IN_BOAT then return; end local fn2 = _G["render_follower_" .. PLAYER_DIR] if not HAS_STEPPED_IN_SCENE then fn2 = function(nada, bada) end; end local m_key = SCENE_DATA.movement_key local follower_rendered = false; LAST_FOLLOWER_DIR = PLAYER_DIR .. ""; if FOLLOWER then if PLAYER_DIR == "up" and SCREEN_Y_OFFSET ~= 3 then if m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET + 1)] == true then follower_rendered = true; LAST_FOLLOWER_Y = ((SCREEN_Y_OFFSET - 1) * 53); LAST_FOLLOWER_X = SCREEN_X_OFFSET * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET and v.y == (PLAYER_Y_OFFSET + 1) then --follower_rendered = false; fn2 = function(a, b) end; end end fn2(SCREEN_X_OFFSET * 53, (SCREEN_Y_OFFSET + 1) * 53); end if m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET + 1)] ~= true then follower_rendered = true; LAST_FOLLOWER_X = SCREEN_X_OFFSET * 53; LAST_FOLLOWER_Y = ((SCREEN_Y_OFFSET + 1) * 53); for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET and v.y == (PLAYER_Y_OFFSET + 1) then --follower_rendered = false; fn2 = function(a, b) end; end end fn2(SCREEN_X_OFFSET * 53, (SCREEN_Y_OFFSET + 1) * 53); end end if PLAYER_DIR == "down" and SCREEN_Y_OFFSET ~= 0 then if m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET - 1)] == true then follower_rendered = true; LAST_FOLLOWER_X = SCREEN_X_OFFSET * 53; LAST_FOLLOWER_Y = ((SCREEN_Y_OFFSET - 1) * 53); for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET and v.y == (PLAYER_Y_OFFSET - 1) then --follower_rendered = false; fn2 = function(a, b) end; end end fn2(SCREEN_X_OFFSET * 53, (SCREEN_Y_OFFSET - 1) * 53); end if m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET - 1)] ~= true then follower_rendered = true; LAST_FOLLOWER_X = SCREEN_X_OFFSET * 53; LAST_FOLLOWER_Y = (SCREEN_Y_OFFSET - 1) * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET and v.y == (PLAYER_Y_OFFSET - 1) then --follower_rendered = false; fn2 = function(a, b) end; end end fn2(SCREEN_X_OFFSET * 53, (SCREEN_Y_OFFSET - 1) * 53); end end if PLAYER_DIR == "left" and SCREEN_X_OFFSET ~= 5 then if m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET + 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] == true then follower_rendered = true; LAST_FOLLOWER_X = (SCREEN_X_OFFSET + 1) * 53; LAST_FOLLOWER_Y = SCREEN_Y_OFFSET * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET + 1 and v.y == PLAYER_Y_OFFSET then --follower_rendered = false; fn2 = function(a, b) end; end end fn2((SCREEN_X_OFFSET + 1) * 53, SCREEN_Y_OFFSET * 53); end if m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET + 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] ~= true then follower_rendered = true; LAST_FOLLOWER_X = ((SCREEN_X_OFFSET + 1) * 53); LAST_FOLLOWER_Y = SCREEN_Y_OFFSET * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET + 1 and v.y == PLAYER_Y_OFFSET then --follower_rendered = false; fn2 = function(a, b) end; end end fn2((SCREEN_X_OFFSET + 1) * 53, SCREEN_Y_OFFSET * 53); end end if PLAYER_DIR == "right" and SCREEN_X_OFFSET ~= 0 then if m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET - 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] == true then follower_rendered = true; LAST_FOLLOWER_X = (SCREEN_X_OFFSET - 1) * 53; LAST_FOLLOWER_Y = SCREEN_Y_OFFSET * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET - 1 and v.y == PLAYER_Y_OFFSET then --follower_rendered = false; fn2 = function(a, b) end; end end fn2((SCREEN_X_OFFSET - 1) * 53, SCREEN_Y_OFFSET * 53); end if m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET - 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] ~= true then follower_rendered = true; LAST_FOLLOWER_X = (SCREEN_X_OFFSET - 1) * 53; LAST_FOLLOWER_Y = SCREEN_Y_OFFSET * 53; for k, v in pairs(SCENE_DATA.warp_points) do if v.x == PLAYER_X_OFFSET - 1 and v.y == PLAYER_Y_OFFSET then --follower_rendered = false; fn2 = function(a, b) end; end end fn2((SCREEN_X_OFFSET - 1) * 53, SCREEN_Y_OFFSET * 53); end end if not follower_rendered and LAST_FOLLOWER_DIR ~= nil then if PLAYER_DIR == "up" or PLAYER_DIR == "down" then if SCREEN_Y_OFFSET ~= 3 and SCREEN_Y_OFFSET ~= 0 then if (m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET - 1)]) or (m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET + 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] ~= true) then fn2(LAST_FOLLOWER_X, LAST_FOLLOWER_Y); end end end if PLAYER_DIR == "left" or PLAYER_DIR == "right" then if SCREEN_X_OFFSET ~= 5 and SCREEN_X_OFFSET ~= 0 then if (m_key == "allowed" and SCENE_DATA["movement_allowed_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET - 1)]) or (m_key == "blocked" and SCENE_DATA["movement_blocked_at_" .. tostring(MAP_X_OFFSET + SCREEN_X_OFFSET + 1) .. "," .. tostring(MAP_Y_OFFSET + SCREEN_Y_OFFSET)] ~= true) then fn2(LAST_FOLLOWER_X, LAST_FOLLOWER_Y); end end end end end HAS_STEPPED_IN_SCENE = true; end function on.enterKey() local x = PLAYER_X_OFFSET; local y = PLAYER_Y_OFFSET; local dia_idx = 1; if IS_SCENE_MODE then if SCENE_DATA["has_dialogs"] then while SCENE_DATA["dialogs"][dia_idx] ~= nil do if SCENE_DATA["dialogs"][dia_idx].x == x then if SCENE_DATA["dialogs"][dia_idx].y == y then if SCENE_DATA["dialogs"][dia_idx].required_dir == PLAYER_DIR then local eligible = SCENE_DATA["dialogs"][dia_idx].eligibility(); if eligible then SET_MODE("dialog"); CURRENT_DIALOG_COPY = tostring(SCENE_DATA["dialogs"][dia_idx].txt); DIALOG_CALLBACK = SCENE_DATA["dialogs"][dia_idx].callback; DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); end if not eligible then SET_MODE("dialog"); CURRENT_DIALOG_COPY = SCENE_DATA["dialogs"][dia_idx].eligibility_failure_msg(); DIALOG_CALLBACK = function()SET_MODE("scene"); platform.window:invalidate();end; DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); end end end end dia_idx = dia_idx + 1; end end end if CURRENT_SCENE == 1000 then if x == 14 and y == 7 then SET_MODE("merchant"); BROWSE_MERCHANT_ITEMS(); end end platform.window:invalidate(); end function on.charIn(key) if KEY_PRESSES_ALLOWED == false then return; end if key == "z" and IS_SCENE_MODE then SET_MODE("dialog"); CURRENT_DIALOG_COPY = "EXP: " .. tostring(GET_REN_EXP()) .. ", Gold: " .. tostring(PEEK_MONEY()); CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. " {{new_line}} {{new_line}} "; CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "Scene: " .. tostring(CURRENT_SCENE); CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. " {{new_line}} {{new_line}} "; for k,v in pairs(ITEMS) do CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. v.name; CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. ": "; local i_tally = GET_STATE(v.key .. "i", 0); if i_tally == -1 then i_tally = 0; end CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "("; CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. tostring(i_tally); CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. ")"; CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. " {{new_line}} {{new_line}} "; end CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "Sword/Shield idx: " .. tostring(GET_STATE("sword", 0)); CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "{{new_line}} {{new_line}} HP: " .. tostring(GET_HP()); CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "{{new_line}} {{new_line}} "; CURRENT_DIALOG_COPY = CURRENT_DIALOG_COPY .. "Level: " .. tostring(GET_REN_LEVEL()); DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate(); end; DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); end if key == "m" and IS_SCENE_MODE then SET_MODE("main_menu"); render_main_menu(true); platform.window:invalidate(); end if key == "d" and IS_DROP_STATE_MODE == false and IS_SCENE_MODE then SET_MODE("drop_state"); platform.window:invalidate(); end if key == "a" and IS_BATTLE_MODE and IS_REN_BATTLE_TURN then IS_REN_BATTLE_TURN = false; REN_ATTACK_MILLIS = timer.getMilliSecCounter(); BATTLE(); platform.window:invalidate(); end if key == "i" and IS_BATTLE_MODE and IS_REN_BATTLE_TURN then local i_tally = 0; local items_in_inventory = {}; for idx, tbl in pairs(ITEMS) do local inv_check = GET_STATE(tbl.key .. "i", 0); if inv_check > 0 then i_tally = i_tally + 1; end end if i_tally == 0 then return; end BATTLE_ITEM_BROWSING_IDX = 1; SET_MODE("battle_item"); platform.window:invalidate(); BROWSE_BATTLE_ITEMS(); end if key == "u" and IS_BROWSE_BATTLE_MODE then local idx = BATTLE_ITEM_BROWSING_IDX; local item = BATTLE_ITEMS_IN_INVENTORY[idx]; item.fn(); local n_tally = item.tally - 1; PUT_STATE(item.key .. "i", 0, n_tally, "Decreasing inventory amount."); POPULATE_BATTLE_ITEMS(); IS_REN_BATTLE_TURN = false; SHOULD_FLASH_REN = true; SHOULD_SHOW_MONSTER_HP = true; SHOULD_SHOW_MONSTER_DAMAGE = false; --SHOULD_SHOW_REN_DAMAGE = true; MONSTER_ATTACKS_REN = true; REN_SHOW_DAMAGE_MILLIS = timer.getMilliSecCounter(); TURN_RESET_MILLIS = timer.getMilliSecCounter(); SET_MODE("battle"); BATTLE(); platform.window:invalidate(); end if key == "x" and IS_BROWSE_BATTLE_MODE then SET_MODE("battle"); BATTLE(); end if key == "n" and IS_DIALOG_MODE and StringContains(CURRENT_DIALOG_COPY, "like to rest here and") then on.arrowRight(); return; end if key == "y" and IS_DIALOG_MODE and StringContains(CURRENT_DIALOG_COPY, "like to rest here and") then local m = PEEK_MONEY(); if m - CURRENT_INN_PRICE >= 0 then SCENE_DATA.on_entrance(); PAID_INNKEEPER = true; SPEND_MONEY(CURRENT_INN_PRICE); SET_MODE("scene"); platform.window:invalidate(); CURRENT_CUT_SCENE_NUMBER = 1; CUT_SCENE_ITEM_IDX = 0; KEY_PRESSES_ALLOWED = false; local full_hp = GET_HP(); SET_REN_HP(full_hp); timer.stop(); timer.start(0.5); PUT_STATE("innp", 0, CURRENT_INN_PRICE, "Setting the inn Price for revival."); local clear_idx = 1; while clear_idx < 11 do DROP_STATE("mis" .. tostring(clear_idx), 0); clear_idx = clear_idx + 1; end EXIT_INN_ITEM_KEYS = deepcopy(CURRENT_INN_ITEM_KEYS); local found_cnt = 1; for idx, value1 in pairs(CURRENT_INN_ITEM_KEYS) do for idx2, value2 in pairs(ITEMS) do if value2.key == value1 then PUT_STATE("mis" .. tostring(found_cnt), 0, idx2, "Merchant dynamic slot"); found_cnt = found_cnt + 1; end end end SAVE_STATE(); return; end if m - CURRENT_INN_PRICE < 0 then on.arrowRight(); CURRENT_DIALOG_COPY = "It appears you cannot afford the fare. My expenses run high, and unfortunately I cannot allow you to stay here. Please come back another time."; DIALOG_SHOULD_ADVANCE = true; DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate(); end; SET_MODE("dialog"); platform.window:invalidate(); end end if key == "h" and IS_MAIN_MENU_MODE then local instructions = "In dialog mode, right key advances the text, left key goes back (this is a dialog). {{new_line}} {{new_line}} Caps-lock must be off. {{new_line}} {{new_line}} Enter key allows you to interact with people/objects (must be facing them/it). {{new_line}} {{new_line}} For walking, use the up/down/left/right arrows {{new_line}} {{new_line}} You can walk into walls/objects to pan the screen. This game is an exercise of spatial memory, so you will need to keep track of your place and where you have already walked. Without panning, you may get lost. {{new_line}} {{new_line}} Pressing z allows you to see stats like gold, exp, and the scene number that you are in. {{new_line}} {{new_line}} You can save your progress and purchase items at inns. Upon exiting the application, always choose the 'save' option. The game will maintain it's own state and store progress upon agreeing to stay inside the inn. In short, you should never choose the 'No' button when the application exits. Near boss scenes, there will be special items available to help you battle, and you can paginate through items by pressing the left and right key in the merchant dialog. Warning: do not turn off the screen during battle. This will cause the game to freeze. Warning: When an app/game on this calculator launches, the mouse cursor defaults to the upper-right position where the 'X' close icon is. If you accidentally hit it unintentionally, just go ahead and click 'cancel'. "; CURRENT_DIALOG_COPY = instructions; DIALOG_SHOULD_ADVANCE = true; DIALOG_CALLBACK = function()SET_MODE("main_menu"); platform.window:invalidate(); end; SET_MODE("dialog"); platform.window:invalidate(); end if key == "c" and IS_MAIN_MENU_MODE and SHOW_CONTINUATION then REVIVE(); end if key == "n" and IS_MAIN_MENU_MODE then -- compare these against the global vars initialized at the top (game start) KEY_PRESSES_ALLOWED = false; DROP_STATE("*"); SCENE_DATA = nil; GFX = nil; ALPHA_RED = 250; ALPHA_GREEN = 250; ALPHA_BLUE = 250; IN_TRANSITION = false; TRANSITION_IDX = 0; REN_EXP = 0; MONSTER_TRANSITION_IDX = 0; FOLLOWER = false; IN_BOAT = false; BOAT_DIR_IDX = 1; RENDER_REQUIRED = true; CURRENT_SCENE = 1; SCENE_ENTRANCE_REQUIRED = true; MAP_X_OFFSET = nil; MAP_Y_OFFSET = nil; PLAYER_X_OFFSET = nil; PLAYER_Y_OFFSET = nil; SCREEN_X_OFFSET = nil; SCREEN_Y_OFFSET = nil; PLAYER_DIR = nil; WARP_PLAYER_X = nil; WARP_PLAYER_Y = nil; WARP_MAP_X = nil; WARP_MAP_Y = nil; WARP_SCREEN_X = nil; WARP_SCREEN_Y = nil; WARP_PLAYER_DIR = nil; LAST_FOLLOWER_X = -1; LAST_FOLLOWER_Y = -1; LAST_FOLLOWER_DIR = nil; HAS_STEPPED_IN_SCENE = false; SET_MODE("scene"); KEY_PRESSES_ALLOWED = true; platform.window:invalidate(); end if key == "c" and IS_MAIN_MENU_MODE and SHOW_CONTINUATION then -- comparse these with key == 'n' above SCENE_DATA = nil; GFX = nil; ALPHA_RED = 250; ALPHA_GREEN = 250; ALPHA_BLUE = 250; IN_TRANSITION = false; TRANSITION_IDX = 0; MONSTER_TRANSITION_IDX = 0; RENDER_REQUIRED = true; CURRENT_SCENE = 1000; SCENE_ENTRANCE_REQUIRED = true; MAP_X_OFFSET = 9; MAP_Y_OFFSET = 10; PLAYER_X_OFSET = 10; PLAYER_Y_OFSET = 11; SCREEN_X_OFFSET = 1; SCREEN_Y_OFFSET = 1; PLAYER_DIR = "left"; STARTED_FROM_CONTINUATION = true; WARP_PLAYER_X = 10; WARP_PLAYER_Y = 11; WARP_MAP_X = 9; WARP_MAP_Y = 10; WARP_SCREEN_X = 1; WARP_SCREEN_Y = 1; WARP_PLAYER_DIR = "left"; SET_MODE("scene"); platform.window:invalidate(); PAID_INNKEEPER = true; end if key == "b" and IS_MERCHANT_MODE then local wallet = PEEK_MONEY(); local this_price = CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].price; local would_be = wallet - this_price; if would_be < 0 then SET_MODE("dialog"); CURRENT_DIALOG_COPY = "I'm sorry, but you cannot afford this item."; DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate();end DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); end if would_be >= 0 then local current_inventory = GET_STATE(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].key .. "i", 0); if current_inventory == -1 then current_inventory = 0 end current_inventory = current_inventory + 1; SPEND_MONEY(this_price); PUT_STATE(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].key .. "i", 0, current_inventory, "Adding to inventory..."); SET_MODE("dialog"); CURRENT_DIALOG_COPY = "Thank you! Here is your item"; DIALOG_CALLBACK = function() SET_MODE("merchant"); BROWSE_MERCHANT_ITEMS(CURRENT_INN_ITEM_IDX); platform.window:invalidate() end DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); end end if key == "s" and IS_MERCHANT_MODE then local inv = GET_STATE(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].key .. "i", 0); local inv2 = GET_STATE(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].key .. "i", 0); if inv2 > 0 then inv = inv - 1; local deal = math.floor(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].price * 0.8); GET_MONEY(deal); PUT_STATE(CURRENT_INN_ITEMS_FOR_SALE[CURRENT_INN_ITEM_IDX].key .. "i", 0, inv, "Subtracting from inventory"); SET_MODE("dialog"); CURRENT_DIALOG_COPY = "Nice! Now you have an extra " .. tostring(deal) .. "g"; DIALOG_CALLBACK = function() SET_MODE("merchant"); BROWSE_MERCHANT_ITEMS(CURRENT_INN_ITEM_IDX); platform.window:invalidate(); end DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); end if inv2 <= 0 then SET_MODE("dialog"); CURRENT_DIALOG_COPY = "You do not have any of this item in your inventory."; DIALOG_CALLBACK = function() SET_MODE("merchant"); BROWSE_MERCHANT_ITEMS(CURRENT_INN_ITEM_IDX); platform.window:invalidate(); end DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); end end if key == "x" and IS_MERCHANT_MODE then SET_MODE("scene"); platform.window:invalidate(); end end function on.arrowUp(force) if force == nil then force = false; end if KEY_PRESSES_ALLOWED == false and (not force) then return; end if IS_DROP_STATE_MODE then return; end if IS_SCENE_MODE == true then local bypass_monsters = false; local old_player_dir = PLAYER_DIR; PLAYER_DIR = "up"; if (old_player_dir ~= PLAYER_DIR) or MOVEMENT_ALLOWED("up") ~= true then bypass_monsters = true; end local finished = false; if SCREEN_Y_OFFSET > 0 and ((old_player_dir == "up") or (IN_BOAT)) then if MOVEMENT_ALLOWED("up") then SCREEN_Y_OFFSET = SCREEN_Y_OFFSET - 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET - 1; finished = true; end end if not MOVEMENT_ALLOWED("up") and ((old_player_dir == "up") or IN_BOAT) and SCREEN_Y_OFFSET < 3 and (not finished) then MAP_Y_OFFSET = MAP_Y_OFFSET - 1; SCREEN_Y_OFFSET = SCREEN_Y_OFFSET + 1; finished = true; bypass_monsters = true; end if MOVEMENT_ALLOWED("up") and ((old_player_dir == "up") or IN_BOAT) and SCREEN_Y_OFFSET == 0 and (not finished) then MAP_Y_OFFSET = MAP_Y_OFFSET - 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET - 1; finished = true; end local warped = HANDLE_WARPS(); if warped == false then local boat_check = CHECK_FOR_BOAT_ENTRANCE(); if not boat_check then local boat_check2 = CHECK_FOR_BOAT_EXIT(); if not boat_check2 then local check = CHECK_FOR_MONSTERS(bypass_monsters) end end end end platform.window:invalidate(); end function on.arrowDown(force) if force == nil then force = false; end if KEY_PRESSES_ALLOWED == false and (not force) then return; end if IS_DROP_STATE_MODE then return; end if IS_SCENE_MODE == true then local bypass_monsters = false; local old_player_dir = PLAYER_DIR; local finished = false; PLAYER_DIR = "down"; if (old_player_dir ~= PLAYER_DIR) or MOVEMENT_ALLOWED("down") ~= true then bypass_monsters = true; end if SCREEN_Y_OFFSET < 3 and ((old_player_dir == "down") or (IN_BOAT)) then if MOVEMENT_ALLOWED("down") then SCREEN_Y_OFFSET = SCREEN_Y_OFFSET + 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET + 1; finished = true; end end if not MOVEMENT_ALLOWED("down") and ((old_player_dir == "down") or (IN_BOAT)) and SCREEN_Y_OFFSET > 0 and (not finished) then MAP_Y_OFFSET = MAP_Y_OFFSET + 1; SCREEN_Y_OFFSET = SCREEN_Y_OFFSET - 1; finished = true; bypass_monsters = true; end if MOVEMENT_ALLOWED("down") and ((old_player_dir == "down") or (IN_BOAT)) and SCREEN_Y_OFFSET == 3 and (not finished) then MAP_Y_OFFSET = MAP_Y_OFFSET + 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET + 1; finished = true; end local warped = HANDLE_WARPS(); if warped == false then local boat_check = CHECK_FOR_BOAT_ENTRANCE(); if not boat_check then local boat_check2 = CHECK_FOR_BOAT_EXIT(); if not boat_check2 then local check = CHECK_FOR_MONSTERS(bypass_monsters) end end end end platform.window:invalidate(); end function on.arrowLeft(force) BOAT_DIR_IDX = 0; PUT_STATE("boat_dir", 0, 0, "boat direction"); if force == nil then force = false; end if KEY_PRESSES_ALLOWED == false and (not force) then return; end local orig_dialog_mode = IS_DIALOG_MODE; if IS_DROP_STATE_MODE then return; end if IS_SCENE_MODE == true then local bypass_monsters = false; local old_player_dir = PLAYER_DIR; PLAYER_DIR = "left"; if (old_player_dir ~= PLAYER_DIR) or MOVEMENT_ALLOWED("left") ~= true then bypass_monsters = true; end local finished = false; if SCREEN_X_OFFSET > 0 and (old_player_dir == "left") then if MOVEMENT_ALLOWED("left") then SCREEN_X_OFFSET = SCREEN_X_OFFSET - 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET - 1; finished = true; end end if not MOVEMENT_ALLOWED("left") and (old_player_dir == "left") and SCREEN_X_OFFSET < 5 and (not finished) then MAP_X_OFFSET = MAP_X_OFFSET - 1; SCREEN_X_OFFSET = SCREEN_X_OFFSET + 1; finished = true; bypass_monsters = true; end if MOVEMENT_ALLOWED("left") and (old_player_dir == "left") and SCREEN_X_OFFSET == 0 and (not finished) then MAP_X_OFFSET = MAP_X_OFFSET - 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET - 1; finished = true; end local warped = HANDLE_WARPS(); if warped == false then local boat_check = CHECK_FOR_BOAT_ENTRANCE(); if not boat_check then local boat_check2 = CHECK_FOR_BOAT_EXIT(); if not boat_check2 then local check = CHECK_FOR_MONSTERS(bypass_monsters) end end end end if orig_dialog_mode then if DIALOG_CAN_GO_BACK then CURRENT_DIALOG_COPY = PREVIOUS_DIALOG_COPY; DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); DIALOG_SHOULD_ADVANCE = false; end end if IS_MERCHANT_MODE then local c_idx = CURRENT_INN_ITEM_IDX; local items_tally = 0; local items = CURRENT_INN_ITEMS_FOR_SALE; for k, v in pairs(items) do items_tally = items_tally + 1; end if c_idx > 1 then BROWSE_MERCHANT_ITEMS(c_idx - 1); end if c_idx == 0 then BROWSE_MERCHANT_ITEMS(c_idx); end end if IS_BROWSE_BATTLE_MODE then if BATTLE_ITEM_BROWSING_IDX == 1 then return; end if BATTLE_ITEM_BROWSING_IDX > 1 then BATTLE_ITEM_BROWSING_IDX = BATTLE_ITEM_BROWSING_IDX - 1; BROWSE_BATTLE_ITEMS(); end end platform.window:invalidate(); end function on.arrowRight(force) BOAT_DIR_IDX = 1; PUT_STATE("boat_dir", 0, 1, "boat direction"); if force == nil then force = false; end if KEY_PRESSES_ALLOWED == false and (not force) then return; end local orig_dialog_mode = IS_DIALOG_MODE; if IS_DROP_STATE_MODE then return; end if IS_SCENE_MODE == true then local old_player_dir = PLAYER_DIR; local bypass_monsters = false; PLAYER_DIR = "right"; if (old_player_dir ~= PLAYER_DIR) or MOVEMENT_ALLOWED("right") ~= true then bypass_monsters = true; end local finished = false; if SCREEN_X_OFFSET < 5 and (old_player_dir == "right") then if MOVEMENT_ALLOWED("right") then local s = SCREEN_X_OFFSET; local p = PLAYER_X_OFFSET; SCREEN_X_OFFSET = SCREEN_X_OFFSET + 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET + 1; finished = true; end end if not MOVEMENT_ALLOWED("right") and (old_player_dir == "right") and SCREEN_X_OFFSET > 0 and (not finished) then MAP_X_OFFSET = MAP_X_OFFSET + 1; SCREEN_X_OFFSET = SCREEN_X_OFFSET - 1; finished = true; bypass_monsters = true; end if MOVEMENT_ALLOWED("right") and (old_player_dir == "right") and SCREEN_X_OFFSET == 5 and (not finished) then MAP_X_OFFSET = MAP_X_OFFSET + 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET + 1; finished = true; end local warped = HANDLE_WARPS(); if warped == false then local boat_check = CHECK_FOR_BOAT_ENTRANCE(); if not boat_check then local boat_check2 = CHECK_FOR_BOAT_EXIT(); if not boat_check2 then local check = CHECK_FOR_MONSTERS(bypass_monsters) end end end end if orig_dialog_mode then DIALOG_CAN_GO_BACK = true; PREVIOUS_DIALOG_COPY = CURRENT_DIALOG_COPY .. ""; DIALOG_SHOULD_ADVANCE = true; local result = RENDER_DIALOG(); DIALOG_SHOULD_ADVANCE = false; if result ~= nil then local b4 = CURRENT_DIALOG_COPY; local len = string.len(result); local new = CURRENT_DIALOG_COPY:sub(len + 2); CURRENT_DIALOG_COPY = new; local af = CURRENT_DIALOG_COPY; local x = 5; end if result == nil then DIALOG_CALLBACK(); DIALOG_CAN_GO_BACK = true; return; end end if IS_MERCHANT_MODE then local c_idx = CURRENT_INN_ITEM_IDX; local items_tally = 0; local items = CURRENT_INN_ITEMS_FOR_SALE; for k, v in pairs(items) do items_tally = items_tally + 1; end if c_idx < items_tally then BROWSE_MERCHANT_ITEMS(c_idx + 1); end if c_idx == 0 then BROWSE_MERCHANT_ITEMS(c_idx); end end if IS_BROWSE_BATTLE_MODE then local tally = 0; for ignore1, ignore2 in pairs(BATTLE_ITEMS_IN_INVENTORY) do tally = tally + 1; end if BATTLE_ITEM_BROWSING_IDX ~= tally then BATTLE_ITEM_BROWSING_IDX = BATTLE_ITEM_BROWSING_IDX + 1; BROWSE_BATTLE_ITEMS(); return; end end platform.window:invalidate(); end function MOVEMENT_ALLOWED(dir) local sd = SCENE_DATA; if dir == "down" then local key_to_check = SCENE_DATA["movement_key"]; if key_to_check == "blocked" then local coord_key = "movement_blocked_at_" .. tostring(PLAYER_X_OFFSET) .. "," .. tostring(PLAYER_Y_OFFSET + 1); return sd[coord_key] == false or sd[coord_key] == nil; end if key_to_check == "allowed" then local coord_key = "movement_allowed_at_" .. tostring(PLAYER_X_OFFSET) .. "," .. tostring(PLAYER_Y_OFFSET + 1); return SCENE_DATA[coord_key]; end end if dir == "up" then local key_to_check = SCENE_DATA["movement_key"]; if key_to_check == "blocked" then local coord_key = "movement_blocked_at_" .. tostring(PLAYER_X_OFFSET) .. "," .. tostring(PLAYER_Y_OFFSET - 1); return not SCENE_DATA[coord_key]; end if key_to_check == "allowed" then local coord_key = "movement_allowed_at_" .. tostring(PLAYER_X_OFFSET) .. "," .. tostring(PLAYER_Y_OFFSET - 1); return SCENE_DATA[coord_key]; end end if dir == "left" then local key_to_check = SCENE_DATA["movement_key"]; if key_to_check == "blocked" then local coord_key = "movement_blocked_at_" .. tostring(PLAYER_X_OFFSET - 1) .. "," .. tostring(PLAYER_Y_OFFSET); return not SCENE_DATA[coord_key]; end if key_to_check == "allowed" then local coord_key = "movement_allowed_at_" .. tostring(PLAYER_X_OFFSET - 1) .. "," .. tostring(PLAYER_Y_OFFSET); return SCENE_DATA[coord_key]; end end if dir == "right" then local key_to_check = SCENE_DATA["movement_key"]; if key_to_check == "blocked" then local coord_key = "movement_blocked_at_" .. tostring(PLAYER_X_OFFSET + 1) .. "," .. tostring(PLAYER_Y_OFFSET); return not SCENE_DATA[coord_key]; end if key_to_check == "allowed" then local coord_key = "movement_allowed_at_" .. tostring(PLAYER_X_OFFSET + 1) .. "," .. tostring(PLAYER_Y_OFFSET); return SCENE_DATA[coord_key]; end end end function RESET_BATTLE() CURRENT_MONSTER_HP = 0; CURRENT_MONSTER_DEFENSE = 0; TOTAL_MONSTER_HP = 0; IS_REN_BATTLE_TURN = false; CURRENT_MONSTER_ATTACK_WEIGHT = 0; REN_ATTACK_MILLIS = 0; SHOULD_FLASH_MONSTER = false; MONSTER_FLASHING_MILLIS = 0; MONSTER_DAMAGE_MILLIS = 0; SHOULD_SHOW_MONSTER_DAMAGE = false; SHOW_REN_DAMAGE_MILLIS = 0; SHOULD_FLASH_REN = false; SHOULD_SHOW_MONSTER_HP = true; REN_SHOW_DAMAGE_MILLIS = 0; SHOULD_SHOW_REN_DAMAGE = false; REN_ATTACKS_MONSTER = false; MONSTER_ATTACKS_REN = false; TURN_RESET_MILLIS = 0; REN_WON_BATTLE_MILLIS = 0; REN_WON_BATTLE = false; SHOULD_SHOW_REN_WON = false; MONSTER_WON_BATTLE_MILLIS = 0; MONSTER_WON_BATTLE = true; SHOULD_SHOW_MONSTER_WON = false; EXP_YIELDED = false; GOLD_YIELDED = false; ON_BATTLE_WON = function() end; ON_BATTLE_WON_TWO = function() end; ON_BATTLE_START = function() end; BATTLE_ITEMS_IN_INVENTORY = {}; BATTLE_ITEM_BROWSING_IDX = 1; CAN_GAIN_LEVEL = false; ATTACK_PRIME = 0; end function BATTLE() --TODO: Cleanup all battle vars when fighting is finished local gfx = GFX; local idx = PrePadString(tostring(SCENE_DATA["monster_numbers"][MONSTER_IDX]), 4); local sword_data = GET_SWORD_DATA(); local shield_data = GET_SHIELD_DATA(); local hp = GET_HP(); local rhp = GET_REN_HP(); if not FOLLOWER then render_battle_player_single(SHOULD_FLASH_REN); end if FOLLOWER then render_battle_player_dual(SHOULD_FLASH_REN); end render_battle_separator(); _G["render_monster_" .. idx](SHOULD_FLASH_MONSTER); gfx:setFont("serif", "b", 8); if SHOULD_SHOW_REN_WON then KEY_PRESSES_ALLOWED = false; local won_msg = "You have won"; local curr_exp = GET_REN_EXP(); local new_exp = CURRENT_EXP_TO_YIELD; local curr_level = GET_REN_LEVEL(); local next_level_data = EXP_DATA[curr_level]; local next_exp = next_level_data.exp_required; local next_level_reached = false; local exp_diff = next_level_data.exp_required - (curr_exp); if ((curr_exp + new_exp) >= next_exp) and CAN_GAIN_LEVEL then won_msg = "You gained a level (Level " .. tostring(next_level_data.level) .. ")"; next_level_reached = true; end REN_WON_BATTLE = false; gfx:setColorRGB(0, 0, 0); gfx:fillRect(0, 0, 318, 212); gfx:setColorRGB(255, 255, 255); gfx:setFont("serif", "b", 14); local won_msg_width = gfx:getStringWidth(won_msg); local won_msg_x = (318 * 0.5) - (won_msg_width * 0.5); local yyy_offset = 80; if next_level_reached then yyy_offset = 50; end gfx:drawString(won_msg, won_msg_x, yyy_offset); if next_level_reached then gfx:setFont("serif", "b", 10); gfx:drawString("+" .. tostring(next_level_data.hp_boost) .. " HP", won_msg_x, 80); gfx:drawString("+" .. tostring(next_level_data.attack_boost) .. " Attack", won_msg_x, 100); gfx:drawString("+" .. tostring(next_level_data.defense_boost) .. " Defense", won_msg_x, 120); end gfx:setFont("serif", "b", 10); local gold_msg = "You obtained " .. tostring(CURRENT_GOLD_TO_YIELD) .. "g"; local gold_msg_width = gfx:getStringWidth(gold_msg); local secondary_x1 = (159 - (gold_msg_width * 0.5)); gfx:drawString(gold_msg, secondary_x1, 185); --this is just a copy, if we haven't gotten gold, we haven't incremented the level local LEVEL_ADDED = (GOLD_YIELDED == true); if next_level_reached and LEVEL_ADDED == false then ON_BATTLE_WON_TWO = function() INCREMENT_REN_LEVEL(); INCREMENT_REN_HP(next_level_data.hp_boost); KEY_PRESSES_ALLOWED = true; end end if GOLD_YIELDED == false then GOLD_YIELDED = true; GET_MONEY(CURRENT_GOLD_TO_YIELD); end local exp_msg = "You obtained " .. tostring(CURRENT_EXP_TO_YIELD) .. " exp"; if next_level_reached == false then exp_msg = exp_msg .. " (" .. tostring(exp_diff) .. " to next level)"; end local exp_msg_width = gfx:getStringWidth(exp_msg); local secondary_x2 = (159 - (exp_msg_width * 0.5)); gfx:drawString(exp_msg, secondary_x2, 165); if EXP_YIELDED == false then EXP_YIELDED = true; ADD_REN_EXP(CURRENT_EXP_TO_YIELD); end if REN_WON_BATTLE_MILLIS == 0 then REN_WON_BATTLE_MILLIS = timer.getMilliSecCounter(); --timer.stop(); --timer.start(0.025); end platform.window:invalidate(); return end if SHOULD_SHOW_MONSTER_WON then MONSTER_WON_BATTLE = false; gfx:setColorRGB(0, 0, 0); gfx:fillRect(0, 0, 318, 212); gfx:setColorRGB(255, 255, 255); gfx:setFont("serif", "b", 16); local died_msg = "You died"; local died_width = gfx:getStringWidth(died_msg); gfx:drawString("You died", 159 - (died_width * 0.5), 80); if MONSTER_WON_BATTLE_MILLIS == 0 then MONSTER_WON_BATTLE_MILLIS = timer.getMilliSecCounter(); end platform.window:invalidate(); return; end if SHOULD_FLASH_REN == false then gfx:setColorRGB(255, 255, 255); gfx:fillRect(0, 117, 70, 70); gfx:setColorRGB(0, 0, 0); gfx:drawRect(10, 117, 60, 60); gfx:drawString("Your HP:", 13, 120); gfx:drawString(tostring(rhp) .. " / " .. tostring(hp), 14, 130); end POPULATE_BATTLE_ITEMS(); local k_cnt = 0; for k, v in pairs(BATTLE_ITEMS_IN_INVENTORY) do k_cnt = k_cnt + 1; end if SHOULD_SHOW_MONSTER_HP then gfx:setColorRGB(255, 255, 255); gfx:fillRect(8, 8, 62, 62); gfx:setColorRGB(0, 0, 0); gfx:drawRect(10, 10, 60, 60); gfx:drawString("Monster HP:", 12, 12); gfx:drawString(tostring(CURRENT_MONSTER_HP) .. " / " .. tostring(TOTAL_MONSTER_HP), 12, 20); gfx:drawString("Attack - A", 75, 120); if k_cnt > 0 then gfx:drawString("Use Item - I", 75, 135); end end if SHOULD_SHOW_MONSTER_DAMAGE then local attack = sword_data.attack; local damage = math.floor(attack * REN_ATTACK_WEIGHT); damage = damage - math.floor(CURRENT_MONSTER_DEFENSE * MONSTER_DEFENSE_WEIGHT); damage = damage + math.abs(ATTACK_PRIME); if damage < 0 then damage = 0; end gfx:setColorRGB(255, 255, 255); gfx:drawString("Monster takes " .. tostring(damage) .. " damage", 10, 10); if REN_ATTACKS_MONSTER then CURRENT_MONSTER_HP = CURRENT_MONSTER_HP - damage; REN_ATTACKS_MONSTER = false; if CURRENT_MONSTER_HP <= 0 then REN_WON_BATTLE = true; SHOULD_SHOW_REN_WON = true; end end platform.window:invalidate(); end if SHOULD_SHOW_REN_DAMAGE then local damage = math.floor(CURRENT_MONSTER_ATTACK_WEIGHT * MONSTER_ATTACK_WEIGHT); damage = damage - shield_data["defense"]; if damage < 0 then damage = 0; end if MONSTER_ATTACKS_REN then MONSTER_ATTACKS_REN = false; SET_REN_HP(rhp - damage); end local curr_r_hp = GET_REN_HP(); if curr_r_hp <= 0 then MONSTER_WON_BATTLE = true; SHOULD_SHOW_MONSTER_WON = true; end gfx:setColorRGB(255, 255, 255); gfx:drawString("Ren takes " .. tostring(damage) .. " damage", 10, 118); end platform.window:invalidate(); end function RENDER_DIALOG() if TrimString(CURRENT_DIALOG_COPY) == "" then DIALOG_SHOULD_ADVANCE = false; end if DIALOG_SHOULD_ADVANCE == false then return; end DIALOG_SHOULD_ADVANCE = false; GFX:setColorRGB(0, 0, 0); GFX:fillRect(0, 0, 318, 212); GFX:setColorRGB(255, 255, 255); GFX:setFont("serif", "b", 10); local split_words = SplitString(CURRENT_DIALOG_COPY, " "); local starting_x_offset = math.floor(318 * 0.05); local x_offset = starting_x_offset; local y_offset = 10; local current_index = 1 local str_width = nil; local str_height = nil; local width_good = nil; local height_good = nil; local original_word = nil; local render_nothing = false; words_rendered = ""; while split_words[current_index] ~= nil do render_nothing = false; original_word = tostring(split_words[current_index]); split_words[current_index] = TrimString(split_words[current_index]); split_words[current_index] = StringReplace(split_words[current_index], " ", ""); if split_words[current_index] == "{{new_line}}" then render_nothing = true; x_offset = starting_x_offset; y_offset = y_offset + 15; split_words[current_index] = ""; end str_width = GFX:getStringWidth(split_words[current_index] .. " "); str_height = GFX:getStringHeight(split_words[current_index] .. " "); width_good = (x_offset + str_width) < math.floor(318 * 0.95); height_good = (y_offset + str_height) < (212 - 10); if height_good and width_good then if render_nothing == false then GFX:drawString(split_words[current_index], x_offset, y_offset); end words_rendered = words_rendered .. original_word .. " "; current_index = current_index + 1; if render_nothing == false then x_offset = x_offset + str_width; end end if height_good and (width_good == false) then x_offset = starting_x_offset; y_offset = y_offset + 15; end if height_good == false then return TrimString(words_rendered); end end end function SET_ALPHA() local original_r = ALPHA_RED; local original_g = ALPHA_GREEN; local original_b = ALPHA_BLUE; if original_r == 250 then ALPHA_RED = 245; ALPHA_GREEN = 245; ALPHA_BLUE = 245; end if original_r == 245 then ALPHA_RED = 240 ALPHA_GREEN = 240; ALPHA_RED = 240; end if original_r == 240 then ALPHA_RED = 250; ALPHA_GREEN = 250; ALPHA_BLUE = 250; end end function HANDLE_WARPS() local ret = false; local sd = SCENE_DATA; local x = PLAYER_X_OFFSET; local y = PLAYER_Y_OFFSET; local x2 = MAP_X_OFFSET; local y2 = MAP_Y_OFFSET; local x3 = SCREEN_X_OFFSET; local y3 = SCREEN_Y_OFFSET local idx = 1; local warp_allowed = false; while sd["warp_points"][idx] ~= nil do if sd["warp_points"][idx].x == x then if sd["warp_points"][idx].y == y then warp_allowed = sd["warp_points"][idx].warp_allowed(); if warp_allowed then SCENE_DATA.on_exit(); WARP_MAP_X = sd["warp_points"][idx].after_map_x; WARP_MAP_Y = sd["warp_points"][idx].after_map_y; WARP_PLAYER_X = sd["warp_points"][idx].after_player_x; WARP_PLAYER_Y = sd["warp_points"][idx].after_player_y; WARP_SCREEN_X = sd["warp_points"][idx].after_screen_x; WARP_SCREEN_Y = sd["warp_points"][idx].after_screen_y; WARP_PLAYER_DIR = sd["warp_points"][idx].after_player_dir; if sd["warp_points"][idx].scene_number == 1000 then PUT_STATE("iwpx", 0, x, "Returning from inn player x"); PUT_STATE("iwpy", 0, y + 1, "Returning from inn player x"); PUT_STATE("iwmx", 0, x2, "Returning from inn map x"); PUT_STATE("iwmy", 0, y2 + 1, "Returning from inn map x"); PUT_STATE("iwsx", 0, x3, "Returning from inn screen x"); PUT_STATE("iwsy", 0, y3, "Returning from inn screen y"); PUT_STATE("iwcs", 0, CURRENT_SCENE, "Returning from inn current screen"); EXIT_INN_ITEM_KEYS = deepcopy(CURRENT_INN_ITEM_KEYS); CURRENT_INN_ITEM_KEYS = sd["warp_points"][idx].inn_item_keys; CURRENT_INN_PRICE = sd["warp_points"][idx].inn_price; end CURRENT_SCENE = sd["warp_points"][idx].scene_number; if sd["warp_points"][idx].scene_number == -1 then WARP_MAP_X = GET_STATE("iwmx", 0); WARP_MAP_Y = GET_STATE("iwmy", 0); WARP_PLAYER_X = GET_STATE("iwpx", 0); WARP_PLAYER_Y = GET_STATE("iwpy", 0); WARP_SCREEN_X = GET_STATE("iwsx", 0); WARP_SCREEN_Y = GET_STATE("iwsy", 0); WARP_PLAYER_DIR = "down"; CURRENT_SCENE = GET_STATE("iwcs", 0); CURRENT_INN_ITEM_KEYS = deepcopy(EXIT_INN_ITEM_KEYS); end SCENE_ENTRANCE_REQUIRED = true; if sd["warp_points"][idx].scene_number ~= 1 then SET_MODE("transition"); ret = true; end end if warp_allowed == false then if tostring(type(sd["warp_points"][idx]["on_warp_not_allowed_msg"])) == "string" then CURRENT_DIALOG_COPY = sd["warp_points"][idx]["on_warp_not_allowed_msg"]; end if tostring(type(sd["warp_points"][idx]["on_warp_not_allowed_msg"])) == "function" then CURRENT_DIALOG_COPY = sd["warp_points"][idx]["on_warp_not_allowed_msg"](); end SET_MODE("dialog"); DIALOG_CALLBACK = function() local p_dir = PLAYER_DIR .. ""; if p_dir == "left" then SCREEN_X_OFFSET = SCREEN_X_OFFSET + 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET + 1; PLAYER_DIR = "right"; end if p_dir == "right" then SCREEN_X_OFFSET = SCREEN_X_OFFSET - 1; PLAYER_X_OFFSET = PLAYER_X_OFFSET - 1; PLAYER_DIR = "left"; end if p_dir == "up" then SCREEN_Y_OFFSET = SCREEN_Y_OFFSET + 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET + 1; PLAYER_DIR = "down"; end if p_dir == "down" then SCREEN_Y_OFFSET = SCREEN_Y_OFFSET - 1; PLAYER_Y_OFFSET = PLAYER_Y_OFFSET - 1; PLAYER_DIR = "up"; end SET_MODE("scene"); platform.window:invalidate(); end end end end idx = idx + 1; end return ret; end function on.timer() if IS_TRANSITION_MODE then TRANSITION_IDX = TRANSITION_IDX + 1; if TRANSITION_IDX > 53 then timer.stop(); TRANSITION_IDX = 0; SET_MODE("scene"); if SCENE_DATA["initial_dialog"] == true then SET_MODE("dialog"); CURRENT_DIALOG_COPY = SCENE_DATA["initial_dialog_copy"]; DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate(); end end end platform.window:invalidate(); end if IS_MONSTER_TRANSITION_MODE then MONSTER_TRANSITION_IDX = MONSTER_TRANSITION_IDX + 1; if MONSTER_TRANSITION_IDX > 27 then timer.stop(); MONSTER_TRANSITION_IDX = 0; SET_MODE("battle"); local int = math.random(1, 100); local t_len = TableLength(SCENE_DATA["monster_numbers"]); if t_len == 1 then MONSTER_IDX = 1; end if t_len == 2 then if int <= 50 then MONSTER_IDX = 1; end if int > 50 then MONSTER_IDX = 2; end end if t_len == 3 then if int <= 33 then MONSTER_IDX = 1; end if int > 33 and int <= 66 then MONSTER_IDX = 2; end if int > 66 then MONSTER_IDX = 3; end end if t_len == 4 then if int <= 25 then MONSTER_IDX = 1; end if int > 25 and int <= 50 then MONSTER_IDX = 2; end if int > 50 and int <= 75 then MONSTER_IDX = 3; end if int > 75 then MONSTER_IDX = 4; end end local m_fn = "get_monster_" .. PrePadString(SCENE_DATA["monster_numbers"][MONSTER_IDX], 4) .. "_data"; local m_data = _G[m_fn](); local hp_boost = 0 if SCENE_DATA["monster_hp_inflation"] ~= nil then hp_boost = SCENE_DATA["monster_hp_inflation"][MONSTER_IDX]; end local defense_boost = 0; if SCENE_DATA["monster_defense_inflation"] ~= nil then defense_boost = SCENE_DATA["monster_defense_inflation"][MONSTER_IDX]; end local m_attack_boost = 0; if SCENE_DATA["monster_attack_inflation"] ~= nil then m_attack_boost = SCENE_DATA["monster_attack_inflation"][MONSTER_IDX]; end CURRENT_MONSTER_HP = math.floor((m_data["hp"] + hp_boost) * MONSTER_HP_FACTOR); TOTAL_MONSTER_HP = math.floor((m_data["hp"] + hp_boost) * MONSTER_HP_FACTOR); CURRENT_MONSTER_DEFENSE = math.floor((m_data["defense"] + defense_boost) * MONSTER_DEFENSE_WEIGHT); CURRENT_MONSTER_ATTACK_WEIGHT = math.floor((m_data["attack"] + m_attack_boost) * MONSTER_ATTACK_WEIGHT); CURRENT_GOLD_TO_YIELD = math.floor(math.random(m_data["gold_min"], m_data["gold_max"])); local add_gold = 0; if SCENE_DATA["monster_gold_inflation"] ~= nil then add_gold = SCENE_DATA["monster_gold_inflation"][MONSTER_IDX]; end CURRENT_GOLD_TO_YIELD = CURRENT_GOLD_TO_YIELD + add_gold; CURRENT_EXP_TO_YIELD = math.floor(math.random(m_data["min_exp_yield"], m_data["max_exp_yield"])); local additional = 0; if SCENE_DATA["monster_exp_inflation"] ~= nil then additional = SCENE_DATA["monster_exp_inflation"][MONSTER_IDX]; end CURRENT_EXP_TO_YIELD = CURRENT_EXP_TO_YIELD + additional; local curr_level = GET_REN_LEVEL(); local next_level_data = EXP_DATA[curr_level]; local next_exp = next_level_data.exp_required; CAN_GAIN_LEVEL = (GET_REN_EXP() + CURRENT_EXP_TO_YIELD) >= next_exp; IS_REN_BATTLE_TURN = true; BATTLE(); timer.start(0.1); end platform.window:invalidate(); end if IS_DROP_STATE_MODE then CURRENT_DROP_STATE_INPUT = DROP_STATE_EDITOR_BOX:getText(); if CURRENT_DROP_STATE_INPUT == nil then CURRENT_DROP_STATE_INPUT = ""; end DROP_STATE_EDITOR_BOX:setText(CURRENT_DROP_STATE_INPUT); platform.window:invalidate(); if StringContains(CURRENT_DROP_STATE_INPUT, "%(") then if StringContains(CURRENT_DROP_STATE_INPUT, "%)") then if not StringContains(CURRENT_DROP_STATE_INPUT, "all data") then local split_values = SplitString(CURRENT_DROP_STATE_INPUT, "-"); CURRENT_DROP_STATE_INPUT = ""; local val_1 = split_values[1]; local val_2 = split_values[2]; local res = GET_STATE(val_1, tonumber(val_2)); local txt = "Scene: " .. val_2 .. " {{new_line}} " .. "Key: " .. val_1 .. " {{new_line}} " .. "Value: " .. tostring(res); timer.stop(); DROP_STATE_EDITOR_BOX:setVisible(false); DROP_STATE_EDITOR_BOX:setFocus(false); SET_MODE("dialog"); CURRENT_DIALOG_COPY = txt; DIALOG_CALLBACK = function()SET_MODE("scene");platform.window:invalidate();end DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); platform.window:invalidate(); return; end end end if StringContains(CURRENT_DROP_STATE_INPUT, "%-%-%-%-%-%-%-") then if not StringContains(CURRENT_DROP_STATE_INPUT, "{") then timer.stop(); DROP_STATE_EDITOR_BOX:setVisible(false); DROP_STATE_EDITOR_BOX:setFocus(false); DROP_STATE("*"); SET_MODE("scene"); platform.window:invalidate(); return; end end if StringContains(CURRENT_DROP_STATE_INPUT, "%-%-%-") and CURRENT_DROP_STATE_INPUT ~= "---" and CURRENT_DROP_STATE_INPUT ~= "----" and CURRENT_DROP_STATE_INPUT ~= "-----" and CURRENT_DROP_STATE_INPUT ~= "------" and CURRENT_DROP_STATE_INPUT ~= "-------" then if not StringContains(CURRENT_DROP_STATE_INPUT, "{") then local split_values = SplitString(CURRENT_DROP_STATE_INPUT, "-"); local val_1 = split_values[1]; local val_2 = split_values[2]; timer.stop(); DROP_STATE_EDITOR_BOX:setVisible(false); DROP_STATE_EDITOR_BOX:setFocus(false); DROP_STATE(val_1, tonumber(val_2)); SET_MODE("scene"); platform.window:invalidate(); end end end if IS_BATTLE_MODE then local curr_millis = timer.getMilliSecCounter(); if REN_WON_BATTLE_MILLIS ~= 0 then local diff = curr_millis - REN_WON_BATTLE_MILLIS; if curr_millis - REN_WON_BATTLE_MILLIS > 3000 then REN_WON_BATTLE_MILLIS = 0; KEY_PRESSES_ALLOWED = true; timer.stop(); KEY_PRESSES_ALLOWED = true; --timer.start(0.025); ON_BATTLE_WON_TWO(); ON_BATTLE_WON(); KEY_PRESSES_ALLOWED = true; RESET_BATTLE(); KEY_PRESSES_ALLOWED = true; SET_MODE("scene"); KEY_PRESSES_ALLOWED = true; platform.window:invalidate(); KEY_PRESSES_ALLOWED = true; SET_MODE("scene"); KEY_PRESSES_ALLOWED = true; main(); KEY_PRESSES_ALLOWED = true; return; end end if MONSTER_WON_BATTLE_MILLIS ~= 0 then local diff = curr_millis - MONSTER_WON_BATTLE_MILLIS; if diff > 2500 then timer.stop(); MONSTER_WON_BATTLE_MILLIS = 0; RESET_BATTLE(); DIE(); return; end end if REN_ATTACK_MILLIS ~= 0 then if(curr_millis - REN_ATTACK_MILLIS) > 300 then SHOULD_FLASH_MONSTER = true; SHOULD_SHOW_MONSTER_HP = false; REN_ATTACK_MILLIS = 0; BATTLE(); --timer.stop(); --timer.start(0.025); MONSTER_FLASHING_MILLIS = timer.getMilliSecCounter(); platform.window:invalidate(); end end if MONSTER_FLASHING_MILLIS ~= 0 then if(curr_millis - MONSTER_FLASHING_MILLIS > 750) then MONSTER_FLASHING_MILLIS = 0; MONSTER_DAMAGE_MILLIS = timer.getMilliSecCounter(); BATTLE(); --timer.stop(); --timer.start(0.025); platform.window:invalidate(); end end if MONSTER_DAMAGE_MILLIS ~= 0 then if curr_millis - MONSTER_DAMAGE_MILLIS > 750 then MONSTER_DAMAGE_MILLIS = 0; SHOULD_SHOW_MONSTER_DAMAGE = true; REN_ATTACKS_MONSTER = true; SHOULD_SHOW_REN_DAMAGE = false; --SHOULD_FLASH_MONSTER = true; SHOW_REN_DAMAGE_MILLIS = timer.getMilliSecCounter(); BATTLE(); --timer.stop(); --timer.start(0.025); platform.window:invalidate(); end end if SHOW_REN_DAMAGE_MILLIS ~= 0 then if curr_millis - SHOW_REN_DAMAGE_MILLIS > 750 then SHOW_REN_DAMAGE_MILLIS = 0; --SHOULD_SHOW_REN_DAMAGE = true; SHOULD_FLASH_MONSTER = false; SHOULD_SHOW_MONSTER_DAMAGE = false; SHOULD_FLASH_REN = true; SHOULD_SHOW_MONSTER_HP = true; --timer.stop(); --timer.start(0.025); REN_SHOW_DAMAGE_MILLIS = timer.getMilliSecCounter(); BATTLE(); platform.window:invalidate(); end end if REN_SHOW_DAMAGE_MILLIS ~= 0 then if curr_millis - REN_SHOW_DAMAGE_MILLIS > 1250 then REN_SHOW_DAMAGE_MILLIS = 0; SHOULD_SHOW_REN_DAMAGE = true; MONSTER_ATTACKS_REN = true; --timer.stop(); --timer.start(0.025); TURN_RESET_MILLIS = timer.getMilliSecCounter(); BATTLE(); platform.window:invalidate(); end end if TURN_RESET_MILLIS ~= 0 then if curr_millis - TURN_RESET_MILLIS > 1250 then TURN_RESET_MILLIS = 0; if ATTACK_PRIME > 0 then ATTACK_PRIME = ATTACK_PRIME * -1; else ATTACK_PRIME = 0; end -- reset IS_REN_BATTLE_TURN = true; SHOULD_FLASH_MONSTER = false; SHOULD_SHOW_MONSTER_DAMAGE = false; SHOULD_FLASH_REN = false; SHOULD_SHOW_MONSTER_HP = true; SHOULD_SHOW_REN_DAMAGE = false; REN_ATTACKS_MONSTER = false; MONSTER_ATTACKS_REN = false; BATTLE(); platform.window:invalidate(); --timer.stop(); --timer.start(0.025); end end platform.window:invalidate(); end -- CUT SCENES if CURRENT_CUT_SCENE_NUMBER > 0 then -- Allowed to rest and walk into inn if CURRENT_CUT_SCENE_NUMBER == 1 then local idx = CUT_SCENE_ITEM_IDX; if idx >= 0 and idx < 6 then on.arrowLeft(true); CUT_SCENE_ITEM_IDX = CUT_SCENE_ITEM_IDX + 1; end if idx == 6 then SCENE_DATA["tile_at_13,11"] = render_common_0001; SCENE_DATA["movement_allowed_at_13,11"] = true; platform.window:invalidate(); CUT_SCENE_ITEM_IDX = CUT_SCENE_ITEM_IDX + 1; end if idx >= 7 and idx <= 10 then on.arrowLeft(true); CUT_SCENE_ITEM_IDX = CUT_SCENE_ITEM_IDX + 1; end if idx >= 11 and idx <= 15 then on.arrowUp(true); CUT_SCENE_ITEM_IDX = CUT_SCENE_ITEM_IDX + 1; end if idx >= 16 and idx <= 20 then on.arrowDown(true); CUT_SCENE_ITEM_IDX = CUT_SCENE_ITEM_IDX + 1; end if idx == 21 then timer.stop(); CUT_SCENE_ITEM_IDX = 0; CURRENT_CUT_SCENE_NUMBER = 0; CURRENT_DIALOG_COPY = "You drank ale and slept well. Your health is now restored. Perhaps you should visit the merchant."; DIALOG_SHOULD_ADVANCE = true; DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate(); end; SET_MODE("dialog"); platform.window:invalidate(); KEY_PRESSES_ALLOWED = true; end end end end function main() if IS_MAIN_MENU_MODE then render_main_menu(true); return; end if SCENE_ENTRANCE_REQUIRED then SCENE_ENTRANCE_REQUIRED = false; local scene_key = "enter_scene_" .. PrePadString(CURRENT_SCENE, 4); _G[scene_key](); UNPACK_SCENE(); PLAYER_DIR = SCENE_DATA["starting_dir"]; MAP_X_OFFSET = SCENE_DATA["map_x_offset"]; MAP_Y_OFFSET = SCENE_DATA["map_y_offset"]; PLAYER_X_OFFSET = SCENE_DATA["player_x_offset"]; PLAYER_Y_OFFSET = SCENE_DATA["player_y_offset"]; SCREEN_X_OFFSET = SCENE_DATA["screen_x_offset"]; SCREEN_Y_OFFSET = SCENE_DATA["screen_y_offset"]; if WARP_MAP_X ~= nil then MAP_X_OFFSET = WARP_MAP_X; MAP_Y_OFFSET = WARP_MAP_Y; PLAYER_X_OFFSET = WARP_PLAYER_X; PLAYER_Y_OFFSET = WARP_PLAYER_Y; SCREEN_X_OFFSET = WARP_SCREEN_X; SCREEN_Y_OFFSET = WARP_SCREEN_Y; PLAYER_DIR = WARP_PLAYER_DIR; WARP_MAP_X = nil; WARP_MAP_Y = nil; WARP_PLAYER_X = nil; WARP_PLAYER_Y = nil; WARP_SCREEN_X = nil; WARP_SCREEN_Y = nil; WARP_PLAYER_DIR = nil; end if SCENE_DATA["name"] == "Homeroom" then SET_MODE("dialog"); CURRENT_DIALOG_COPY = SCENE_DATA["initial_dialog_copy"]; DIALOG_CALLBACK = function() SET_MODE("scene"); platform.window:invalidate(); end end SCENE_DATA.on_entrance(); end if IS_SCENE_MODE then --SET_ALPHA(); render_scene(); render_player(); return; end if IS_DIALOG_MODE then DIALOG_SHOULD_ADVANCE = true; RENDER_DIALOG(); end if IS_TRANSITION_MODE then local gfx = GFX; local t = TRANSITION_IDX; if t == 1 then gfx:setColorRGB(255, 255, 255); gfx:drawRect(0, 0, 318, 212); end gfx:setColorRGB(0, 0, 0); gfx:fillRect(0, 0, 318, t * 4) end if IS_MONSTER_TRANSITION_MODE then local gfx = GFX; local t = MONSTER_TRANSITION_IDX; if t == 1 then gfx:setColorRGB(255, 255, 255); gfx:drawRect(0, 0, 318, 212); gfx:setColorRGB(0, 0, 0); gfx:fillRect(150, 0, 6, 212); end if t ~= 1 then gfx:fillRect(150 - ((t - 1) * 6), 0, 6 * t, 212); gfx:fillRect(156, 0, 6 * (t + 1), 212); end end if IS_BATTLE_MODE then BATTLE(); end if IS_DROP_STATE_MODE then if DROP_STATE_BOX_INITIALIZED == false then local gfx = GFX; DROP_STATE_BOX_INITIALIZED = true; DROP_STATE_EDITOR_BOX = D2Editor.newRichText(); gfx:setColorRGB(255, 255, 255); gfx:fillRect(0, 0, 318, 212); gfx:setColorRGB(0, 0, 0); DROP_STATE_EDITOR_BOX:move(0, 0); DROP_STATE_EDITOR_BOX:resize(318, 212); DROP_STATE_EDITOR_BOX:setBorderColor(500); DROP_STATE_EDITOR_BOX:setBorder(1); DROP_STATE_EDITOR_BOX:setTextColor(0 * 0 * 0); DROP_STATE_EDITOR_BOX:setText(CURRENT_DROP_STATE_INPUT); DROP_STATE_EDITOR_BOX:setFocus(true); DROP_STATE_EDITOR_BOX:setVisible(true); cursor.show(); end end if IS_MERCHANT_MODE then if CURRENT_INN_ITEM_IDX == nil then CURRENT_INN_ITEM_IDX = 1; end BROWSE_MERCHANT_ITEMS(CURRENT_INN_ITEM_IDX); end -- browsing items in battle mode if IS_BROWSE_BATTLE_MODE then BROWSE_BATTLE_ITEMS(); end end --END OF GLOBALS DO NOT DELETE THIS LINE