Loading

Paste #ppkg4mk3k

  1. #Error: Line 98 (5 in this paste): Read beyond bounds of image file gfx_32bpp/MAG_FLATBED_0000.png
  2. #
  3. #template template_32bpp_vehicle4_MASK(x,y,z,m) {
  4. #   //x= hexa code y=2nd column  z= filename, m = mask filename
  5. #   [ 128+y*1152, 128*x-y*16384,  128, 128,  -60, -113,z,m]
  6. #   [ 256+y*1152, 128*x-y*16384, 128, 128, -56, -97,z,m]
  7. #   [ 384+y*1152, 128*x-y*16384, 128, 128, -32, -95,z,m]
  8. #   [ 512+y*1152, 128*x-y*16384, 128, 128,  -36, -83,z,m]
  9. #   [ 640+y*1152, 128*x-y*16384,  128, 128,  -60, -82,z,m]
  10. #   [ 768+y*1152, 128*x-y*16384, 128, 128, -87, -81,z,m]
  11. #   [ 896+y*1152, 128*x-y*16384, 128, 128, -95, -95,z,m]
  12. #   [ 1024+y*1152,128*x-y*16384, 128, 128,  -68, -99,z,m]
  13.  
  14. min_x = 0
  15. min_y = 0
  16.  
  17. def alternative_sprites(n, x, y, s, t):
  18.     global min_x, min_y
  19.     ix = 1024+y*1152
  20.     iy = 128*x-y*16384
  21.  
  22.     if ix > min_x:
  23.         min_x = ix
  24.         print("X bigger for {}: min_x={}".format(n, min_x))
  25.  
  26.     if iy > min_y:
  27.         min_y = iy
  28.         print("Y bigger for {}: min_y={}".format(n, min_y))
  29.  
  30.  
  31. alternative_sprites ("spriteset_maglevflatbed_empty_batteries",0x00,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  32. alternative_sprites ("spriteset_maglevflatbed_empty_bubbles",0x10,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  33. alternative_sprites ("spriteset_maglevflatbed_empty_fizzydrinks",0xC0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  34. alternative_sprites ("spriteset_maglevflatbed_empty_food",0x50,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  35. alternative_sprites ("spriteset_maglevflatbed_empty_fruit",0x20,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  36. alternative_sprites ("spriteset_maglevflatbed_empty_goods",0x30,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  37. alternative_sprites ("spriteset_maglevflatbed_empty_livestock",0x70,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  38. alternative_sprites ("spriteset_maglevflatbed_empty_paper",0x90,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  39. alternative_sprites ("spriteset_maglevflatbed_empty_steel",0xA0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  40. alternative_sprites ("spriteset_maglevflatbed_empty_toys",0xB0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  41. alternative_sprites ("spriteset_maglevflatbed_empty_vehicles",0xD0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  42. alternative_sprites ("spriteset_maglevflatbed_empty_wood",0xE0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  43. alternative_sprites ("spriteset_maglevflatbed_empty_YETI",0xF0,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  44.  
  45. alternative_sprites ("spriteset_maglevflatbed_bricks",0x39,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  46. alternative_sprites ("spriteset_maglevflatbed_batteries",0x01,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  47. alternative_sprites ("spriteset_maglevflatbed_bubbles",0x11,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  48. alternative_sprites ("spriteset_maglevflatbed_fizzydrinks",0xC1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  49. alternative_sprites ("spriteset_maglevflatbed_foodblue",0x51,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  50. alternative_sprites ("spriteset_maglevflatbed_foodgreen",0x52,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  51. alternative_sprites ("spriteset_maglevflatbed_foodred",0x53,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  52. alternative_sprites ("spriteset_maglevflatbed_foodyellow",0x54,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  53. alternative_sprites ("spriteset_maglevflatbed_fruitoranges",0x21,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  54. alternative_sprites ("spriteset_maglevflatbed_fruitstrawberries",0x22,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  55. alternative_sprites ("spriteset_maglevflatbed_glass",0x3A,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  56. alternative_sprites ("spriteset_maglevflatbed_goodsblue",0x31,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  57. alternative_sprites ("spriteset_maglevflatbed_goodsgreen",0x32,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  58. alternative_sprites ("spriteset_maglevflatbed_goodspurple",0x33,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  59. alternative_sprites ("spriteset_maglevflatbed_goodspink",0x34,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  60. alternative_sprites ("spriteset_maglevflatbed_goodsgray",0x35,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  61. alternative_sprites ("spriteset_maglevflatbed_goodslumber",0x36,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  62. alternative_sprites ("spriteset_maglevflatbed_goodscrates",0x37,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  63. alternative_sprites ("spriteset_maglevflatbed_goodsbarrels",0x38,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  64. alternative_sprites ("spriteset_maglevflatbed_livestockducks1",0x71,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  65. alternative_sprites ("spriteset_maglevflatbed_livestockducks2",0x72,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  66. alternative_sprites ("spriteset_maglevflatbed_livestockcows",0x73,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  67. alternative_sprites ("spriteset_maglevflatbed_livestockpigs",0x74,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  68. alternative_sprites ("spriteset_maglevflatbed_livestocksheep",0x75,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  69. alternative_sprites ("spriteset_maglevflatbed_paper",0x91,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  70. alternative_sprites ("spriteset_maglevflatbed_steel",0xA1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  71. alternative_sprites ("spriteset_maglevflatbed_sweetsred",0x61,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  72. alternative_sprites ("spriteset_maglevflatbed_sweetsyellow",0x62,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  73. alternative_sprites ("spriteset_maglevflatbed_sweetsgreen",0x63,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  74. alternative_sprites ("spriteset_maglevflatbed_sweetsblue",0x64,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  75. alternative_sprites ("spriteset_maglevflatbed_sweetspurple",0x65,0,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  76. alternative_sprites ("spriteset_maglevflatbed_toysblue",0xB1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  77. alternative_sprites ("spriteset_maglevflatbed_toysred",0xB2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  78. alternative_sprites ("spriteset_maglevflatbed_toysyellow",0xB3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  79. alternative_sprites ("spriteset_maglevflatbed_toysblack",0xB4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  80. alternative_sprites ("spriteset_maglevflatbed_toysgreen",0xB5,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  81. alternative_sprites ("spriteset_maglevflatbed_toyswhite",0xB6,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  82. alternative_sprites ("spriteset_maglevflatbed_vehicles1",0xD1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  83. alternative_sprites ("spriteset_maglevflatbed_vehicles2",0xD2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  84. alternative_sprites ("spriteset_maglevflatbed_wood",0xE1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  85. alternative_sprites ("spriteset_maglevflatbed_valu",0xC2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  86. alternative_sprites ("spriteset_maglevflatbed_diam",0xC3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  87. alternative_sprites ("spriteset_maglevflatbed_gold",0xC4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  88. alternative_sprites ("spriteset_maglevflatbed_coffee",0xB7,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  89. alternative_sprites ("spriteset_maglevflatbed_YETI_1",0xF1,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  90. alternative_sprites ("spriteset_maglevflatbed_YETI_2",0xF2,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  91. alternative_sprites ("spriteset_maglevflatbed_YETI_3",0xF3,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  92. alternative_sprites ("spriteset_maglevflatbed_YETI_4",0xF4,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")
  93. alternative_sprites ("spriteset_maglevflatbed_YETI_5",0xF5,1,"gfx_32bpp/MAG_FLATBED_0000.png","gfx_32bpp/MAG_FLATBED_mask_8bpp.png")

Comments