#Error: Line 98 (5 in this paste): Read beyond bounds of image file gfx_32bpp/MAG_FLATBED_0000.png # #template template_32bpp_vehicle4_MASK(x,y,z,m) { # //x= hexa code y=2nd column z= filename, m = mask filename # [ 128+y*1152, 128*x-y*16384, 128, 128, -60, -113,z,m] # [ 256+y*1152, 128*x-y*16384, 128, 128, -56, -97,z,m] # [ 384+y*1152, 128*x-y*16384, 128, 128, -32, -95,z,m] # [ 512+y*1152, 128*x-y*16384, 128, 128, -36, -83,z,m] # [ 640+y*1152, 128*x-y*16384, 128, 128, -60, -82,z,m] # [ 768+y*1152, 128*x-y*16384, 128, 128, -87, -81,z,m] # [ 896+y*1152, 128*x-y*16384, 128, 128, -95, -95,z,m] # [ 1024+y*1152,128*x-y*16384, 128, 128, -68, -99,z,m] min_x = 0 min_y = 0 def alternative_sprites(n, x, y, s, t): global min_x, min_y ix = 1024+y*1152 iy = 128*x-y*16384 if ix > min_x: min_x = ix print("X bigger for {}: min_x={}".format(n, min_x)) if iy > min_y: min_y = iy print("Y bigger for {}: min_y={}".format(n, min_y)) alternative_sprites ("spriteset_maglevflatbed_empty_batteries",0x00,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_bubbles",0x10,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_fizzydrinks",0xC0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_food",0x50,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_fruit",0x20,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_goods",0x30,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_livestock",0x70,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_paper",0x90,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_steel",0xA0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_toys",0xB0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_vehicles",0xD0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_wood",0xE0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_empty_YETI",0xF0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_bricks",0x39,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_batteries",0x01,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_bubbles",0x11,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_fizzydrinks",0xC1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_foodblue",0x51,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_foodgreen",0x52,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_foodred",0x53,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_foodyellow",0x54,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_fruitoranges",0x21,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_fruitstrawberries",0x22,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_glass",0x3A,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodsblue",0x31,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodsgreen",0x32,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodspurple",0x33,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodspink",0x34,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodsgray",0x35,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodslumber",0x36,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodscrates",0x37,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_goodsbarrels",0x38,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_livestockducks1",0x71,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_livestockducks2",0x72,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_livestockcows",0x73,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_livestockpigs",0x74,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_livestocksheep",0x75,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_paper",0x91,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_steel",0xA1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_sweetsred",0x61,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_sweetsyellow",0x62,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_sweetsgreen",0x63,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_sweetsblue",0x64,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_sweetspurple",0x65,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toysblue",0xB1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toysred",0xB2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toysyellow",0xB3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toysblack",0xB4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toysgreen",0xB5,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_toyswhite",0xB6,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_vehicles1",0xD1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_vehicles2",0xD2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_wood",0xE1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_valu",0xC2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_diam",0xC3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_gold",0xC4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_coffee",0xB7,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_YETI_1",0xF1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_YETI_2",0xF2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_YETI_3",0xF3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_YETI_4",0xF4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png") alternative_sprites ("spriteset_maglevflatbed_YETI_5",0xF5,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")