Advertisement
KK20

[XP] Advanced Weather - F0 and Ccoa

Oct 16th, 2020 (edited)
3,050
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 228.42 KB | None | 0 0
  1. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  2. # Zer0 Advanced Weather
  3. # Author: ForeverZer0
  4. # Base Script: Ccoa
  5. # Color Effects: Agckuu Coceg
  6. # Version: 1.1
  7. # Date: 4.7.2010
  8. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  9. # Version History
  10. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  11. # Version 1.0 (3.31.2010)
  12. #   - Original Release
  13. #
  14. # Version 1.1 (4.7.2010)
  15. #   - Added weather effects
  16. #       - Bats
  17. #       - Bees
  18. #       - Fish (good for underwater scenes)
  19. #       - Ravens
  20. #   - Butterfly flight has been made a little more random, they will now turn
  21. #     and not just move in a straight line until they leave the screen
  22. #   - Improved leaf effects. They now initialize in random poses.
  23. #   - Updated Credits, forgot to credit Blizzard for Bitmap2Code! :\
  24. #   - Made some minor coding improvements
  25. #
  26. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  27. #
  28. # Instructions:
  29. #
  30. #    1. Place anywhere below Spriteset_Map.
  31. #    2. Weather can be still be changed with the normal script call...
  32. #
  33. #           $game_screen.weather(type, power, transition)
  34. #
  35. #       ...but a new addition has been added. The weather variation can be
  36. #       changed by using this script call:
  37. #
  38. #           $game_screen.weather(type, power, transition, variation)
  39. #
  40. #       If you omit the variation, it will be assumed to be 0 and the normal
  41. #       default weather pattern will be used.
  42. #
  43. # Notes/Issues:
  44. #
  45. #    Realistic Storm uses random volume and pitch for the thunder. It also
  46. #    incorporates a quick screen shake (Agckuu Coceg), but only if the
  47. #    volume and pitch are both high (ForeverZer0), to give a realistic feel
  48. #    to the storm.
  49. #
  50. # Credits/Thanks:
  51. #
  52. #     1. Ccoa (base script, most default weather effects)
  53. #     2. Agckuu Coceg (inspiration, most color effects)
  54. #     3. Blizzard (Bitmap2Code program made new effects possible)
  55. #     4. ForeverZer0 (all the rest ;)
  56. #
  57. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  58. #
  59. #  Anything within () is a possible variation for the respective weather type.
  60. #   The first item is the default, or 0, and the following are 1, 2, etc. in
  61. #   order.
  62. #
  63. # Weather Types
  64. #   1. Rain (Normal, Blood, Oil, Acid, Golden, Sepia)
  65. #   2. Storm (Normal, Blood, Oil, Acid, Golden, Sepia)
  66. #   3. Snow (Normal, Crimson)
  67. #   4. Hail
  68. #   5. Rain w/ thunder & lightning (Normal, Blood, Oil, Acid, Golden, Sepia)
  69. #   6. Falling Leaves (Green, Yellow, Autumn, Red Maple)
  70. #   7. Blowing Leaves (Green, Yellow, Autumn, Red Maple)
  71. #   8. Swirling Leaves (Green, Yellow, Autumn, Red Maple)
  72. #   9. Realistic Storm
  73. #  10. Sakura Petals
  74. #  11. Petals (Rose, bubble_color3, Tiger Lily, Pink, Blue, Green, Blue-Purple)
  75. #  12. Feathers
  76. #  13. Butterflies (Violet, Red, Yellow, Aqua-blue, Green)
  77. #  14. Sparkles (Blue, Lavender, Pink, Green, White)
  78. #  15. User Defined
  79. #  16. Blowing Snow (Normal, Crimson)
  80. #  17. Meteors (Normal, Flame, Rock)
  81. #  18. Falling Ash
  82. #  19. Bubbles
  83. #  20. Bubbles 2
  84. #  21. Sparkles (Up) (Blue, Lavender, Pink, Green, White)
  85. #  22. Falling Rocks
  86. #  23. Arrows
  87. #  24. Starburst-Burst
  88. #  25. Starburst-Up
  89. #  26. Starburst-Rain
  90. #  27. Monochromatic Starburst-Burst (Yellow, Green, Aqua-blue, Blue, Violet, Red)
  91. #  28. Monochromatic Starburst-Up (same as above)
  92. #  29. Monochromatic Starburst-Down (same as above)
  93. #  30. Bombs (Water, Ice, Flare)
  94. #  31. Birds
  95. #  32. Bats
  96. #  33. Bees
  97. #  34. Fish
  98. #  35. Ravens
  99. #
  100. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  101. # BEGIN CONFIGURATION
  102. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  103.  
  104.   WEATHER_TYPE_VARIABLE  = 25
  105.   # ID of game variable. Will be equal to the "type" of weather.
  106.  
  107.   ADVERSE_WEATHER_SWITCH = 13
  108.   # ID of the game switch. Will be true during bad weather. (see below)
  109.  
  110.   ADVERSE_WEATHER = [1, 2, 4, 5, 9, 16]
  111.   # Include any effects you wish. Adverse weather switch will be true when
  112.   # any of these weather patterns are occuring.
  113.  
  114.   THUNDER_RATE = 6
  115.   # Adjust how constant the thunder is. Higher values will increase the delay
  116.   # between thunder strikes. Weather power will still effect the rate, but this
  117.   # will change the overall rate. 0 will result in constant, unending screen
  118.   # flashes. Not good for epileptics... :P
  119.  
  120.   GAME_RESOLUTION = [640, 480]
  121.   # The size of your game. Normally is 640 x 480, but some scripts allow changing
  122.   # this resolution size.
  123.  
  124. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  125. # END CONFIGURATION
  126. #=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  127.  
  128. #-------------------------------------------------------------------------------
  129. #  Weather Power:
  130. #    An integer from 0-50.  0 = no weather, 50 = 500 sprites
  131. #-------------------------------------------------------------------------------
  132. #  Transition:
  133. #    The number of frames to "transition" the weather in
  134. #-------------------------------------------------------------------------------
  135. #  Usage of user-defined weather:
  136. #    Look at the following globals:
  137. #-------------------------------------------------------------------------------
  138. $WEATHER_UPDATE = false   # the $WEATHER_IMAGES array has changed, please update
  139. $WEATHER_IMAGES = []      # the array of picture names to use
  140. $WEATHER_X = 0            # the number of pixels the image should move horizontally (positive = right, negative = left)
  141. $WEATHER_Y = 0            # the number of pizels the image should move vertically (positive = down, negative = up)
  142. $WEATHER_FADE = 0         # how much the image should fade each update (0 = no fade, 255 = fade instantly)
  143. $WEATHER_ANIMATED = false # whether or not the image should cycle through all the images
  144. #-------------------------------------------------------------------------------
  145.  
  146. $zer0_adv_weather = 1.1
  147.  
  148. module RPG
  149. class Weather
  150.   def initialize(viewport = nil)
  151.     $game_screen = Game_Screen.new if $game_screen == nil
  152.     @type = @max = @ox = @oy = @count = 0
  153.     @current_pose, @info, @countarray = [], [], []
  154.     make_bitmaps
  155.  
  156.     (1..500).each {|i|
  157.       sprite = Sprite.new(viewport)
  158.       sprite.z = 1000
  159.       sprite.visible = false
  160.       sprite.opacity = 0
  161.       @sprites.push(sprite)
  162.       @current_pose.push(0)
  163.       @info.push(rand(50))
  164.       @countarray.push(rand(15))
  165.     }
  166.   end
  167.  
  168.   def dispose
  169.    
  170.     @sprites.each {|sprite| sprite.dispose}
  171.    
  172.    [@rain_bitmap, @storm_bitmap, @impact_bitmap, @meteor_bitmap, @hail_bitmap,
  173.     @sakura_bitmap, @snow_bitmap, @bomb_bitmap, @arrow_bitmap, @fish_bitmap
  174.     ].each {|bitmap| bitmap.dispose}
  175.  
  176.     @leaf_bitmaps.each {|image| image.dispose}
  177.     @petal_bitmaps.each {|image| image.dispose}
  178.     @feather_bitmaps.each {|image| image.dispose}
  179.     @sparkle_bitmaps.each {|image| image.dispose}
  180.     @starburst_bitmaps.each {|image| image.dispose}
  181.     @monostarburst_bitmaps.each {|image| image.dispose}
  182.     @fallingrocks_bitmaps.each {|image| image.dispose}
  183.     @butterfly_bitmaps.each {|image| image.dispose}
  184.     @bird_bitmaps.each {|image| image.dispose}
  185.     @bat_bitmaps.each {|image| image.dispose}
  186.     @bee_bitmaps.each {|image| image.dispose}
  187.     @raven_bitmaps.each {|image| image.dispose}
  188.     @user_bitmaps.each {|image| image.dispose}
  189.  
  190.     $WEATHER_UPDATE = true
  191.    
  192.   end
  193. #-------------------------------------------------------------------------------  
  194.   def type=(type)
  195.     return if @type == type
  196.     @type = type
  197.     case @type
  198.     when 1, 5, 9                            # Rain, Thunder, Real Thunder
  199.       bitmap = @rain_bitmap
  200.       @thunder = true if @type == 5
  201.       @realistic_thunder = true if @type == 9
  202.     when 2                                  # Storm
  203.       bitmap = @storm_bitmap
  204.     when 3, 16                              # Snow
  205.       bitmap = @snow_bitmap
  206.     when 4                                  # Hail
  207.       bitmap = @hail_bitmap
  208.     when 6, 7, 8                            # Leaves
  209.       bitmap = @leaf_bitmaps
  210.     when 10                                 # Sakura petals
  211.       bitmap = @sakura_bitmap
  212.     when 11                                 # Flower petals
  213.       bitmap = @petal_bitmaps[0]
  214.     when 12                                 # Feathers
  215.       bitmap = @feather_bitmaps[0]
  216.     when 13                                 # Butterflies
  217.       bitmap = @butterfly_bitmaps
  218.     when 14                                 # Sparkles
  219.       bitmap = @sparkle_bitmaps[0]
  220.     when 15                                 # User-defined
  221.       r = rand(@user_bitmaps.size)
  222.       bitmap = @user_bitmaps[r]
  223.     when 17                                 # Meteors
  224.       bitmap = @meteor_bitmap
  225.     when 18                                 # Falling ash
  226.       bitmap = @ash_bitmaps[rand(2)]
  227.     when 19                                 # Bubbles
  228.       bitmap = @bubble_bitmaps[rand(2)]
  229.     when 20                                 # Bubbles 2
  230.       bitmap = @bubble2_bitmaps[rand(4)]
  231.     when 21                                 # Sparkles up
  232.       bitmap = @sparkle_bitmaps[0]
  233.     when 22                                 # Falling rocks
  234.       bitmap = @fallingrocks_bitmaps
  235.     when 23                                 # Arrows
  236.       bitmap = @arrow_bitmap
  237.     when 24, 25, 26                         # Starburst
  238.       bitmap = @starburst_bitmaps[0]
  239.     when 27, 28, 29                         # Mono-starburst
  240.       bitmap = @monostarburst_bitmaps[0]
  241.     when 30                                 # Bombs
  242.       bitmap = @bomb_bitmap
  243.     when 31                                 # Birds
  244.       bitmap = @bird_bitmaps
  245.     when 32                                 # Bats
  246.       bitmap = @bat_bitmaps
  247.     when 33                                 # Bees
  248.       bitmap = @bee_bitmaps
  249.     when 34                                 # Fish
  250.       bitmap = @fish_bitmap
  251.     when 35                                 # Ravens
  252.       bitmap = @raven_bitmaps
  253.     else                                    # No weather
  254.       bitmap = nil
  255.     end
  256.      
  257.     @thunder           = false if @type != 5
  258.     @realistic_thunder = false if @type != 9
  259.        
  260.     # Operates the Adverse Weather Switch and Weather Type Variable
  261.     if $game_switches != nil && $game_variables != nil
  262.       $game_variables[WEATHER_TYPE_VARIABLE] = $game_screen.weather_type
  263.       if ADVERSE_WEATHER.include?($game_screen.weather_type)
  264.         $game_switches[ADVERSE_WEATHER_SWITCH] = true
  265.       else                                
  266.         $game_switches[ADVERSE_WEATHER_SWITCH] = false
  267.       end
  268.     end
  269.  
  270.     (1..500).each {|i|
  271.       sprite = @sprites[i]
  272.       if sprite != nil
  273.         sprite.visible = (i <= @max)
  274.         if @type == 3
  275.           r = @info[i] = rand(4)
  276.           sprite.bitmap = @snow_bitmaps[r]
  277.         elsif @type == 6 || @type == 7 || @type == 8
  278.           @current_pose[i] = rand(13)
  279.           bitmap = @leaf_bitmaps[@current_pose[i]]
  280.         elsif @type == 13
  281.           @current_pose[i] = rand(16)
  282.           sprite.bitmap = @butterfly_bitmaps[@current_pose[i]]
  283.         elsif @type == 19
  284.           sprite.bitmap = @bubble_bitmaps[rand(2)]
  285.         elsif @type == 20
  286.           sprite.bitmap = @bubble2_bitmaps[rand(4)]
  287.         elsif @type == 22
  288.           r = @info[i] = rand(3)
  289.           sprite.bitmap = @fallingrocks_bitmaps[r]
  290.         elsif @type == 31
  291.           @current_pose[i] = rand(4)
  292.           sprite.bitmap = @bird_bitmaps[@current_pose[i]]
  293.         elsif @type == 32
  294.           @current_pose[i] = rand(16)
  295.           sprite.bitmap = @bat_bitmaps[@current_pose[i]]
  296.         elsif @type == 33
  297.           @current_pose[i] = rand(16)
  298.           sprite.bitmap = @bee_bitmaps[@current_pose[i]]
  299.         elsif @type == 34
  300.           @info[i] = rand(200)
  301.           sprite.bitmap = bitmap
  302.         elsif @type == 35
  303.           @current_pose[i] = rand(16)
  304.           sprite.bitmap = @raven_bitmaps[@current_pose[i]]
  305.         else
  306.           sprite.bitmap = bitmap
  307.         end
  308.       end
  309.     }
  310.   end
  311.  
  312.   def ox=(ox)
  313.     return if @ox == ox;
  314.     @ox = ox
  315.     @sprites.each {|sprite| sprite.ox = @ox}
  316.   end
  317.  
  318.   def oy=(oy)
  319.     return if @oy == oy;
  320.     @oy = oy
  321.     @sprites.each {|sprite| sprite.oy = @oy}
  322.   end
  323.  
  324.   def max=(max)
  325.     return if @max == max;
  326.     @max = [[max, 0].max, 500].min
  327.     (1..500).each {|i|
  328.       sprite = @sprites[i]
  329.       sprite.visible = (i <= @max) if sprite != nil
  330.     }
  331.   end
  332.  
  333. #-------------------------------------------------------------------------------  
  334.   def update
  335.     return if @type == 0
  336.     (1..@max).each {|i|
  337.       sprite = @sprites[i]
  338.       break if sprite == nil
  339.     #----------------------------------------------------------------------    
  340.       if @type == 1 || @type == 5 || @type == 9  # Rain        
  341.         if sprite.opacity <= 150
  342.           if @current_pose[i] == 0
  343.             sprite.y += @rain_bitmap.height
  344.             sprite.x -= @rain_bitmap.width
  345.             if @type == 1 || @type == 5 || @type == 9
  346.               sprite.bitmap = @rain_splash
  347.             end
  348.             @current_pose[i] = 1
  349.           end
  350.         else
  351.           if @current_pose[i] == 1
  352.             if @type == 1 || @type == 5 || @type == 9
  353.               sprite.bitmap = @rain_bitmap
  354.             end
  355.             @current_pose[i] = 0
  356.           end
  357.           sprite.x -= 2
  358.           sprite.y += 16
  359.           if @thunder && (rand((THUNDER_RATE * 2000) - @max) == 0)
  360.             case $game_screen.weather_variation
  361.             when 0, 2, 3, 4 # Normal, Acid, Oil, and Golden
  362.               $game_screen.start_flash(Color.new(255, 255, 255, 255), 5)
  363.             when 1 # Blood
  364.               $game_screen.start_flash(Color.new(141, 9, 9, 255), 5)
  365.             when 5 # Sepia
  366.               $game_screen.start_flash(Color.new(169, 152, 142, 255), 5)
  367.             end
  368.             Audio.se_play('Audio/SE/061-Thunderclap01')
  369.           end
  370.         end
  371.         sprite.opacity -= 8
  372.       end
  373.       if @realistic_thunder && (rand((THUNDER_RATE * 2000) - @max) == 0)
  374.         thundervolume = rand(50) + 50 # Random number 50-100
  375.         thunderpitch = rand(100) + 50 # Random number 50-150
  376.         Audio.se_play('Audio/SE/061-Thunderclap01', thundervolume, thunderpitch)
  377.         # Screen will not flash or shake unless the volume and pitch are high
  378.         if thundervolume > 75 && thunderpitch > 100
  379.           $game_screen.start_flash(Color.new(255, 255, 255, 255), 7)
  380.           $game_screen.start_shake(9, 7, 5)
  381.         end
  382.       end
  383.     #----------------------------------------------------------------------
  384.       if @type == 2  # Storm
  385.         sprite.x -= 8
  386.         sprite.y += 16
  387.         sprite.opacity -= 12
  388.       end
  389.     #----------------------------------------------------------------------
  390.       if @type == 3 # Snow
  391.         case @info[i]
  392.         when 0
  393.           sprite.y += 1
  394.         when 1
  395.           sprite.y += 3
  396.         when 2
  397.           sprite.y += 5
  398.         when 3
  399.           sprite.y += 7
  400.         end
  401.         sprite.opacity -= 3
  402.       end
  403.     #----------------------------------------------------------------------
  404.       if @type == 4 # Hail
  405.         sprite.x -= 1
  406.         sprite.y += 18
  407.         sprite.opacity -= 15
  408.       end
  409.     #----------------------------------------------------------------------
  410.       if @type == 6 # Falling Leaves
  411.         @count = rand(20)
  412.         if @count == 0
  413.           sprite.bitmap = @leaf_bitmaps[@current_pose[i]]
  414.           @current_pose[i] = (@current_pose[i] + 1) % 13
  415.         end
  416.         sprite.y += 1
  417.       end
  418.     #----------------------------------------------------------------------
  419.       if @type == 7 # Blowing Leaves
  420.         @count = rand(20)
  421.         if @count == 0
  422.           sprite.bitmap = @leaf_bitmaps[@current_pose[i]]
  423.           @current_pose[i] = (@current_pose[i] + 1) % 13
  424.         end
  425.         sprite.x -= 10
  426.         sprite.y += (rand(4) - 2)
  427.       end
  428.     #----------------------------------------------------------------------
  429.       if @type == 8 # Swirling Leaves
  430.         @count = rand(20)
  431.         if @count == 0
  432.           sprite.bitmap = @leaf_bitmaps[@current_pose[i]]
  433.           @current_pose[i] = (@current_pose[i] + 1) % 13
  434.         end
  435.         if @info[i] != 0
  436.           if @info[i] >= 1 && @info[i] <= 10
  437.             sprite.x -= 3
  438.             sprite.y -= 1
  439.           elsif @info[i] >= 11 && @info[i] <= 16
  440.             sprite.x -= 1
  441.             sprite.y -= 2
  442.           elsif @info[i] >= 17 && @info[i] <= 20
  443.             sprite.y -= 3
  444.           elsif @info[i] >= 21 && @info[i] <= 30
  445.             sprite.y -= 2
  446.             sprite.x += 1
  447.           elsif @info[i] >= 31 && @info[i] <= 36
  448.             sprite.y -= 1
  449.             sprite.x += 3
  450.           elsif @info[i] >= 37 && @info[i] <= 40
  451.             sprite.x += 5
  452.           elsif @info[i] >= 41 && @info[i] <= 46
  453.             sprite.y += 1
  454.             sprite.x += 3
  455.           elsif @info[i] >= 47 && @info[i] <= 58
  456.             sprite.y += 2
  457.             sprite.x += 1
  458.           elsif @info[i] >= 59 && @info[i] <= 64
  459.             sprite.y += 3
  460.           elsif @info[i] >= 65 && @info[i] <= 70
  461.             sprite.x -= 1
  462.             sprite.y += 2
  463.           elsif @info[i] >= 71 && @info[i] <= 81
  464.             sprite.x -= 3
  465.             sprite.y += 1
  466.           elsif @info[i] >= 82 && @info[i] <= 87
  467.             sprite.x -= 5
  468.           end
  469.           @info[i] = (@info[i] + 1) % 88
  470.         else
  471.           if rand(200) == 0
  472.             @info[i] = 1
  473.           end
  474.           sprite.x -= 5
  475.           sprite.y += 1
  476.         end
  477.       end
  478.     #----------------------------------------------------------------------
  479.       if @type == 10 # Sakura Petals
  480.         if @info[i] < 25
  481.           sprite.x -= 1
  482.         else
  483.           sprite.x += 1
  484.         end
  485.         @info[i] = (@info[i] + 1) % 50
  486.         sprite.y += 1
  487.       end
  488.     #----------------------------------------------------------------------
  489.       if @type == 11 # Flower Petals
  490.         @count = rand(20)
  491.         if @count == 0
  492.           sprite.bitmap = @petal_bitmaps[@current_pose[i]]
  493.           @current_pose[i] = (@current_pose[i] + 1) % @petal_bitmaps.size
  494.         end
  495.         if @info[i] % 2 == 0
  496.           if @info[i] < 10
  497.             sprite.x -= 1
  498.           elsif
  499.             sprite.x += 1
  500.           end
  501.         end
  502.         sprite.y += 1
  503.       end
  504.     #----------------------------------------------------------------------
  505.       if @type == 12 # Feathers
  506.         if @countarray[i] == 0
  507.           @current_pose[i] = (@current_pose[i] + 1) % @feather_bitmaps.size
  508.           sprite.bitmap = @feather_bitmaps[@current_pose[i]]
  509.         end
  510.         @countarray[i] = (@countarray[i] + 1) % 15
  511.         if rand(100) == 0
  512.           sprite.x -= 1
  513.         end
  514.         if rand(100) == 0
  515.           sprite.y -= 1
  516.         end
  517.         if @info[i] < 50
  518.           if rand(2) == 0
  519.             sprite.x -= 1
  520.           else
  521.             sprite.y -= 1
  522.           end
  523.         else
  524.           if rand(2) == 0
  525.             sprite.x += 1
  526.           else
  527.             sprite.y += 1
  528.           end
  529.         end
  530.         @info[i] = (@info[i] + 1) % 100
  531.       end
  532.     #----------------------------------------------------------------------
  533.       if @type == 13 # Butterflies
  534.         @count = (@count += 1) % 5
  535.         @info[i] = rand(50)
  536.         sprite.bitmap = @butterfly_bitmaps[@current_pose[i]]
  537.         if @count == 0 || 3
  538.           if @count == 0
  539.             case @current_pose[i]
  540.             when 0, 1, 2, 3
  541.               @current_pose[i] = (@current_pose[i] += 1) % 4
  542.             when 4, 5, 6, 7
  543.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 4
  544.             when 8, 9, 10, 11
  545.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 8
  546.             when 12, 13, 14, 15
  547.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 12
  548.             end
  549.           end
  550.           case @current_pose[i]
  551.           when 0, 1, 2, 3
  552.             sprite.y -= 1
  553.             sprite.x -= 1 if @current_pose[i] == 0
  554.             sprite.x += 1 if @current_pose[i] == 2
  555.           when 4, 5, 6, 7
  556.             sprite.y += 1
  557.             sprite.x += 1 if @current_pose[i] == 4
  558.             sprite.x -= 1 if @current_pose[i] == 6
  559.           when 8, 9, 10, 11
  560.             sprite.x -= 1
  561.             sprite.y -= 1 if @current_pose[i] == 8
  562.             sprite.y += 1 if @current_pose[i] == 10
  563.           when 12, 13, 14, 15
  564.             sprite.x += 1
  565.             sprite.y -= 1 if @current_pose[i] == 12
  566.             sprite.y += 1 if @current_pose[i] == 14
  567.           end
  568.           if @info[i] < 10
  569.             @current_pose[i] = (@current_pose[i] += 1) % 16
  570.           end
  571.         end
  572.       end
  573.     #----------------------------------------------------------------------
  574.       if @type == 14 # Sparkles
  575.         if @countarray[i] == 0
  576.           @current_pose[i] = (@current_pose[i] + 1) % @sparkle_bitmaps.size
  577.           sprite.bitmap = @sparkle_bitmaps[@current_pose[i]]
  578.         end
  579.         @countarray[i] = (@countarray[i] + 1) % 15
  580.         sprite.y += 1
  581.         sprite.opacity -= 1
  582.       end
  583.     #----------------------------------------------------------------------
  584.       if @type == 15 # User-Defined
  585.         if $WEATHER_UPDATE
  586.           update_user_defined
  587.           $WEATHER_UPDATE = false
  588.         end
  589.         if $WEATHER_ANIMATED && @countarray[i] == 0
  590.           @current_pose[i] = (@current_pose[i] + 1) % @user_bitmaps.size
  591.           sprite.bitmap = @user_bitmaps[@current_pose[i]]
  592.         end
  593.         sprite.x += $WEATHER_X
  594.         sprite.y += $WEATHER_Y
  595.         sprite.opacity -= $WEATHER_FADE
  596.       end
  597.     #----------------------------------------------------------------------
  598.       if @type == 16 # Blowing Snow
  599.         sprite.x -= 10
  600.         sprite.y += 6
  601.         sprite.opacity -= 4
  602.       end
  603.     #----------------------------------------------------------------------
  604.       if @type == 17 # Meteors
  605.         if @countarray[i] > 0
  606.           if rand(20) == 0
  607.             sprite.bitmap = @impact_bitmap
  608.             @countarray[i] = -5
  609.           else
  610.             sprite.x -= 6
  611.             sprite.y += 10
  612.           end
  613.         else
  614.           @countarray[i] += 1
  615.           if @countarray[i] == 0
  616.             sprite.bitmap = @meteor_bitmap
  617.             sprite.opacity = 0
  618.             @count_array = 1
  619.           end
  620.         end
  621.       end
  622.     #----------------------------------------------------------------------
  623.       if @type == 18 # Ash
  624.         sprite.y += 2
  625.         case @countarray[i] % 3
  626.         when 0
  627.           sprite.x -= 1
  628.         when 1
  629.           sprite.x += 1
  630.         end
  631.       end
  632.     #----------------------------------------------------------------------
  633.       if @type == 19 || @type == 20 # Bubbles
  634.         switch = rand(75) + rand(75) + 1
  635.         if @info[i] < switch / 2
  636.           sprite.x -= 1
  637.         else
  638.           sprite.x += 1
  639.         end
  640.         @info[i] = (@info[i] + 1) % switch
  641.         sprite.y -= 1
  642.         if switch % 2 == 0
  643.           sprite.opacity -= 1
  644.         end
  645.       end
  646.     #----------------------------------------------------------------------
  647.       if @type == 21 # Sparkles Up
  648.         if @countarray[i] == 0
  649.           @current_pose[i] = (@current_pose[i] + 1) % @sparkle_bitmaps.size
  650.           sprite.bitmap = @sparkle_bitmaps[@current_pose[i]]
  651.         end
  652.         @countarray[i] = (@countarray[i] + 1) % 15
  653.         sprite.y -= 1
  654.         sprite.opacity -= 1
  655.       end
  656.     #----------------------------------------------------------------------
  657.       if @type == 22 # Falling Rocks
  658.         case @info[i]
  659.         when 0 # large
  660.           sprite.y += 10
  661.         when 1 # small
  662.           sprite.y += 5
  663.         when 2 # mid-size
  664.           sprite.y += 7
  665.         end
  666.         sprite.opacity -= 1
  667.       end
  668.     #----------------------------------------------------------------------
  669.       if @type == 23 # Arrows
  670.         sprite.y += 10
  671.         sprite.x -= 7
  672.       end
  673.     #----------------------------------------------------------------------
  674.        if @type == 24 # Starburst
  675.         if @countarray[i] == 0
  676.           @current_pose[i] = (@current_pose[i] + 1) % @starburst_bitmaps.size
  677.           sprite.bitmap = @starburst_bitmaps[@current_pose[i]]
  678.         end
  679.         @countarray[i] = (@countarray[i] + 1) % 15
  680.         sprite.y += 1
  681.         sprite.opacity -= 1
  682.       end
  683.     #----------------------------------------------------------------------
  684.       if @type == 25 # Starburst up
  685.         if @countarray[i] == 0
  686.           @current_pose[i] = (@current_pose[i] + 1) % @starburst_bitmaps.size
  687.           sprite.bitmap = @starburst_bitmaps[@current_pose[i]]
  688.         end
  689.         @countarray[i] = (@countarray[i] + 1) % 15
  690.         sprite.y -= 1
  691.         sprite.opacity -= 1
  692.       end
  693.     #----------------------------------------------------------------------
  694.       if @type == 26 # Starburst Rain
  695.         if @countarray[i] == 0
  696.           @current_pose[i] = (@current_pose[i] + 1) % @starburst_bitmaps.size
  697.           sprite.bitmap = @starburst_bitmaps[@current_pose[i]]
  698.         end
  699.         @countarray[i] = (@countarray[i] + 1) % 15
  700.         sprite.x -= 2
  701.         sprite.y += 8
  702.         sprite.opacity -= 1
  703.       end  
  704.     #----------------------------------------------------------------------
  705.       if @type == 27 # Monochromatic Starburst
  706.         if @countarray[i] == 0
  707.           @current_pose[i] = (@current_pose[i] + 1) % @monostarburst_bitmaps.size
  708.           sprite.bitmap = @monostarburst_bitmaps[@current_pose[i]]
  709.         end
  710.         @countarray[i] = (@countarray[i] + 1) % 15
  711.         sprite.y += 1
  712.         sprite.opacity -= 1
  713.       end
  714.     #----------------------------------------------------------------------
  715.       if @type == 28 # Monochromatic Starburst Up
  716.         if @countarray[i] == 0
  717.           @current_pose[i] = (@current_pose[i] + 1) % @monostarburst_bitmaps.size
  718.           sprite.bitmap = @monostarburst_bitmaps[@current_pose[i]]
  719.         end
  720.         @countarray[i] = (@countarray[i] + 1) % 15
  721.         sprite.y -= 1
  722.         sprite.opacity -= 1
  723.       end
  724.     #----------------------------------------------------------------------
  725.       if @type == 29 # Monochromatic Starburst Rain
  726.         if @countarray[i] == 0
  727.           @current_pose[i] = (@current_pose[i] + 1) % @monostarburst_bitmaps.size
  728.           sprite.bitmap = @monostarburst_bitmaps[@current_pose[i]]
  729.         end
  730.         @countarray[i] = (@countarray[i] + 1) % 15
  731.         sprite.x -= 2
  732.         sprite.y += 8
  733.         sprite.opacity -= 1
  734.       end  
  735.     #----------------------------------------------------------------------
  736.       if @type == 30 # Bombs
  737.         if @countarray[i] > 0
  738.           if rand(20) == 0
  739.             sprite.bitmap = @bomb_impact_bitmap
  740.             @countarray[i] = -5
  741.           else
  742.             sprite.x -= 3
  743.             sprite.y += 5
  744.           end
  745.         else
  746.           @countarray[i] += 1
  747.           if @countarray[i] == 0
  748.             sprite.bitmap = @bomb_bitmap
  749.             sprite.opacity = 0
  750.             @count_array = 1
  751.           end
  752.         end
  753.       end
  754.       x = sprite.x - @ox
  755.       y = sprite.y - @oy
  756.       if sprite.opacity < 64 || x < -50 || x > GAME_RESOLUTION[0] + 150 ||
  757.         y < -300 || y > GAME_RESOLUTION[1] + 32
  758.         sprite.x = rand(GAME_RESOLUTION[0] + 160) - 50 + @ox
  759.         sprite.y = rand(GAME_RESOLUTION[1] + 320) - 200 + @oy
  760.         sprite.opacity = 255
  761.       end
  762.     #----------------------------------------------------------------------
  763.       if @type == 31 # Birds
  764.         @count = (@count += 1) % 5
  765.         if @count == 0
  766.           @current_pose[i] = (@current_pose[i] += 1) % 4
  767.         end
  768.         sprite.bitmap = @bird_bitmaps[@current_pose[i]]
  769.         sprite.x -= rand(2) + 3
  770.         sprite.y -= 1 if @info[i].between?(0, 20)
  771.         sprite.y += 1 if @info[i].between?(20, 40)
  772.         sprite.y -= 1 if @info[i].between?(40, 70)
  773.         sprite.y += 1 if @info[i].between?(70, 120)
  774.         @info[i] = (@info[i] += 1) % 120
  775.       end
  776.     #----------------------------------------------------------------------
  777.       if @type == 32 || @type == 33 # Bats and Bees
  778.         @count = (@count += 1) % 5
  779.         sprite.bitmap = @bat_bitmaps[@current_pose[i]] if @type == 32
  780.         sprite.bitmap = @bee_bitmaps[@current_pose[i]] if @type == 33
  781.         if @count == 0 || 3
  782.           if @count == 0
  783.             case @current_pose[i]
  784.             when 0, 1, 2, 3       # Left
  785.               @current_pose[i] = (@current_pose[i] += 1) % 4
  786.             when 4, 5, 6, 7       # Up
  787.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 4
  788.             when 8, 9, 10, 11     # Right
  789.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 8
  790.             when 12, 13, 14, 15   # Down
  791.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 12
  792.             end
  793.           end
  794.           @info[i] = rand(50)
  795.           case @current_pose[i]
  796.           when 0, 1, 2, 3
  797.             sprite.x -= 4
  798.             sprite.y += 3 if @info[i] <= 35
  799.             sprite.y -= 3 if @info[i] > 35
  800.           when 4, 5, 6, 7
  801.             sprite.y -= 4
  802.             sprite.x += 3 if @info[i] <= 40
  803.             sprite.x -= 3 if @info[i] > 40
  804.           when 8, 9, 10, 11
  805.             sprite.x += 4
  806.             sprite.y += 3 if @info[i] <= 15
  807.             sprite.y -= 3 if @info[i] > 15
  808.           when 12, 13, 14, 15
  809.             sprite.y += 4
  810.             sprite.x += 3 if @info[i] <= 25
  811.             sprite.x -= 3 if @info[i] > 25
  812.           end
  813.           if @info[i] < 10
  814.             @current_pose[i] = (@current_pose[i] += 1) % 16
  815.           end
  816.         end
  817.       end
  818.     #----------------------------------------------------------------------
  819.       if @type == 34 # Fish
  820.         @info[i] = (@info[i] += 1) % 200
  821.         sprite.x -= rand(2) + 1
  822.         sprite.x -= 3 if @info[i] >= 180
  823.         sprite.y -= 1 if @info[i] < 75
  824.         sprite.y += 1 if @info[i].between?(75, 150)
  825.       end
  826.     #----------------------------------------------------------------------
  827.       if @type == 35 # Ravens
  828.         @count = (@count += 1) % 5
  829.         sprite.bitmap = @raven_bitmaps[@current_pose[i]]
  830.         if @count == 0 || 3
  831.           if @count == 0
  832.             case @current_pose[i]
  833.             when 0, 1, 2, 3       # Left
  834.               @current_pose[i] = (@current_pose[i] += 1) % 4
  835.             when 4, 5, 6, 7       # Up
  836.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 4
  837.             when 8, 9, 10, 11     # Right
  838.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 8
  839.             when 12, 13, 14, 15   # Down
  840.               @current_pose[i] = ((@current_pose[i] += 1) % 4) + 12
  841.             end
  842.           end
  843.           @info[i] = rand(50)
  844.           case @current_pose[i]
  845.           when 0, 1, 2, 3
  846.             sprite.x -= 2
  847.             sprite.y += 1 if @info[i] <= 35
  848.             sprite.y -= 1 if @info[i] > 35
  849.           when 4, 5, 6, 7
  850.             sprite.y -= 2
  851.             sprite.x += 1 if @info[i] <= 40
  852.             sprite.x -= 1 if @info[i] > 40
  853.           when 8, 9, 10, 11
  854.             sprite.x += 2
  855.             sprite.y += 1 if @info[i] <= 15
  856.             sprite.y -= 1 if @info[i] > 15
  857.           when 12, 13, 14, 15
  858.             sprite.y += 2
  859.             sprite.x += 1 if @info[i] <= 25
  860.             sprite.x -= 1 if @info[i] > 25
  861.           end
  862.           if @info[i] < 5
  863.             @current_pose[i] = (@current_pose[i] += 1) % 16
  864.           end
  865.         end
  866.       end
  867.     #----------------------------------------------------------------------
  868.     }
  869.   end
  870. #-------------------------------------------------------------------------------  
  871.   def make_bitmaps
  872.    
  873.     # All the colors for each type are used only for their respective bitmaps
  874.     # now, therefore the colors can be changed for one type without worrying
  875.     # about messing up another that shares that color.
  876.    
  877. #-------------------------------------------------------------------------------
  878.     # Rain Bitmap
  879.    
  880.     @rain_bitmap = Bitmap.new(7, 56)
  881.     rain_color = case $game_screen.weather_variation
  882.     when 1 then Color.new(141, 9, 9)            # Blood Rain
  883.     when 2 then Color.new(15, 15, 15)           # Oil Rain
  884.     when 3 then Color.new(76, 91, 43)           # Acid Rain
  885.     when 4 then Color.new(218, 207, 36)         # Golden Rain
  886.     when 5 then Color.new(100, 75, 63)          # Sepia Rain
  887.     else
  888.       Color.new(255, 255, 255)                  # Normal
  889.     end
  890.    
  891.     (0..6).each {|i| @rain_bitmap.fill_rect(6-i, i*8, 1, 8, rain_color)}
  892. #-------------------------------------------------------------------------------
  893.     # Storm Bitmap
  894.    
  895.     @storm_bitmap = Bitmap.new(34, 64)
  896.     case $game_screen.weather_variation
  897.     when 1 # Blood
  898.       storm_color1 = Color.new(141, 9, 9)
  899.       storm_color2 = Color.new(141, 9, 9, 128)
  900.     when 2 # Oil
  901.       storm_color1 = Color.new(15, 15, 15)
  902.       storm_color2 = Color.new(15, 15, 15, 128)
  903.     when 3 # Acid
  904.       storm_color1 = Color.new(227, 217, 56)
  905.       storm_color2 = Color.new(218, 207, 36)
  906.     when 4 # Golden
  907.       storm_color1 = Color.new(227, 217, 56)
  908.       storm_color2 = Color.new(218, 207, 36)
  909.     when 5 # Sepia
  910.       storm_color1 = Color.new(167, 149, 139)
  911.       storm_color2 = Color.new(100, 75, 63)
  912.     else # Normal, Realistic (Default)
  913.       storm_color1 = Color.new(255, 255, 255)
  914.       storm_color2 = Color.new(255, 255, 255, 128)
  915.     end
  916.      
  917.     (0..31).each {|i|
  918.       @storm_bitmap.fill_rect(33-i, i*2, 1, 2, storm_color2)
  919.       @storm_bitmap.fill_rect(32-i, i*2, 1, 2, storm_color1)
  920.       @storm_bitmap.fill_rect(31-i, i*2, 1, 2, storm_color2)
  921.     }
  922. #-------------------------------------------------------------------------------
  923.     # Splash Bitmap
  924.  
  925.     @rain_splash = Bitmap.new(8, 5)
  926.     case $game_screen.weather_variation
  927.     when 1 # Blood splash
  928.       splash_color1 = Color.new(141, 9, 9)
  929.       splash_color2 = Color.new(141, 9, 9, 128)
  930.     when 2 # Oil splash
  931.       splash_color1 = Color.new(0, 0, 0)
  932.       splash_color2 = Color.new(15, 15, 15)
  933.     when 4 # Golden splash
  934.       splash_color1 = Color.new(227, 217, 56)
  935.       splash_color2 = Color.new(218, 207, 36)
  936.     when 5 # Sepia splash
  937.       splash_color1 = Color.new(167, 149, 139)
  938.       splash_color2 = Color.new(100, 75, 63)
  939.     else # Normal (Default)
  940.       splash_color1 = Color.new(255, 255, 255)
  941.       splash_color2 = Color.new(255, 255, 255, 128)
  942.     end
  943.    
  944.     @rain_splash.fill_rect(1, 0, 6, 1, splash_color2)
  945.     @rain_splash.fill_rect(1, 4, 6, 1, splash_color2)
  946.     @rain_splash.fill_rect(0, 1, 1, 3, splash_color2)
  947.     @rain_splash.fill_rect(7, 1, 1, 3, splash_color2)
  948.     @rain_splash.set_pixel(1, 0, splash_color1)
  949.     @rain_splash.set_pixel(0, 1, splash_color1)
  950. #-------------------------------------------------------------------------------
  951.     # Snow Bitmaps
  952.    
  953.     case $game_screen.weather_variation
  954.     when 1 # Crimson
  955.       snow_color1 = Color.new(141, 9, 9)
  956.       snow_color2 = Color.new(141, 9, 9, 128)
  957.       snow_color3 = Color.new(141, 9, 9, 204)
  958.     else # Normal (Default)
  959.       snow_color1 = Color.new(255, 255, 255)
  960.       snow_color2 = Color.new(255, 255, 255, 128)
  961.       snow_color3 = Color.new(255, 255, 255, 204)
  962.     end
  963.    
  964.     # Used for Blowing Snow
  965.     @snow_bitmap = Bitmap.new(6, 6)
  966.     @snow_bitmap.fill_rect(0, 1, 6, 4, snow_color2)
  967.     @snow_bitmap.fill_rect(1, 0, 4, 6, snow_color2)
  968.     @snow_bitmap.fill_rect(1, 2, 4, 2, snow_color1)
  969.     @snow_bitmap.fill_rect(2, 1, 2, 4, snow_color1)
  970.    
  971.     # Used for Falling Snow
  972.     @sprites = []  
  973.     @snow_bitmaps = []
  974.     @snow_bitmaps[0] = Bitmap.new(3, 3)
  975.     @snow_bitmaps[0].fill_rect(0, 0, 3, 3, snow_color2)
  976.     @snow_bitmaps[0].fill_rect(0, 1, 3, 1, snow_color3)
  977.     @snow_bitmaps[0].fill_rect(1, 0, 1, 3, snow_color3)
  978.     @snow_bitmaps[0].set_pixel(1, 1, snow_color1)
  979.    
  980.     @snow_bitmaps[1] = Bitmap.new(4, 4)
  981.     @snow_bitmaps[1].fill_rect(0, 1, 4, 2, snow_color2)
  982.     @snow_bitmaps[1].fill_rect(1, 0, 2, 4, snow_color2)
  983.     @snow_bitmaps[1].fill_rect(1, 1, 2, 2, snow_color1)
  984.    
  985.     @snow_bitmaps[2] = Bitmap.new(5, 5)
  986.     @snow_bitmaps[2].fill_rect(0, 1, 5, 3, snow_color3)
  987.     @snow_bitmaps[2].fill_rect(1, 0, 3, 5, snow_color3)
  988.     @snow_bitmaps[2].fill_rect(1, 1, 3, 3, snow_color2)
  989.     @snow_bitmaps[2].fill_rect(2, 1, 3, 1, snow_color1)
  990.     @snow_bitmaps[2].fill_rect(1, 2, 1, 3, snow_color1)
  991.    
  992.     @snow_bitmaps[3] = Bitmap.new(7, 7)
  993.     @snow_bitmaps[3].fill_rect(1, 1, 5, 5, snow_color3)
  994.     @snow_bitmaps[3].fill_rect(2, 0, 7, 3, snow_color3)
  995.     @snow_bitmaps[3].fill_rect(0, 2, 3, 7, snow_color3)
  996.     @snow_bitmaps[3].fill_rect(2, 1, 5, 3, snow_color2)
  997.     @snow_bitmaps[3].fill_rect(1, 2, 3, 5, snow_color2)
  998.     @snow_bitmaps[3].fill_rect(2, 2, 3, 3, snow_color1)
  999.     @snow_bitmaps[3].fill_rect(3, 1, 5, 1, snow_color1)
  1000.     @snow_bitmaps[3].fill_rect(1, 3, 1, 5, snow_color1)
  1001. #-------------------------------------------------------------------------------    
  1002.     #Hail
  1003.    
  1004.     hail_color1 = Color.new(215, 227, 227, 150)
  1005.     hail_color2 = Color.new(214, 217, 217, 150)
  1006.     hail_color3 = Color.new(233, 233, 233, 250)
  1007.     hail_color4 = Color.new(222, 239, 243, 250)
  1008.    
  1009.     @hail_bitmap = Bitmap.new(4, 4)
  1010.     @hail_bitmap.fill_rect(1, 0, 2, 1, hail_color1)
  1011.     @hail_bitmap.fill_rect(0, 1, 1, 2, hail_color1)
  1012.     @hail_bitmap.fill_rect(3, 1, 1, 2, hail_color2)
  1013.     @hail_bitmap.fill_rect(1, 3, 2, 1, hail_color2)
  1014.     @hail_bitmap.fill_rect(1, 1, 2, 2, hail_color3)
  1015.     @hail_bitmap.set_pixel(1, 1, hail_color4)
  1016. #-------------------------------------------------------------------------------    
  1017.     #Sakura Petals
  1018.  
  1019.     sakura_color1 = Color.new(255, 167, 192, 255)
  1020.     sakura_color2 = Color.new(213, 106, 136, 255)
  1021.    
  1022.     @sakura_bitmap = Bitmap.new(4, 4)  
  1023.     @sakura_bitmap.fill_rect(0, 3, 1, 1, sakura_color1)
  1024.     @sakura_bitmap.fill_rect(1, 2, 1, 1, sakura_color1)
  1025.     @sakura_bitmap.fill_rect(2, 1, 1, 1, sakura_color1)
  1026.     @sakura_bitmap.fill_rect(3, 0, 1, 1, sakura_color1)
  1027.     @sakura_bitmap.fill_rect(1, 3, 1, 1, sakura_color2)
  1028.     @sakura_bitmap.fill_rect(2, 2, 1, 1, sakura_color2)
  1029.     @sakura_bitmap.fill_rect(3, 1, 1, 1, sakura_color2)
  1030. #-------------------------------------------------------------------------------
  1031.     # Leaf Bitmaps
  1032.    
  1033.     @leaf_bitmaps = []
  1034.     case $game_screen.weather_variation
  1035.     when 1 # Yellow
  1036.       leaf_color1 = Color.new(110, 104, 3)
  1037.       leaf_color2 = Color.new(205, 194, 23)
  1038.       leaf_color3 = Color.new(186, 176, 14)
  1039.       leaf_color4 = Color.new(218, 207, 36)
  1040.       leaf_color5 = Color.new(227, 217, 56)
  1041.     when 2 # Autumn
  1042.       leaf_color1 = Color.new(248, 88, 0)
  1043.       leaf_color2 = Color.new(144, 80, 56)
  1044.       leaf_color3 = Color.new(152, 0, 0)
  1045.       leaf_color4 = Color.new(232, 160, 128)
  1046.       leaf_color5 = Color.new(72, 40, 0)
  1047.     when 3 # Red Maple
  1048.       leaf_color1 = Color.new(255, 0, 0)
  1049.       leaf_color2 = Color.new(179, 17, 17)
  1050.       leaf_color3 = Color.new(141, 9, 9)
  1051.       leaf_color4 = Color.new(179, 17, 17)
  1052.       leaf_color5 = Color.new(141, 9, 9)
  1053.     else # Green (Default)
  1054.       leaf_color1 = Color.new(62, 76, 31)
  1055.       leaf_color2 = Color.new(76, 91, 43)
  1056.       leaf_color3 = Color.new(105, 114, 66)
  1057.       leaf_color4 = Color.new(128, 136, 88)
  1058.       leaf_color5 = Color.new(146, 154, 106)
  1059.     end
  1060.  
  1061.     # 1st leaf bitmap
  1062.     @leaf_bitmaps[0] = Bitmap.new(8, 8)
  1063.     @leaf_bitmaps[0].set_pixel(1, 0, leaf_color1)
  1064.     @leaf_bitmaps[0].set_pixel(1, 1, leaf_color2)
  1065.     @leaf_bitmaps[0].set_pixel(2, 1, leaf_color1)
  1066.     @leaf_bitmaps[0].set_pixel(2, 2, leaf_color3)
  1067.     @leaf_bitmaps[0].set_pixel(3, 2, leaf_color1)
  1068.     @leaf_bitmaps[0].set_pixel(4, 2, leaf_color3)
  1069.     @leaf_bitmaps[0].fill_rect(2, 3, 3, 1, leaf_color2)
  1070.     @leaf_bitmaps[0].set_pixel(5, 3, leaf_color3)
  1071.     @leaf_bitmaps[0].fill_rect(2, 4, 2, 1, leaf_color2)
  1072.     @leaf_bitmaps[0].set_pixel(4, 4, leaf_color1)
  1073.     @leaf_bitmaps[0].set_pixel(5, 4, leaf_color4)
  1074.     @leaf_bitmaps[0].set_pixel(6, 4, leaf_color3)
  1075.     @leaf_bitmaps[0].set_pixel(3, 5, leaf_color2)
  1076.     @leaf_bitmaps[0].set_pixel(4, 5, leaf_color1)
  1077.     @leaf_bitmaps[0].set_pixel(5, 5, leaf_color3)
  1078.     @leaf_bitmaps[0].set_pixel(6, 5, leaf_color4)
  1079.     @leaf_bitmaps[0].set_pixel(4, 6, leaf_color2)
  1080.     @leaf_bitmaps[0].set_pixel(5, 6, leaf_color1)
  1081.     @leaf_bitmaps[0].set_pixel(6, 6, leaf_color4)
  1082.     @leaf_bitmaps[0].set_pixel(6, 7, leaf_color3)
  1083.    
  1084.     # 2nd leaf bitmap
  1085.     @leaf_bitmaps[1] = Bitmap.new(8, 8)
  1086.     @leaf_bitmaps[1].fill_rect(1, 1, 1, 2, leaf_color2)
  1087.     @leaf_bitmaps[1].fill_rect(2, 2, 2, 1, leaf_color3)
  1088.     @leaf_bitmaps[1].set_pixel(4, 2, leaf_color4)
  1089.     @leaf_bitmaps[1].fill_rect(2, 3, 2, 1, leaf_color1)
  1090.     @leaf_bitmaps[1].fill_rect(4, 3, 2, 1, leaf_color4)
  1091.     @leaf_bitmaps[1].set_pixel(2, 4, leaf_color2)
  1092.     @leaf_bitmaps[1].set_pixel(3, 4, leaf_color1)
  1093.     @leaf_bitmaps[1].set_pixel(4, 4, leaf_color3)
  1094.     @leaf_bitmaps[1].fill_rect(5, 4, 2, 1, leaf_color4)
  1095.     @leaf_bitmaps[1].set_pixel(3, 5, leaf_color2)
  1096.     @leaf_bitmaps[1].set_pixel(4, 5, leaf_color1)
  1097.     @leaf_bitmaps[1].set_pixel(5, 5, leaf_color3)
  1098.     @leaf_bitmaps[1].set_pixel(6, 5, leaf_color4)
  1099.     @leaf_bitmaps[1].set_pixel(5, 6, leaf_color1)
  1100.     @leaf_bitmaps[1].fill_rect(6, 6, 2, 1, leaf_color3)
  1101.    
  1102.     # 3rd leaf bitmap
  1103.     @leaf_bitmaps[2] = Bitmap.new(8, 8)
  1104.     @leaf_bitmaps[2].set_pixel(1, 1, leaf_color1)
  1105.     @leaf_bitmaps[2].fill_rect(1, 2, 2, 1, leaf_color2)
  1106.     @leaf_bitmaps[2].set_pixel(2, 3, leaf_color2)
  1107.     @leaf_bitmaps[2].set_pixel(3, 3, leaf_color1)
  1108.     @leaf_bitmaps[2].set_pixel(4, 3, leaf_color2)
  1109.     @leaf_bitmaps[2].fill_rect(2, 4, 2, 1, leaf_color2)
  1110.     @leaf_bitmaps[2].set_pixel(4, 4, leaf_color1)
  1111.     @leaf_bitmaps[2].set_pixel(5, 4, leaf_color4)
  1112.     @leaf_bitmaps[2].set_pixel(3, 5, leaf_color2)
  1113.     @leaf_bitmaps[2].set_pixel(4, 5, leaf_color1)
  1114.     @leaf_bitmaps[2].fill_rect(5, 5, 2, 1, leaf_color3)
  1115.     @leaf_bitmaps[2].fill_rect(4, 6, 2, 1, leaf_color2)
  1116.     @leaf_bitmaps[2].set_pixel(6, 6, leaf_color4)
  1117.     @leaf_bitmaps[2].set_pixel(6, 7, leaf_color3)
  1118.    
  1119.     # 4th leaf bitmap
  1120.     @leaf_bitmaps[3] = Bitmap.new(8, 8)
  1121.     @leaf_bitmaps[3].fill_rect(0, 3, 1, 2, leaf_color1)
  1122.     @leaf_bitmaps[3].set_pixel(1, 4, leaf_color2)
  1123.     @leaf_bitmaps[3].set_pixel(2, 4, leaf_color3)
  1124.     @leaf_bitmaps[3].set_pixel(3, 4, leaf_color4)
  1125.     @leaf_bitmaps[3].set_pixel(4, 4, leaf_color1)
  1126.     @leaf_bitmaps[3].set_pixel(7, 4, leaf_color2)
  1127.     @leaf_bitmaps[3].set_pixel(1, 5, leaf_color1)
  1128.     @leaf_bitmaps[3].set_pixel(2, 5, leaf_color2)
  1129.     @leaf_bitmaps[3].set_pixel(3, 5, leaf_color4)
  1130.     @leaf_bitmaps[3].set_pixel(4, 5, leaf_color5)
  1131.     @leaf_bitmaps[3].set_pixel(5, 5, leaf_color4)
  1132.     @leaf_bitmaps[3].set_pixel(6, 5, leaf_color3)
  1133.     @leaf_bitmaps[3].set_pixel(7, 5, leaf_color2)
  1134.     @leaf_bitmaps[3].fill_rect(2, 6, 2, 1, leaf_color2)
  1135.     @leaf_bitmaps[3].set_pixel(4, 6, leaf_color4)
  1136.     @leaf_bitmaps[3].set_pixel(5, 6, leaf_color3)
  1137.     @leaf_bitmaps[3].set_pixel(6, 6, leaf_color2)
  1138.    
  1139.     # 5th leaf bitmap
  1140.     @leaf_bitmaps[4] = Bitmap.new(8, 8)
  1141.     @leaf_bitmaps[4].set_pixel(6, 2, leaf_color2)
  1142.     @leaf_bitmaps[4].set_pixel(7, 2, leaf_color1)
  1143.     @leaf_bitmaps[4].fill_rect(4, 3, 2, 1, leaf_color2)
  1144.     @leaf_bitmaps[4].set_pixel(6, 3, leaf_color3)
  1145.     @leaf_bitmaps[4].set_pixel(2, 4, leaf_color1)
  1146.     @leaf_bitmaps[4].fill_rect(3, 4, 2, 1, leaf_color3)
  1147.     @leaf_bitmaps[4].set_pixel(5, 4, leaf_color4)
  1148.     @leaf_bitmaps[4].set_pixel(6, 4, leaf_color3)
  1149.     @leaf_bitmaps[4].set_pixel(1, 5, leaf_color2)
  1150.     @leaf_bitmaps[4].set_pixel(2, 5, leaf_color3)
  1151.     @leaf_bitmaps[4].set_pixel(3, 5, leaf_color4)
  1152.     @leaf_bitmaps[4].set_pixel(4, 5, leaf_color5)
  1153.     @leaf_bitmaps[4].set_pixel(5, 5, leaf_color2)
  1154.     @leaf_bitmaps[4].set_pixel(2, 6, leaf_color1)
  1155.     @leaf_bitmaps[4].fill_rect(3, 6, 2, 1, leaf_color2)
  1156.    
  1157.     # 6th leaf bitmap
  1158.     @leaf_bitmaps[5] = Bitmap.new(8, 8)
  1159.     @leaf_bitmaps[5].fill_rect(6, 2, 2, 1, leaf_color2)
  1160.     @leaf_bitmaps[5].fill_rect(4, 3, 2, 1, leaf_color2)
  1161.     @leaf_bitmaps[5].set_pixel(6, 3, leaf_color3)
  1162.     @leaf_bitmaps[5].set_pixel(3, 4, leaf_color2)
  1163.     @leaf_bitmaps[5].set_pixel(4, 4, leaf_color3)
  1164.     @leaf_bitmaps[5].set_pixel(5, 4, leaf_color4)
  1165.     @leaf_bitmaps[5].set_pixel(6, 4, leaf_color5)
  1166.     @leaf_bitmaps[5].set_pixel(1, 5, leaf_color2)
  1167.     @leaf_bitmaps[5].set_pixel(2, 5, leaf_color3)
  1168.     @leaf_bitmaps[5].fill_rect(3, 5, 2, 1, leaf_color5)
  1169.     @leaf_bitmaps[5].set_pixel(5, 5, leaf_color4)
  1170.     @leaf_bitmaps[5].set_pixel(2, 6, leaf_color2)
  1171.     @leaf_bitmaps[5].set_pixel(3, 6, leaf_color3)
  1172.     @leaf_bitmaps[5].set_pixel(4, 6, leaf_color4)
  1173.    
  1174.     # 7th leaf bitmap
  1175.     @leaf_bitmaps[6] = Bitmap.new(8, 8)
  1176.     @leaf_bitmaps[6].fill_rect(6, 1, 1, 2, leaf_color2)
  1177.     @leaf_bitmaps[6].fill_rect(4, 2, 2, 1, leaf_color2)
  1178.     @leaf_bitmaps[6].fill_rect(6, 2, 1, 2, leaf_color1)
  1179.     @leaf_bitmaps[6].fill_rect(3, 3, 2, 1, leaf_color2)
  1180.     @leaf_bitmaps[6].set_pixel(5, 3, leaf_color3)
  1181.     @leaf_bitmaps[6].set_pixel(2, 4, leaf_color2)
  1182.     @leaf_bitmaps[6].set_pixel(3, 4, leaf_color3)
  1183.     @leaf_bitmaps[6].set_pixel(4, 4, leaf_color4)
  1184.     @leaf_bitmaps[6].set_pixel(5, 4, leaf_color2)
  1185.     @leaf_bitmaps[6].set_pixel(1, 5, leaf_color2)
  1186.     @leaf_bitmaps[6].set_pixel(2, 5, leaf_color3)
  1187.     @leaf_bitmaps[6].fill_rect(3, 5, 2, 1, leaf_color2)
  1188.     @leaf_bitmaps[6].set_pixel(1, 6, leaf_color1)
  1189.     @leaf_bitmaps[6].set_pixel(2, 6, leaf_color2)
  1190.    
  1191.     # 8th leaf bitmap
  1192.     @leaf_bitmaps[7] = Bitmap.new(8, 8)
  1193.     @leaf_bitmaps[7].set_pixel(6, 1, leaf_color2)
  1194.     @leaf_bitmaps[7].fill_rect(4, 2, 3, 2, leaf_color2)
  1195.     @leaf_bitmaps[7].set_pixel(3, 3, leaf_color1)
  1196.     @leaf_bitmaps[7].set_pixel(2, 4, leaf_color1)
  1197.     @leaf_bitmaps[7].set_pixel(3, 4, leaf_color2)
  1198.     @leaf_bitmaps[7].fill_rect(4, 4, 2, 1, leaf_color3)
  1199.     @leaf_bitmaps[7].set_pixel(1, 5, leaf_color1)
  1200.     @leaf_bitmaps[7].set_pixel(2, 5, leaf_color2)
  1201.     @leaf_bitmaps[7].fill_rect(3, 5, 2, 1, leaf_color4)
  1202.     @leaf_bitmaps[7].set_pixel(2, 6, leaf_color2)
  1203.     @leaf_bitmaps[7].set_pixel(3, 6, leaf_color4)
  1204.    
  1205.     # 9th leaf bitmap
  1206.     @leaf_bitmaps[8] = Bitmap.new(8, 8)
  1207.     @leaf_bitmaps[8].fill_rect(6, 1, 1, 2, leaf_color2)
  1208.     @leaf_bitmaps[8].fill_rect(4, 2, 2, 1, leaf_color2)
  1209.     @leaf_bitmaps[8].fill_rect(6, 2, 1, 2, leaf_color1)
  1210.     @leaf_bitmaps[8].fill_rect(3, 3, 2, 1, leaf_color2)
  1211.     @leaf_bitmaps[8].set_pixel(5, 3, leaf_color3)
  1212.     @leaf_bitmaps[8].set_pixel(2, 4, leaf_color2)
  1213.     @leaf_bitmaps[8].set_pixel(3, 4, leaf_color3)
  1214.     @leaf_bitmaps[8].set_pixel(4, 4, leaf_color4)
  1215.     @leaf_bitmaps[8].set_pixel(5, 4, leaf_color2)
  1216.     @leaf_bitmaps[8].set_pixel(1, 5, leaf_color2)
  1217.     @leaf_bitmaps[8].set_pixel(2, 5, leaf_color3)
  1218.     @leaf_bitmaps[8].fill_rect(3, 5, 2, 1, leaf_color2)
  1219.     @leaf_bitmaps[8].set_pixel(1, 6, leaf_color1)
  1220.     @leaf_bitmaps[8].set_pixel(2, 6, leaf_color2)
  1221.    
  1222.     # 10th leaf bitmap
  1223.     @leaf_bitmaps[9] = Bitmap.new(8, 8)
  1224.     @leaf_bitmaps[9].fill_rect(6, 2, 2, 1, leaf_color2)
  1225.     @leaf_bitmaps[9].fill_rect(4, 3, 2, 1, leaf_color2)
  1226.     @leaf_bitmaps[9].set_pixel(6, 3, leaf_color3)
  1227.     @leaf_bitmaps[9].set_pixel(3, 4, leaf_color2)
  1228.     @leaf_bitmaps[9].set_pixel(4, 4, leaf_color3)
  1229.     @leaf_bitmaps[9].set_pixel(5, 4, leaf_color4)
  1230.     @leaf_bitmaps[9].set_pixel(6, 4, leaf_color5)
  1231.     @leaf_bitmaps[9].set_pixel(1, 5, leaf_color2)
  1232.     @leaf_bitmaps[9].set_pixel(2, 5, leaf_color3)
  1233.     @leaf_bitmaps[9].fill_rect(3, 5, 2, 1, leaf_color5)
  1234.     @leaf_bitmaps[9].set_pixel(5, 5, leaf_color4)
  1235.     @leaf_bitmaps[9].set_pixel(2, 6, leaf_color2)
  1236.     @leaf_bitmaps[9].set_pixel(3, 6, leaf_color3)
  1237.     @leaf_bitmaps[9].set_pixel(4, 6, leaf_color4)
  1238.    
  1239.     # 11th leaf bitmap
  1240.     @leaf_bitmaps[10] = Bitmap.new(8, 8)
  1241.     @leaf_bitmaps[10].set_pixel(6, 2, leaf_color2)
  1242.     @leaf_bitmaps[10].set_pixel(7, 2, leaf_color1)
  1243.     @leaf_bitmaps[10].fill_rect(4, 3, 2, 1, leaf_color2)
  1244.     @leaf_bitmaps[10].set_pixel(6, 3, leaf_color3)
  1245.     @leaf_bitmaps[10].set_pixel(2, 4, leaf_color1)
  1246.     @leaf_bitmaps[10].fill_rect(3, 4, 2, 1, leaf_color3)
  1247.     @leaf_bitmaps[10].set_pixel(5, 4, leaf_color4)
  1248.     @leaf_bitmaps[10].set_pixel(6, 4, leaf_color3)
  1249.     @leaf_bitmaps[10].set_pixel(1, 5, leaf_color2)
  1250.     @leaf_bitmaps[10].set_pixel(2, 5, leaf_color3)
  1251.     @leaf_bitmaps[10].set_pixel(3, 5, leaf_color4)
  1252.     @leaf_bitmaps[10].set_pixel(4, 5, leaf_color5)
  1253.     @leaf_bitmaps[10].set_pixel(5, 5, leaf_color2)
  1254.     @leaf_bitmaps[10].set_pixel(2, 6, leaf_color1)
  1255.     @leaf_bitmaps[10].fill_rect(3, 6, 2, 1, leaf_color2)
  1256.    
  1257.     # 12th leaf bitmap
  1258.     @leaf_bitmaps[11] = Bitmap.new(8, 8)
  1259.     @leaf_bitmaps[11].fill_rect(0, 3, 1, 2, leaf_color1)
  1260.     @leaf_bitmaps[11].set_pixel(1, 4, leaf_color2)
  1261.     @leaf_bitmaps[11].set_pixel(2, 4, leaf_color3)
  1262.     @leaf_bitmaps[11].set_pixel(3, 4, leaf_color4)
  1263.     @leaf_bitmaps[11].set_pixel(4, 4, leaf_color1)
  1264.     @leaf_bitmaps[11].set_pixel(7, 4, leaf_color2)
  1265.     @leaf_bitmaps[11].set_pixel(1, 5, leaf_color1)
  1266.     @leaf_bitmaps[11].set_pixel(2, 5, leaf_color2)
  1267.     @leaf_bitmaps[11].set_pixel(3, 5, leaf_color4)
  1268.     @leaf_bitmaps[11].set_pixel(4, 5, leaf_color5)
  1269.     @leaf_bitmaps[11].set_pixel(5, 5, leaf_color4)
  1270.     @leaf_bitmaps[11].set_pixel(6, 5, leaf_color3)
  1271.     @leaf_bitmaps[11].set_pixel(7, 5, leaf_color2)
  1272.     @leaf_bitmaps[11].fill_rect(2, 6, 2, 1, leaf_color2)
  1273.     @leaf_bitmaps[11].set_pixel(4, 6, leaf_color4)
  1274.     @leaf_bitmaps[11].set_pixel(5, 6, leaf_color3)
  1275.     @leaf_bitmaps[11].set_pixel(6, 6, leaf_color2)
  1276.    
  1277.     # 13th leaf bitmap
  1278.     @leaf_bitmaps[12] = Bitmap.new(8, 8)
  1279.     @leaf_bitmaps[12].set_pixel(1, 1, leaf_color1)
  1280.     @leaf_bitmaps[12].fill_rect(1, 2, 2, 1, leaf_color2)
  1281.     @leaf_bitmaps[12].set_pixel(2, 3, leaf_color2)
  1282.     @leaf_bitmaps[12].set_pixel(3, 3, leaf_color1)
  1283.     @leaf_bitmaps[12].set_pixel(4, 3, leaf_color2)
  1284.     @leaf_bitmaps[12].fill_rect(2, 4, 2, 1, leaf_color2)
  1285.     @leaf_bitmaps[12].set_pixel(4, 4, leaf_color1)
  1286.     @leaf_bitmaps[12].set_pixel(5, 4, leaf_color4)
  1287.     @leaf_bitmaps[12].set_pixel(3, 5, leaf_color2)
  1288.     @leaf_bitmaps[12].set_pixel(4, 5, leaf_color1)
  1289.     @leaf_bitmaps[12].fill_rect(5, 5, 2, 1, leaf_color3)
  1290.     @leaf_bitmaps[12].fill_rect(4, 6, 2, 1, leaf_color2)
  1291.     @leaf_bitmaps[12].set_pixel(6, 6, leaf_color4)
  1292.     @leaf_bitmaps[12].set_pixel(6, 7, leaf_color3)
  1293. #-------------------------------------------------------------------------------    
  1294.     # Petals
  1295.  
  1296.     @petal_bitmaps = []
  1297.     case $game_screen.weather_variation
  1298.     when 1 # Lavender
  1299.       petal_color1 = Color.new(213, 80, 254)
  1300.       petal_color2 = Color.new(176, 92, 201)
  1301.       petal_color3 = Color.new(154, 86, 175)
  1302.     when 2 # Tiger Lily
  1303.       petal_color1 = Color.new(254, 154, 40)
  1304.       petal_color2 = Color.new(254, 162, 65)
  1305.       petal_color3 = Color.new(254, 135, 71)
  1306.     when 3 # Pink
  1307.       petal_color1 = Color.new(247, 80, 119)
  1308.       petal_color2 = Color.new(247, 101, 138)
  1309.       petal_color3 = Color.new(244, 105, 165)
  1310.     when 4 # Blue
  1311.       petal_color1 = Color.new(109, 126, 238)
  1312.       petal_color2 = Color.new(128, 143, 240)
  1313.       petal_color3 = Color.new(129, 165, 236)
  1314.     when 5 # Green
  1315.       petal_color1 = Color.new(136, 217, 135)
  1316.       petal_color2 = Color.new(153, 221, 152)
  1317.       petal_color3 = Color.new(170, 221, 154)
  1318.     when 6 # Blue-Purple
  1319.       petal_color1 = Color.new(94, 44, 170)
  1320.       petal_color2 = Color.new(105, 62, 170)
  1321.       petal_color3 = Color.new(78, 60, 168)
  1322.     else # Rose
  1323.       petal_color1 = Color.new(255, 0, 0)
  1324.       petal_color2 = Color.new(179, 17, 17)
  1325.       petal_color3 = Color.new(141, 9, 9)
  1326.     end
  1327.    
  1328.     # 1st petal bitmap
  1329.     @petal_bitmaps[0] = Bitmap.new(3, 3)
  1330.     @petal_bitmaps[0].fill_rect(1, 0, 2, 1, petal_color1)
  1331.     @petal_bitmaps[0].fill_rect(0, 1, 1, 2, petal_color1)
  1332.     @petal_bitmaps[0].fill_rect(1, 1, 2, 2, petal_color2)
  1333.     @petal_bitmaps[0].set_pixel(2, 2, petal_color3)
  1334.    
  1335.     # 2nd petal bitmap
  1336.     @petal_bitmaps[1] = Bitmap.new(3, 3)
  1337.     @petal_bitmaps[1].set_pixel(0, 1, petal_color2)
  1338.     @petal_bitmaps[1].set_pixel(1, 1, petal_color1)
  1339.     @petal_bitmaps[1].fill_rect(1, 2, 1, 2, petal_color2)
  1340. #-------------------------------------------------------------------------------
  1341.     #Feathers
  1342.  
  1343.     @feather_bitmaps = []
  1344.     feather_color1 = Color.new(255, 255, 255)
  1345.     feather_color2 = Color.new(214, 217, 217, 150)
  1346.    
  1347.     # 1st feather bitmap
  1348.     @feather_bitmaps[0] = Bitmap.new(3, 3)
  1349.     @feather_bitmaps[0].set_pixel(0, 2, feather_color1)
  1350.     @feather_bitmaps[0].set_pixel(1, 2, feather_color2)
  1351.     @feather_bitmaps[0].set_pixel(2, 1, feather_color2)
  1352.    
  1353.     # 2nd feather bitmap
  1354.     @feather_bitmaps[0] = Bitmap.new(3, 3)
  1355.     @feather_bitmaps[0].set_pixel(0, 0, feather_color1)
  1356.     @feather_bitmaps[0].set_pixel(0, 1, feather_color2)
  1357.     @feather_bitmaps[0].set_pixel(1, 2, feather_color2)
  1358.    
  1359.     # 3rd feather bitmap
  1360.     @feather_bitmaps[0] = Bitmap.new(3, 3)
  1361.     @feather_bitmaps[0].set_pixel(2, 0, feather_color1)
  1362.     @feather_bitmaps[0].set_pixel(1, 0, feather_color2)
  1363.     @feather_bitmaps[0].set_pixel(0, 1, feather_color2)
  1364.    
  1365.     # 4th feather bitmap
  1366.     @feather_bitmaps[0] = Bitmap.new(3, 3)
  1367.     @feather_bitmaps[0].set_pixel(2, 2, feather_color1)
  1368.     @feather_bitmaps[0].set_pixel(2, 1, feather_color2)
  1369.     @feather_bitmaps[0].set_pixel(1, 0, feather_color2)
  1370. #-------------------------------------------------------------------------------  
  1371.     # Sparkle bitmaps
  1372.    
  1373.     @sparkle_bitmaps = []
  1374.     case $game_screen.weather_variation
  1375.     when 1 # Lavender
  1376.       sparkle_color1 = Color.new(197, 181, 255)
  1377.       sparkle_color2 = Color.new(171, 126, 234)
  1378.       sparkle_color3 = Color.new(187 , 77, 234)
  1379.       sparkle_color4 = Color.new(255, 255, 255)
  1380.     when 2 # Pink
  1381.       sparkle_color1 = Color.new(255, 181, 234)
  1382.       sparkle_color2 = Color.new(232, 125, 178)
  1383.       sparkle_color3 = Color.new(232, 76, 110)
  1384.       sparkle_color4 = Color.new(255, 255, 255)
  1385.     when 3 # Green
  1386.       sparkle_color1 = Color.new(222, 255, 181)
  1387.       sparkle_color2 = Color.new(157, 226, 122)
  1388.       sparkle_color3 = Color.new(85, 226, 74)
  1389.       sparkle_color4 = Color.new(255, 255, 255)
  1390.     when 4 # White
  1391.       sparkle_color1 = Color.new(236, 236, 236)
  1392.       sparkle_color2 = Color.new(218, 218, 218)
  1393.       sparkle_color3 = Color.new(210, 210, 210)
  1394.       sparkle_color4 = Color.new(255, 255, 255)
  1395.     else # Blue
  1396.       sparkle_color1 = Color.new(181, 244, 255)
  1397.       sparkle_color2 = Color.new(126, 197, 235)
  1398.       sparkle_color3 = Color.new(77, 136, 225)
  1399.       sparkle_color4 = Color.new(255, 255, 255)
  1400.     end
  1401.    
  1402.     # 1st sparkle bitmap
  1403.     @sparkle_bitmaps[0] = Bitmap.new(7, 7)
  1404.     @sparkle_bitmaps[0].set_pixel(3, 3, sparkle_color3)
  1405.    
  1406.     # 2nd sparkle bitmap
  1407.     @sparkle_bitmaps[1] = Bitmap.new(7, 7)
  1408.     @sparkle_bitmaps[1].fill_rect(3, 2, 1, 3, sparkle_color3)
  1409.     @sparkle_bitmaps[1].fill_rect(2, 3, 3, 1, sparkle_color3)
  1410.     @sparkle_bitmaps[1].set_pixel(3, 3, sparkle_color2)
  1411.    
  1412.     # 3rd sparkle bitmap
  1413.     @sparkle_bitmaps[2] = Bitmap.new(7, 7)
  1414.     @sparkle_bitmaps[2].set_pixel(1, 1, sparkle_color3)
  1415.     @sparkle_bitmaps[2].set_pixel(5, 1, sparkle_color3)
  1416.     @sparkle_bitmaps[2].set_pixel(2, 2, sparkle_color2)
  1417.     @sparkle_bitmaps[2].set_pixel(4, 2, sparkle_color2)
  1418.     @sparkle_bitmaps[2].set_pixel(3, 3, sparkle_color1)
  1419.     @sparkle_bitmaps[2].set_pixel(2, 4, sparkle_color2)
  1420.     @sparkle_bitmaps[2].set_pixel(4, 4, sparkle_color2)
  1421.     @sparkle_bitmaps[2].set_pixel(1, 5, sparkle_color3)
  1422.     @sparkle_bitmaps[2].set_pixel(5, 5, sparkle_color3)
  1423.    
  1424.     # 4th sparkle bitmap
  1425.     @sparkle_bitmaps[3] = Bitmap.new(7, 7)
  1426.     @sparkle_bitmaps[3].fill_rect(3, 1, 1, 5, sparkle_color3)
  1427.     @sparkle_bitmaps[3].fill_rect(1, 3, 5, 1, sparkle_color3)
  1428.     @sparkle_bitmaps[3].fill_rect(3, 2, 1, 3, sparkle_color2)
  1429.     @sparkle_bitmaps[3].fill_rect(2, 3, 3, 1, sparkle_color2)
  1430.     @sparkle_bitmaps[3].set_pixel(3, 3, sparkle_color1)
  1431.    
  1432.     # 5th sparkle bitmap
  1433.     @sparkle_bitmaps[4] = Bitmap.new(7, 7)
  1434.     @sparkle_bitmaps[4].fill_rect(2, 2, 3, 3, sparkle_color2)
  1435.     @sparkle_bitmaps[4].fill_rect(3, 2, 1, 3, sparkle_color3)
  1436.     @sparkle_bitmaps[4].fill_rect(2, 3, 3, 1, sparkle_color3)
  1437.     @sparkle_bitmaps[4].set_pixel(3, 3, sparkle_color1)
  1438.     @sparkle_bitmaps[4].set_pixel(1, 1, sparkle_color3)
  1439.     @sparkle_bitmaps[4].set_pixel(5, 1, sparkle_color3)
  1440.     @sparkle_bitmaps[4].set_pixel(1, 5, sparkle_color3)
  1441.     @sparkle_bitmaps[4].set_pixel(5, 1, sparkle_color3)
  1442.    
  1443.     # 6th sparkle bitmap
  1444.     @sparkle_bitmaps[5] = Bitmap.new(7, 7)
  1445.     @sparkle_bitmaps[5].fill_rect(2, 1, 3, 5, sparkle_color3)
  1446.     @sparkle_bitmaps[5].fill_rect(1, 2, 5, 3, sparkle_color3)
  1447.     @sparkle_bitmaps[5].fill_rect(2, 2, 3, 3, sparkle_color2)
  1448.     @sparkle_bitmaps[5].fill_rect(3, 1, 1, 5, sparkle_color2)
  1449.     @sparkle_bitmaps[5].fill_rect(1, 3, 5, 1, sparkle_color2)
  1450.     @sparkle_bitmaps[5].fill_rect(3, 2, 1, 3, sparkle_color1)
  1451.     @sparkle_bitmaps[5].fill_rect(2, 3, 3, 1, sparkle_color1)
  1452.     @sparkle_bitmaps[5].set_pixel(3, 3, sparkle_color4)
  1453.    
  1454.     # 7th sparkle bitmap
  1455.     @sparkle_bitmaps[6] = Bitmap.new(7, 7)
  1456.     @sparkle_bitmaps[6].fill_rect(2, 1, 3, 5, sparkle_color2)
  1457.     @sparkle_bitmaps[6].fill_rect(1, 2, 5, 3, sparkle_color2)
  1458.     @sparkle_bitmaps[6].fill_rect(3, 0, 1, 7, sparkle_color3)
  1459.     @sparkle_bitmaps[6].fill_rect(0, 3, 7, 1, sparkle_color3)
  1460.     @sparkle_bitmaps[6].fill_rect(2, 2, 3, 3, sparkle_color1)
  1461.     @sparkle_bitmaps[6].fill_rect(3, 2, 1, 3, sparkle_color2)
  1462.     @sparkle_bitmaps[6].fill_rect(2, 3, 3, 1, sparkle_color2)
  1463.     @sparkle_bitmaps[6].set_pixel(3, 3, sparkle_color4)
  1464. #-------------------------------------------------------------------------------    
  1465.     # Meteor bitmap
  1466.    
  1467.     case $game_screen.weather_variation
  1468.     when 1 # Flame Meteor
  1469.       meteor_color1 = Color.new(248, 88, 0)    
  1470.       meteor_color2 = Color.new(205, 194, 23)  
  1471.       meteor_color3 = Color.new(218, 207, 36)  
  1472.     when 2 # Rock Meteor
  1473.       meteor_color1 = Color.new(60, 60, 60)    
  1474.       meteor_color2 = Color.new(248, 88, 0)    
  1475.       meteor_color3 = Color.new(218, 207, 36)  
  1476.     else # Normal Meteor
  1477.       meteor_color1 = Color.new(232, 160, 128)  
  1478.       meteor_color2 = Color.new(248, 88, 0)    
  1479.       meteor_color3 = Color.new(179, 17, 17)  
  1480.     end
  1481.    
  1482.     @meteor_bitmap = Bitmap.new(14, 12)
  1483.     @meteor_bitmap.fill_rect(0, 8, 5, 4, meteor_color1)
  1484.     @meteor_bitmap.fill_rect(1, 7, 6, 4, meteor_color1)
  1485.     @meteor_bitmap.set_pixel(7, 8, meteor_color1)
  1486.     @meteor_bitmap.fill_rect(1, 8, 2, 2, meteor_color2)
  1487.     @meteor_bitmap.set_pixel(2, 7, meteor_color2)
  1488.     @meteor_bitmap.fill_rect(3, 6, 2, 1, meteor_color2)
  1489.     @meteor_bitmap.set_pixel(3, 8, meteor_color2)
  1490.     @meteor_bitmap.set_pixel(3, 10, meteor_color2)
  1491.     @meteor_bitmap.set_pixel(4, 9, meteor_color2)
  1492.     @meteor_bitmap.fill_rect(5, 5, 1, 5, meteor_color2)
  1493.     @meteor_bitmap.fill_rect(6, 4, 1, 5, meteor_color2)
  1494.     @meteor_bitmap.fill_rect(7, 3, 1, 5, meteor_color2)
  1495.     @meteor_bitmap.fill_rect(8, 6, 1, 2, meteor_color2)
  1496.     @meteor_bitmap.set_pixel(9, 5, meteor_color2)
  1497.     @meteor_bitmap.set_pixel(3, 8, meteor_color3)
  1498.     @meteor_bitmap.fill_rect(4, 7, 1, 2, meteor_color3)
  1499.     @meteor_bitmap.set_pixel(4, 5, meteor_color3)
  1500.     @meteor_bitmap.set_pixel(5, 4, meteor_color3)
  1501.     @meteor_bitmap.set_pixel(5, 6, meteor_color3)
  1502.     @meteor_bitmap.set_pixel(6, 5, meteor_color3)
  1503.     @meteor_bitmap.set_pixel(6, 7, meteor_color3)
  1504.     @meteor_bitmap.fill_rect(7, 4, 1, 3, meteor_color3)
  1505.     @meteor_bitmap.fill_rect(8, 3, 1, 3, meteor_color3)
  1506.     @meteor_bitmap.fill_rect(9, 2, 1, 3, meteor_color3)
  1507.     @meteor_bitmap.fill_rect(10, 1, 1, 3, meteor_color3)
  1508.     @meteor_bitmap.fill_rect(11, 0, 1, 3, meteor_color3)
  1509.     @meteor_bitmap.fill_rect(12, 0, 1, 2, meteor_color3)
  1510.     @meteor_bitmap.set_pixel(13, 0, meteor_color3)
  1511.    
  1512.     # Impact bitmap
  1513.     @impact_bitmap = Bitmap.new(22, 11)
  1514.     @impact_bitmap.fill_rect(0, 5, 1, 2, meteor_color2)
  1515.     @impact_bitmap.set_pixel(1, 4, meteor_color2)
  1516.     @impact_bitmap.set_pixel(1, 6, meteor_color2)
  1517.     @impact_bitmap.set_pixel(2, 3, meteor_color2)
  1518.     @impact_bitmap.set_pixel(2, 7, meteor_color2)
  1519.     @impact_bitmap.set_pixel(3, 2, meteor_color3)
  1520.     @impact_bitmap.set_pixel(3, 7, meteor_color3)
  1521.     @impact_bitmap.set_pixel(4, 2, meteor_color2)
  1522.     @impact_bitmap.set_pixel(4, 8, meteor_color2)
  1523.     @impact_bitmap.set_pixel(5, 2, meteor_color3)
  1524.     @impact_bitmap.fill_rect(5, 8, 3, 1, meteor_color2)
  1525.     @impact_bitmap.set_pixel(6, 1, meteor_color3)
  1526.     @impact_bitmap.fill_rect(7, 1, 8, 1, meteor_color2)
  1527.     @impact_bitmap.fill_rect(7, 9, 8, 1, meteor_color3)
  1528. #-------------------------------------------------------------------------------      
  1529.     # Ash bitmaps
  1530.    
  1531.     ash_color1 = Color.new(210, 210, 210, 250)
  1532.     ash_color2 = Color.new(255, 255, 255)
  1533.     ash_color3 = Color.new(214, 217, 217, 150)
  1534.    
  1535.     @ash_bitmaps = []
  1536.     @ash_bitmaps[0] = Bitmap.new(3, 3)
  1537.     @ash_bitmaps[0].fill_rect(0, 1, 1, 3, ash_color1)
  1538.     @ash_bitmaps[0].fill_rect(1, 0, 3, 1, ash_color1)
  1539.     @ash_bitmaps[0].set_pixel(1, 1, ash_color2)
  1540.     @ash_bitmaps[1] = Bitmap.new(3, 3)
  1541.     @ash_bitmaps[1].fill_rect(0, 1, 1, 3, ash_color3)
  1542.     @ash_bitmaps[1].fill_rect(1, 0, 3, 1, ash_color3)
  1543.     @ash_bitmaps[1].set_pixel(1, 1, ash_color1)
  1544. #-------------------------------------------------------------------------------    
  1545.     # Bubble bitmaps
  1546.    
  1547.     @bubble_bitmaps = []
  1548.     bubble_color1 = Color.new(77, 136, 225, 160)
  1549.     bubble_color2 = Color.new(197, 253, 254, 160)
  1550.     bubble_color3 = Color.new(225, 190, 244, 160)
  1551.     bubble_color4 = Color.new(255, 255, 255)
  1552.    
  1553.     # first bubble bitmap
  1554.     @bubble_bitmaps[0] = Bitmap.new(24, 24)
  1555.     @bubble_bitmaps[0].fill_rect(0, 9, 24, 5, bubble_color1)
  1556.     @bubble_bitmaps[0].fill_rect(1, 6, 22, 11, bubble_color1)
  1557.     @bubble_bitmaps[0].fill_rect(2, 5, 20, 13, bubble_color1)
  1558.     @bubble_bitmaps[0].fill_rect(3, 4, 18, 15, bubble_color1)
  1559.     @bubble_bitmaps[0].fill_rect(4, 3, 16, 17, bubble_color1)
  1560.     @bubble_bitmaps[0].fill_rect(5, 2, 14, 19, bubble_color1)
  1561.     @bubble_bitmaps[0].fill_rect(6, 1, 12, 21, bubble_color1)
  1562.     @bubble_bitmaps[0].fill_rect(9, 0, 5, 24, bubble_color1)
  1563.     @bubble_bitmaps[0].fill_rect(2, 11, 20, 4, bubble_color2)
  1564.     @bubble_bitmaps[0].fill_rect(3, 7, 18, 10, bubble_color2)
  1565.     @bubble_bitmaps[0].fill_rect(4, 6, 16, 12, bubble_color2)
  1566.     @bubble_bitmaps[0].fill_rect(5, 5, 14, 14, bubble_color2)
  1567.     @bubble_bitmaps[0].fill_rect(6, 4, 12, 16, bubble_color2)
  1568.     @bubble_bitmaps[0].fill_rect(9, 2, 4, 20, bubble_color2)
  1569.     @bubble_bitmaps[0].fill_rect(5, 10, 1, 7, bubble_color3)
  1570.     @bubble_bitmaps[0].fill_rect(6, 14, 1, 5, bubble_color3)
  1571.     @bubble_bitmaps[0].fill_rect(7, 15, 1, 4, bubble_color3)
  1572.     @bubble_bitmaps[0].fill_rect(8, 16, 1, 4, bubble_color3)
  1573.     @bubble_bitmaps[0].fill_rect(9, 17, 1, 3, bubble_color3)
  1574.     @bubble_bitmaps[0].fill_rect(10, 18, 4, 3, bubble_color3)
  1575.     @bubble_bitmaps[0].fill_rect(14, 18, 1, 2, bubble_color3)
  1576.     @bubble_bitmaps[0].fill_rect(13, 5, 4, 4, bubble_color4)
  1577.     @bubble_bitmaps[0].fill_rect(14, 4, 2, 1, bubble_color4)
  1578.     @bubble_bitmaps[0].set_pixel(17, 6, bubble_color4)
  1579.    
  1580.     # second bubble bitmap
  1581.     @bubble_bitmaps[1] = Bitmap.new(14, 15)
  1582.     @bubble_bitmaps[1].fill_rect(0, 4, 14, 7, bubble_color1)
  1583.     @bubble_bitmaps[1].fill_rect(1, 3, 12, 9, bubble_color1)
  1584.     @bubble_bitmaps[1].fill_rect(2, 2, 10, 11, bubble_color1)
  1585.     @bubble_bitmaps[1].fill_rect(3, 1, 8, 13, bubble_color1)
  1586.     @bubble_bitmaps[1].fill_rect(5, 0, 4, 15, bubble_color1)
  1587.     @bubble_bitmaps[1].fill_rect(1, 5, 12, 4, bubble_color2)
  1588.     @bubble_bitmaps[1].fill_rect(2, 4, 10, 6, bubble_color2)
  1589.     @bubble_bitmaps[1].fill_rect(3, 3, 8, 8, bubble_color2)
  1590.     @bubble_bitmaps[1].fill_rect(4, 2, 6, 10, bubble_color2)
  1591.     @bubble_bitmaps[1].fill_rect(1, 5, 12, 4, bubble_color2)
  1592.     @bubble_bitmaps[1].fill_rect(3, 9, 1, 2, bubble_color3)
  1593.     @bubble_bitmaps[1].fill_rect(4, 10, 1, 2, bubble_color3)
  1594.     @bubble_bitmaps[1].fill_rect(5, 11, 4, 1, bubble_color3)
  1595.     @bubble_bitmaps[1].fill_rect(6, 12, 2, 1, bubble_color4)
  1596.     @bubble_bitmaps[1].fill_rect(8, 3, 2, 2, bubble_color4)
  1597.     @bubble_bitmaps[1].set_pixel(7, 4, bubble_color4)
  1598.     @bubble_bitmaps[1].set_pixel(8, 5, bubble_color4)
  1599.    
  1600.     # Other option for bubbles
  1601.     @bubble2_bitmaps = Array.new
  1602.     bubble2_color1 = Color.new(145, 150, 155, 160)
  1603.     bubble2_color2 = Color.new(180, 180, 185, 160)
  1604.     bubble2_color3 = Color.new(225, 225, 235, 160)
  1605.     bubble2_color4 = Color.new(145, 145, 165, 160)
  1606.     bubble2_color5 = Color.new(165, 170, 180, 160)
  1607.     bubble2_color6 = Color.new(255, 255, 255, 160)
  1608.    
  1609.     # first bubble 2 bitmap
  1610.     @bubble2_bitmaps[0] = Bitmap.new(6, 6)
  1611.     @bubble2_bitmaps[0].fill_rect(0, 0, 6, 6, bubble2_color1)
  1612.     @bubble2_bitmaps[0].fill_rect(0, 2, 6, 2, bubble2_color2)
  1613.     @bubble2_bitmaps[0].fill_rect(2, 0, 2, 6, bubble2_color2)
  1614.     @bubble2_bitmaps[0].fill_rect(2, 2, 2, 2, bubble2_color3)
  1615.    
  1616.     # second bubble 2 bitmap
  1617.     @bubble2_bitmaps[1] = Bitmap.new(8, 8)
  1618.     @bubble2_bitmaps[1].fill_rect(0, 2, 2, 4, bubble2_color4)
  1619.     @bubble2_bitmaps[1].fill_rect(2, 0, 4, 2, bubble2_color1)
  1620.     @bubble2_bitmaps[1].fill_rect(6, 2, 2, 2, bubble2_color1)
  1621.     @bubble2_bitmaps[1].fill_rect(2, 6, 2, 2, bubble2_color1)
  1622.     @bubble2_bitmaps[1].fill_rect(6, 4, 2, 2, bubble2_color2)
  1623.     @bubble2_bitmaps[1].fill_rect(4, 6, 2, 2, bubble2_color2)
  1624.     @bubble2_bitmaps[1].fill_rect(4, 4, 2, 2, bubble2_color5)
  1625.     @bubble2_bitmaps[1].fill_rect(2, 4, 2, 2, bubble2_color3)
  1626.     @bubble2_bitmaps[1].fill_rect(4, 2, 2, 2, bubble2_color3)
  1627.     @bubble2_bitmaps[1].fill_rect(2, 2, 2, 2, bubble2_color6)
  1628.    
  1629.     # third bubble 2 bitmap
  1630.     @bubble2_bitmaps[2] = Bitmap.new(8, 10)
  1631.     @bubble2_bitmaps[2].fill_rect(8, 2, 2, 4, bubble2_color4)
  1632.     @bubble2_bitmaps[2].fill_rect(2, 0, 8, 2, bubble2_color1)
  1633.     @bubble2_bitmaps[2].fill_rect(2, 6, 8, 2, bubble2_color1)
  1634.     @bubble2_bitmaps[2].fill_rect(4, 0, 2, 2, bubble2_color2)
  1635.     @bubble2_bitmaps[2].fill_rect(4, 6, 2, 2, bubble2_color2)
  1636.     @bubble2_bitmaps[2].fill_rect(0, 2, 2, 2, bubble2_color2)
  1637.     @bubble2_bitmaps[2].fill_rect(0, 4, 2, 2, bubble2_color5)
  1638.     @bubble2_bitmaps[2].fill_rect(2, 2, 6, 4, bubble2_color3)
  1639.     @bubble2_bitmaps[2].fill_rect(2, 2, 4, 2, bubble2_color6)
  1640.     @bubble2_bitmaps[2].fill_rect(4, 4, 2, 2, bubble2_color6)
  1641.    
  1642.     # fourth bubble 2 bitmap
  1643.     @bubble2_bitmaps[3] = Bitmap.new(14, 14)
  1644.     @bubble2_bitmaps[3].fill_rect(4, 0, 4, 2, bubble2_color4)
  1645.     @bubble2_bitmaps[3].fill_rect(0, 4, 2, 4, bubble2_color4)
  1646.     @bubble2_bitmaps[3].fill_rect(12, 4, 2, 4, bubble2_color4)
  1647.     @bubble2_bitmaps[3].fill_rect(8, 0, 2, 2, bubble2_color1)
  1648.     @bubble2_bitmaps[3].fill_rect(0, 6, 2, 2, bubble2_color1)
  1649.     @bubble2_bitmaps[3].fill_rect(12, 6, 2, 2, bubble2_color1)
  1650.     @bubble2_bitmaps[3].fill_rect(4, 12, 6, 2, bubble2_color1)
  1651.     @bubble2_bitmaps[3].fill_rect(8, 0, 2, 2, bubble2_color1)
  1652.     @bubble2_bitmaps[3].fill_rect(2, 2, 10, 10, bubble2_color2)
  1653.     @bubble2_bitmaps[3].fill_rect(6, 12, 2, 2, bubble2_color2)
  1654.     @bubble2_bitmaps[3].fill_rect(2, 4, 10, 6, bubble2_color3)
  1655.     @bubble2_bitmaps[3].fill_rect(4, 2, 2, 2, bubble2_color3)
  1656.     @bubble2_bitmaps[3].fill_rect(6, 10, 4, 2, bubble2_color3)
  1657.     @bubble2_bitmaps[3].fill_rect(6, 4, 2, 2, bubble2_color6)
  1658.     @bubble2_bitmaps[3].fill_rect(4, 6, 2, 2, bubble2_color6)
  1659. #-------------------------------------------------------------------------------
  1660.     # Bomb bitmap
  1661.    
  1662.     case $game_screen.weather_variation
  1663.     when 1 # Flare
  1664.       bomb_color1 = Color.new(205, 194, 23)
  1665.       bomb_color2 = Color.new(248, 88, 0)
  1666.     when 2 # Ice
  1667.       bomb_color1 = Color.new(181, 244, 255)
  1668.       bomb_color2 = Color.new(181, 244, 255)
  1669.     else   # Water
  1670.       bomb_color1 = Color.new(197, 253, 254, 160)
  1671.       bomb_color2 = Color.new(197, 253, 254, 160)
  1672.     end
  1673.  
  1674.     @bomb_bitmap = Bitmap.new(8, 8)
  1675.     @bomb_bitmap.fill_rect(0, 2, 2, 4, bomb_color1)
  1676.     @bomb_bitmap.fill_rect(2, 0, 4, 2, bomb_color1)
  1677.     @bomb_bitmap.fill_rect(6, 2, 2, 2, bomb_color1)
  1678.     @bomb_bitmap.fill_rect(2, 6, 2, 2, bomb_color2)
  1679.     @bomb_bitmap.fill_rect(6, 4, 2, 2, bomb_color2)
  1680.     @bomb_bitmap.fill_rect(4, 6, 2, 2, bomb_color1)
  1681.     @bomb_bitmap.fill_rect(4, 4, 2, 2, bomb_color2)
  1682.     @bomb_bitmap.fill_rect(2, 4, 2, 2, bomb_color1)
  1683.     @bomb_bitmap.fill_rect(4, 2, 2, 2, bomb_color1)
  1684.     @bomb_bitmap.fill_rect(2, 2, 2, 2, bomb_color1)
  1685.  
  1686.     # Bomb impact bitmap
  1687.     @bomb_impact_bitmap = Bitmap.new(8, 5)
  1688.     @bomb_impact_bitmap.fill_rect(1, 0, 6, 1, bomb_color2)
  1689.     @bomb_impact_bitmap.fill_rect(1, 4, 6, 1, bomb_color2)
  1690.     @bomb_impact_bitmap.fill_rect(0, 1, 1, 3, bomb_color1)
  1691.     @bomb_impact_bitmap.fill_rect(7, 1, 1, 3, bomb_color1)
  1692.     @bomb_impact_bitmap.set_pixel(1, 0, bomb_color1)
  1693.     @bomb_impact_bitmap.set_pixel(0, 1, bomb_color1)
  1694. #-------------------------------------------------------------------------------
  1695.     # Starburst bitmaps (prismatic)
  1696.  
  1697.     @starburst_bitmaps = []
  1698.     starburst_color1 = Color.new(233, 210, 142)
  1699.     starburst_color2 = Color.new(219, 191, 95)
  1700.     starburst_color3 = Color.new(242, 229, 190)
  1701.     starburst_color4 = Color.new(241, 185, 187)
  1702.     starburst_color5 = Color.new(196, 55, 84)
  1703.     starburst_color6 = Color.new(178, 15, 56)
  1704.     starburst_color7 = Color.new(189, 225, 242)
  1705.     starburst_color8 = Color.new(102, 181, 221)
  1706.     starburst_color9 = Color.new(5, 88, 168)
  1707.     starburst_color10 = Color.new(205, 246, 205)
  1708.     starburst_color11 = Color.new(88, 221, 89)
  1709.     starburst_color12 = Color.new(44, 166, 0)
  1710.     starburst_color13 = Color.new(216, 197, 255)
  1711.     starburst_color14 = Color.new(155, 107, 255)
  1712.     starburst_color15 = Color.new(71, 0, 222)
  1713.     starburst_color16 = Color.new(255, 220, 177)
  1714.     starburst_color17 = Color.new(255, 180, 85)
  1715.     starburst_color18 = Color.new(222, 124, 0)
  1716.    
  1717.     # 1st starburst bitmap
  1718.     @starburst_bitmaps[0] = Bitmap.new(8, 8)
  1719.     @starburst_bitmaps[0].set_pixel(3, 3, starburst_color3)
  1720.    
  1721.     # 2nd starburst bitmap
  1722.     @starburst_bitmaps[1] = Bitmap.new(8, 8)
  1723.     @starburst_bitmaps[1].fill_rect(3, 2, 1, 3, starburst_color1)
  1724.     @starburst_bitmaps[1].fill_rect(2, 3, 3, 1, starburst_color1)
  1725.     @starburst_bitmaps[1].set_pixel(3, 3, starburst_color3)
  1726.    
  1727.     # 3rd starburst bitmap
  1728.     @starburst_bitmaps[2] = Bitmap.new(7, 7)
  1729.     @starburst_bitmaps[2].set_pixel(1, 1, starburst_color1)
  1730.     @starburst_bitmaps[2].set_pixel(5, 1, starburst_color1)
  1731.     @starburst_bitmaps[2].set_pixel(2, 2, starburst_color2)
  1732.     @starburst_bitmaps[2].set_pixel(4, 2, starburst_color1)
  1733.     @starburst_bitmaps[2].set_pixel(3, 3, starburst_color3)
  1734.     @starburst_bitmaps[2].set_pixel(2, 4, starburst_color2)
  1735.     @starburst_bitmaps[2].set_pixel(4, 4, starburst_color2)
  1736.     @starburst_bitmaps[2].set_pixel(1, 5, starburst_color1)
  1737.     @starburst_bitmaps[2].set_pixel(5, 5, starburst_color1)
  1738.    
  1739.     # 4th starburst bitmap
  1740.     @starburst_bitmaps[3] = Bitmap.new(7, 7)
  1741.     @starburst_bitmaps[3].fill_rect(3, 1, 1, 5, starburst_color1)
  1742.     @starburst_bitmaps[3].fill_rect(1, 3, 5, 1, starburst_color2)
  1743.     @starburst_bitmaps[3].fill_rect(3, 2, 1, 3, starburst_color1)
  1744.     @starburst_bitmaps[3].fill_rect(2, 3, 3, 1, starburst_color2)
  1745.     @starburst_bitmaps[3].set_pixel(3, 3, starburst_color3)
  1746.    
  1747.     # 5th starburst bitmap
  1748.     @starburst_bitmaps[4] = Bitmap.new(7, 7)
  1749.     @starburst_bitmaps[4].fill_rect(2, 2, 3, 3, starburst_color1)
  1750.     @starburst_bitmaps[4].fill_rect(3, 2, 1, 3, starburst_color1)
  1751.     @starburst_bitmaps[4].fill_rect(2, 3, 3, 1, starburst_color2)
  1752.     @starburst_bitmaps[4].set_pixel(3, 3, starburst_color3)
  1753.     @starburst_bitmaps[4].set_pixel(1, 1, starburst_color1)
  1754.     @starburst_bitmaps[4].set_pixel(5, 1, starburst_color1)
  1755.     @starburst_bitmaps[4].set_pixel(1, 5, starburst_color2)
  1756.     @starburst_bitmaps[4].set_pixel(5, 1, starburst_color2)
  1757.    
  1758.     # 6th starburst bitmap
  1759.     @starburst_bitmaps[5] = Bitmap.new(8, 8)
  1760.     @starburst_bitmaps[5].fill_rect(3, 2, 1, 3, starburst_color1)
  1761.     @starburst_bitmaps[5].fill_rect(2, 3, 3, 1, starburst_color1)
  1762.     @starburst_bitmaps[5].set_pixel(3, 3, starburst_color3)
  1763.    
  1764.     # 7th starburst bitmap
  1765.     @starburst_bitmaps[6] = Bitmap.new(8, 8)
  1766.     @starburst_bitmaps[6].fill_rect(3, 2, 1, 3, starburst_color11)
  1767.     @starburst_bitmaps[6].fill_rect(2, 3, 3, 1, starburst_color11)
  1768.     @starburst_bitmaps[6].set_pixel(3, 3, starburst_color10)
  1769.    
  1770.     # 8th starburst bitmap
  1771.     @starburst_bitmaps[7] = Bitmap.new(7, 7)
  1772.     @starburst_bitmaps[7].set_pixel(1, 1, starburst_color12)
  1773.     @starburst_bitmaps[7].set_pixel(5, 1, starburst_color12)
  1774.     @starburst_bitmaps[7].set_pixel(2, 2, starburst_color12)
  1775.     @starburst_bitmaps[7].set_pixel(4, 2, starburst_color12)
  1776.     @starburst_bitmaps[7].set_pixel(3, 3, starburst_color11)
  1777.     @starburst_bitmaps[7].set_pixel(2, 4, starburst_color11)
  1778.     @starburst_bitmaps[7].set_pixel(4, 4, starburst_color11)
  1779.     @starburst_bitmaps[7].set_pixel(1, 5, starburst_color11)
  1780.     @starburst_bitmaps[7].set_pixel(5, 5, starburst_color10)
  1781.    
  1782.     # 9th starburst bitmap
  1783.     @starburst_bitmaps[8] = Bitmap.new(7, 7)
  1784.     @starburst_bitmaps[8].fill_rect(3, 1, 1, 5, starburst_color12)
  1785.     @starburst_bitmaps[8].fill_rect(1, 3, 5, 1, starburst_color12)
  1786.     @starburst_bitmaps[8].fill_rect(3, 2, 1, 3, starburst_color11)
  1787.     @starburst_bitmaps[8].fill_rect(2, 3, 3, 1, starburst_color11)
  1788.     @starburst_bitmaps[8].set_pixel(3, 3, starburst_color10)
  1789.        
  1790.     # 10th starburst bitmap
  1791.     @starburst_bitmaps[9] = Bitmap.new(7, 7)
  1792.     @starburst_bitmaps[9].fill_rect(2, 1, 3, 5, starburst_color12)
  1793.     @starburst_bitmaps[9].fill_rect(1, 2, 5, 3, starburst_color12)
  1794.     @starburst_bitmaps[9].fill_rect(2, 2, 3, 3, starburst_color11)
  1795.     @starburst_bitmaps[9].fill_rect(3, 1, 1, 5, starburst_color11)
  1796.     @starburst_bitmaps[9].fill_rect(1, 3, 5, 1, starburst_color11)
  1797.     @starburst_bitmaps[9].fill_rect(3, 2, 1, 3, starburst_color10)
  1798.     @starburst_bitmaps[9].fill_rect(2, 3, 3, 1, starburst_color10)
  1799.     @starburst_bitmaps[9].set_pixel(3, 3, starburst_color10)
  1800.    
  1801.     # 11th starburst bitmap
  1802.     @starburst_bitmaps[10] = Bitmap.new(7, 7)
  1803.     @starburst_bitmaps[10].fill_rect(2, 2, 3, 3, starburst_color12)
  1804.     @starburst_bitmaps[10].fill_rect(3, 2, 1, 3, starburst_color12)
  1805.     @starburst_bitmaps[10].fill_rect(2, 3, 3, 1, starburst_color11)
  1806.     @starburst_bitmaps[10].set_pixel(3, 3, starburst_color10)
  1807.     @starburst_bitmaps[10].set_pixel(1, 1, starburst_color11)
  1808.     @starburst_bitmaps[10].set_pixel(5, 1, starburst_color11)
  1809.     @starburst_bitmaps[10].set_pixel(1, 5, starburst_color12)
  1810.     @starburst_bitmaps[10].set_pixel(5, 1, starburst_color12)
  1811.        
  1812.     # 12th starburst bitmap
  1813.     @starburst_bitmaps[11] = Bitmap.new(8, 8)
  1814.     @starburst_bitmaps[11].fill_rect(3, 2, 1, 3, starburst_color11)
  1815.     @starburst_bitmaps[11].fill_rect(2, 3, 3, 1, starburst_color11)
  1816.     @starburst_bitmaps[11].set_pixel(3, 3, starburst_color10)
  1817.    
  1818.     # 13th starburst bitmap
  1819.     @starburst_bitmaps[12] = Bitmap.new(8, 8)
  1820.     @starburst_bitmaps[12].fill_rect(3, 2, 1, 3, starburst_color8)
  1821.     @starburst_bitmaps[12].fill_rect(2, 3, 3, 1, starburst_color8)
  1822.     @starburst_bitmaps[12].set_pixel(3, 3, starburst_color7)
  1823.    
  1824.     # 14th starburst bitmap
  1825.     @starburst_bitmaps[13] = Bitmap.new(7, 7)
  1826.     @starburst_bitmaps[13].set_pixel(1, 1, starburst_color9)
  1827.     @starburst_bitmaps[13].set_pixel(5, 1, starburst_color9)
  1828.     @starburst_bitmaps[13].set_pixel(2, 2, starburst_color9)
  1829.     @starburst_bitmaps[13].set_pixel(4, 2, starburst_color9)
  1830.     @starburst_bitmaps[13].set_pixel(3, 3, starburst_color8)
  1831.     @starburst_bitmaps[13].set_pixel(2, 4, starburst_color8)
  1832.     @starburst_bitmaps[13].set_pixel(4, 4, starburst_color8)
  1833.     @starburst_bitmaps[13].set_pixel(1, 5, starburst_color8)
  1834.     @starburst_bitmaps[13].set_pixel(5, 5, starburst_color7)
  1835.    
  1836.     # 15th starburst bitmap
  1837.     @starburst_bitmaps[14] = Bitmap.new(7, 7)
  1838.     @starburst_bitmaps[14].fill_rect(3, 1, 1, 5, starburst_color9)
  1839.     @starburst_bitmaps[14].fill_rect(1, 3, 5, 1, starburst_color9)
  1840.     @starburst_bitmaps[14].fill_rect(3, 2, 1, 3, starburst_color8)
  1841.     @starburst_bitmaps[14].fill_rect(2, 3, 3, 1, starburst_color8)
  1842.     @starburst_bitmaps[14].set_pixel(3, 3, starburst_color7)
  1843.        
  1844.     # 16th starburst bitmap
  1845.     @starburst_bitmaps[15] = Bitmap.new(7, 7)
  1846.     @starburst_bitmaps[15].fill_rect(2, 1, 3, 5, starburst_color9)
  1847.     @starburst_bitmaps[15].fill_rect(1, 2, 5, 3, starburst_color9)
  1848.     @starburst_bitmaps[15].fill_rect(2, 2, 3, 3, starburst_color8)
  1849.     @starburst_bitmaps[15].fill_rect(3, 1, 1, 5, starburst_color8)
  1850.     @starburst_bitmaps[15].fill_rect(1, 3, 5, 1, starburst_color8)
  1851.     @starburst_bitmaps[15].fill_rect(3, 2, 1, 3, starburst_color7)
  1852.     @starburst_bitmaps[15].fill_rect(2, 3, 3, 1, starburst_color7)
  1853.     @starburst_bitmaps[15].set_pixel(3, 3, starburst_color7)
  1854.    
  1855.     # 17th starburst bitmap
  1856.     @starburst_bitmaps[16] = Bitmap.new(8, 8)
  1857.     @starburst_bitmaps[16].fill_rect(3, 2, 1, 3, starburst_color8)
  1858.     @starburst_bitmaps[16].fill_rect(2, 3, 3, 1, starburst_color8)
  1859.     @starburst_bitmaps[16].set_pixel(3, 3, starburst_color7)
  1860.    
  1861.     # 18th starburst bitmap
  1862.     @starburst_bitmaps[17] = Bitmap.new(8, 8)
  1863.     @starburst_bitmaps[17].fill_rect(3, 2, 1, 3, starburst_color14)
  1864.     @starburst_bitmaps[17].fill_rect(2, 3, 3, 1, starburst_color14)
  1865.     @starburst_bitmaps[17].set_pixel(3, 3, starburst_color13)
  1866.    
  1867.     # 19th starburst bitmap
  1868.     @starburst_bitmaps[18] = Bitmap.new(7, 7)
  1869.     @starburst_bitmaps[18].set_pixel(1, 1, starburst_color15)
  1870.     @starburst_bitmaps[18].set_pixel(5, 1, starburst_color15)
  1871.     @starburst_bitmaps[18].set_pixel(2, 2, starburst_color15)
  1872.     @starburst_bitmaps[18].set_pixel(4, 2, starburst_color15)
  1873.     @starburst_bitmaps[18].set_pixel(3, 3, starburst_color14)
  1874.     @starburst_bitmaps[18].set_pixel(2, 4, starburst_color14)
  1875.     @starburst_bitmaps[18].set_pixel(4, 4, starburst_color14)
  1876.     @starburst_bitmaps[18].set_pixel(1, 5, starburst_color14)
  1877.     @starburst_bitmaps[18].set_pixel(5, 5, starburst_color13)
  1878.    
  1879.     # 20th starburst bitmap
  1880.     @starburst_bitmaps[19] = Bitmap.new(7, 7)
  1881.     @starburst_bitmaps[19].fill_rect(3, 1, 1, 5, starburst_color15)
  1882.     @starburst_bitmaps[19].fill_rect(1, 3, 5, 1, starburst_color15)
  1883.     @starburst_bitmaps[19].fill_rect(3, 2, 1, 3, starburst_color14)
  1884.     @starburst_bitmaps[19].fill_rect(2, 3, 3, 1, starburst_color14)
  1885.     @starburst_bitmaps[19].set_pixel(3, 3, starburst_color14)
  1886.        
  1887.     # 21st starburst bitmap
  1888.     @starburst_bitmaps[20] = Bitmap.new(7, 7)
  1889.     @starburst_bitmaps[20].fill_rect(2, 1, 3, 5, starburst_color15)
  1890.     @starburst_bitmaps[20].fill_rect(1, 2, 5, 3, starburst_color15)
  1891.     @starburst_bitmaps[20].fill_rect(2, 2, 3, 3, starburst_color14)
  1892.     @starburst_bitmaps[20].fill_rect(3, 1, 1, 5, starburst_color14)
  1893.     @starburst_bitmaps[20].fill_rect(1, 3, 5, 1, starburst_color14)
  1894.     @starburst_bitmaps[20].fill_rect(3, 2, 1, 3, starburst_color13)
  1895.     @starburst_bitmaps[20].fill_rect(2, 3, 3, 1, starburst_color13)
  1896.     @starburst_bitmaps[20].set_pixel(3, 3, starburst_color13)
  1897.    
  1898.     # 22nd starburst bitmap
  1899.     @starburst_bitmaps[21] = Bitmap.new(7, 7)
  1900.     @starburst_bitmaps[21].fill_rect(2, 1, 3, 5, starburst_color14)
  1901.     @starburst_bitmaps[21].fill_rect(1, 2, 5, 3, starburst_color14)
  1902.     @starburst_bitmaps[21].fill_rect(3, 0, 1, 7, starburst_color15)
  1903.     @starburst_bitmaps[21].fill_rect(0, 3, 7, 1, starburst_color15)
  1904.     @starburst_bitmaps[21].fill_rect(2, 2, 3, 3, starburst_color13)
  1905.     @starburst_bitmaps[21].fill_rect(3, 2, 1, 3, starburst_color14)
  1906.     @starburst_bitmaps[21].fill_rect(2, 3, 3, 1, starburst_color14)
  1907.     @starburst_bitmaps[21].set_pixel(3, 3, starburst_color13)
  1908.    
  1909.     # 23rd starburst bitmap
  1910.     @starburst_bitmaps[22] = Bitmap.new(8, 8)
  1911.     @starburst_bitmaps[22].fill_rect(3, 2, 1, 3, starburst_color14)
  1912.     @starburst_bitmaps[22].fill_rect(2, 3, 3, 1, starburst_color14)
  1913.     @starburst_bitmaps[22].set_pixel(3, 3, starburst_color13)
  1914.    
  1915.     # 24th starburst bitmap
  1916.     @starburst_bitmaps[23] = Bitmap.new(8, 8)
  1917.     @starburst_bitmaps[23].fill_rect(3, 2, 1, 3, starburst_color5)
  1918.     @starburst_bitmaps[23].fill_rect(2, 3, 3, 1, starburst_color5)
  1919.     @starburst_bitmaps[23].set_pixel(3, 3, starburst_color4)
  1920.    
  1921.     # 25th starburst bitmap
  1922.     @starburst_bitmaps[24] = Bitmap.new(7, 7)
  1923.     @starburst_bitmaps[24].set_pixel(1, 1, starburst_color6)
  1924.     @starburst_bitmaps[24].set_pixel(5, 1, starburst_color6)
  1925.     @starburst_bitmaps[24].set_pixel(2, 2, starburst_color6)
  1926.     @starburst_bitmaps[24].set_pixel(4, 2, starburst_color6)
  1927.     @starburst_bitmaps[24].set_pixel(3, 3, starburst_color5)
  1928.     @starburst_bitmaps[24].set_pixel(2, 4, starburst_color5)
  1929.     @starburst_bitmaps[24].set_pixel(4, 4, starburst_color5)
  1930.     @starburst_bitmaps[24].set_pixel(1, 5, starburst_color5)
  1931.     @starburst_bitmaps[24].set_pixel(5, 5, starburst_color4)
  1932.    
  1933.     # 26th starburst bitmap
  1934.     @starburst_bitmaps[25] = Bitmap.new(7, 7)
  1935.     @starburst_bitmaps[25].fill_rect(3, 1, 1, 5, starburst_color6)
  1936.     @starburst_bitmaps[25].fill_rect(1, 3, 5, 1, starburst_color6)
  1937.     @starburst_bitmaps[25].fill_rect(3, 2, 1, 3, starburst_color5)
  1938.     @starburst_bitmaps[25].fill_rect(2, 3, 3, 1, starburst_color5)
  1939.     @starburst_bitmaps[25].set_pixel(3, 3, starburst_color4)
  1940.        
  1941.     # 27th starburst bitmap
  1942.     @starburst_bitmaps[26] = Bitmap.new(7, 7)
  1943.     @starburst_bitmaps[26].fill_rect(2, 1, 3, 5, starburst_color6)
  1944.     @starburst_bitmaps[26].fill_rect(1, 2, 5, 3, starburst_color6)
  1945.     @starburst_bitmaps[26].fill_rect(2, 2, 3, 3, starburst_color5)
  1946.     @starburst_bitmaps[26].fill_rect(3, 1, 1, 5, starburst_color5)
  1947.     @starburst_bitmaps[26].fill_rect(1, 3, 5, 1, starburst_color5)
  1948.     @starburst_bitmaps[26].fill_rect(3, 2, 1, 3, starburst_color4)
  1949.     @starburst_bitmaps[26].fill_rect(2, 3, 3, 1, starburst_color4)
  1950.     @starburst_bitmaps[26].set_pixel(3, 3, starburst_color4)
  1951.    
  1952.     # 28th starburst bitmap
  1953.     @starburst_bitmaps[27] = Bitmap.new(7, 7)
  1954.     @starburst_bitmaps[27].fill_rect(2, 1, 3, 5, starburst_color5)
  1955.     @starburst_bitmaps[27].fill_rect(1, 2, 5, 3, starburst_color5)
  1956.     @starburst_bitmaps[27].fill_rect(3, 0, 1, 7, starburst_color6)
  1957.     @starburst_bitmaps[27].fill_rect(0, 3, 7, 1, starburst_color6)
  1958.     @starburst_bitmaps[27].fill_rect(2, 2, 3, 3, starburst_color4)
  1959.     @starburst_bitmaps[27].fill_rect(3, 2, 1, 3, starburst_color5)
  1960.     @starburst_bitmaps[27].fill_rect(2, 3, 3, 1, starburst_color5)
  1961.     @starburst_bitmaps[27].set_pixel(3, 3, starburst_color4)
  1962.    
  1963.     # 29th starburst bitmap
  1964.     @starburst_bitmaps[28] = Bitmap.new(8, 8)
  1965.     @starburst_bitmaps[28].fill_rect(3, 2, 1, 3, starburst_color5)
  1966.     @starburst_bitmaps[28].fill_rect(2, 3, 3, 1, starburst_color5)
  1967.     @starburst_bitmaps[28].set_pixel(3, 3, starburst_color4)
  1968.    
  1969.     # 30th starburst bitmap
  1970.     @starburst_bitmaps[29] = Bitmap.new(8, 8)
  1971.     @starburst_bitmaps[29].fill_rect(3, 2, 1, 3, starburst_color17)
  1972.     @starburst_bitmaps[29].fill_rect(2, 3, 3, 1, starburst_color17)
  1973.     @starburst_bitmaps[29].set_pixel(3, 3, starburst_color16)
  1974.    
  1975.     # 31st starburst bitmap
  1976.     @starburst_bitmaps[30] = Bitmap.new(7, 7)
  1977.     @starburst_bitmaps[30].set_pixel(1, 1, starburst_color18)
  1978.     @starburst_bitmaps[30].set_pixel(5, 1, starburst_color18)
  1979.     @starburst_bitmaps[30].set_pixel(2, 2, starburst_color18)
  1980.     @starburst_bitmaps[30].set_pixel(4, 2, starburst_color18)
  1981.     @starburst_bitmaps[30].set_pixel(3, 3, starburst_color17)
  1982.     @starburst_bitmaps[30].set_pixel(2, 4, starburst_color17)
  1983.     @starburst_bitmaps[30].set_pixel(4, 4, starburst_color17)
  1984.     @starburst_bitmaps[30].set_pixel(1, 5, starburst_color17)
  1985.     @starburst_bitmaps[30].set_pixel(5, 5, starburst_color16)
  1986.    
  1987.     # 32nd starburst bitmap
  1988.     @starburst_bitmaps[31] = Bitmap.new(7, 7)
  1989.     @starburst_bitmaps[31].fill_rect(3, 1, 1, 5, starburst_color18)
  1990.     @starburst_bitmaps[31].fill_rect(1, 3, 5, 1, starburst_color18)
  1991.     @starburst_bitmaps[31].fill_rect(3, 2, 1, 3, starburst_color17)
  1992.     @starburst_bitmaps[31].fill_rect(2, 3, 3, 1, starburst_color17)
  1993.     @starburst_bitmaps[31].set_pixel(3, 3, starburst_color16)
  1994.        
  1995.     # 33rd starburst bitmap
  1996.     @starburst_bitmaps[32] = Bitmap.new(7, 7)
  1997.     @starburst_bitmaps[32].fill_rect(2, 1, 3, 5, starburst_color18)
  1998.     @starburst_bitmaps[32].fill_rect(1, 2, 5, 3, starburst_color18)
  1999.     @starburst_bitmaps[32].fill_rect(2, 2, 3, 3, starburst_color17)
  2000.     @starburst_bitmaps[32].fill_rect(3, 1, 1, 5, starburst_color17)
  2001.     @starburst_bitmaps[32].fill_rect(1, 3, 5, 1, starburst_color17)
  2002.     @starburst_bitmaps[32].fill_rect(3, 2, 1, 3, starburst_color16)
  2003.     @starburst_bitmaps[32].fill_rect(2, 3, 3, 1, starburst_color16)
  2004.     @starburst_bitmaps[32].set_pixel(3, 3, starburst_color16)
  2005.    
  2006.     # 34th starburst bitmap
  2007.     @starburst_bitmaps[33] = Bitmap.new(7, 7)
  2008.     @starburst_bitmaps[33].fill_rect(2, 1, 3, 5, starburst_color17)
  2009.     @starburst_bitmaps[33].fill_rect(1, 2, 5, 3, starburst_color17)
  2010.     @starburst_bitmaps[33].fill_rect(3, 0, 1, 7, starburst_color18)
  2011.     @starburst_bitmaps[33].fill_rect(0, 3, 7, 1, starburst_color18)
  2012.     @starburst_bitmaps[33].fill_rect(2, 2, 3, 3, starburst_color16)
  2013.     @starburst_bitmaps[33].fill_rect(3, 2, 1, 3, starburst_color17)
  2014.     @starburst_bitmaps[33].fill_rect(2, 3, 3, 1, starburst_color17)
  2015.     @starburst_bitmaps[33].set_pixel(3, 3, starburst_color16)
  2016.    
  2017.     # 35th starburst bitmap
  2018.     @starburst_bitmaps[34] = Bitmap.new(8, 8)
  2019.     @starburst_bitmaps[34].fill_rect(3, 2, 1, 3, starburst_color17)
  2020.     @starburst_bitmaps[34].fill_rect(2, 3, 3, 1, starburst_color17)
  2021.     @starburst_bitmaps[34].set_pixel(3, 3, starburst_color16)
  2022.    
  2023.     # 36th starburst bitmap
  2024.     @starburst_bitmaps[35] = Bitmap.new(8, 8)
  2025.     @starburst_bitmaps[35].set_pixel(3, 3, starburst_color16)    
  2026. #-------------------------------------------------------------------------------      
  2027.     # Monochrome starburst bitmaps
  2028.    
  2029.     @monostarburst_bitmaps = []
  2030.     case $game_screen.weather_variation
  2031.     when 1 # Green
  2032.       monostarburst_color1 = Color.new(159, 232, 141)
  2033.       monostarburst_color2 = Color.new(198, 239, 189)
  2034.       monostarburst_color3 = Color.new(115, 216, 95)
  2035.     when 2 # Aqua-blue
  2036.       monostarburst_color1 = Color.new(139, 229, 217)
  2037.       monostarburst_color2 = Color.new(189, 237, 231)
  2038.       monostarburst_color3 = Color.new(94, 214, 202)
  2039.     when 3 # Blue
  2040.       monostarburst_color1 = Color.new(138, 153, 226)
  2041.       monostarburst_color2 = Color.new(187, 195, 234)
  2042.       monostarburst_color3 = Color.new(93, 108, 211)
  2043.     when 4 # Violet
  2044.       monostarburst_color1 = Color.new(205, 139, 224)
  2045.       monostarburst_color2 = Color.new(221, 185, 232)
  2046.       monostarburst_color3 = Color.new(189, 94, 209)
  2047.     when 5 # Red
  2048.       monostarburst_color1 = Color.new(221, 139, 161)
  2049.       monostarburst_color2 = Color.new(229, 183, 196)
  2050.       monostarburst_color3 = Color.new(206, 92, 117)
  2051.     else # Yellow (Default)
  2052.       monostarburst_color1 = Color.new(233, 210, 142)
  2053.       monostarburst_color2 = Color.new(242, 229, 190)
  2054.       monostarburst_color3 = Color.new(219, 191, 95)
  2055.      end
  2056.    
  2057.     # 1st starburst bitmap
  2058.     @monostarburst_bitmaps[0] = Bitmap.new(8, 8)
  2059.     @monostarburst_bitmaps[0].set_pixel(3, 3, monostarburst_color2)
  2060.    
  2061.     # 2nd starburst bitmap
  2062.     @monostarburst_bitmaps[1] = Bitmap.new(8, 8)
  2063.     @monostarburst_bitmaps[1].fill_rect(3, 2, 1, 3, monostarburst_color1)
  2064.     @monostarburst_bitmaps[1].fill_rect(2, 3, 3, 1, monostarburst_color1)
  2065.     @monostarburst_bitmaps[1].set_pixel(3, 3, monostarburst_color2)
  2066.    
  2067.     # 3d starburst bitmap
  2068.     @monostarburst_bitmaps[2] = Bitmap.new(7, 7)
  2069.     @monostarburst_bitmaps[2].set_pixel(1, 1, monostarburst_color3)
  2070.     @monostarburst_bitmaps[2].set_pixel(5, 1, monostarburst_color3)
  2071.     @monostarburst_bitmaps[2].set_pixel(2, 2, monostarburst_color3)
  2072.     @monostarburst_bitmaps[2].set_pixel(4, 2, monostarburst_color3)
  2073.     @monostarburst_bitmaps[2].set_pixel(3, 3, monostarburst_color1)
  2074.     @monostarburst_bitmaps[2].set_pixel(2, 4, monostarburst_color1)
  2075.     @monostarburst_bitmaps[2].set_pixel(4, 4, monostarburst_color1)
  2076.     @monostarburst_bitmaps[2].set_pixel(1, 5, monostarburst_color1)
  2077.     @monostarburst_bitmaps[2].set_pixel(5, 5, monostarburst_color2)
  2078.    
  2079.     # 4th starburst bitmap
  2080.     @monostarburst_bitmaps[3] = Bitmap.new(7, 7)
  2081.     @monostarburst_bitmaps[3].fill_rect(3, 1, 1, 5, monostarburst_color3)
  2082.     @monostarburst_bitmaps[3].fill_rect(1, 3, 5, 1, monostarburst_color3)
  2083.     @monostarburst_bitmaps[3].fill_rect(3, 2, 1, 3, monostarburst_color1)
  2084.     @monostarburst_bitmaps[3].fill_rect(2, 3, 3, 1, monostarburst_color1)
  2085.     @monostarburst_bitmaps[3].set_pixel(3, 3, monostarburst_color2)
  2086.        
  2087.     # 5th starburst bitmap
  2088.     @monostarburst_bitmaps[4] = Bitmap.new(7, 7)
  2089.     @monostarburst_bitmaps[4].fill_rect(2, 1, 3, 5, monostarburst_color3)
  2090.     @monostarburst_bitmaps[4].fill_rect(1, 2, 5, 3, monostarburst_color3)
  2091.     @monostarburst_bitmaps[4].fill_rect(2, 2, 3, 3, monostarburst_color1)
  2092.     @monostarburst_bitmaps[4].fill_rect(3, 1, 1, 5, monostarburst_color1)
  2093.     @monostarburst_bitmaps[4].fill_rect(1, 3, 5, 1, monostarburst_color1)
  2094.     @monostarburst_bitmaps[4].fill_rect(3, 2, 1, 3, monostarburst_color2)
  2095.     @monostarburst_bitmaps[4].fill_rect(2, 3, 3, 1, monostarburst_color2)
  2096.     @monostarburst_bitmaps[4].set_pixel(3, 3, monostarburst_color2)
  2097.    
  2098.     # 6th starburst bitmap
  2099.     @monostarburst_bitmaps[5] = Bitmap.new(7, 7)
  2100.     @monostarburst_bitmaps[5].fill_rect(2, 1, 3, 5, monostarburst_color1)
  2101.     @monostarburst_bitmaps[5].fill_rect(1, 2, 5, 3, monostarburst_color1)
  2102.     @monostarburst_bitmaps[5].fill_rect(3, 0, 1, 7, monostarburst_color3)
  2103.     @monostarburst_bitmaps[5].fill_rect(0, 3, 7, 1, monostarburst_color3)
  2104.     @monostarburst_bitmaps[5].fill_rect(2, 2, 3, 3, monostarburst_color2)
  2105.     @monostarburst_bitmaps[5].fill_rect(3, 2, 1, 3, monostarburst_color1)
  2106.     @monostarburst_bitmaps[5].fill_rect(2, 3, 3, 1, monostarburst_color1)
  2107.     @monostarburst_bitmaps[5].set_pixel(3, 3, monostarburst_color2)
  2108.    
  2109.     # 7th starburst bitmap
  2110.     @monostarburst_bitmaps[6] = Bitmap.new(8, 8)
  2111.     @monostarburst_bitmaps[6].fill_rect(3, 2, 1, 3, monostarburst_color1)
  2112.     @monostarburst_bitmaps[6].fill_rect(2, 3, 3, 1, monostarburst_color1)
  2113.     @monostarburst_bitmaps[6].set_pixel(3, 3, monostarburst_color2)
  2114.    
  2115.     # 8th starburst bitmap
  2116.     @monostarburst_bitmaps[7] = Bitmap.new(8, 8)
  2117.     @monostarburst_bitmaps[7].set_pixel(3, 3, monostarburst_color2)
  2118. #-------------------------------------------------------------------------------
  2119.     # Falling rock bitmaps
  2120.  
  2121.     @fallingrocks_bitmaps = []
  2122.     rock_color1 = Color.new(173, 145, 127)
  2123.     rock_color2 = Color.new(195, 159, 153)
  2124.     rock_color3 = Color.new(128, 120, 112)
  2125.     rock_color4 = Color.new(99, 92, 116)
  2126.     rock_color5 = Color.new(107, 89, 79)
  2127.     rock_color6 = Color.new(130, 110, 97)
  2128.     rock_color7 = Color.new(214, 181, 150)
  2129.     rock_color8 = Color.new(155, 129, 112)
  2130.     rock_color9 = Color.new(193, 177, 180)
  2131.     rock_color10 = Color.new(180, 180, 180)
  2132.    
  2133.     # 1st falling rock bitmap
  2134.     @fallingrocks_bitmaps[0] = Bitmap.new(10, 7)
  2135.     @fallingrocks_bitmaps[0].fill_rect(3, 0, 3, 1, rock_color1)
  2136.     @fallingrocks_bitmaps[0].fill_rect(1, 1, 2, 1, rock_color1)
  2137.     @fallingrocks_bitmaps[0].set_pixel(3, 1, rock_color10)
  2138.     @fallingrocks_bitmaps[0].fill_rect(4, 1, 1, 3, rock_color9)
  2139.     @fallingrocks_bitmaps[0].set_pixel(5, 1, rock_color2)
  2140.     @fallingrocks_bitmaps[0].set_pixel(6, 1, rock_color1)
  2141.     @fallingrocks_bitmaps[0].set_pixel(0, 2, rock_color1)
  2142.     @fallingrocks_bitmaps[0].fill_rect(1, 2, 3, 1, rock_color7)
  2143.     @fallingrocks_bitmaps[0].set_pixel(5, 2, rock_color9)
  2144.     @fallingrocks_bitmaps[0].set_pixel(6, 2, rock_color2)
  2145.     @fallingrocks_bitmaps[0].set_pixel(7, 2, rock_color3)
  2146.     @fallingrocks_bitmaps[0].fill_rect(8, 2, 2, 3, rock_color4)
  2147.     @fallingrocks_bitmaps[0].set_pixel(0, 3, rock_color3)
  2148.     @fallingrocks_bitmaps[0].set_pixel(1, 3, rock_color10)
  2149.     @fallingrocks_bitmaps[0].set_pixel(2, 3, rock_color7)
  2150.     @fallingrocks_bitmaps[0].set_pixel(3, 3, rock_color10)
  2151.     @fallingrocks_bitmaps[0].set_pixel(5, 3, rock_color2)
  2152.     @fallingrocks_bitmaps[0].set_pixel(6, 3, rock_color1)
  2153.     @fallingrocks_bitmaps[0].set_pixel(7, 3, rock_color5)
  2154.     @fallingrocks_bitmaps[0].fill_rect(0, 4, 2, 1, rock_color5)
  2155.     @fallingrocks_bitmaps[0].set_pixel(2, 4, rock_color3)
  2156.     @fallingrocks_bitmaps[0].set_pixel(3, 4, rock_color9)
  2157.     @fallingrocks_bitmaps[0].set_pixel(4, 4, rock_color2)
  2158.     @fallingrocks_bitmaps[0].set_pixel(5, 4, rock_color1)
  2159.     @fallingrocks_bitmaps[0].set_pixel(6, 4, rock_color8)
  2160.     @fallingrocks_bitmaps[0].set_pixel(7, 4, rock_color3)
  2161.     @fallingrocks_bitmaps[0].set_pixel(1, 5, rock_color4)
  2162.     @fallingrocks_bitmaps[0].fill_rect(2, 5, 2, 1, rock_color5)
  2163.     @fallingrocks_bitmaps[0].fill_rect(4, 5, 2, 1, rock_color3)
  2164.     @fallingrocks_bitmaps[0].fill_rect(6, 5, 2, 1, rock_color5)
  2165.     @fallingrocks_bitmaps[0].set_pixel(8, 5, rock_color4)
  2166.     @fallingrocks_bitmaps[0].fill_rect(3, 6, 5, 1, rock_color4)
  2167.    
  2168.     # 2nd falling rock bitmap
  2169.     @fallingrocks_bitmaps[1] = Bitmap.new(5, 4)
  2170.     @fallingrocks_bitmaps[1].set_pixel(1, 0, rock_color8)
  2171.     @fallingrocks_bitmaps[1].set_pixel(2, 0, rock_color1)
  2172.     @fallingrocks_bitmaps[1].set_pixel(3, 0, rock_color6)
  2173.     @fallingrocks_bitmaps[1].set_pixel(0, 1, rock_color6)
  2174.     @fallingrocks_bitmaps[1].set_pixel(1, 1, rock_color1)
  2175.     @fallingrocks_bitmaps[1].set_pixel(2, 1, rock_color2)
  2176.     @fallingrocks_bitmaps[1].set_pixel(3, 1, rock_color1)
  2177.     @fallingrocks_bitmaps[1].set_pixel(4, 1, rock_color5)
  2178.     @fallingrocks_bitmaps[1].fill_rect(0, 2, 1, 2, rock_color4)
  2179.     @fallingrocks_bitmaps[1].fill_rect(1, 2, 2, 1, rock_color6)
  2180.     @fallingrocks_bitmaps[1].set_pixel(3, 2, rock_color5)
  2181.     @fallingrocks_bitmaps[1].fill_rect(1, 3, 3, 1, rock_color4)
  2182.    
  2183.     # 3rd falling rock bitmap
  2184.     @fallingrocks_bitmaps[2] = Bitmap.new(7, 6)
  2185.     @fallingrocks_bitmaps[2].set_pixel(2, 0, rock_color4)
  2186.     @fallingrocks_bitmaps[2].set_pixel(3, 0, rock_color3)
  2187.     @fallingrocks_bitmaps[2].set_pixel(4, 0, rock_color8)
  2188.     @fallingrocks_bitmaps[2].set_pixel(5, 0, rock_color6)
  2189.     @fallingrocks_bitmaps[2].set_pixel(1, 1, rock_color3)
  2190.     @fallingrocks_bitmaps[2].set_pixel(2, 1, rock_color8)
  2191.     @fallingrocks_bitmaps[2].set_pixel(3, 1, rock_color2)
  2192.     @fallingrocks_bitmaps[2].fill_rect(4, 1, 1, 2, rock_color9)
  2193.     @fallingrocks_bitmaps[2].set_pixel(5, 1, rock_color8)
  2194.     @fallingrocks_bitmaps[2].fill_rect(6, 1, 1, 3, rock_color4)
  2195.     @fallingrocks_bitmaps[2].set_pixel(0, 2, rock_color3)
  2196.     @fallingrocks_bitmaps[2].set_pixel(1, 2, rock_color8)
  2197.     @fallingrocks_bitmaps[2].set_pixel(2, 2, rock_color2)
  2198.     @fallingrocks_bitmaps[2].fill_rect(3, 2, 1, 2, rock_color9)
  2199.     @fallingrocks_bitmaps[2].set_pixel(5, 2, rock_color6)
  2200.     @fallingrocks_bitmaps[2].set_pixel(0, 3, rock_color6)
  2201.     @fallingrocks_bitmaps[2].set_pixel(1, 3, rock_color2)
  2202.     @fallingrocks_bitmaps[2].set_pixel(2, 3, rock_color7)
  2203.     @fallingrocks_bitmaps[2].set_pixel(4, 3, rock_color6)
  2204.     @fallingrocks_bitmaps[2].fill_rect(5, 3, 1, 2, rock_color4)
  2205.     @fallingrocks_bitmaps[2].set_pixel(0, 4, rock_color5)
  2206.     @fallingrocks_bitmaps[2].set_pixel(1, 4, rock_color6)
  2207.     @fallingrocks_bitmaps[2].set_pixel(2, 4, rock_color9)
  2208.     @fallingrocks_bitmaps[2].set_pixel(3, 4, rock_color6)
  2209.     @fallingrocks_bitmaps[2].fill_rect(4, 4, 1, 2, rock_color4)
  2210.     @fallingrocks_bitmaps[2].set_pixel(0, 5, rock_color6)
  2211.     @fallingrocks_bitmaps[2].fill_rect(1, 5, 2, 1, rock_color5)
  2212.     @fallingrocks_bitmaps[2].set_pixel(3, 5, rock_color4)
  2213. #-------------------------------------------------------------------------------
  2214.     # Arrows
  2215.  
  2216.     arrow_color1 = Color.new(38, 0, 0)
  2217.     arrow_color2 = Color.new(73, 10, 42)
  2218.     arrow_color3 = Color.new(80, 50, 20)
  2219.     arrow_color4 = Color.new(255, 255, 255)
  2220.     arrow_color5 = Color.new(180, 180, 180)
  2221.  
  2222.     @arrow_bitmap = Bitmap.new(23, 23)
  2223.     @arrow_bitmap.fill_rect(19, 0, 1, 3, arrow_color4)
  2224.     @arrow_bitmap.fill_rect(20, 0, 1, 2, arrow_color5)
  2225.     @arrow_bitmap.set_pixel(22, 0, arrow_color3)
  2226.     @arrow_bitmap.fill_rect(18, 1, 1, 3, arrow_color5)
  2227.     @arrow_bitmap.set_pixel(21, 1, arrow_color3)
  2228.     @arrow_bitmap.fill_rect(17, 2, 1, 3, arrow_color4)
  2229.     @arrow_bitmap.set_pixel(20, 2, arrow_color3)
  2230.     @arrow_bitmap.fill_rect(21, 2, 2, 1, arrow_color5)
  2231.     @arrow_bitmap.set_pixel(19, 3, arrow_color3)
  2232.     @arrow_bitmap.fill_rect(20, 3, 3, 1, arrow_color4)
  2233.     @arrow_bitmap.set_pixel(18, 4, arrow_color3)
  2234.     @arrow_bitmap.fill_rect(19, 4, 3, 1, arrow_color5)
  2235.     @arrow_bitmap.set_pixel(17, 5, arrow_color3)
  2236.     @arrow_bitmap.fill_rect(18, 5, 3, 1, arrow_color4)
  2237.     @arrow_bitmap.set_pixel(16, 6, arrow_color3)
  2238.     @arrow_bitmap.set_pixel(15, 7, arrow_color3)
  2239.     @arrow_bitmap.set_pixel(14, 8, arrow_color3)
  2240.     @arrow_bitmap.set_pixel(13, 9, arrow_color3)
  2241.     @arrow_bitmap.set_pixel(12, 10, arrow_color3)
  2242.     @arrow_bitmap.set_pixel(11, 11, arrow_color3)
  2243.     @arrow_bitmap.set_pixel(10, 12, arrow_color3)
  2244.     @arrow_bitmap.set_pixel(9, 13, arrow_color3)
  2245.     @arrow_bitmap.set_pixel(8, 14, arrow_color3)
  2246.     @arrow_bitmap.set_pixel(7, 15, arrow_color3)
  2247.     @arrow_bitmap.set_pixel(6, 16, arrow_color3)
  2248.     @arrow_bitmap.set_pixel(5, 17, arrow_color3)
  2249.     @arrow_bitmap.set_pixel(4, 18, arrow_color3)
  2250.     @arrow_bitmap.fill_rect(1, 19, 3, 1, arrow_color1)
  2251.     @arrow_bitmap.fill_rect(0, 20, 1, 3, arrow_color1)
  2252.     @arrow_bitmap.set_pixel(1, 20, arrow_color2)
  2253.     @arrow_bitmap.set_pixel(2, 20, arrow_color5)
  2254.     @arrow_bitmap.fill_rect(3, 20, 1, 2, arrow_color1)
  2255.     @arrow_bitmap.set_pixel(1, 21, arrow_color5)
  2256.     @arrow_bitmap.set_pixel(2, 21, arrow_color2)
  2257.     @arrow_bitmap.fill_rect(1, 22, 2, 1, arrow_color1)
  2258. #-------------------------------------------------------------------------------
  2259.     # Butterflies
  2260.    
  2261.     @butterfly_bitmaps = []
  2262.     case $game_screen.weather_variation
  2263.     when 1
  2264.       # Red butterflies
  2265.       butterfly_color1 = Color.new(204, 53, 55)
  2266.       butterfly_color2 = Color.new(206, 76, 74)
  2267.       butterfly_color3 = Color.new(252, 131, 137)
  2268.       butterfly_color4 = Color.new(255, 178, 163)
  2269.       butterfly_color5 = Color.new(175, 35, 49)
  2270.     when 2
  2271.       # Yellow butterflies
  2272.       butterfly_color1 = Color.new(209, 190, 75)
  2273.       butterfly_color2 = Color.new(254, 228, 131)
  2274.       butterfly_color3 = Color.new(205, 178, 52)
  2275.       butterfly_color4 = Color.new(255, 255, 162)
  2276.       butterfly_color5 = Color.new(177, 141, 34)
  2277.     when 3
  2278.       # Aqua-blue butterflies
  2279.       butterfly_color1 = Color.new(53, 204, 201)
  2280.       butterfly_color2 = Color.new(73, 204, 204)
  2281.       butterfly_color3 = Color.new(129, 249, 243)
  2282.       butterfly_color4 = Color.new(163, 241, 255)
  2283.       butterfly_color5 = Color.new(34, 173, 159)
  2284.     when 4
  2285.       # Green butterflies
  2286.       butterfly_color1 = Color.new(63, 204, 53)
  2287.       butterfly_color2 = Color.new(77, 204, 73)
  2288.       butterfly_color3 = Color.new(138, 247, 128)
  2289.       butterfly_color4 = Color.new(163, 255, 173)
  2290.       butterfly_color5 = Color.new(54, 170, 34)
  2291.     else
  2292.       # Violet butterflies
  2293.       butterfly_color1 = Color.new(163, 53, 204)
  2294.       butterfly_color2 = Color.new(173, 73, 204)
  2295.       butterfly_color3 = Color.new(209, 128, 242)
  2296.       butterfly_color4 = Color.new(247, 163, 255)
  2297.       butterfly_color5 = Color.new(121, 33, 165)
  2298.     end
  2299.    
  2300.     # Butterfly up 1
  2301.     @butterfly_bitmaps[0] = Bitmap.new(9, 6)
  2302.     @butterfly_bitmaps[0].fill_rect(1, 0, 2, 1, butterfly_color1)
  2303.     @butterfly_bitmaps[0].fill_rect(6, 0, 2, 1, butterfly_color1)
  2304.     @butterfly_bitmaps[0].fill_rect(0, 1, 1, 2, butterfly_color1)
  2305.     @butterfly_bitmaps[0].set_pixel(1, 1, butterfly_color2)
  2306.     @butterfly_bitmaps[0].fill_rect(2, 1, 1, 2, butterfly_color4)
  2307.     @butterfly_bitmaps[0].set_pixel(3, 1, butterfly_color1)
  2308.     @butterfly_bitmaps[0].set_pixel(5, 1, butterfly_color1)
  2309.     @butterfly_bitmaps[0].fill_rect(6, 1, 1, 2, butterfly_color4)
  2310.     @butterfly_bitmaps[0].set_pixel(7, 1, butterfly_color2)
  2311.     @butterfly_bitmaps[0].fill_rect(8, 1, 1, 2, butterfly_color1)
  2312.     @butterfly_bitmaps[0].set_pixel(1, 2, butterfly_color4)
  2313.     @butterfly_bitmaps[0].set_pixel(3, 2, butterfly_color4)
  2314.     @butterfly_bitmaps[0].set_pixel(4, 2, butterfly_color1)
  2315.     @butterfly_bitmaps[0].set_pixel(5, 2, butterfly_color4)
  2316.     @butterfly_bitmaps[0].set_pixel(7, 2, butterfly_color4)
  2317.     @butterfly_bitmaps[0].set_pixel(1, 3, butterfly_color5)
  2318.     @butterfly_bitmaps[0].fill_rect(2, 3, 2, 1, butterfly_color2)
  2319.     @butterfly_bitmaps[0].set_pixel(4, 3, butterfly_color5)
  2320.     @butterfly_bitmaps[0].fill_rect(5, 3, 2, 1, butterfly_color2)
  2321.     @butterfly_bitmaps[0].set_pixel(7, 3, butterfly_color5)
  2322.     @butterfly_bitmaps[0].fill_rect(1, 4, 1, 2, butterfly_color1)
  2323.     @butterfly_bitmaps[0].set_pixel(2, 4, butterfly_color4)
  2324.     @butterfly_bitmaps[0].set_pixel(3, 4, butterfly_color5)
  2325.     @butterfly_bitmaps[0].set_pixel(5, 4, butterfly_color5)
  2326.     @butterfly_bitmaps[0].set_pixel(6, 4, butterfly_color4)
  2327.     @butterfly_bitmaps[0].fill_rect(7, 4, 1, 2, butterfly_color1)
  2328.     @butterfly_bitmaps[0].set_pixel(2, 5, butterfly_color1)
  2329.     @butterfly_bitmaps[0].set_pixel(6, 5, butterfly_color1)
  2330.    
  2331.     # Butterfly up 2
  2332.     @butterfly_bitmaps[1] = Bitmap.new(9, 6)
  2333.     @butterfly_bitmaps[1].fill_rect(2, 0, 2, 1, butterfly_color1)
  2334.     @butterfly_bitmaps[1].fill_rect(5, 0, 2, 1, butterfly_color1)
  2335.     @butterfly_bitmaps[1].fill_rect(0, 1, 1, 2, butterfly_color1)
  2336.     @butterfly_bitmaps[1].fill_rect(1, 1, 3, 1, butterfly_color4)
  2337.     @butterfly_bitmaps[1].fill_rect(4, 1, 1, 2, butterfly_color1)
  2338.     @butterfly_bitmaps[1].fill_rect(5, 1, 3, 1, butterfly_color4)
  2339.     @butterfly_bitmaps[1].fill_rect(8, 1, 1, 2, butterfly_color1)
  2340.     @butterfly_bitmaps[1].fill_rect(1, 2, 2, 1, butterfly_color4)
  2341.     @butterfly_bitmaps[1].set_pixel(3, 2, butterfly_color2)
  2342.     @butterfly_bitmaps[1].set_pixel(5, 2, butterfly_color2)
  2343.     @butterfly_bitmaps[1].fill_rect(6, 2, 2, 1, butterfly_color4)
  2344.     @butterfly_bitmaps[1].set_pixel(1, 3, butterfly_color5)
  2345.     @butterfly_bitmaps[1].fill_rect(2, 3, 2, 1, butterfly_color1)
  2346.     @butterfly_bitmaps[1].set_pixel(4, 3, butterfly_color5)
  2347.     @butterfly_bitmaps[1].fill_rect(5, 3, 2, 1, butterfly_color1)
  2348.     @butterfly_bitmaps[1].set_pixel(7, 3, butterfly_color5)
  2349.     @butterfly_bitmaps[1].set_pixel(1, 4, butterfly_color1)
  2350.     @butterfly_bitmaps[1].set_pixel(2, 4, butterfly_color2)
  2351.     @butterfly_bitmaps[1].set_pixel(3, 4, butterfly_color5)
  2352.     @butterfly_bitmaps[1].set_pixel(5, 4, butterfly_color5)
  2353.     @butterfly_bitmaps[1].set_pixel(6, 4, butterfly_color2)
  2354.     @butterfly_bitmaps[1].set_pixel(7, 4, butterfly_color1)
  2355.     @butterfly_bitmaps[1].set_pixel(2, 5, butterfly_color1)
  2356.     @butterfly_bitmaps[1].set_pixel(6, 5, butterfly_color1)
  2357.  
  2358.     # Butterfly up 3
  2359.     @butterfly_bitmaps[2] = Bitmap.new(9, 6)
  2360.     @butterfly_bitmaps[2].fill_rect(1, 0, 2, 1, butterfly_color1)
  2361.     @butterfly_bitmaps[2].fill_rect(6, 0, 2, 1, butterfly_color1)
  2362.     @butterfly_bitmaps[2].fill_rect(0, 1, 1, 2, butterfly_color1)
  2363.     @butterfly_bitmaps[2].set_pixel(1, 1, butterfly_color2)
  2364.     @butterfly_bitmaps[2].fill_rect(2, 1, 1, 2, butterfly_color4)
  2365.     @butterfly_bitmaps[2].set_pixel(3, 1, butterfly_color1)
  2366.     @butterfly_bitmaps[2].set_pixel(5, 1, butterfly_color1)
  2367.     @butterfly_bitmaps[2].fill_rect(6, 1, 1, 2, butterfly_color4)
  2368.     @butterfly_bitmaps[2].set_pixel(7, 1, butterfly_color2)
  2369.     @butterfly_bitmaps[2].fill_rect(8, 1, 1, 2, butterfly_color1)
  2370.     @butterfly_bitmaps[2].set_pixel(1, 2, butterfly_color4)
  2371.     @butterfly_bitmaps[2].set_pixel(3, 2, butterfly_color4)
  2372.     @butterfly_bitmaps[2].set_pixel(4, 2, butterfly_color1)
  2373.     @butterfly_bitmaps[2].set_pixel(5, 2, butterfly_color4)
  2374.     @butterfly_bitmaps[2].set_pixel(7, 2, butterfly_color4)
  2375.     @butterfly_bitmaps[2].set_pixel(1, 3, butterfly_color5)
  2376.     @butterfly_bitmaps[2].fill_rect(2, 3, 2, 1, butterfly_color2)
  2377.     @butterfly_bitmaps[2].set_pixel(4, 3, butterfly_color5)
  2378.     @butterfly_bitmaps[2].fill_rect(5, 3, 2, 1, butterfly_color2)
  2379.     @butterfly_bitmaps[2].set_pixel(7, 3, butterfly_color5)
  2380.     @butterfly_bitmaps[2].fill_rect(1, 4, 1, 2, butterfly_color1)
  2381.     @butterfly_bitmaps[2].set_pixel(2, 4, butterfly_color4)
  2382.     @butterfly_bitmaps[2].set_pixel(3, 4, butterfly_color5)
  2383.     @butterfly_bitmaps[2].set_pixel(5, 4, butterfly_color5)
  2384.     @butterfly_bitmaps[2].set_pixel(6, 4, butterfly_color4)
  2385.     @butterfly_bitmaps[2].fill_rect(7, 4, 1, 2, butterfly_color1)
  2386.     @butterfly_bitmaps[2].set_pixel(2, 5, butterfly_color1)
  2387.     @butterfly_bitmaps[2].set_pixel(6, 5, butterfly_color1)
  2388.  
  2389.     # Butterfly up 4
  2390.     @butterfly_bitmaps[3] = Bitmap.new(7, 6)
  2391.     @butterfly_bitmaps[3].fill_rect(1, 0, 2, 1, butterfly_color1)
  2392.     @butterfly_bitmaps[3].fill_rect(4, 0, 2, 1, butterfly_color1)
  2393.     @butterfly_bitmaps[3].fill_rect(0, 1, 1, 2, butterfly_color1)
  2394.     @butterfly_bitmaps[3].fill_rect(1, 1, 2, 2, butterfly_color4)
  2395.     @butterfly_bitmaps[3].fill_rect(4, 1, 2, 2, butterfly_color4)
  2396.     @butterfly_bitmaps[3].fill_rect(6, 1, 1, 2, butterfly_color1)
  2397.     @butterfly_bitmaps[3].fill_rect(3, 2, 1, 2, butterfly_color1)
  2398.     @butterfly_bitmaps[3].set_pixel(1, 3, butterfly_color5)
  2399.     @butterfly_bitmaps[3].fill_rect(2, 3, 1, 2, butterfly_color2)
  2400.     @butterfly_bitmaps[3].fill_rect(4, 3, 1, 2, butterfly_color2)
  2401.     @butterfly_bitmaps[3].set_pixel(5, 3, butterfly_color5)
  2402.     @butterfly_bitmaps[3].set_pixel(1, 4, butterfly_color2)
  2403.     @butterfly_bitmaps[3].set_pixel(3, 4, butterfly_color5)
  2404.     @butterfly_bitmaps[3].set_pixel(5, 4, butterfly_color2)
  2405.     @butterfly_bitmaps[3].set_pixel(1, 5, butterfly_color1)
  2406.     @butterfly_bitmaps[3].set_pixel(2, 5, butterfly_color5)
  2407.     @butterfly_bitmaps[3].set_pixel(4, 5, butterfly_color5)
  2408.     @butterfly_bitmaps[3].set_pixel(5, 5, butterfly_color1)
  2409.  
  2410.     # Butterfly down 1
  2411.     @butterfly_bitmaps[4] = Bitmap.new(9, 6)
  2412.     @butterfly_bitmaps[4].fill_rect(1, 0, 2, 1, butterfly_color1)
  2413.     @butterfly_bitmaps[4].fill_rect(6, 0, 2, 1, butterfly_color1)
  2414.     @butterfly_bitmaps[4].set_pixel(1, 1, butterfly_color1)
  2415.     @butterfly_bitmaps[4].set_pixel(2, 1, butterfly_color4)
  2416.     @butterfly_bitmaps[4].set_pixel(3, 1, butterfly_color5)
  2417.     @butterfly_bitmaps[4].set_pixel(5, 1, butterfly_color5)
  2418.     @butterfly_bitmaps[4].set_pixel(6, 1, butterfly_color4)
  2419.     @butterfly_bitmaps[4].set_pixel(7, 1, butterfly_color1)
  2420.     @butterfly_bitmaps[4].set_pixel(1, 2, butterfly_color5)
  2421.     @butterfly_bitmaps[4].fill_rect(2, 2, 2, 1, butterfly_color2)
  2422.     @butterfly_bitmaps[4].set_pixel(4, 2, butterfly_color5)
  2423.     @butterfly_bitmaps[4].fill_rect(5, 2, 2, 1, butterfly_color2)
  2424.     @butterfly_bitmaps[4].set_pixel(7, 2, butterfly_color5)
  2425.     @butterfly_bitmaps[4].fill_rect(0, 3, 1, 2, butterfly_color1)
  2426.     @butterfly_bitmaps[4].fill_rect(1, 3, 3, 1, butterfly_color4)
  2427.     @butterfly_bitmaps[4].set_pixel(4, 3, butterfly_color1)
  2428.     @butterfly_bitmaps[4].fill_rect(5, 3, 3, 1, butterfly_color4)
  2429.     @butterfly_bitmaps[4].fill_rect(8, 3, 1, 2, butterfly_color1)
  2430.     @butterfly_bitmaps[4].set_pixel(1, 4, butterfly_color2)
  2431.     @butterfly_bitmaps[4].set_pixel(2, 4, butterfly_color4)
  2432.     @butterfly_bitmaps[4].set_pixel(3, 4, butterfly_color1)
  2433.     @butterfly_bitmaps[4].set_pixel(5, 4, butterfly_color1)
  2434.     @butterfly_bitmaps[4].set_pixel(6, 4, butterfly_color4)
  2435.     @butterfly_bitmaps[4].set_pixel(7, 4, butterfly_color2)
  2436.     @butterfly_bitmaps[4].fill_rect(1, 5, 2, 1, butterfly_color1)
  2437.     @butterfly_bitmaps[4].fill_rect(6, 5, 2, 1, butterfly_color1)
  2438.  
  2439.     # Butterfly down 2
  2440.     @butterfly_bitmaps[5] = Bitmap.new(9, 6)
  2441.     @butterfly_bitmaps[5].set_pixel(2, 0, butterfly_color1)
  2442.     @butterfly_bitmaps[5].set_pixel(6, 0, butterfly_color1)
  2443.     @butterfly_bitmaps[5].set_pixel(1, 1, butterfly_color1)
  2444.     @butterfly_bitmaps[5].set_pixel(2, 1, butterfly_color2)
  2445.     @butterfly_bitmaps[5].set_pixel(3, 1, butterfly_color5)
  2446.     @butterfly_bitmaps[5].set_pixel(5, 1, butterfly_color5)
  2447.     @butterfly_bitmaps[5].set_pixel(6, 1, butterfly_color2)
  2448.     @butterfly_bitmaps[5].set_pixel(7, 1, butterfly_color1)
  2449.     @butterfly_bitmaps[5].set_pixel(1, 2, butterfly_color5)
  2450.     @butterfly_bitmaps[5].fill_rect(2, 2, 2, 1, butterfly_color1)
  2451.     @butterfly_bitmaps[5].set_pixel(4, 2, butterfly_color5)
  2452.     @butterfly_bitmaps[5].fill_rect(5, 2, 2, 1, butterfly_color1)
  2453.     @butterfly_bitmaps[5].set_pixel(7, 2, butterfly_color5)
  2454.     @butterfly_bitmaps[5].fill_rect(0, 3, 1, 2, butterfly_color1)
  2455.     @butterfly_bitmaps[5].fill_rect(1, 3, 2, 2, butterfly_color4)
  2456.     @butterfly_bitmaps[5].set_pixel(3, 3, butterfly_color2)
  2457.     @butterfly_bitmaps[5].fill_rect(4, 3, 1, 2, butterfly_color1)
  2458.     @butterfly_bitmaps[5].set_pixel(5, 3, butterfly_color2)
  2459.     @butterfly_bitmaps[5].fill_rect(6, 3, 2, 2, butterfly_color4)
  2460.     @butterfly_bitmaps[5].fill_rect(8, 3, 1, 2, butterfly_color1)
  2461.     @butterfly_bitmaps[5].set_pixel(3, 4, butterfly_color4)
  2462.     @butterfly_bitmaps[5].set_pixel(5, 4, butterfly_color4)
  2463.     @butterfly_bitmaps[5].fill_rect(2, 5, 2, 1, butterfly_color1)
  2464.     @butterfly_bitmaps[5].fill_rect(5, 5, 2, 1, butterfly_color1)
  2465.  
  2466.     # Butterfly down 3
  2467.     @butterfly_bitmaps[6] = Bitmap.new(9, 6)
  2468.     @butterfly_bitmaps[6].fill_rect(1, 0, 2, 1, butterfly_color1)
  2469.     @butterfly_bitmaps[6].fill_rect(6, 0, 2, 1, butterfly_color1)
  2470.     @butterfly_bitmaps[6].set_pixel(1, 1, butterfly_color1)
  2471.     @butterfly_bitmaps[6].set_pixel(2, 1, butterfly_color4)
  2472.     @butterfly_bitmaps[6].set_pixel(3, 1, butterfly_color5)
  2473.     @butterfly_bitmaps[6].set_pixel(5, 1, butterfly_color5)
  2474.     @butterfly_bitmaps[6].set_pixel(6, 1, butterfly_color4)
  2475.     @butterfly_bitmaps[6].set_pixel(7, 1, butterfly_color1)
  2476.     @butterfly_bitmaps[6].set_pixel(1, 2, butterfly_color5)
  2477.     @butterfly_bitmaps[6].fill_rect(2, 2, 2, 1, butterfly_color2)
  2478.     @butterfly_bitmaps[6].set_pixel(4, 2, butterfly_color5)
  2479.     @butterfly_bitmaps[6].fill_rect(5, 2, 2, 1, butterfly_color2)
  2480.     @butterfly_bitmaps[6].set_pixel(7, 2, butterfly_color5)
  2481.     @butterfly_bitmaps[6].fill_rect(0, 3, 1, 2, butterfly_color1)
  2482.     @butterfly_bitmaps[6].fill_rect(1, 3, 3, 1, butterfly_color4)
  2483.     @butterfly_bitmaps[6].set_pixel(4, 3, butterfly_color1)
  2484.     @butterfly_bitmaps[6].fill_rect(5, 3, 3, 1, butterfly_color4)
  2485.     @butterfly_bitmaps[6].fill_rect(8, 3, 1, 2, butterfly_color1)
  2486.     @butterfly_bitmaps[6].set_pixel(1, 4, butterfly_color2)
  2487.     @butterfly_bitmaps[6].set_pixel(2, 4, butterfly_color4)
  2488.     @butterfly_bitmaps[6].set_pixel(3, 4, butterfly_color1)
  2489.     @butterfly_bitmaps[6].set_pixel(5, 4, butterfly_color1)
  2490.     @butterfly_bitmaps[6].set_pixel(6, 4, butterfly_color4)
  2491.     @butterfly_bitmaps[6].set_pixel(7, 4, butterfly_color2)
  2492.     @butterfly_bitmaps[6].fill_rect(1, 5, 2, 1, butterfly_color1)
  2493.     @butterfly_bitmaps[6].fill_rect(6, 5, 2, 1, butterfly_color1)
  2494.  
  2495.     # Butterfly down 4
  2496.     @butterfly_bitmaps[7] = Bitmap.new(7, 6)
  2497.     @butterfly_bitmaps[7].set_pixel(1, 0, butterfly_color1)
  2498.     @butterfly_bitmaps[7].set_pixel(2, 0, butterfly_color5)
  2499.     @butterfly_bitmaps[7].set_pixel(4, 0, butterfly_color5)
  2500.     @butterfly_bitmaps[7].set_pixel(5, 0, butterfly_color1)
  2501.     @butterfly_bitmaps[7].fill_rect(1, 1, 2, 1, butterfly_color2)
  2502.     @butterfly_bitmaps[7].set_pixel(3, 1, butterfly_color5)
  2503.     @butterfly_bitmaps[7].fill_rect(4, 1, 2, 1, butterfly_color2)
  2504.     @butterfly_bitmaps[7].set_pixel(1, 2, butterfly_color5)
  2505.     @butterfly_bitmaps[7].set_pixel(2, 2, butterfly_color2)
  2506.     @butterfly_bitmaps[7].fill_rect(3, 2, 1, 2, butterfly_color1)
  2507.     @butterfly_bitmaps[7].set_pixel(4, 2, butterfly_color2)
  2508.     @butterfly_bitmaps[7].set_pixel(5, 2, butterfly_color5)
  2509.     @butterfly_bitmaps[7].fill_rect(0, 3, 1, 2, butterfly_color1)
  2510.     @butterfly_bitmaps[7].fill_rect(1, 3, 2, 2, butterfly_color4)
  2511.     @butterfly_bitmaps[7].fill_rect(4, 3, 2, 2, butterfly_color4)
  2512.     @butterfly_bitmaps[7].fill_rect(6, 3, 1, 2, butterfly_color1)
  2513.     @butterfly_bitmaps[7].fill_rect(1, 5, 2, 1, butterfly_color1)
  2514.     @butterfly_bitmaps[7].fill_rect(4, 5, 2, 1, butterfly_color1)
  2515.  
  2516.     # Butterfly left 1
  2517.     @butterfly_bitmaps[8] = Bitmap.new(7, 7)
  2518.     @butterfly_bitmaps[8].set_pixel(2, 0, butterfly_color3)
  2519.     @butterfly_bitmaps[8].fill_rect(3, 0, 2, 1, butterfly_color1)
  2520.     @butterfly_bitmaps[8].fill_rect(0, 1, 2, 2, butterfly_color3)
  2521.     @butterfly_bitmaps[8].set_pixel(2, 1, butterfly_color2)
  2522.     @butterfly_bitmaps[8].fill_rect(3, 1, 1, 3, butterfly_color4)
  2523.     @butterfly_bitmaps[8].set_pixel(4, 1, butterfly_color2)
  2524.     @butterfly_bitmaps[8].fill_rect(5, 1, 1, 3, butterfly_color1)
  2525.     @butterfly_bitmaps[8].fill_rect(2, 2, 1, 2, butterfly_color4)
  2526.     @butterfly_bitmaps[8].set_pixel(4, 2, butterfly_color4)
  2527.     @butterfly_bitmaps[8].set_pixel(0, 3, butterfly_color3)
  2528.     @butterfly_bitmaps[8].fill_rect(1, 3, 1, 2, butterfly_color5)
  2529.     @butterfly_bitmaps[8].set_pixel(4, 3, butterfly_color2)
  2530.     @butterfly_bitmaps[8].fill_rect(2, 4, 2, 1, butterfly_color2)
  2531.     @butterfly_bitmaps[8].set_pixel(4, 4, butterfly_color1)
  2532.     @butterfly_bitmaps[8].set_pixel(5, 4, butterfly_color5)
  2533.     @butterfly_bitmaps[8].set_pixel(2, 5, butterfly_color5)
  2534.     @butterfly_bitmaps[8].set_pixel(3, 5, butterfly_color1)
  2535.     @butterfly_bitmaps[8].fill_rect(4, 5, 2, 1, butterfly_color2)
  2536.     @butterfly_bitmaps[8].set_pixel(6, 5, butterfly_color1)
  2537.     @butterfly_bitmaps[8].set_pixel(3, 6, butterfly_color5)
  2538.     @butterfly_bitmaps[8].fill_rect(4, 6, 2, 1, butterfly_color1)
  2539.  
  2540.     # Butterfly left 2
  2541.     @butterfly_bitmaps[9] = Bitmap.new(7, 6)
  2542.     @butterfly_bitmaps[9].fill_rect(1, 0, 2, 1, butterfly_color2)
  2543.     @butterfly_bitmaps[9].set_pixel(3, 0, butterfly_color1)
  2544.     @butterfly_bitmaps[9].fill_rect(0, 1, 1, 2, butterfly_color3)
  2545.     @butterfly_bitmaps[9].set_pixel(1, 1, butterfly_color2)
  2546.     @butterfly_bitmaps[9].set_pixel(2, 1, butterfly_color4)
  2547.     @butterfly_bitmaps[9].set_pixel(3, 1, butterfly_color2)
  2548.     @butterfly_bitmaps[9].set_pixel(4, 1, butterfly_color3)
  2549.     @butterfly_bitmaps[9].set_pixel(1, 2, butterfly_color5)
  2550.     @butterfly_bitmaps[9].set_pixel(2, 2, butterfly_color2)
  2551.     @butterfly_bitmaps[9].set_pixel(3, 2, butterfly_color4)
  2552.     @butterfly_bitmaps[9].fill_rect(4, 2, 1, 2, butterfly_color2)
  2553.     @butterfly_bitmaps[9].fill_rect(5, 2, 1, 2, butterfly_color3)
  2554.     @butterfly_bitmaps[9].set_pixel(2, 3, butterfly_color5)
  2555.     @butterfly_bitmaps[9].set_pixel(3, 3, butterfly_color3)
  2556.     @butterfly_bitmaps[9].set_pixel(4, 4, butterfly_color3)
  2557.     @butterfly_bitmaps[9].set_pixel(5, 4, butterfly_color2)
  2558.     @butterfly_bitmaps[9].set_pixel(6, 4, butterfly_color3)
  2559.     @butterfly_bitmaps[9].set_pixel(5, 5, butterfly_color3)
  2560.     @butterfly_bitmaps[9].set_pixel(6, 5, butterfly_color2)
  2561.  
  2562.     # Butterfly left 3
  2563.     @butterfly_bitmaps[10] = Bitmap.new(7, 6)
  2564.     @butterfly_bitmaps[10].fill_rect(2, 0, 2, 1, butterfly_color3)
  2565.     @butterfly_bitmaps[10].set_pixel(4, 0, butterfly_color5)
  2566.     @butterfly_bitmaps[10].fill_rect(0, 1, 2, 1, butterfly_color3)
  2567.     @butterfly_bitmaps[10].set_pixel(2, 1, butterfly_color2)
  2568.     @butterfly_bitmaps[10].fill_rect(3, 1, 2, 2, butterfly_color4)
  2569.     @butterfly_bitmaps[10].set_pixel(5, 1, butterfly_color5)
  2570.     @butterfly_bitmaps[10].set_pixel(0, 2, butterfly_color3)
  2571.     @butterfly_bitmaps[10].set_pixel(1, 2, butterfly_color2)
  2572.     @butterfly_bitmaps[10].fill_rect(2, 2, 1, 2, butterfly_color4)
  2573.     @butterfly_bitmaps[10].set_pixel(5, 2, butterfly_color3)
  2574.     @butterfly_bitmaps[10].set_pixel(1, 3, butterfly_color3)
  2575.     @butterfly_bitmaps[10].set_pixel(3, 3, butterfly_color2)
  2576.     @butterfly_bitmaps[10].set_pixel(4, 3, butterfly_color3)
  2577.     @butterfly_bitmaps[10].fill_rect(5, 3, 1, 2, butterfly_color2)
  2578.     @butterfly_bitmaps[10].fill_rect(6, 3, 1, 2, butterfly_color3)
  2579.     @butterfly_bitmaps[10].fill_rect(2, 4, 2, 1, butterfly_color3)
  2580.     @butterfly_bitmaps[10].set_pixel(4, 4, butterfly_color2)
  2581.     @butterfly_bitmaps[10].fill_rect(4, 5, 2, 1, butterfly_color3)
  2582.  
  2583.     # Butterfly left 4
  2584.     @butterfly_bitmaps[11] = Bitmap.new(7, 6)
  2585.     @butterfly_bitmaps[11].fill_rect(1, 0, 2, 1, butterfly_color2)
  2586.     @butterfly_bitmaps[11].set_pixel(3, 0, butterfly_color1)
  2587.     @butterfly_bitmaps[11].fill_rect(0, 1, 2, 1, butterfly_color3)
  2588.     @butterfly_bitmaps[11].set_pixel(2, 1, butterfly_color4)
  2589.     @butterfly_bitmaps[11].set_pixel(3, 1, butterfly_color2)
  2590.     @butterfly_bitmaps[11].set_pixel(4, 1, butterfly_color3)
  2591.     @butterfly_bitmaps[11].set_pixel(0, 2, butterfly_color3)
  2592.     @butterfly_bitmaps[11].set_pixel(1, 2, butterfly_color5)
  2593.     @butterfly_bitmaps[11].set_pixel(2, 2, butterfly_color2)
  2594.     @butterfly_bitmaps[11].set_pixel(3, 2, butterfly_color4)
  2595.     @butterfly_bitmaps[11].fill_rect(4, 2, 1, 2, butterfly_color2)
  2596.     @butterfly_bitmaps[11].fill_rect(5, 2, 1, 2, butterfly_color3)
  2597.     @butterfly_bitmaps[11].set_pixel(2, 3, butterfly_color5)
  2598.     @butterfly_bitmaps[11].set_pixel(3, 3, butterfly_color3)
  2599.     @butterfly_bitmaps[11].set_pixel(4, 4, butterfly_color3)
  2600.     @butterfly_bitmaps[11].set_pixel(5, 4, butterfly_color2)
  2601.     @butterfly_bitmaps[11].fill_rect(6, 4, 1, 2, butterfly_color3)
  2602.     @butterfly_bitmaps[11].set_pixel(5, 5, butterfly_color3)
  2603.  
  2604.     # Butterfly right 1
  2605.     @butterfly_bitmaps[12] = Bitmap.new(7, 7)
  2606.     @butterfly_bitmaps[12].fill_rect(2, 0, 2, 1, butterfly_color1)
  2607.     @butterfly_bitmaps[12].set_pixel(4, 0, butterfly_color3)
  2608.     @butterfly_bitmaps[12].fill_rect(1, 1, 1, 3, butterfly_color1)
  2609.     @butterfly_bitmaps[12].set_pixel(2, 1, butterfly_color2)
  2610.     @butterfly_bitmaps[12].fill_rect(3, 1, 1, 3, butterfly_color4)
  2611.     @butterfly_bitmaps[12].set_pixel(4, 1, butterfly_color2)
  2612.     @butterfly_bitmaps[12].fill_rect(5, 1, 2, 2, butterfly_color3)
  2613.     @butterfly_bitmaps[12].set_pixel(2, 2, butterfly_color4)
  2614.     @butterfly_bitmaps[12].fill_rect(4, 2, 1, 2, butterfly_color4)
  2615.     @butterfly_bitmaps[12].set_pixel(2, 3, butterfly_color2)
  2616.     @butterfly_bitmaps[12].fill_rect(5, 3, 1, 2, butterfly_color5)
  2617.     @butterfly_bitmaps[12].set_pixel(6, 3, butterfly_color3)
  2618.     @butterfly_bitmaps[12].set_pixel(1, 4, butterfly_color5)
  2619.     @butterfly_bitmaps[12].set_pixel(2, 4, butterfly_color1)
  2620.     @butterfly_bitmaps[12].fill_rect(3, 4, 2, 1, butterfly_color2)
  2621.     @butterfly_bitmaps[12].set_pixel(0, 5, butterfly_color1)
  2622.     @butterfly_bitmaps[12].fill_rect(1, 5, 2, 1, butterfly_color2)
  2623.     @butterfly_bitmaps[12].set_pixel(3, 5, butterfly_color1)
  2624.     @butterfly_bitmaps[12].set_pixel(4, 5, butterfly_color5)
  2625.     @butterfly_bitmaps[12].fill_rect(1, 6, 2, 1, butterfly_color1)
  2626.     @butterfly_bitmaps[12].set_pixel(3, 6, butterfly_color5)
  2627.  
  2628.     # Butterfly right 2
  2629.     @butterfly_bitmaps[13] = Bitmap.new(7, 6)
  2630.     @butterfly_bitmaps[13].set_pixel(3, 0, butterfly_color1)
  2631.     @butterfly_bitmaps[13].fill_rect(4, 0, 2, 1, butterfly_color2)
  2632.     @butterfly_bitmaps[13].set_pixel(2, 1, butterfly_color3)
  2633.     @butterfly_bitmaps[13].set_pixel(3, 1, butterfly_color2)
  2634.     @butterfly_bitmaps[13].set_pixel(4, 1, butterfly_color4)
  2635.     @butterfly_bitmaps[13].set_pixel(5, 1, butterfly_color2)
  2636.     @butterfly_bitmaps[13].fill_rect(6, 1, 1, 2, butterfly_color3)
  2637.     @butterfly_bitmaps[13].fill_rect(1, 2, 1, 2, butterfly_color3)
  2638.     @butterfly_bitmaps[13].fill_rect(2, 2, 1, 2, butterfly_color2)
  2639.     @butterfly_bitmaps[13].set_pixel(3, 2, butterfly_color4)
  2640.     @butterfly_bitmaps[13].set_pixel(4, 2, butterfly_color2)
  2641.     @butterfly_bitmaps[13].set_pixel(5, 2, butterfly_color5)
  2642.     @butterfly_bitmaps[13].set_pixel(3, 3, butterfly_color3)
  2643.     @butterfly_bitmaps[13].set_pixel(4, 3, butterfly_color5)
  2644.     @butterfly_bitmaps[13].set_pixel(0, 4, butterfly_color3)
  2645.     @butterfly_bitmaps[13].set_pixel(1, 4, butterfly_color2)
  2646.     @butterfly_bitmaps[13].set_pixel(2, 4, butterfly_color3)
  2647.     @butterfly_bitmaps[13].set_pixel(0, 5, butterfly_color2)
  2648.     @butterfly_bitmaps[13].set_pixel(1, 5, butterfly_color3)
  2649.  
  2650.     # Butterfly right 3
  2651.     @butterfly_bitmaps[14] = Bitmap.new(7, 6)
  2652.     @butterfly_bitmaps[14].set_pixel(2, 0, butterfly_color5)
  2653.     @butterfly_bitmaps[14].fill_rect(3, 0, 2, 1, butterfly_color3)
  2654.     @butterfly_bitmaps[14].set_pixel(1, 1, butterfly_color5)
  2655.     @butterfly_bitmaps[14].fill_rect(2, 1, 2, 2, butterfly_color4)
  2656.     @butterfly_bitmaps[14].set_pixel(4, 1, butterfly_color2)
  2657.     @butterfly_bitmaps[14].fill_rect(5, 1, 2, 1, butterfly_color3)
  2658.     @butterfly_bitmaps[14].set_pixel(1, 2, butterfly_color3)
  2659.     @butterfly_bitmaps[14].fill_rect(4, 2, 1, 2, butterfly_color4)
  2660.     @butterfly_bitmaps[14].set_pixel(5, 2, butterfly_color2)
  2661.     @butterfly_bitmaps[14].set_pixel(6, 2, butterfly_color3)
  2662.     @butterfly_bitmaps[14].fill_rect(0, 3, 1, 2, butterfly_color3)
  2663.     @butterfly_bitmaps[14].fill_rect(1, 3, 1, 2, butterfly_color2)
  2664.     @butterfly_bitmaps[14].set_pixel(2, 3, butterfly_color3)
  2665.     @butterfly_bitmaps[14].set_pixel(3, 3, butterfly_color2)
  2666.     @butterfly_bitmaps[14].set_pixel(5, 3, butterfly_color3)
  2667.     @butterfly_bitmaps[14].set_pixel(2, 4, butterfly_color2)
  2668.     @butterfly_bitmaps[14].fill_rect(3, 4, 2, 1, butterfly_color3)
  2669.     @butterfly_bitmaps[14].fill_rect(1, 5, 2, 1, butterfly_color3)
  2670.  
  2671.     # Butterfly right 4
  2672.     @butterfly_bitmaps[15] = Bitmap.new(7, 6)
  2673.     @butterfly_bitmaps[15].set_pixel(3, 0, butterfly_color1)
  2674.     @butterfly_bitmaps[15].fill_rect(4, 0, 2, 1, butterfly_color2)
  2675.     @butterfly_bitmaps[15].set_pixel(2, 1, butterfly_color3)
  2676.     @butterfly_bitmaps[15].set_pixel(3, 1, butterfly_color2)
  2677.     @butterfly_bitmaps[15].set_pixel(4, 1, butterfly_color4)
  2678.     @butterfly_bitmaps[15].fill_rect(5, 1, 2, 1, butterfly_color3)
  2679.     @butterfly_bitmaps[15].fill_rect(1, 2, 1, 2, butterfly_color3)
  2680.     @butterfly_bitmaps[15].fill_rect(2, 2, 1, 2, butterfly_color2)
  2681.     @butterfly_bitmaps[15].set_pixel(3, 2, butterfly_color4)
  2682.     @butterfly_bitmaps[15].set_pixel(4, 2, butterfly_color2)
  2683.     @butterfly_bitmaps[15].set_pixel(5, 2, butterfly_color5)
  2684.     @butterfly_bitmaps[15].set_pixel(6, 2, butterfly_color3)
  2685.     @butterfly_bitmaps[15].set_pixel(3, 3, butterfly_color3)
  2686.     @butterfly_bitmaps[15].set_pixel(4, 3, butterfly_color5)
  2687.     @butterfly_bitmaps[15].fill_rect(0, 4, 1, 2, butterfly_color3)
  2688.     @butterfly_bitmaps[15].set_pixel(1, 4, butterfly_color2)
  2689.     @butterfly_bitmaps[15].set_pixel(2, 4, butterfly_color3)
  2690.     @butterfly_bitmaps[15].set_pixel(1, 5, butterfly_color3)
  2691. #-------------------------------------------------------------------------------  
  2692.     # Bird bitmaps
  2693.  
  2694.     @bird_bitmaps = []
  2695.     bird_color1 = Color.new(100, 100, 100)
  2696.     bird_color2 = Color.new(170, 170, 170)
  2697.     bird_color3 = Color.new(136, 136, 136)
  2698.     bird_color4 = Color.new(204, 204, 204)
  2699.     bird_color5 = Color.new(240, 240, 240)
  2700.     bird_color6 = Color.new(73, 51, 87)
  2701.     bird_color7 = Color.new(191, 90, 97)
  2702.     bird_color8 = Color.new(255, 255, 255)
  2703.     bird_color9 = Color.new(223, 130, 142)
  2704.    
  2705.     # Bird left 1
  2706.     @bird_bitmaps[0] = Bitmap.new(12, 10)
  2707.     @bird_bitmaps[0].fill_rect(7, 0, 3, 1, bird_color1)
  2708.     @bird_bitmaps[0].set_pixel(5, 1, bird_color1)
  2709.     @bird_bitmaps[0].fill_rect(6, 1, 2, 1, bird_color2)
  2710.     @bird_bitmaps[0].set_pixel(8, 1, bird_color3)
  2711.     @bird_bitmaps[0].set_pixel(9, 1, bird_color1)
  2712.     @bird_bitmaps[0].set_pixel(3, 2, bird_color1)
  2713.     @bird_bitmaps[0].set_pixel(4, 2, bird_color2)
  2714.     @bird_bitmaps[0].set_pixel(5, 2, bird_color3)
  2715.     @bird_bitmaps[0].set_pixel(6, 2, bird_color4)
  2716.     @bird_bitmaps[0].fill_rect(7, 2, 5, 1, bird_color8)
  2717.     @bird_bitmaps[0].set_pixel(3, 3, bird_color6)
  2718.     @bird_bitmaps[0].set_pixel(4, 3, bird_color3)
  2719.     @bird_bitmaps[0].fill_rect(5, 3, 1, 3, bird_color8)
  2720.     @bird_bitmaps[0].set_pixel(6, 3, bird_color3)
  2721.     @bird_bitmaps[0].fill_rect(7, 3, 2, 1, bird_color4)
  2722.     @bird_bitmaps[0].set_pixel(9, 3, bird_color8)
  2723.     @bird_bitmaps[0].set_pixel(10, 3, bird_color2)
  2724.     @bird_bitmaps[0].set_pixel(11, 3, bird_color6)
  2725.     @bird_bitmaps[0].fill_rect(1, 4, 2, 1, bird_color3)
  2726.     @bird_bitmaps[0].set_pixel(3, 4, bird_color1)
  2727.     @bird_bitmaps[0].fill_rect(4, 4, 1, 2, bird_color2)
  2728.     @bird_bitmaps[0].set_pixel(6, 4, bird_color2)
  2729.     @bird_bitmaps[0].fill_rect(7, 4, 1, 2, bird_color4)
  2730.     @bird_bitmaps[0].set_pixel(8, 4, bird_color8)
  2731.     @bird_bitmaps[0].set_pixel(9, 4, bird_color2)
  2732.     @bird_bitmaps[0].set_pixel(10, 4, bird_color6)
  2733.     @bird_bitmaps[0].fill_rect(1, 5, 3, 1, bird_color8)
  2734.     @bird_bitmaps[0].set_pixel(6, 5, bird_color3)
  2735.     @bird_bitmaps[0].set_pixel(8, 5, bird_color2)
  2736.     @bird_bitmaps[0].set_pixel(1, 6, bird_color6)
  2737.     @bird_bitmaps[0].set_pixel(2, 6, bird_color2)
  2738.     @bird_bitmaps[0].fill_rect(3, 6, 2, 2, bird_color8)
  2739.     @bird_bitmaps[0].set_pixel(5, 6, bird_color4)
  2740.     @bird_bitmaps[0].set_pixel(6, 6, bird_color2)
  2741.     @bird_bitmaps[0].set_pixel(7, 6, bird_color1)
  2742.     @bird_bitmaps[0].set_pixel(2, 7, bird_color1)
  2743.     @bird_bitmaps[0].fill_rect(5, 7, 2, 1, bird_color8)
  2744.     @bird_bitmaps[0].fill_rect(7, 7, 1, 2, bird_color2)
  2745.     @bird_bitmaps[0].fill_rect(8, 7, 1, 2, bird_color8)
  2746.     @bird_bitmaps[0].fill_rect(9, 7, 1, 2, bird_color1)
  2747.     @bird_bitmaps[0].set_pixel(4, 8, bird_color6)
  2748.     @bird_bitmaps[0].fill_rect(5, 8, 2, 1, bird_color2)
  2749.     @bird_bitmaps[0].set_pixel(6, 9, bird_color6)
  2750.     @bird_bitmaps[0].fill_rect(8, 9, 2, 1, bird_color6)
  2751.    
  2752.     # Bird left 2
  2753.     @bird_bitmaps[1] = Bitmap.new(10, 13)
  2754.     @bird_bitmaps[1].set_pixel(5, 0, bird_color1)
  2755.     @bird_bitmaps[1].set_pixel(7, 0, bird_color4)
  2756.     @bird_bitmaps[1].set_pixel(8, 0, bird_color1)
  2757.     @bird_bitmaps[1].fill_rect(5, 1, 1, 4, bird_color2)
  2758.     @bird_bitmaps[1].set_pixel(6, 1, bird_color1)
  2759.     @bird_bitmaps[1].fill_rect(7, 1, 1, 2, bird_color8)
  2760.     @bird_bitmaps[1].set_pixel(8, 1, bird_color4)
  2761.     @bird_bitmaps[1].set_pixel(6, 2, bird_color3)
  2762.     @bird_bitmaps[1].set_pixel(8, 2, bird_color5)
  2763.     @bird_bitmaps[1].fill_rect(9, 2, 1, 4, bird_color1)
  2764.     @bird_bitmaps[1].fill_rect(6, 3, 3, 1, bird_color4)
  2765.     @bird_bitmaps[1].set_pixel(4, 4, bird_color1)
  2766.     @bird_bitmaps[1].set_pixel(6, 4, bird_color8)
  2767.     @bird_bitmaps[1].fill_rect(7, 4, 1, 3, bird_color4)
  2768.     @bird_bitmaps[1].set_pixel(8, 4, bird_color8)
  2769.     @bird_bitmaps[1].set_pixel(4, 5, bird_color2)
  2770.     @bird_bitmaps[1].set_pixel(5, 5, bird_color8)
  2771.     @bird_bitmaps[1].set_pixel(6, 5, bird_color2)
  2772.     @bird_bitmaps[1].set_pixel(8, 5, bird_color5)
  2773.     @bird_bitmaps[1].set_pixel(4, 6, bird_color8)
  2774.     @bird_bitmaps[1].set_pixel(5, 6, bird_color1)
  2775.     @bird_bitmaps[1].fill_rect(6, 6, 1, 2, bird_color4)
  2776.     @bird_bitmaps[1].set_pixel(8, 6, bird_color3)
  2777.     @bird_bitmaps[1].fill_rect(2, 7, 1, 2, bird_color3)
  2778.     @bird_bitmaps[1].set_pixel(3, 7, bird_color1)
  2779.     @bird_bitmaps[1].set_pixel(4, 7, bird_color2)
  2780.     @bird_bitmaps[1].set_pixel(5, 7, bird_color3)
  2781.     @bird_bitmaps[1].set_pixel(7, 7, bird_color3)
  2782.     @bird_bitmaps[1].set_pixel(8, 7, bird_color1)
  2783.     @bird_bitmaps[1].set_pixel(1, 8, bird_color7)
  2784.     @bird_bitmaps[1].fill_rect(3, 8, 1, 2, bird_color8)
  2785.     @bird_bitmaps[1].set_pixel(4, 8, bird_color4)
  2786.     @bird_bitmaps[1].set_pixel(5, 8, bird_color2)
  2787.     @bird_bitmaps[1].fill_rect(6, 8, 1, 2, bird_color3)
  2788.     @bird_bitmaps[1].fill_rect(7, 8, 1, 2, bird_color1)
  2789.     @bird_bitmaps[1].set_pixel(1, 9, bird_color6)
  2790.     @bird_bitmaps[1].set_pixel(2, 9, bird_color2)
  2791.     @bird_bitmaps[1].fill_rect(4, 9, 1, 2, bird_color8)
  2792.     @bird_bitmaps[1].set_pixel(5, 9, bird_color4)
  2793.     @bird_bitmaps[1].set_pixel(3, 10, bird_color2)
  2794.     @bird_bitmaps[1].fill_rect(5, 10, 2, 1, bird_color8)
  2795.     @bird_bitmaps[1].set_pixel(7, 10, bird_color4)
  2796.     @bird_bitmaps[1].set_pixel(8, 10, bird_color8)
  2797.     @bird_bitmaps[1].set_pixel(9, 10, bird_color2)
  2798.     @bird_bitmaps[1].set_pixel(4, 11, bird_color3)
  2799.     @bird_bitmaps[1].set_pixel(5, 11, bird_color2)
  2800.     @bird_bitmaps[1].set_pixel(6, 11, bird_color4)
  2801.     @bird_bitmaps[1].set_pixel(7, 11, bird_color1)
  2802.     @bird_bitmaps[1].set_pixel(8, 11, bird_color2)
  2803.     @bird_bitmaps[1].set_pixel(9, 11, bird_color4)
  2804.     @bird_bitmaps[1].set_pixel(6, 12, bird_color6)
  2805.     @bird_bitmaps[1].set_pixel(7, 12, bird_color7)
  2806.     @bird_bitmaps[1].set_pixel(9, 12, bird_color6)
  2807.    
  2808.     # Bird left 3
  2809.     @bird_bitmaps[2] = Bitmap.new(12, 7)
  2810.     @bird_bitmaps[2].set_pixel(4, 0, bird_color3)
  2811.     @bird_bitmaps[2].fill_rect(5, 0, 3, 1, bird_color1)
  2812.     @bird_bitmaps[2].set_pixel(3, 1, bird_color3)
  2813.     @bird_bitmaps[2].fill_rect(4, 1, 1, 4, bird_color8)
  2814.     @bird_bitmaps[2].set_pixel(5, 1, bird_color4)
  2815.     @bird_bitmaps[2].set_pixel(6, 1, bird_color2)
  2816.     @bird_bitmaps[2].set_pixel(7, 1, bird_color4)
  2817.     @bird_bitmaps[2].set_pixel(3, 2, bird_color7)
  2818.     @bird_bitmaps[2].fill_rect(5, 2, 2, 2, bird_color8)
  2819.     @bird_bitmaps[2].set_pixel(7, 2, bird_color2)
  2820.     @bird_bitmaps[2].set_pixel(8, 2, bird_color1)
  2821.     @bird_bitmaps[2].set_pixel(2, 3, bird_color3)
  2822.     @bird_bitmaps[2].fill_rect(3, 3, 1, 2, bird_color2)
  2823.     @bird_bitmaps[2].set_pixel(7, 3, bird_color8)
  2824.     @bird_bitmaps[2].set_pixel(8, 3, bird_color2)
  2825.     @bird_bitmaps[2].set_pixel(0, 4, bird_color1)
  2826.     @bird_bitmaps[2].set_pixel(1, 4, bird_color4)
  2827.     @bird_bitmaps[2].set_pixel(2, 4, bird_color8)
  2828.     @bird_bitmaps[2].set_pixel(5, 4, bird_color8)
  2829.     @bird_bitmaps[2].fill_rect(6, 4, 1, 2, bird_color3)
  2830.     @bird_bitmaps[2].set_pixel(7, 4, bird_color2)
  2831.     @bird_bitmaps[2].set_pixel(8, 4, bird_color4)
  2832.     @bird_bitmaps[2].fill_rect(9, 4, 2, 1, bird_color8)
  2833.     @bird_bitmaps[2].set_pixel(11, 4, bird_color2)
  2834.     @bird_bitmaps[2].set_pixel(1, 5, bird_color6)
  2835.     @bird_bitmaps[2].set_pixel(2, 5, bird_color3)
  2836.     @bird_bitmaps[2].set_pixel(3, 5, bird_color8)
  2837.     @bird_bitmaps[2].set_pixel(4, 5, bird_color3)
  2838.     @bird_bitmaps[2].set_pixel(5, 5, bird_color2)
  2839.     @bird_bitmaps[2].set_pixel(7, 5, bird_color4)
  2840.     @bird_bitmaps[2].fill_rect(8, 5, 2, 1, bird_color2)
  2841.     @bird_bitmaps[2].set_pixel(10, 5, bird_color8)
  2842.     @bird_bitmaps[2].set_pixel(11, 5, bird_color1)
  2843.     @bird_bitmaps[2].fill_rect(2, 6, 2, 1, bird_color6)
  2844.     @bird_bitmaps[2].set_pixel(4, 6, bird_color2)
  2845.     @bird_bitmaps[2].fill_rect(5, 6, 4, 1, bird_color6)
  2846.     @bird_bitmaps[2].fill_rect(10, 6, 2, 1, bird_color6)
  2847.    
  2848.     # Bird left 4
  2849.     @bird_bitmaps[3] = Bitmap.new(12, 9)
  2850.     @bird_bitmaps[3].fill_rect(3, 0, 2, 1, bird_color3)
  2851.     @bird_bitmaps[3].set_pixel(3, 1, bird_color4)
  2852.     @bird_bitmaps[3].fill_rect(4, 1, 1, 2, bird_color8)
  2853.     @bird_bitmaps[3].set_pixel(5, 1, bird_color2)
  2854.     @bird_bitmaps[3].set_pixel(6, 1, bird_color1)
  2855.     @bird_bitmaps[3].set_pixel(2, 2, bird_color9)
  2856.     @bird_bitmaps[3].set_pixel(3, 2, bird_color2)
  2857.     @bird_bitmaps[3].fill_rect(5, 2, 3, 1, bird_color8)
  2858.     @bird_bitmaps[3].set_pixel(8, 2, bird_color1)
  2859.     @bird_bitmaps[3].fill_rect(3, 3, 1, 2, bird_color3)
  2860.     @bird_bitmaps[3].set_pixel(4, 3, bird_color2)
  2861.     @bird_bitmaps[3].fill_rect(5, 3, 2, 2, bird_color8)
  2862.     @bird_bitmaps[3].set_pixel(7, 3, bird_color4)
  2863.     @bird_bitmaps[3].fill_rect(8, 3, 2, 1, bird_color8)
  2864.     @bird_bitmaps[3].fill_rect(10, 3, 2, 1, bird_color2)
  2865.     @bird_bitmaps[3].fill_rect(2, 4, 1, 2, bird_color3)
  2866.     @bird_bitmaps[3].fill_rect(4, 4, 1, 2, bird_color8)
  2867.     @bird_bitmaps[3].fill_rect(7, 4, 1, 2, bird_color8)
  2868.     @bird_bitmaps[3].set_pixel(8, 4, bird_color2)
  2869.     @bird_bitmaps[3].set_pixel(9, 4, bird_color1)
  2870.     @bird_bitmaps[3].set_pixel(10, 4, bird_color8)
  2871.     @bird_bitmaps[3].set_pixel(11, 4, bird_color4)
  2872.     @bird_bitmaps[3].set_pixel(0, 5, bird_color1)
  2873.     @bird_bitmaps[3].set_pixel(1, 5, bird_color2)
  2874.     @bird_bitmaps[3].fill_rect(3, 5, 1, 3, bird_color8)
  2875.     @bird_bitmaps[3].set_pixel(5, 5, bird_color5)
  2876.     @bird_bitmaps[3].fill_rect(6, 5, 1, 2, bird_color2)
  2877.     @bird_bitmaps[3].set_pixel(8, 5, bird_color6)
  2878.     @bird_bitmaps[3].set_pixel(9, 5, bird_color7)
  2879.     @bird_bitmaps[3].set_pixel(10, 5, bird_color2)
  2880.     @bird_bitmaps[3].set_pixel(11, 5, bird_color6)
  2881.     @bird_bitmaps[3].set_pixel(2, 6, bird_color8)
  2882.     @bird_bitmaps[3].fill_rect(4, 6, 2, 1, bird_color4)
  2883.     @bird_bitmaps[3].set_pixel(7, 6, bird_color1)
  2884.     @bird_bitmaps[3].set_pixel(1, 7, bird_color3)
  2885.     @bird_bitmaps[3].set_pixel(2, 7, bird_color5)
  2886.     @bird_bitmaps[3].set_pixel(4, 7, bird_color2)
  2887.     @bird_bitmaps[3].fill_rect(5, 7, 2, 1, bird_color1)
  2888.     @bird_bitmaps[3].set_pixel(0, 8, bird_color3)
  2889.     @bird_bitmaps[3].set_pixel(1, 8, bird_color8)
  2890.     @bird_bitmaps[3].fill_rect(2, 8, 2, 1, bird_color1)
  2891. #-------------------------------------------------------------------------------
  2892.     # Bat bitmaps
  2893.    
  2894.     @bat_bitmaps = []
  2895.     bat_color1 = Color.new(80, 62, 92)
  2896.     bat_color2 = Color.new(80, 80, 104)
  2897.     bat_color3 = Color.new(137, 137, 160)
  2898.     bat_color4 = Color.new(57, 57, 57)
  2899.     bat_color5 = Color.new(42, 42, 66)
  2900.     bat_color6 = Color.new(76, 67, 68)
  2901.     bat_color7 = Color.new(24, 24, 48)
  2902.     bat_color8 = Color.new(181, 156, 85)
  2903.     bat_color9 = Color.new(99, 99, 122)
  2904.     bat_color10 = Color.new(118, 118, 141)
  2905.     bat_color11 = Color.new(90, 90, 90)
  2906.     bat_color12 = Color.new(61, 61, 85)
  2907.     bat_color13 = Color.new(109, 91, 38)
  2908.     bat_color14 = Color.new(156, 156, 156)
  2909.     bat_color15 = Color.new(203, 179, 74)
  2910.     bat_color16 = Color.new(24, 24, 24)
  2911.     bat_color17 = Color.new(222, 222, 222)
  2912.     bat_color18 = Color.new(249, 226, 145)
  2913.  
  2914.     # Bat left 1
  2915.     @bat_bitmaps[0] = Bitmap.new(10, 8)
  2916.     @bat_bitmaps[0].fill_rect(1, 0, 3, 2, bat_color1)
  2917.     @bat_bitmaps[0].fill_rect(6, 0, 1, 4, bat_color2)
  2918.     @bat_bitmaps[0].set_pixel(7, 0, bat_color3)
  2919.     @bat_bitmaps[0].set_pixel(8, 0, bat_color4)
  2920.     @bat_bitmaps[0].set_pixel(9, 0, bat_color5)
  2921.     @bat_bitmaps[0].fill_rect(5, 1, 1, 3, bat_color2)
  2922.     @bat_bitmaps[0].fill_rect(7, 1, 2, 1, bat_color6)
  2923.     @bat_bitmaps[0].set_pixel(1, 2, bat_color3)
  2924.     @bat_bitmaps[0].set_pixel(2, 2, bat_color7)
  2925.     @bat_bitmaps[0].set_pixel(3, 2, bat_color5)
  2926.     @bat_bitmaps[0].set_pixel(4, 2, bat_color2)
  2927.     @bat_bitmaps[0].set_pixel(7, 2, bat_color6)
  2928.     @bat_bitmaps[0].set_pixel(0, 3, bat_color8)
  2929.     @bat_bitmaps[0].fill_rect(1, 3, 2, 1, bat_color9)
  2930.     @bat_bitmaps[0].set_pixel(3, 3, bat_color10)
  2931.     @bat_bitmaps[0].set_pixel(4, 3, bat_color1)
  2932.     @bat_bitmaps[0].set_pixel(7, 3, bat_color11)
  2933.     @bat_bitmaps[0].set_pixel(0, 4, bat_color12)
  2934.     @bat_bitmaps[0].fill_rect(1, 4, 2, 1, bat_color13)
  2935.     @bat_bitmaps[0].set_pixel(3, 4, bat_color9)
  2936.     @bat_bitmaps[0].fill_rect(4, 4, 2, 1, bat_color5)
  2937.     @bat_bitmaps[0].fill_rect(6, 4, 2, 1, bat_color4)
  2938.     @bat_bitmaps[0].set_pixel(0, 5, bat_color5)
  2939.     @bat_bitmaps[0].fill_rect(1, 5, 1, 2, bat_color12)
  2940.     @bat_bitmaps[0].fill_rect(2, 5, 1, 2, bat_color2)
  2941.     @bat_bitmaps[0].set_pixel(3, 5, bat_color12)
  2942.     @bat_bitmaps[0].fill_rect(4, 5, 1, 2, bat_color5)
  2943.     @bat_bitmaps[0].set_pixel(5, 5, bat_color4)
  2944.     @bat_bitmaps[0].set_pixel(6, 5, bat_color11)
  2945.     @bat_bitmaps[0].set_pixel(3, 6, bat_color9)
  2946.     @bat_bitmaps[0].set_pixel(5, 6, bat_color7)
  2947.     @bat_bitmaps[0].set_pixel(2, 7, bat_color5)
  2948.     @bat_bitmaps[0].fill_rect(3, 7, 2, 1, bat_color12)
  2949.     @bat_bitmaps[0].set_pixel(5, 7, bat_color5)
  2950.  
  2951.     # Bat left 2
  2952.     @bat_bitmaps[1] = Bitmap.new(9, 7)
  2953.     @bat_bitmaps[1].set_pixel(1, 0, bat_color10)
  2954.     @bat_bitmaps[1].fill_rect(2, 0, 2, 1, bat_color5)
  2955.     @bat_bitmaps[1].set_pixel(0, 1, bat_color13)
  2956.     @bat_bitmaps[1].set_pixel(1, 1, bat_color9)
  2957.     @bat_bitmaps[1].set_pixel(2, 1, bat_color2)
  2958.     @bat_bitmaps[1].set_pixel(3, 1, bat_color9)
  2959.     @bat_bitmaps[1].set_pixel(0, 2, bat_color14)
  2960.     @bat_bitmaps[1].set_pixel(1, 2, bat_color8)
  2961.     @bat_bitmaps[1].set_pixel(2, 2, bat_color15)
  2962.     @bat_bitmaps[1].fill_rect(3, 2, 2, 1, bat_color12)
  2963.     @bat_bitmaps[1].set_pixel(0, 3, bat_color5)
  2964.     @bat_bitmaps[1].set_pixel(1, 3, bat_color12)
  2965.     @bat_bitmaps[1].set_pixel(2, 3, bat_color9)
  2966.     @bat_bitmaps[1].fill_rect(3, 3, 1, 2, bat_color2)
  2967.     @bat_bitmaps[1].fill_rect(4, 3, 1, 2, bat_color5)
  2968.     @bat_bitmaps[1].set_pixel(5, 3, bat_color10)
  2969.     @bat_bitmaps[1].set_pixel(6, 3, bat_color2)
  2970.     @bat_bitmaps[1].set_pixel(1, 4, bat_color5)
  2971.     @bat_bitmaps[1].set_pixel(2, 4, bat_color2)
  2972.     @bat_bitmaps[1].fill_rect(5, 4, 1, 2, bat_color7)
  2973.     @bat_bitmaps[1].set_pixel(6, 4, bat_color9)
  2974.     @bat_bitmaps[1].set_pixel(7, 4, bat_color2)
  2975.     @bat_bitmaps[1].set_pixel(3, 5, bat_color5)
  2976.     @bat_bitmaps[1].set_pixel(4, 5, bat_color12)
  2977.     @bat_bitmaps[1].set_pixel(6, 5, bat_color10)
  2978.     @bat_bitmaps[1].set_pixel(7, 5, bat_color9)
  2979.     @bat_bitmaps[1].set_pixel(8, 5, bat_color2)
  2980.     @bat_bitmaps[1].set_pixel(8, 6, bat_color7)
  2981.  
  2982.     # Bat left 3
  2983.     @bat_bitmaps[2] = Bitmap.new(6, 11)
  2984.     @bat_bitmaps[2].set_pixel(1, 0, bat_color5)
  2985.     @bat_bitmaps[2].set_pixel(0, 1, bat_color13)
  2986.     @bat_bitmaps[2].set_pixel(1, 1, bat_color9)
  2987.     @bat_bitmaps[2].fill_rect(2, 1, 2, 1, bat_color10)
  2988.     @bat_bitmaps[2].set_pixel(0, 2, bat_color12)
  2989.     @bat_bitmaps[2].fill_rect(1, 2, 2, 2, bat_color13)
  2990.     @bat_bitmaps[2].set_pixel(3, 2, bat_color9)
  2991.     @bat_bitmaps[2].set_pixel(0, 3, bat_color7)
  2992.     @bat_bitmaps[2].fill_rect(3, 3, 2, 1, bat_color5)
  2993.     @bat_bitmaps[2].fill_rect(0, 4, 1, 4, bat_color1)
  2994.     @bat_bitmaps[2].set_pixel(1, 4, bat_color2)
  2995.     @bat_bitmaps[2].set_pixel(2, 4, bat_color9)
  2996.     @bat_bitmaps[2].set_pixel(3, 4, bat_color12)
  2997.     @bat_bitmaps[2].set_pixel(4, 4, bat_color2)
  2998.     @bat_bitmaps[2].set_pixel(5, 4, bat_color5)
  2999.     @bat_bitmaps[2].fill_rect(1, 5, 1, 2, bat_color1)
  3000.     @bat_bitmaps[2].set_pixel(2, 5, bat_color12)
  3001.     @bat_bitmaps[2].set_pixel(3, 5, bat_color5)
  3002.     @bat_bitmaps[2].fill_rect(4, 5, 1, 4, bat_color9)
  3003.     @bat_bitmaps[2].fill_rect(5, 5, 1, 2, bat_color2)
  3004.     @bat_bitmaps[2].set_pixel(3, 6, bat_color12)
  3005.     @bat_bitmaps[2].set_pixel(2, 7, bat_color12)
  3006.     @bat_bitmaps[2].set_pixel(3, 7, bat_color10)
  3007.     @bat_bitmaps[2].set_pixel(5, 7, bat_color9)
  3008.     @bat_bitmaps[2].set_pixel(3, 8, bat_color12)
  3009.     @bat_bitmaps[2].set_pixel(5, 8, bat_color12)
  3010.     @bat_bitmaps[2].fill_rect(4, 9, 2, 1, bat_color2)
  3011.     @bat_bitmaps[2].set_pixel(5, 10, bat_color12)
  3012.  
  3013.     # Bat left 4
  3014.     @bat_bitmaps[3] = Bitmap.new(9, 7)
  3015.     @bat_bitmaps[3].set_pixel(1, 0, bat_color10)
  3016.     @bat_bitmaps[3].fill_rect(2, 0, 2, 1, bat_color5)
  3017.     @bat_bitmaps[3].set_pixel(0, 1, bat_color13)
  3018.     @bat_bitmaps[3].set_pixel(1, 1, bat_color9)
  3019.     @bat_bitmaps[3].set_pixel(2, 1, bat_color2)
  3020.     @bat_bitmaps[3].set_pixel(3, 1, bat_color9)
  3021.     @bat_bitmaps[3].set_pixel(0, 2, bat_color14)
  3022.     @bat_bitmaps[3].set_pixel(1, 2, bat_color8)
  3023.     @bat_bitmaps[3].set_pixel(2, 2, bat_color15)
  3024.     @bat_bitmaps[3].fill_rect(3, 2, 2, 1, bat_color12)
  3025.     @bat_bitmaps[3].set_pixel(0, 3, bat_color5)
  3026.     @bat_bitmaps[3].set_pixel(1, 3, bat_color12)
  3027.     @bat_bitmaps[3].set_pixel(2, 3, bat_color9)
  3028.     @bat_bitmaps[3].fill_rect(3, 3, 1, 2, bat_color2)
  3029.     @bat_bitmaps[3].fill_rect(4, 3, 1, 2, bat_color5)
  3030.     @bat_bitmaps[3].set_pixel(5, 3, bat_color10)
  3031.     @bat_bitmaps[3].set_pixel(6, 3, bat_color2)
  3032.     @bat_bitmaps[3].set_pixel(1, 4, bat_color5)
  3033.     @bat_bitmaps[3].set_pixel(2, 4, bat_color2)
  3034.     @bat_bitmaps[3].fill_rect(5, 4, 1, 2, bat_color7)
  3035.     @bat_bitmaps[3].set_pixel(6, 4, bat_color9)
  3036.     @bat_bitmaps[3].set_pixel(7, 4, bat_color2)
  3037.     @bat_bitmaps[3].set_pixel(3, 5, bat_color5)
  3038.     @bat_bitmaps[3].set_pixel(4, 5, bat_color12)
  3039.     @bat_bitmaps[3].set_pixel(6, 5, bat_color10)
  3040.     @bat_bitmaps[3].set_pixel(7, 5, bat_color9)
  3041.     @bat_bitmaps[3].set_pixel(8, 5, bat_color2)
  3042.     @bat_bitmaps[3].set_pixel(8, 6, bat_color7)
  3043.  
  3044.     # Bat up 1
  3045.     @bat_bitmaps[4] = Bitmap.new(11, 9)
  3046.     @bat_bitmaps[4].set_pixel(0, 0, bat_color9)
  3047.     @bat_bitmaps[4].set_pixel(1, 0, bat_color3)
  3048.     @bat_bitmaps[4].set_pixel(8, 0, bat_color2)
  3049.     @bat_bitmaps[4].set_pixel(9, 0, bat_color10)
  3050.     @bat_bitmaps[4].set_pixel(10, 0, bat_color4)
  3051.     @bat_bitmaps[4].set_pixel(0, 1, bat_color4)
  3052.     @bat_bitmaps[4].fill_rect(1, 1, 1, 2, bat_color9)
  3053.     @bat_bitmaps[4].set_pixel(2, 1, bat_color2)
  3054.     @bat_bitmaps[4].set_pixel(3, 1, bat_color9)
  3055.     @bat_bitmaps[4].set_pixel(7, 1, bat_color2)
  3056.     @bat_bitmaps[4].fill_rect(8, 1, 2, 1, bat_color9)
  3057.     @bat_bitmaps[4].fill_rect(2, 2, 1, 2, bat_color9)
  3058.     @bat_bitmaps[4].fill_rect(4, 2, 1, 2, bat_color10)
  3059.     @bat_bitmaps[4].fill_rect(5, 2, 1, 6, bat_color9)
  3060.     @bat_bitmaps[4].set_pixel(6, 2, bat_color10)
  3061.     @bat_bitmaps[4].set_pixel(7, 2, bat_color7)
  3062.     @bat_bitmaps[4].set_pixel(8, 2, bat_color9)
  3063.     @bat_bitmaps[4].set_pixel(9, 2, bat_color2)
  3064.     @bat_bitmaps[4].set_pixel(1, 3, bat_color2)
  3065.     @bat_bitmaps[4].set_pixel(3, 3, bat_color7)
  3066.     @bat_bitmaps[4].fill_rect(6, 3, 1, 2, bat_color9)
  3067.     @bat_bitmaps[4].set_pixel(7, 3, bat_color12)
  3068.     @bat_bitmaps[4].set_pixel(8, 3, bat_color2)
  3069.     @bat_bitmaps[4].set_pixel(9, 3, bat_color12)
  3070.     @bat_bitmaps[4].set_pixel(1, 4, bat_color12)
  3071.     @bat_bitmaps[4].fill_rect(2, 4, 1, 2, bat_color2)
  3072.     @bat_bitmaps[4].set_pixel(3, 4, bat_color12)
  3073.     @bat_bitmaps[4].fill_rect(4, 4, 1, 3, bat_color9)
  3074.     @bat_bitmaps[4].fill_rect(7, 4, 2, 1, bat_color9)
  3075.     @bat_bitmaps[4].set_pixel(9, 4, bat_color16)
  3076.     @bat_bitmaps[4].set_pixel(3, 5, bat_color2)
  3077.     @bat_bitmaps[4].fill_rect(6, 5, 2, 1, bat_color2)
  3078.     @bat_bitmaps[4].set_pixel(8, 5, bat_color16)
  3079.     @bat_bitmaps[4].set_pixel(2, 6, bat_color16)
  3080.     @bat_bitmaps[4].fill_rect(3, 6, 1, 2, bat_color12)
  3081.     @bat_bitmaps[4].fill_rect(6, 6, 1, 2, bat_color9)
  3082.     @bat_bitmaps[4].set_pixel(7, 6, bat_color12)
  3083.     @bat_bitmaps[4].set_pixel(4, 7, bat_color2)
  3084.     @bat_bitmaps[4].set_pixel(7, 7, bat_color7)
  3085.     @bat_bitmaps[4].set_pixel(3, 8, bat_color7)
  3086.     @bat_bitmaps[4].set_pixel(4, 8, bat_color16)
  3087.     @bat_bitmaps[4].fill_rect(5, 8, 2, 1, bat_color12)
  3088.  
  3089.     # Bat up 2
  3090.     @bat_bitmaps[5] = Bitmap.new(12, 9)
  3091.     @bat_bitmaps[5].fill_rect(5, 0, 1, 5, bat_color9)
  3092.     @bat_bitmaps[5].set_pixel(6, 0, bat_color12)
  3093.     @bat_bitmaps[5].set_pixel(7, 0, bat_color10)
  3094.     @bat_bitmaps[5].set_pixel(6, 1, bat_color10)
  3095.     @bat_bitmaps[5].fill_rect(7, 1, 1, 5, bat_color9)
  3096.     @bat_bitmaps[5].set_pixel(4, 2, bat_color7)
  3097.     @bat_bitmaps[5].fill_rect(6, 2, 1, 4, bat_color9)
  3098.     @bat_bitmaps[5].set_pixel(4, 3, bat_color12)
  3099.     @bat_bitmaps[5].fill_rect(8, 3, 2, 1, bat_color12)
  3100.     @bat_bitmaps[5].set_pixel(2, 4, bat_color2)
  3101.     @bat_bitmaps[5].fill_rect(3, 4, 2, 1, bat_color9)
  3102.     @bat_bitmaps[5].set_pixel(8, 4, bat_color9)
  3103.     @bat_bitmaps[5].set_pixel(9, 4, bat_color2)
  3104.     @bat_bitmaps[5].set_pixel(10, 4, bat_color12)
  3105.     @bat_bitmaps[5].set_pixel(1, 5, bat_color12)
  3106.     @bat_bitmaps[5].fill_rect(2, 5, 1, 2, bat_color9)
  3107.     @bat_bitmaps[5].fill_rect(3, 5, 1, 2, bat_color2)
  3108.     @bat_bitmaps[5].set_pixel(4, 5, bat_color9)
  3109.     @bat_bitmaps[5].set_pixel(5, 5, bat_color2)
  3110.     @bat_bitmaps[5].set_pixel(8, 5, bat_color2)
  3111.     @bat_bitmaps[5].fill_rect(9, 5, 1, 2, bat_color9)
  3112.     @bat_bitmaps[5].set_pixel(10, 5, bat_color2)
  3113.     @bat_bitmaps[5].fill_rect(1, 6, 1, 2, bat_color2)
  3114.     @bat_bitmaps[5].set_pixel(4, 6, bat_color7)
  3115.     @bat_bitmaps[5].set_pixel(5, 6, bat_color16)
  3116.     @bat_bitmaps[5].set_pixel(6, 6, bat_color2)
  3117.     @bat_bitmaps[5].fill_rect(7, 6, 2, 1, bat_color12)
  3118.     @bat_bitmaps[5].set_pixel(10, 6, bat_color9)
  3119.     @bat_bitmaps[5].set_pixel(11, 6, bat_color7)
  3120.     @bat_bitmaps[5].fill_rect(0, 7, 1, 2, bat_color7)
  3121.     @bat_bitmaps[5].set_pixel(10, 7, bat_color7)
  3122.     @bat_bitmaps[5].set_pixel(11, 7, bat_color2)
  3123.  
  3124.     # Bat up 3
  3125.     @bat_bitmaps[6] = Bitmap.new(9, 11)
  3126.     @bat_bitmaps[6].set_pixel(3, 0, bat_color12)
  3127.     @bat_bitmaps[6].set_pixel(5, 0, bat_color12)
  3128.     @bat_bitmaps[6].fill_rect(3, 1, 1, 2, bat_color10)
  3129.     @bat_bitmaps[6].fill_rect(4, 1, 1, 5, bat_color9)
  3130.     @bat_bitmaps[6].set_pixel(5, 1, bat_color10)
  3131.     @bat_bitmaps[6].set_pixel(2, 2, bat_color7)
  3132.     @bat_bitmaps[6].fill_rect(5, 2, 1, 3, bat_color9)
  3133.     @bat_bitmaps[6].set_pixel(2, 3, bat_color2)
  3134.     @bat_bitmaps[6].fill_rect(3, 3, 1, 3, bat_color9)
  3135.     @bat_bitmaps[6].set_pixel(6, 3, bat_color12)
  3136.     @bat_bitmaps[6].set_pixel(1, 4, bat_color12)
  3137.     @bat_bitmaps[6].fill_rect(2, 4, 1, 2, bat_color9)
  3138.     @bat_bitmaps[6].set_pixel(6, 4, bat_color2)
  3139.     @bat_bitmaps[6].set_pixel(1, 5, bat_color2)
  3140.     @bat_bitmaps[6].fill_rect(5, 5, 1, 2, bat_color2)
  3141.     @bat_bitmaps[6].set_pixel(6, 5, bat_color9)
  3142.     @bat_bitmaps[6].set_pixel(7, 5, bat_color2)
  3143.     @bat_bitmaps[6].set_pixel(0, 6, bat_color12)
  3144.     @bat_bitmaps[6].fill_rect(1, 6, 1, 2, bat_color9)
  3145.     @bat_bitmaps[6].fill_rect(2, 6, 1, 2, bat_color7)
  3146.     @bat_bitmaps[6].set_pixel(3, 6, bat_color12)
  3147.     @bat_bitmaps[6].set_pixel(4, 6, bat_color2)
  3148.     @bat_bitmaps[6].set_pixel(6, 6, bat_color2)
  3149.     @bat_bitmaps[6].fill_rect(7, 6, 1, 2, bat_color9)
  3150.     @bat_bitmaps[6].set_pixel(0, 7, bat_color2)
  3151.     @bat_bitmaps[6].set_pixel(3, 7, bat_color16)
  3152.     @bat_bitmaps[6].fill_rect(4, 7, 3, 1, bat_color12)
  3153.     @bat_bitmaps[6].set_pixel(8, 7, bat_color7)
  3154.     @bat_bitmaps[6].set_pixel(0, 8, bat_color9)
  3155.     @bat_bitmaps[6].set_pixel(7, 8, bat_color2)
  3156.     @bat_bitmaps[6].fill_rect(8, 8, 1, 3, bat_color12)
  3157.     @bat_bitmaps[6].set_pixel(0, 9, bat_color12)
  3158.     @bat_bitmaps[6].set_pixel(7, 9, bat_color7)
  3159.     @bat_bitmaps[6].set_pixel(0, 10, bat_color7)
  3160.  
  3161.     # Bat up 4
  3162.     @bat_bitmaps[7] = Bitmap.new(12, 8)
  3163.     @bat_bitmaps[7].fill_rect(5, 0, 1, 5, bat_color9)
  3164.     @bat_bitmaps[7].set_pixel(6, 0, bat_color12)
  3165.     @bat_bitmaps[7].set_pixel(7, 0, bat_color10)
  3166.     @bat_bitmaps[7].set_pixel(6, 1, bat_color10)
  3167.     @bat_bitmaps[7].fill_rect(7, 1, 1, 4, bat_color9)
  3168.     @bat_bitmaps[7].set_pixel(2, 2, bat_color12)
  3169.     @bat_bitmaps[7].set_pixel(4, 2, bat_color7)
  3170.     @bat_bitmaps[7].fill_rect(6, 2, 1, 4, bat_color9)
  3171.     @bat_bitmaps[7].fill_rect(9, 2, 1, 2, bat_color2)
  3172.     @bat_bitmaps[7].fill_rect(2, 3, 1, 2, bat_color9)
  3173.     @bat_bitmaps[7].set_pixel(3, 3, bat_color7)
  3174.     @bat_bitmaps[7].set_pixel(4, 3, bat_color12)
  3175.     @bat_bitmaps[7].set_pixel(8, 3, bat_color12)
  3176.     @bat_bitmaps[7].fill_rect(10, 3, 1, 3, bat_color2)
  3177.     @bat_bitmaps[7].set_pixel(1, 4, bat_color12)
  3178.     @bat_bitmaps[7].fill_rect(3, 4, 2, 1, bat_color9)
  3179.     @bat_bitmaps[7].fill_rect(8, 4, 2, 1, bat_color9)
  3180.     @bat_bitmaps[7].set_pixel(1, 5, bat_color9)
  3181.     @bat_bitmaps[7].fill_rect(2, 5, 3, 1, bat_color12)
  3182.     @bat_bitmaps[7].set_pixel(5, 5, bat_color2)
  3183.     @bat_bitmaps[7].fill_rect(7, 5, 2, 1, bat_color2)
  3184.     @bat_bitmaps[7].set_pixel(9, 5, bat_color12)
  3185.     @bat_bitmaps[7].set_pixel(11, 5, bat_color12)
  3186.     @bat_bitmaps[7].set_pixel(0, 6, bat_color12)
  3187.     @bat_bitmaps[7].set_pixel(1, 6, bat_color2)
  3188.     @bat_bitmaps[7].set_pixel(4, 6, bat_color7)
  3189.     @bat_bitmaps[7].set_pixel(5, 6, bat_color16)
  3190.     @bat_bitmaps[7].set_pixel(6, 6, bat_color2)
  3191.     @bat_bitmaps[7].set_pixel(7, 6, bat_color12)
  3192.     @bat_bitmaps[7].set_pixel(8, 6, bat_color7)
  3193.     @bat_bitmaps[7].set_pixel(10, 6, bat_color7)
  3194.     @bat_bitmaps[7].set_pixel(11, 6, bat_color2)
  3195.     @bat_bitmaps[7].set_pixel(0, 7, bat_color7)
  3196.  
  3197.     # Bat right 1
  3198.     @bat_bitmaps[8] = Bitmap.new(10, 8)
  3199.     @bat_bitmaps[8].set_pixel(0, 0, bat_color5)
  3200.     @bat_bitmaps[8].set_pixel(1, 0, bat_color4)
  3201.     @bat_bitmaps[8].set_pixel(2, 0, bat_color3)
  3202.     @bat_bitmaps[8].fill_rect(3, 0, 1, 4, bat_color2)
  3203.     @bat_bitmaps[8].fill_rect(6, 0, 3, 2, bat_color1)
  3204.     @bat_bitmaps[8].set_pixel(1, 1, bat_color6)
  3205.     @bat_bitmaps[8].set_pixel(2, 1, bat_color4)
  3206.     @bat_bitmaps[8].fill_rect(4, 1, 1, 3, bat_color2)
  3207.     @bat_bitmaps[8].set_pixel(5, 1, bat_color1)
  3208.     @bat_bitmaps[8].set_pixel(2, 2, bat_color6)
  3209.     @bat_bitmaps[8].set_pixel(5, 2, bat_color10)
  3210.     @bat_bitmaps[8].set_pixel(6, 2, bat_color5)
  3211.     @bat_bitmaps[8].set_pixel(7, 2, bat_color7)
  3212.     @bat_bitmaps[8].set_pixel(8, 2, bat_color12)
  3213.     @bat_bitmaps[8].set_pixel(2, 3, bat_color11)
  3214.     @bat_bitmaps[8].set_pixel(5, 3, bat_color1)
  3215.     @bat_bitmaps[8].set_pixel(6, 3, bat_color10)
  3216.     @bat_bitmaps[8].fill_rect(7, 3, 2, 1, bat_color9)
  3217.     @bat_bitmaps[8].set_pixel(9, 3, bat_color8)
  3218.     @bat_bitmaps[8].set_pixel(2, 4, bat_color2)
  3219.     @bat_bitmaps[8].set_pixel(3, 4, bat_color4)
  3220.     @bat_bitmaps[8].set_pixel(4, 4, bat_color5)
  3221.     @bat_bitmaps[8].set_pixel(5, 4, bat_color7)
  3222.     @bat_bitmaps[8].set_pixel(6, 4, bat_color9)
  3223.     @bat_bitmaps[8].set_pixel(7, 4, bat_color13)
  3224.     @bat_bitmaps[8].fill_rect(8, 4, 2, 1, bat_color12)
  3225.     @bat_bitmaps[8].set_pixel(2, 5, bat_color4)
  3226.     @bat_bitmaps[8].set_pixel(3, 5, bat_color11)
  3227.     @bat_bitmaps[8].set_pixel(4, 5, bat_color4)
  3228.     @bat_bitmaps[8].fill_rect(5, 5, 2, 1, bat_color12)
  3229.     @bat_bitmaps[8].fill_rect(7, 5, 1, 2, bat_color2)
  3230.     @bat_bitmaps[8].set_pixel(8, 5, bat_color7)
  3231.     @bat_bitmaps[8].set_pixel(9, 5, bat_color5)
  3232.     @bat_bitmaps[8].set_pixel(4, 6, bat_color7)
  3233.     @bat_bitmaps[8].fill_rect(5, 6, 1, 2, bat_color5)
  3234.     @bat_bitmaps[8].set_pixel(6, 6, bat_color9)
  3235.     @bat_bitmaps[8].set_pixel(8, 6, bat_color5)
  3236.     @bat_bitmaps[8].set_pixel(4, 7, bat_color5)
  3237.     @bat_bitmaps[8].set_pixel(6, 7, bat_color12)
  3238.     @bat_bitmaps[8].set_pixel(7, 7, bat_color5)
  3239.  
  3240.     # Bat right 2
  3241.     @bat_bitmaps[9] = Bitmap.new(9, 7)
  3242.     @bat_bitmaps[9].fill_rect(5, 0, 3, 1, bat_color5)
  3243.     @bat_bitmaps[9].set_pixel(4, 1, bat_color5)
  3244.     @bat_bitmaps[9].set_pixel(5, 1, bat_color9)
  3245.     @bat_bitmaps[9].fill_rect(6, 1, 2, 1, bat_color2)
  3246.     @bat_bitmaps[9].set_pixel(8, 1, bat_color13)
  3247.     @bat_bitmaps[9].set_pixel(4, 2, bat_color7)
  3248.     @bat_bitmaps[9].set_pixel(5, 2, bat_color12)
  3249.     @bat_bitmaps[9].set_pixel(6, 2, bat_color15)
  3250.     @bat_bitmaps[9].fill_rect(7, 2, 1, 2, bat_color12)
  3251.     @bat_bitmaps[9].set_pixel(8, 2, bat_color14)
  3252.     @bat_bitmaps[9].set_pixel(2, 3, bat_color2)
  3253.     @bat_bitmaps[9].set_pixel(3, 3, bat_color10)
  3254.     @bat_bitmaps[9].set_pixel(4, 3, bat_color5)
  3255.     @bat_bitmaps[9].fill_rect(5, 3, 1, 2, bat_color2)
  3256.     @bat_bitmaps[9].set_pixel(6, 3, bat_color9)
  3257.     @bat_bitmaps[9].set_pixel(8, 3, bat_color5)
  3258.     @bat_bitmaps[9].set_pixel(1, 4, bat_color2)
  3259.     @bat_bitmaps[9].set_pixel(2, 4, bat_color9)
  3260.     @bat_bitmaps[9].fill_rect(3, 4, 1, 2, bat_color7)
  3261.     @bat_bitmaps[9].set_pixel(4, 4, bat_color12)
  3262.     @bat_bitmaps[9].set_pixel(6, 4, bat_color2)
  3263.     @bat_bitmaps[9].set_pixel(0, 5, bat_color2)
  3264.     @bat_bitmaps[9].fill_rect(1, 5, 2, 1, bat_color10)
  3265.     @bat_bitmaps[9].set_pixel(4, 5, bat_color7)
  3266.     @bat_bitmaps[9].set_pixel(5, 5, bat_color5)
  3267.     @bat_bitmaps[9].set_pixel(0, 6, bat_color7)
  3268.  
  3269.     # Bat right 3
  3270.     @bat_bitmaps[10] = Bitmap.new(6, 11)
  3271.     @bat_bitmaps[10].set_pixel(4, 0, bat_color10)
  3272.     @bat_bitmaps[10].fill_rect(2, 1, 2, 1, bat_color10)
  3273.     @bat_bitmaps[10].set_pixel(4, 1, bat_color9)
  3274.     @bat_bitmaps[10].set_pixel(5, 1, bat_color13)
  3275.     @bat_bitmaps[10].set_pixel(1, 2, bat_color5)
  3276.     @bat_bitmaps[10].set_pixel(2, 2, bat_color9)
  3277.     @bat_bitmaps[10].fill_rect(3, 2, 1, 2, bat_color13)
  3278.     @bat_bitmaps[10].fill_rect(4, 2, 2, 1, bat_color12)
  3279.     @bat_bitmaps[10].set_pixel(1, 3, bat_color2)
  3280.     @bat_bitmaps[10].set_pixel(2, 3, bat_color5)
  3281.     @bat_bitmaps[10].set_pixel(4, 3, bat_color17)
  3282.     @bat_bitmaps[10].set_pixel(5, 3, bat_color7)
  3283.     @bat_bitmaps[10].set_pixel(0, 4, bat_color5)
  3284.     @bat_bitmaps[10].set_pixel(1, 4, bat_color9)
  3285.     @bat_bitmaps[10].set_pixel(2, 4, bat_color12)
  3286.     @bat_bitmaps[10].set_pixel(3, 4, bat_color9)
  3287.     @bat_bitmaps[10].set_pixel(4, 4, bat_color5)
  3288.     @bat_bitmaps[10].fill_rect(5, 4, 1, 4, bat_color1)
  3289.     @bat_bitmaps[10].fill_rect(0, 5, 1, 2, bat_color2)
  3290.     @bat_bitmaps[10].fill_rect(1, 5, 1, 2, bat_color10)
  3291.     @bat_bitmaps[10].set_pixel(2, 5, bat_color5)
  3292.     @bat_bitmaps[10].set_pixel(3, 5, bat_color12)
  3293.     @bat_bitmaps[10].fill_rect(4, 5, 1, 3, bat_color1)
  3294.     @bat_bitmaps[10].set_pixel(2, 6, bat_color12)
  3295.     @bat_bitmaps[10].fill_rect(0, 7, 2, 1, bat_color9)
  3296.     @bat_bitmaps[10].set_pixel(2, 7, bat_color10)
  3297.     @bat_bitmaps[10].set_pixel(3, 7, bat_color12)
  3298.     @bat_bitmaps[10].set_pixel(0, 8, bat_color12)
  3299.     @bat_bitmaps[10].set_pixel(1, 8, bat_color10)
  3300.     @bat_bitmaps[10].set_pixel(2, 8, bat_color12)
  3301.     @bat_bitmaps[10].set_pixel(0, 9, bat_color2)
  3302.     @bat_bitmaps[10].set_pixel(1, 9, bat_color12)
  3303.     @bat_bitmaps[10].set_pixel(0, 10, bat_color12)
  3304.  
  3305.     # Bat right 4
  3306.     @bat_bitmaps[11] = Bitmap.new(9, 7)
  3307.     @bat_bitmaps[11].fill_rect(5, 0, 3, 1, bat_color5)
  3308.     @bat_bitmaps[11].set_pixel(4, 1, bat_color5)
  3309.     @bat_bitmaps[11].set_pixel(5, 1, bat_color9)
  3310.     @bat_bitmaps[11].fill_rect(6, 1, 2, 1, bat_color2)
  3311.     @bat_bitmaps[11].set_pixel(8, 1, bat_color13)
  3312.     @bat_bitmaps[11].set_pixel(4, 2, bat_color7)
  3313.     @bat_bitmaps[11].set_pixel(5, 2, bat_color12)
  3314.     @bat_bitmaps[11].set_pixel(6, 2, bat_color15)
  3315.     @bat_bitmaps[11].fill_rect(7, 2, 1, 2, bat_color12)
  3316.     @bat_bitmaps[11].set_pixel(8, 2, bat_color14)
  3317.     @bat_bitmaps[11].set_pixel(2, 3, bat_color2)
  3318.     @bat_bitmaps[11].set_pixel(3, 3, bat_color10)
  3319.     @bat_bitmaps[11].set_pixel(4, 3, bat_color5)
  3320.     @bat_bitmaps[11].fill_rect(5, 3, 1, 2, bat_color2)
  3321.     @bat_bitmaps[11].set_pixel(6, 3, bat_color9)
  3322.     @bat_bitmaps[11].set_pixel(8, 3, bat_color5)
  3323.     @bat_bitmaps[11].set_pixel(1, 4, bat_color2)
  3324.     @bat_bitmaps[11].set_pixel(2, 4, bat_color9)
  3325.     @bat_bitmaps[11].fill_rect(3, 4, 1, 2, bat_color7)
  3326.     @bat_bitmaps[11].set_pixel(4, 4, bat_color12)
  3327.     @bat_bitmaps[11].set_pixel(6, 4, bat_color2)
  3328.     @bat_bitmaps[11].set_pixel(0, 5, bat_color2)
  3329.     @bat_bitmaps[11].fill_rect(1, 5, 2, 1, bat_color10)
  3330.     @bat_bitmaps[11].set_pixel(4, 5, bat_color7)
  3331.     @bat_bitmaps[11].set_pixel(5, 5, bat_color5)
  3332.     @bat_bitmaps[11].set_pixel(0, 6, bat_color7)
  3333.  
  3334.     # Bat down 1
  3335.     @bat_bitmaps[12] = Bitmap.new(11, 9)
  3336.     @bat_bitmaps[12].set_pixel(0, 0, bat_color12)
  3337.     @bat_bitmaps[12].set_pixel(1, 0, bat_color3)
  3338.     @bat_bitmaps[12].set_pixel(8, 0, bat_color9)
  3339.     @bat_bitmaps[12].set_pixel(9, 0, bat_color10)
  3340.     @bat_bitmaps[12].set_pixel(10, 0, bat_color4)
  3341.     @bat_bitmaps[12].fill_rect(0, 1, 2, 1, bat_color4)
  3342.     @bat_bitmaps[12].fill_rect(2, 1, 2, 1, bat_color9)
  3343.     @bat_bitmaps[12].set_pixel(7, 1, bat_color2)
  3344.     @bat_bitmaps[12].set_pixel(8, 1, bat_color12)
  3345.     @bat_bitmaps[12].set_pixel(9, 1, bat_color6)
  3346.     @bat_bitmaps[12].set_pixel(1, 2, bat_color5)
  3347.     @bat_bitmaps[12].set_pixel(2, 2, bat_color9)
  3348.     @bat_bitmaps[12].set_pixel(4, 2, bat_color2)
  3349.     @bat_bitmaps[12].set_pixel(5, 2, bat_color10)
  3350.     @bat_bitmaps[12].set_pixel(6, 2, bat_color5)
  3351.     @bat_bitmaps[12].set_pixel(7, 2, bat_color7)
  3352.     @bat_bitmaps[12].set_pixel(8, 2, bat_color5)
  3353.     @bat_bitmaps[12].set_pixel(9, 2, bat_color2)
  3354.     @bat_bitmaps[12].set_pixel(1, 3, bat_color11)
  3355.     @bat_bitmaps[12].fill_rect(2, 3, 2, 1, bat_color7)
  3356.     @bat_bitmaps[12].set_pixel(4, 3, bat_color13)
  3357.     @bat_bitmaps[12].set_pixel(5, 3, bat_color9)
  3358.     @bat_bitmaps[12].set_pixel(6, 3, bat_color13)
  3359.     @bat_bitmaps[12].set_pixel(7, 3, bat_color2)
  3360.     @bat_bitmaps[12].set_pixel(8, 3, bat_color6)
  3361.     @bat_bitmaps[12].set_pixel(9, 3, bat_color4)
  3362.     @bat_bitmaps[12].set_pixel(1, 4, bat_color2)
  3363.     @bat_bitmaps[12].set_pixel(2, 4, bat_color4)
  3364.     @bat_bitmaps[12].set_pixel(3, 4, bat_color12)
  3365.     @bat_bitmaps[12].set_pixel(4, 4, bat_color15)
  3366.     @bat_bitmaps[12].fill_rect(5, 4, 1, 2, bat_color12)
  3367.     @bat_bitmaps[12].set_pixel(6, 4, bat_color8)
  3368.     @bat_bitmaps[12].fill_rect(7, 4, 2, 1, bat_color5)
  3369.     @bat_bitmaps[12].set_pixel(9, 4, bat_color16)
  3370.     @bat_bitmaps[12].set_pixel(2, 5, bat_color6)
  3371.     @bat_bitmaps[12].fill_rect(3, 5, 1, 2, bat_color7)
  3372.     @bat_bitmaps[12].set_pixel(4, 5, bat_color2)
  3373.     @bat_bitmaps[12].fill_rect(6, 5, 1, 2, bat_color12)
  3374.     @bat_bitmaps[12].set_pixel(7, 5, bat_color4)
  3375.     @bat_bitmaps[12].set_pixel(8, 5, bat_color16)
  3376.     @bat_bitmaps[12].set_pixel(2, 6, bat_color16)
  3377.     @bat_bitmaps[12].set_pixel(4, 6, bat_color9)
  3378.     @bat_bitmaps[12].set_pixel(5, 6, bat_color2)
  3379.     @bat_bitmaps[12].fill_rect(7, 6, 1, 2, bat_color7)
  3380.     @bat_bitmaps[12].set_pixel(3, 7, bat_color12)
  3381.     @bat_bitmaps[12].set_pixel(4, 7, bat_color7)
  3382.     @bat_bitmaps[12].fill_rect(5, 7, 2, 1, bat_color5)
  3383.     @bat_bitmaps[12].set_pixel(5, 8, bat_color4)
  3384.  
  3385.     # Bat down 2
  3386.     @bat_bitmaps[13] = Bitmap.new(12, 7)
  3387.     @bat_bitmaps[13].set_pixel(5, 0, bat_color10)
  3388.     @bat_bitmaps[13].set_pixel(6, 0, bat_color12)
  3389.     @bat_bitmaps[13].set_pixel(7, 0, bat_color10)
  3390.     @bat_bitmaps[13].set_pixel(4, 1, bat_color7)
  3391.     @bat_bitmaps[13].set_pixel(5, 1, bat_color9)
  3392.     @bat_bitmaps[13].set_pixel(6, 1, bat_color10)
  3393.     @bat_bitmaps[13].set_pixel(7, 1, bat_color2)
  3394.     @bat_bitmaps[13].fill_rect(3, 2, 2, 1, bat_color12)
  3395.     @bat_bitmaps[13].set_pixel(5, 2, bat_color15)
  3396.     @bat_bitmaps[13].set_pixel(6, 2, bat_color12)
  3397.     @bat_bitmaps[13].set_pixel(7, 2, bat_color8)
  3398.     @bat_bitmaps[13].set_pixel(8, 2, bat_color12)
  3399.     @bat_bitmaps[13].set_pixel(2, 3, bat_color2)
  3400.     @bat_bitmaps[13].set_pixel(3, 3, bat_color9)
  3401.     @bat_bitmaps[13].set_pixel(4, 3, bat_color5)
  3402.     @bat_bitmaps[13].set_pixel(5, 3, bat_color7)
  3403.     @bat_bitmaps[13].set_pixel(6, 3, bat_color17)
  3404.     @bat_bitmaps[13].set_pixel(7, 3, bat_color12)
  3405.     @bat_bitmaps[13].fill_rect(8, 3, 2, 1, bat_color2)
  3406.     @bat_bitmaps[13].set_pixel(1, 4, bat_color9)
  3407.     @bat_bitmaps[13].fill_rect(2, 4, 2, 1, bat_color4)
  3408.     @bat_bitmaps[13].set_pixel(4, 4, bat_color7)
  3409.     @bat_bitmaps[13].fill_rect(5, 4, 2, 1, bat_color9)
  3410.     @bat_bitmaps[13].set_pixel(7, 4, bat_color2)
  3411.     @bat_bitmaps[13].set_pixel(8, 4, bat_color4)
  3412.     @bat_bitmaps[13].fill_rect(9, 4, 2, 1, bat_color7)
  3413.     @bat_bitmaps[13].set_pixel(11, 4, bat_color2)
  3414.     @bat_bitmaps[13].set_pixel(0, 5, bat_color12)
  3415.     @bat_bitmaps[13].set_pixel(2, 5, bat_color7)
  3416.     @bat_bitmaps[13].set_pixel(4, 5, bat_color12)
  3417.     @bat_bitmaps[13].set_pixel(5, 5, bat_color7)
  3418.     @bat_bitmaps[13].fill_rect(6, 5, 2, 1, bat_color5)
  3419.     @bat_bitmaps[13].fill_rect(8, 5, 2, 1, bat_color7)
  3420.     @bat_bitmaps[13].set_pixel(11, 5, bat_color5)
  3421.     @bat_bitmaps[13].set_pixel(5, 6, bat_color4)
  3422.     @bat_bitmaps[13].fill_rect(6, 6, 2, 1, bat_color7)
  3423.  
  3424.     # Bat down 3
  3425.     @bat_bitmaps[14] = Bitmap.new(9, 9)
  3426.     @bat_bitmaps[14].set_pixel(3, 0, bat_color10)
  3427.     @bat_bitmaps[14].set_pixel(4, 0, bat_color12)
  3428.     @bat_bitmaps[14].set_pixel(5, 0, bat_color10)
  3429.     @bat_bitmaps[14].set_pixel(3, 1, bat_color2)
  3430.     @bat_bitmaps[14].set_pixel(4, 1, bat_color9)
  3431.     @bat_bitmaps[14].set_pixel(5, 1, bat_color5)
  3432.     @bat_bitmaps[14].fill_rect(2, 2, 1, 2, bat_color12)
  3433.     @bat_bitmaps[14].set_pixel(3, 2, bat_color18)
  3434.     @bat_bitmaps[14].set_pixel(4, 2, bat_color13)
  3435.     @bat_bitmaps[14].set_pixel(5, 2, bat_color18)
  3436.     @bat_bitmaps[14].fill_rect(1, 3, 1, 2, bat_color2)
  3437.     @bat_bitmaps[14].set_pixel(3, 3, bat_color7)
  3438.     @bat_bitmaps[14].set_pixel(4, 3, bat_color17)
  3439.     @bat_bitmaps[14].set_pixel(5, 3, bat_color12)
  3440.     @bat_bitmaps[14].set_pixel(6, 3, bat_color2)
  3441.     @bat_bitmaps[14].set_pixel(2, 4, bat_color5)
  3442.     @bat_bitmaps[14].set_pixel(3, 4, bat_color9)
  3443.     @bat_bitmaps[14].fill_rect(4, 4, 2, 1, bat_color2)
  3444.     @bat_bitmaps[14].set_pixel(6, 4, bat_color9)
  3445.     @bat_bitmaps[14].set_pixel(7, 4, bat_color5)
  3446.     @bat_bitmaps[14].set_pixel(0, 5, bat_color2)
  3447.     @bat_bitmaps[14].fill_rect(1, 5, 1, 2, bat_color9)
  3448.     @bat_bitmaps[14].set_pixel(2, 5, bat_color7)
  3449.     @bat_bitmaps[14].set_pixel(3, 5, bat_color5)
  3450.     @bat_bitmaps[14].fill_rect(4, 5, 2, 1, bat_color12)
  3451.     @bat_bitmaps[14].set_pixel(6, 5, bat_color5)
  3452.     @bat_bitmaps[14].set_pixel(7, 5, bat_color2)
  3453.     @bat_bitmaps[14].set_pixel(8, 5, bat_color12)
  3454.     @bat_bitmaps[14].set_pixel(0, 6, bat_color12)
  3455.     @bat_bitmaps[14].set_pixel(2, 6, bat_color12)
  3456.     @bat_bitmaps[14].set_pixel(3, 6, bat_color4)
  3457.     @bat_bitmaps[14].fill_rect(4, 6, 2, 1, bat_color7)
  3458.     @bat_bitmaps[14].set_pixel(6, 6, bat_color9)
  3459.     @bat_bitmaps[14].set_pixel(7, 6, bat_color12)
  3460.     @bat_bitmaps[14].set_pixel(8, 6, bat_color5)
  3461.     @bat_bitmaps[14].set_pixel(0, 7, bat_color2)
  3462.     @bat_bitmaps[14].set_pixel(1, 7, bat_color5)
  3463.     @bat_bitmaps[14].set_pixel(7, 7, bat_color2)
  3464.     @bat_bitmaps[14].set_pixel(8, 7, bat_color12)
  3465.     @bat_bitmaps[14].set_pixel(0, 8, bat_color5)
  3466.     @bat_bitmaps[14].set_pixel(8, 8, bat_color9)
  3467.  
  3468.     # Bat down 4
  3469.     @bat_bitmaps[15] = Bitmap.new(12, 7)
  3470.     @bat_bitmaps[15].set_pixel(5, 0, bat_color12)
  3471.     @bat_bitmaps[15].set_pixel(7, 0, bat_color12)
  3472.     @bat_bitmaps[15].set_pixel(5, 1, bat_color2)
  3473.     @bat_bitmaps[15].set_pixel(6, 1, bat_color9)
  3474.     @bat_bitmaps[15].set_pixel(7, 1, bat_color5)
  3475.     @bat_bitmaps[15].set_pixel(2, 2, bat_color9)
  3476.     @bat_bitmaps[15].set_pixel(4, 2, bat_color7)
  3477.     @bat_bitmaps[15].set_pixel(5, 2, bat_color18)
  3478.     @bat_bitmaps[15].set_pixel(6, 2, bat_color13)
  3479.     @bat_bitmaps[15].set_pixel(7, 2, bat_color18)
  3480.     @bat_bitmaps[15].fill_rect(9, 2, 2, 1, bat_color12)
  3481.     @bat_bitmaps[15].fill_rect(1, 3, 3, 1, bat_color12)
  3482.     @bat_bitmaps[15].set_pixel(4, 3, bat_color2)
  3483.     @bat_bitmaps[15].set_pixel(5, 3, bat_color5)
  3484.     @bat_bitmaps[15].set_pixel(6, 3, bat_color7)
  3485.     @bat_bitmaps[15].set_pixel(7, 3, bat_color5)
  3486.     @bat_bitmaps[15].set_pixel(8, 3, bat_color12)
  3487.     @bat_bitmaps[15].fill_rect(9, 3, 2, 1, bat_color2)
  3488.     @bat_bitmaps[15].fill_rect(0, 4, 3, 1, bat_color12)
  3489.     @bat_bitmaps[15].set_pixel(3, 4, bat_color4)
  3490.     @bat_bitmaps[15].set_pixel(4, 4, bat_color7)
  3491.     @bat_bitmaps[15].set_pixel(5, 4, bat_color9)
  3492.     @bat_bitmaps[15].fill_rect(6, 4, 2, 1, bat_color2)
  3493.     @bat_bitmaps[15].fill_rect(8, 4, 3, 1, bat_color4)
  3494.     @bat_bitmaps[15].set_pixel(11, 4, bat_color9)
  3495.     @bat_bitmaps[15].set_pixel(0, 5, bat_color2)
  3496.     @bat_bitmaps[15].set_pixel(1, 5, bat_color7)
  3497.     @bat_bitmaps[15].set_pixel(3, 5, bat_color7)
  3498.     @bat_bitmaps[15].fill_rect(4, 5, 2, 1, bat_color5)
  3499.     @bat_bitmaps[15].fill_rect(6, 5, 2, 1, bat_color12)
  3500.     @bat_bitmaps[15].set_pixel(8, 5, bat_color7)
  3501.     @bat_bitmaps[15].set_pixel(11, 5, bat_color4)
  3502.     @bat_bitmaps[15].set_pixel(0, 6, bat_color7)
  3503.     @bat_bitmaps[15].set_pixel(4, 6, bat_color7)
  3504.     @bat_bitmaps[15].set_pixel(5, 6, bat_color4)
  3505.     @bat_bitmaps[15].set_pixel(6, 6, bat_color5)
  3506.     @bat_bitmaps[15].set_pixel(7, 6, bat_color7)
  3507. #-------------------------------------------------------------------------------
  3508.     # Bee bitmaps
  3509.  
  3510.     # Bee left 1
  3511.     @bee_bitmaps = []
  3512.     @bee_bitmaps[0] = Bitmap.new(6, 7)
  3513.     @bee_bitmaps[0].fill_rect(2, 0, 1, 2, Color.new(128, 100, 138))
  3514.     @bee_bitmaps[0].fill_rect(4, 0, 1, 2, Color.new(201, 201, 201))
  3515.     @bee_bitmaps[0].set_pixel(5, 0, Color.new(100, 100, 100))
  3516.     @bee_bitmaps[0].set_pixel(0, 1, Color.new(57, 57, 57))
  3517.     @bee_bitmaps[0].set_pixel(3, 1, Color.new(136, 136, 136))
  3518.     @bee_bitmaps[0].set_pixel(0, 2, Color.new(124, 81, 63))
  3519.     @bee_bitmaps[0].set_pixel(1, 2, Color.new(83, 46, 41))
  3520.     @bee_bitmaps[0].fill_rect(2, 2, 1, 2, Color.new(151, 83, 25))
  3521.     @bee_bitmaps[0].set_pixel(3, 2, Color.new(100, 100, 100))
  3522.     @bee_bitmaps[0].set_pixel(5, 2, Color.new(170, 170, 170))
  3523.     @bee_bitmaps[0].set_pixel(0, 3, Color.new(83, 46, 41))
  3524.     @bee_bitmaps[0].set_pixel(1, 3, Color.new(151, 83, 25))
  3525.     @bee_bitmaps[0].set_pixel(3, 3, Color.new(83, 46, 41))
  3526.     @bee_bitmaps[0].fill_rect(4, 3, 1, 2, Color.new(124, 81, 63))
  3527.     @bee_bitmaps[0].set_pixel(1, 4, Color.new(83, 46, 41))
  3528.     @bee_bitmaps[0].set_pixel(2, 4, Color.new(30, 30, 30))
  3529.     @bee_bitmaps[0].set_pixel(3, 4, Color.new(193, 119, 50))
  3530.     @bee_bitmaps[0].fill_rect(3, 5, 2, 1, Color.new(30, 30, 30))
  3531.     @bee_bitmaps[0].set_pixel(4, 6, Color.new(100, 72, 20))
  3532.  
  3533.     # Bee left 2
  3534.     @bee_bitmaps[1] = Bitmap.new(6, 6)
  3535.     @bee_bitmaps[1].set_pixel(1, 0, Color.new(128, 100, 138))
  3536.     @bee_bitmaps[1].fill_rect(0, 1, 2, 1, Color.new(57, 57, 57))
  3537.     @bee_bitmaps[1].set_pixel(3, 1, Color.new(201, 201, 201))
  3538.     @bee_bitmaps[1].set_pixel(5, 1, Color.new(255, 255, 255))
  3539.     @bee_bitmaps[1].fill_rect(0, 2, 3, 1, Color.new(83, 46, 41))
  3540.     @bee_bitmaps[1].set_pixel(3, 2, Color.new(151, 83, 25))
  3541.     @bee_bitmaps[1].set_pixel(1, 3, Color.new(83, 46, 41))
  3542.     @bee_bitmaps[1].set_pixel(2, 3, Color.new(211, 118, 36))
  3543.     @bee_bitmaps[1].set_pixel(3, 3, Color.new(193, 119, 50))
  3544.     @bee_bitmaps[1].set_pixel(4, 3, Color.new(255, 255, 255))
  3545.     @bee_bitmaps[1].set_pixel(1, 4, Color.new(124, 81, 63))
  3546.     @bee_bitmaps[1].fill_rect(2, 4, 2, 1, Color.new(83, 46, 41))
  3547.     @bee_bitmaps[1].set_pixel(4, 4, Color.new(124, 81, 63))
  3548.     @bee_bitmaps[1].set_pixel(4, 5, Color.new(100, 72, 20))
  3549.  
  3550.     # Bee left 3
  3551.     @bee_bitmaps[2] = Bitmap.new(5, 7)
  3552.     @bee_bitmaps[2].fill_rect(2, 0, 1, 2, Color.new(128, 100, 138))
  3553.     @bee_bitmaps[2].set_pixel(3, 0, Color.new(255, 255, 255))
  3554.     @bee_bitmaps[2].set_pixel(3, 1, Color.new(170, 170, 170))
  3555.     @bee_bitmaps[2].set_pixel(1, 2, Color.new(57, 57, 57))
  3556.     @bee_bitmaps[2].set_pixel(2, 2, Color.new(211, 118, 36))
  3557.     @bee_bitmaps[2].set_pixel(0, 3, Color.new(255, 216, 89))
  3558.     @bee_bitmaps[2].fill_rect(1, 3, 1, 2, Color.new(151, 83, 25))
  3559.     @bee_bitmaps[2].set_pixel(2, 3, Color.new(83, 46, 41))
  3560.     @bee_bitmaps[2].set_pixel(3, 3, Color.new(151, 83, 25))
  3561.     @bee_bitmaps[2].set_pixel(2, 4, Color.new(151, 83, 25))
  3562.     @bee_bitmaps[2].set_pixel(3, 4, Color.new(193, 119, 50))
  3563.     @bee_bitmaps[2].set_pixel(4, 4, Color.new(201, 201, 201))
  3564.     @bee_bitmaps[2].set_pixel(2, 5, Color.new(83, 46, 41))
  3565.     @bee_bitmaps[2].set_pixel(3, 5, Color.new(124, 81, 63))
  3566.     @bee_bitmaps[2].set_pixel(4, 5, Color.new(193, 119, 50))
  3567.     @bee_bitmaps[2].set_pixel(4, 6, Color.new(219, 204, 120))
  3568.  
  3569.     # Bee left 4
  3570.     @bee_bitmaps[3] = Bitmap.new(6, 6)
  3571.     @bee_bitmaps[3].set_pixel(1, 0, Color.new(128, 100, 138))
  3572.     @bee_bitmaps[3].fill_rect(0, 1, 2, 1, Color.new(57, 57, 57))
  3573.     @bee_bitmaps[3].set_pixel(3, 1, Color.new(201, 201, 201))
  3574.     @bee_bitmaps[3].set_pixel(5, 1, Color.new(255, 255, 255))
  3575.     @bee_bitmaps[3].fill_rect(0, 2, 3, 1, Color.new(83, 46, 41))
  3576.     @bee_bitmaps[3].set_pixel(3, 2, Color.new(151, 83, 25))
  3577.     @bee_bitmaps[3].set_pixel(1, 3, Color.new(83, 46, 41))
  3578.     @bee_bitmaps[3].set_pixel(2, 3, Color.new(211, 118, 36))
  3579.     @bee_bitmaps[3].set_pixel(3, 3, Color.new(193, 119, 50))
  3580.     @bee_bitmaps[3].set_pixel(4, 3, Color.new(255, 255, 255))
  3581.     @bee_bitmaps[3].set_pixel(1, 4, Color.new(124, 81, 63))
  3582.     @bee_bitmaps[3].fill_rect(2, 4, 2, 1, Color.new(83, 46, 41))
  3583.     @bee_bitmaps[3].set_pixel(4, 4, Color.new(124, 81, 63))
  3584.     @bee_bitmaps[3].set_pixel(4, 5, Color.new(100, 72, 20))
  3585.  
  3586.     # Bee up 1
  3587.     @bee_bitmaps[4] = Bitmap.new(7, 6)
  3588.     @bee_bitmaps[4].set_pixel(2, 0, Color.new(57, 57, 57))
  3589.     @bee_bitmaps[4].set_pixel(4, 0, Color.new(57, 57, 57))
  3590.     @bee_bitmaps[4].fill_rect(0, 1, 2, 1, Color.new(201, 201, 201))
  3591.     @bee_bitmaps[4].set_pixel(2, 1, Color.new(71, 71, 71))
  3592.     @bee_bitmaps[4].fill_rect(3, 1, 1, 2, Color.new(252, 133, 37))
  3593.     @bee_bitmaps[4].set_pixel(4, 1, Color.new(71, 71, 71))
  3594.     @bee_bitmaps[4].fill_rect(5, 1, 2, 1, Color.new(201, 201, 201))
  3595.     @bee_bitmaps[4].set_pixel(2, 2, Color.new(170, 170, 170))
  3596.     @bee_bitmaps[4].set_pixel(4, 2, Color.new(170, 170, 170))
  3597.     @bee_bitmaps[4].set_pixel(0, 3, Color.new(136, 136, 136))
  3598.     @bee_bitmaps[4].set_pixel(1, 3, Color.new(240, 240, 240))
  3599.     @bee_bitmaps[4].set_pixel(2, 3, Color.new(83, 46, 41))
  3600.     @bee_bitmaps[4].set_pixel(3, 3, Color.new(244, 192, 79))
  3601.     @bee_bitmaps[4].set_pixel(4, 3, Color.new(83, 46, 41))
  3602.     @bee_bitmaps[4].set_pixel(5, 3, Color.new(240, 240, 240))
  3603.     @bee_bitmaps[4].set_pixel(6, 3, Color.new(136, 136, 136))
  3604.     @bee_bitmaps[4].set_pixel(2, 4, Color.new(124, 81, 63))
  3605.     @bee_bitmaps[4].set_pixel(3, 4, Color.new(193, 119, 50))
  3606.     @bee_bitmaps[4].set_pixel(4, 4, Color.new(124, 81, 63))
  3607.     @bee_bitmaps[4].set_pixel(3, 5, Color.new(83, 46, 41))
  3608.  
  3609.     # Bee up 2
  3610.     @bee_bitmaps[5] = Bitmap.new(7, 6)
  3611.     @bee_bitmaps[5].set_pixel(0, 0, Color.new(206, 215, 221))
  3612.     @bee_bitmaps[5].set_pixel(1, 0, Color.new(170, 170, 170))
  3613.     @bee_bitmaps[5].set_pixel(3, 0, Color.new(188, 107, 30))
  3614.     @bee_bitmaps[5].set_pixel(5, 0, Color.new(170, 170, 170))
  3615.     @bee_bitmaps[5].set_pixel(6, 0, Color.new(206, 215, 221))
  3616.     @bee_bitmaps[5].set_pixel(0, 1, Color.new(102, 163, 192))
  3617.     @bee_bitmaps[5].set_pixel(2, 1, Color.new(170, 170, 170))
  3618.     @bee_bitmaps[5].set_pixel(3, 1, Color.new(252, 133, 37))
  3619.     @bee_bitmaps[5].set_pixel(4, 1, Color.new(170, 170, 170))
  3620.     @bee_bitmaps[5].set_pixel(6, 1, Color.new(102, 163, 192))
  3621.     @bee_bitmaps[5].set_pixel(0, 2, Color.new(206, 215, 221))
  3622.     @bee_bitmaps[5].fill_rect(2, 2, 3, 1, Color.new(211, 118, 36))
  3623.     @bee_bitmaps[5].set_pixel(6, 2, Color.new(206, 215, 221))
  3624.     @bee_bitmaps[5].fill_rect(2, 3, 1, 2, Color.new(124, 81, 63))
  3625.     @bee_bitmaps[5].set_pixel(3, 3, Color.new(255, 216, 89))
  3626.     @bee_bitmaps[5].fill_rect(4, 3, 1, 2, Color.new(124, 81, 63))
  3627.     @bee_bitmaps[5].set_pixel(3, 4, Color.new(83, 46, 41))
  3628.     @bee_bitmaps[5].set_pixel(3, 5, Color.new(100, 72, 20))
  3629.  
  3630.     # Bee up 3
  3631.     @bee_bitmaps[6] = Bitmap.new(3, 7)
  3632.     @bee_bitmaps[6].set_pixel(0, 0, Color.new(240, 240, 240))
  3633.     @bee_bitmaps[6].set_pixel(2, 0, Color.new(240, 240, 240))
  3634.     @bee_bitmaps[6].set_pixel(0, 1, Color.new(201, 201, 201))
  3635.     @bee_bitmaps[6].set_pixel(1, 1, Color.new(255, 216, 89))
  3636.     @bee_bitmaps[6].set_pixel(2, 1, Color.new(201, 201, 201))
  3637.     @bee_bitmaps[6].fill_rect(0, 2, 3, 1, Color.new(252, 133, 37))
  3638.     @bee_bitmaps[6].set_pixel(0, 3, Color.new(100, 100, 100))
  3639.     @bee_bitmaps[6].set_pixel(1, 3, Color.new(151, 83, 25))
  3640.     @bee_bitmaps[6].set_pixel(2, 3, Color.new(100, 100, 100))
  3641.     @bee_bitmaps[6].set_pixel(0, 4, Color.new(240, 240, 240))
  3642.     @bee_bitmaps[6].set_pixel(1, 4, Color.new(83, 46, 41))
  3643.     @bee_bitmaps[6].set_pixel(2, 4, Color.new(240, 240, 240))
  3644.     @bee_bitmaps[6].set_pixel(0, 5, Color.new(83, 46, 41))
  3645.     @bee_bitmaps[6].set_pixel(1, 5, Color.new(226, 163, 69))
  3646.     @bee_bitmaps[6].set_pixel(2, 5, Color.new(83, 46, 41))
  3647.     @bee_bitmaps[6].set_pixel(1, 6, Color.new(219, 204, 120))
  3648.  
  3649.     # Bee up 4
  3650.     @bee_bitmaps[7] = Bitmap.new(7, 6)
  3651.     @bee_bitmaps[7].set_pixel(0, 0, Color.new(206, 215, 221))
  3652.     @bee_bitmaps[7].set_pixel(1, 0, Color.new(170, 170, 170))
  3653.     @bee_bitmaps[7].set_pixel(3, 0, Color.new(188, 107, 30))
  3654.     @bee_bitmaps[7].set_pixel(5, 0, Color.new(170, 170, 170))
  3655.     @bee_bitmaps[7].set_pixel(6, 0, Color.new(206, 215, 221))
  3656.     @bee_bitmaps[7].set_pixel(0, 1, Color.new(102, 163, 192))
  3657.     @bee_bitmaps[7].set_pixel(2, 1, Color.new(170, 170, 170))
  3658.     @bee_bitmaps[7].set_pixel(3, 1, Color.new(252, 133, 37))
  3659.     @bee_bitmaps[7].set_pixel(4, 1, Color.new(170, 170, 170))
  3660.     @bee_bitmaps[7].set_pixel(6, 1, Color.new(102, 163, 192))
  3661.     @bee_bitmaps[7].set_pixel(0, 2, Color.new(206, 215, 221))
  3662.     @bee_bitmaps[7].fill_rect(2, 2, 3, 1, Color.new(211, 118, 36))
  3663.     @bee_bitmaps[7].set_pixel(6, 2, Color.new(206, 215, 221))
  3664.     @bee_bitmaps[7].fill_rect(2, 3, 1, 2, Color.new(124, 81, 63))
  3665.     @bee_bitmaps[7].set_pixel(3, 3, Color.new(255, 216, 89))
  3666.     @bee_bitmaps[7].fill_rect(4, 3, 1, 2, Color.new(124, 81, 63))
  3667.     @bee_bitmaps[7].set_pixel(3, 4, Color.new(83, 46, 41))
  3668.     @bee_bitmaps[7].set_pixel(3, 5, Color.new(100, 72, 20))
  3669.  
  3670.     # Bee right 1
  3671.     @bee_bitmaps[8] = Bitmap.new(6, 6)
  3672.     @bee_bitmaps[8].set_pixel(0, 0, Color.new(201, 201, 201))
  3673.     @bee_bitmaps[8].set_pixel(1, 0, Color.new(170, 170, 170))
  3674.     @bee_bitmaps[8].fill_rect(3, 0, 1, 2, Color.new(128, 100, 138))
  3675.     @bee_bitmaps[8].set_pixel(1, 1, Color.new(255, 255, 255))
  3676.     @bee_bitmaps[8].fill_rect(4, 1, 2, 1, Color.new(57, 57, 57))
  3677.     @bee_bitmaps[8].set_pixel(0, 2, Color.new(136, 136, 136))
  3678.     @bee_bitmaps[8].set_pixel(2, 2, Color.new(100, 100, 100))
  3679.     @bee_bitmaps[8].set_pixel(3, 2, Color.new(193, 119, 50))
  3680.     @bee_bitmaps[8].set_pixel(4, 2, Color.new(226, 163, 69))
  3681.     @bee_bitmaps[8].set_pixel(0, 3, Color.new(71, 71, 71))
  3682.     @bee_bitmaps[8].fill_rect(1, 3, 1, 2, Color.new(226, 163, 69))
  3683.     @bee_bitmaps[8].set_pixel(2, 3, Color.new(151, 83, 25))
  3684.     @bee_bitmaps[8].fill_rect(3, 3, 1, 2, Color.new(83, 46, 41))
  3685.     @bee_bitmaps[8].set_pixel(4, 3, Color.new(151, 83, 25))
  3686.     @bee_bitmaps[8].fill_rect(2, 4, 1, 2, Color.new(83, 46, 41))
  3687.     @bee_bitmaps[8].set_pixel(4, 4, Color.new(30, 30, 30))
  3688.     @bee_bitmaps[8].set_pixel(1, 5, Color.new(83, 46, 41))
  3689.     @bee_bitmaps[8].set_pixel(3, 5, Color.new(30, 30, 30))
  3690.  
  3691.     # Bee right 2
  3692.     @bee_bitmaps[9] = Bitmap.new(6, 6)
  3693.     @bee_bitmaps[9].set_pixel(0, 0, Color.new(102, 163, 192))
  3694.     @bee_bitmaps[9].set_pixel(1, 0, Color.new(255, 255, 255))
  3695.     @bee_bitmaps[9].fill_rect(3, 0, 2, 1, Color.new(128, 100, 138))
  3696.     @bee_bitmaps[9].set_pixel(0, 1, Color.new(255, 255, 255))
  3697.     @bee_bitmaps[9].set_pixel(2, 1, Color.new(201, 201, 201))
  3698.     @bee_bitmaps[9].set_pixel(3, 1, Color.new(128, 100, 138))
  3699.     @bee_bitmaps[9].fill_rect(4, 1, 2, 1, Color.new(57, 57, 57))
  3700.     @bee_bitmaps[9].set_pixel(2, 2, Color.new(151, 83, 25))
  3701.     @bee_bitmaps[9].fill_rect(3, 2, 2, 1, Color.new(193, 119, 50))
  3702.     @bee_bitmaps[9].set_pixel(1, 3, Color.new(170, 170, 170))
  3703.     @bee_bitmaps[9].set_pixel(2, 3, Color.new(252, 133, 37))
  3704.     @bee_bitmaps[9].set_pixel(3, 3, Color.new(151, 83, 25))
  3705.     @bee_bitmaps[9].set_pixel(4, 3, Color.new(83, 46, 41))
  3706.     @bee_bitmaps[9].set_pixel(1, 4, Color.new(193, 119, 50))
  3707.     @bee_bitmaps[9].fill_rect(2, 4, 1, 2, Color.new(83, 46, 41))
  3708.     @bee_bitmaps[9].set_pixel(3, 4, Color.new(30, 30, 30))
  3709.     @bee_bitmaps[9].set_pixel(1, 5, Color.new(30, 30, 30))
  3710.  
  3711.     # Bee right 3
  3712.     @bee_bitmaps[10] = Bitmap.new(5, 7)
  3713.     @bee_bitmaps[10].set_pixel(1, 0, Color.new(255, 255, 255))
  3714.     @bee_bitmaps[10].fill_rect(2, 0, 1, 2, Color.new(128, 100, 138))
  3715.     @bee_bitmaps[10].set_pixel(1, 1, Color.new(201, 201, 201))
  3716.     @bee_bitmaps[10].set_pixel(1, 2, Color.new(100, 100, 100))
  3717.     @bee_bitmaps[10].fill_rect(2, 2, 1, 2, Color.new(151, 83, 25))
  3718.     @bee_bitmaps[10].set_pixel(3, 2, Color.new(255, 216, 89))
  3719.     @bee_bitmaps[10].set_pixel(1, 3, Color.new(252, 133, 37))
  3720.     @bee_bitmaps[10].fill_rect(3, 3, 1, 2, Color.new(151, 83, 25))
  3721.     @bee_bitmaps[10].set_pixel(4, 3, Color.new(83, 46, 41))
  3722.     @bee_bitmaps[10].set_pixel(0, 4, Color.new(255, 255, 255))
  3723.     @bee_bitmaps[10].fill_rect(1, 4, 1, 2, Color.new(83, 46, 41))
  3724.     @bee_bitmaps[10].set_pixel(2, 4, Color.new(211, 118, 36))
  3725.     @bee_bitmaps[10].set_pixel(0, 5, Color.new(124, 81, 63))
  3726.     @bee_bitmaps[10].set_pixel(0, 6, Color.new(100, 72, 20))
  3727.  
  3728.     # Bee right 4
  3729.     @bee_bitmaps[11] = Bitmap.new(6, 6)
  3730.     @bee_bitmaps[11].set_pixel(0, 0, Color.new(102, 163, 192))
  3731.     @bee_bitmaps[11].set_pixel(1, 0, Color.new(255, 255, 255))
  3732.     @bee_bitmaps[11].fill_rect(3, 0, 2, 1, Color.new(128, 100, 138))
  3733.     @bee_bitmaps[11].set_pixel(0, 1, Color.new(255, 255, 255))
  3734.     @bee_bitmaps[11].set_pixel(2, 1, Color.new(201, 201, 201))
  3735.     @bee_bitmaps[11].set_pixel(3, 1, Color.new(128, 100, 138))
  3736.     @bee_bitmaps[11].fill_rect(4, 1, 2, 1, Color.new(57, 57, 57))
  3737.     @bee_bitmaps[11].set_pixel(2, 2, Color.new(151, 83, 25))
  3738.     @bee_bitmaps[11].fill_rect(3, 2, 2, 1, Color.new(193, 119, 50))
  3739.     @bee_bitmaps[11].set_pixel(1, 3, Color.new(170, 170, 170))
  3740.     @bee_bitmaps[11].set_pixel(2, 3, Color.new(252, 133, 37))
  3741.     @bee_bitmaps[11].set_pixel(3, 3, Color.new(151, 83, 25))
  3742.     @bee_bitmaps[11].set_pixel(4, 3, Color.new(83, 46, 41))
  3743.     @bee_bitmaps[11].set_pixel(1, 4, Color.new(193, 119, 50))
  3744.     @bee_bitmaps[11].fill_rect(2, 4, 1, 2, Color.new(83, 46, 41))
  3745.     @bee_bitmaps[11].set_pixel(3, 4, Color.new(30, 30, 30))
  3746.     @bee_bitmaps[11].set_pixel(1, 5, Color.new(30, 30, 30))
  3747.  
  3748.     # Bee down 1
  3749.     @bee_bitmaps[12] = Bitmap.new(7, 6)
  3750.     @bee_bitmaps[12].set_pixel(2, 0, Color.new(57, 57, 57))
  3751.     @bee_bitmaps[12].set_pixel(4, 0, Color.new(57, 57, 57))
  3752.     @bee_bitmaps[12].set_pixel(0, 1, Color.new(255, 255, 255))
  3753.     @bee_bitmaps[12].set_pixel(1, 1, Color.new(170, 170, 170))
  3754.     @bee_bitmaps[12].set_pixel(2, 1, Color.new(83, 46, 41))
  3755.     @bee_bitmaps[12].set_pixel(3, 1, Color.new(226, 163, 69))
  3756.     @bee_bitmaps[12].set_pixel(4, 1, Color.new(83, 46, 41))
  3757.     @bee_bitmaps[12].set_pixel(5, 1, Color.new(170, 170, 170))
  3758.     @bee_bitmaps[12].set_pixel(6, 1, Color.new(255, 255, 255))
  3759.     @bee_bitmaps[12].set_pixel(1, 2, Color.new(100, 100, 100))
  3760.     @bee_bitmaps[12].set_pixel(2, 2, Color.new(252, 133, 37))
  3761.     @bee_bitmaps[12].set_pixel(3, 2, Color.new(83, 46, 41))
  3762.     @bee_bitmaps[12].set_pixel(4, 2, Color.new(252, 133, 37))
  3763.     @bee_bitmaps[12].set_pixel(5, 2, Color.new(100, 100, 100))
  3764.     @bee_bitmaps[12].set_pixel(0, 3, Color.new(255, 255, 255))
  3765.     @bee_bitmaps[12].set_pixel(1, 3, Color.new(71, 71, 71))
  3766.     @bee_bitmaps[12].set_pixel(2, 3, Color.new(255, 216, 89))
  3767.     @bee_bitmaps[12].set_pixel(3, 3, Color.new(30, 30, 30))
  3768.     @bee_bitmaps[12].set_pixel(4, 3, Color.new(255, 216, 89))
  3769.     @bee_bitmaps[12].set_pixel(5, 3, Color.new(71, 71, 71))
  3770.     @bee_bitmaps[12].set_pixel(6, 3, Color.new(255, 255, 255))
  3771.     @bee_bitmaps[12].set_pixel(2, 4, Color.new(30, 30, 30))
  3772.     @bee_bitmaps[12].set_pixel(3, 4, Color.new(124, 81, 63))
  3773.     @bee_bitmaps[12].set_pixel(4, 4, Color.new(30, 30, 30))
  3774.     @bee_bitmaps[12].set_pixel(3, 5, Color.new(100, 72, 20))
  3775.  
  3776.     # Bee down 2
  3777.     @bee_bitmaps[13] = Bitmap.new(7, 6)
  3778.     @bee_bitmaps[13].set_pixel(0, 0, Color.new(206, 215, 221))
  3779.     @bee_bitmaps[13].set_pixel(1, 0, Color.new(170, 170, 170))
  3780.     @bee_bitmaps[13].fill_rect(3, 0, 1, 2, Color.new(209, 136, 57))
  3781.     @bee_bitmaps[13].set_pixel(5, 0, Color.new(170, 170, 170))
  3782.     @bee_bitmaps[13].set_pixel(6, 0, Color.new(206, 215, 221))
  3783.     @bee_bitmaps[13].set_pixel(0, 1, Color.new(102, 163, 192))
  3784.     @bee_bitmaps[13].set_pixel(2, 1, Color.new(112, 61, 20))
  3785.     @bee_bitmaps[13].set_pixel(4, 1, Color.new(112, 61, 20))
  3786.     @bee_bitmaps[13].set_pixel(6, 1, Color.new(102, 163, 192))
  3787.     @bee_bitmaps[13].set_pixel(0, 2, Color.new(206, 215, 221))
  3788.     @bee_bitmaps[13].set_pixel(2, 2, Color.new(211, 118, 36))
  3789.     @bee_bitmaps[13].set_pixel(3, 2, Color.new(188, 107, 30))
  3790.     @bee_bitmaps[13].set_pixel(4, 2, Color.new(211, 118, 36))
  3791.     @bee_bitmaps[13].set_pixel(6, 2, Color.new(206, 215, 221))
  3792.     @bee_bitmaps[13].fill_rect(2, 3, 1, 2, Color.new(30, 30, 30))
  3793.     @bee_bitmaps[13].set_pixel(3, 3, Color.new(83, 46, 41))
  3794.     @bee_bitmaps[13].fill_rect(4, 3, 1, 2, Color.new(30, 30, 30))
  3795.     @bee_bitmaps[13].set_pixel(3, 4, Color.new(193, 119, 50))
  3796.     @bee_bitmaps[13].set_pixel(3, 5, Color.new(219, 204, 120))
  3797.  
  3798.     # Bee down 3
  3799.     @bee_bitmaps[14] = Bitmap.new(5, 7)
  3800.     @bee_bitmaps[14].set_pixel(0, 0, Color.new(255, 255, 255))
  3801.     @bee_bitmaps[14].set_pixel(4, 0, Color.new(255, 255, 255))
  3802.     @bee_bitmaps[14].set_pixel(0, 1, Color.new(170, 170, 170))
  3803.     @bee_bitmaps[14].set_pixel(2, 1, Color.new(255, 216, 89))
  3804.     @bee_bitmaps[14].set_pixel(4, 1, Color.new(170, 170, 170))
  3805.     @bee_bitmaps[14].fill_rect(1, 2, 1, 2, Color.new(151, 83, 25))
  3806.     @bee_bitmaps[14].set_pixel(2, 2, Color.new(83, 46, 41))
  3807.     @bee_bitmaps[14].fill_rect(3, 2, 1, 2, Color.new(151, 83, 25))
  3808.     @bee_bitmaps[14].set_pixel(2, 3, Color.new(252, 133, 37))
  3809.     @bee_bitmaps[14].set_pixel(0, 4, Color.new(206, 215, 221))
  3810.     @bee_bitmaps[14].fill_rect(1, 4, 3, 1, Color.new(124, 81, 63))
  3811.     @bee_bitmaps[14].set_pixel(4, 4, Color.new(206, 215, 221))
  3812.     @bee_bitmaps[14].set_pixel(0, 5, Color.new(170, 170, 170))
  3813.     @bee_bitmaps[14].set_pixel(2, 5, Color.new(193, 119, 50))
  3814.     @bee_bitmaps[14].set_pixel(4, 5, Color.new(170, 170, 170))
  3815.     @bee_bitmaps[14].set_pixel(2, 6, Color.new(100, 72, 20))
  3816.  
  3817.     # Bee down 4
  3818.     @bee_bitmaps[15] = Bitmap.new(7, 6)
  3819.     @bee_bitmaps[15].set_pixel(0, 0, Color.new(206, 215, 221))
  3820.     @bee_bitmaps[15].set_pixel(1, 0, Color.new(170, 170, 170))
  3821.     @bee_bitmaps[15].fill_rect(3, 0, 1, 2, Color.new(209, 136, 57))
  3822.     @bee_bitmaps[15].set_pixel(5, 0, Color.new(170, 170, 170))
  3823.     @bee_bitmaps[15].set_pixel(6, 0, Color.new(206, 215, 221))
  3824.     @bee_bitmaps[15].set_pixel(0, 1, Color.new(102, 163, 192))
  3825.     @bee_bitmaps[15].set_pixel(2, 1, Color.new(112, 61, 20))
  3826.     @bee_bitmaps[15].set_pixel(4, 1, Color.new(112, 61, 20))
  3827.     @bee_bitmaps[15].set_pixel(6, 1, Color.new(102, 163, 192))
  3828.     @bee_bitmaps[15].set_pixel(0, 2, Color.new(206, 215, 221))
  3829.     @bee_bitmaps[15].set_pixel(2, 2, Color.new(211, 118, 36))
  3830.     @bee_bitmaps[15].set_pixel(3, 2, Color.new(188, 107, 30))
  3831.     @bee_bitmaps[15].set_pixel(4, 2, Color.new(211, 118, 36))
  3832.     @bee_bitmaps[15].set_pixel(6, 2, Color.new(206, 215, 221))
  3833.     @bee_bitmaps[15].fill_rect(2, 3, 1, 2, Color.new(30, 30, 30))
  3834.     @bee_bitmaps[15].set_pixel(3, 3, Color.new(83, 46, 41))
  3835.     @bee_bitmaps[15].fill_rect(4, 3, 1, 2, Color.new(30, 30, 30))
  3836.     @bee_bitmaps[15].set_pixel(3, 4, Color.new(193, 119, 50))
  3837.     @bee_bitmaps[15].set_pixel(3, 5, Color.new(219, 204, 120))
  3838. #-------------------------------------------------------------------------------
  3839.     # Fish bitmap
  3840.  
  3841.     fish_color1 = Color.new(114, 114, 114)
  3842.     fish_color2 = Color.new(86, 86, 86)
  3843.     fish_color3 = Color.new(177, 170, 170)
  3844.     fish_color4 = Color.new(113, 154, 170)
  3845.     fish_color5 = Color.new(143, 166, 191)
  3846.     fish_color6 = Color.new(149, 175, 202)
  3847.     fish_color7 = Color.new(133, 138, 132)
  3848.     fish_color8 = Color.new(207, 208, 206)
  3849.     fish_color9 = Color.new(160, 166, 160)
  3850.     fish_color10 = Color.new(229, 229, 231)
  3851.     fish_color11 = Color.new(176, 173, 184)
  3852.  
  3853.     # Small fish bitmap
  3854.     @fish_bitmap = Bitmap.new(19, 6)
  3855.     @fish_bitmap.fill_rect(3, 0, 9, 1, fish_color1)
  3856.     @fish_bitmap.set_pixel(1, 1, fish_color2)
  3857.     @fish_bitmap.set_pixel(2, 1, fish_color1)
  3858.     @fish_bitmap.set_pixel(3, 1, fish_color3)
  3859.     @fish_bitmap.fill_rect(4, 1, 2, 1, fish_color4)
  3860.     @fish_bitmap.set_pixel(6, 1, fish_color5)
  3861.     @fish_bitmap.fill_rect(7, 1, 2, 1, fish_color6)
  3862.     @fish_bitmap.fill_rect(9, 1, 2, 1, fish_color5)
  3863.     @fish_bitmap.set_pixel(11, 1, fish_color7)
  3864.     @fish_bitmap.fill_rect(12, 1, 2, 1, fish_color1)
  3865.     @fish_bitmap.fill_rect(14, 1, 2, 1, fish_color2)
  3866.     @fish_bitmap.set_pixel(16, 1, fish_color7)
  3867.     @fish_bitmap.set_pixel(17, 1, fish_color3)
  3868.     @fish_bitmap.set_pixel(18, 1, fish_color1)
  3869.     @fish_bitmap.fill_rect(0, 2, 1, 2, fish_color2)
  3870.     @fish_bitmap.set_pixel(1, 2, fish_color7)
  3871.     @fish_bitmap.set_pixel(2, 2, fish_color3)
  3872.     @fish_bitmap.fill_rect(3, 2, 1, 2, fish_color8)
  3873.     @fish_bitmap.fill_rect(4, 2, 1, 2, fish_color1)
  3874.     @fish_bitmap.set_pixel(5, 2, fish_color9)
  3875.     @fish_bitmap.fill_rect(6, 2, 2, 1, fish_color3)
  3876.     @fish_bitmap.fill_rect(8, 2, 4, 1, fish_color8)
  3877.     @fish_bitmap.fill_rect(12, 2, 3, 1, fish_color3)
  3878.     @fish_bitmap.set_pixel(15, 2, fish_color7)
  3879.     @fish_bitmap.set_pixel(16, 2, fish_color1)
  3880.     @fish_bitmap.set_pixel(17, 2, fish_color2)
  3881.     @fish_bitmap.set_pixel(1, 3, fish_color3)
  3882.     @fish_bitmap.set_pixel(2, 3, fish_color8)
  3883.     @fish_bitmap.set_pixel(5, 3, fish_color7)
  3884.     @fish_bitmap.fill_rect(6, 3, 4, 1, fish_color8)
  3885.     @fish_bitmap.fill_rect(10, 3, 3, 1, fish_color10)
  3886.     @fish_bitmap.fill_rect(13, 3, 2, 1, fish_color8)
  3887.     @fish_bitmap.set_pixel(15, 3, fish_color3)
  3888.     @fish_bitmap.set_pixel(16, 3, fish_color7)
  3889.     @fish_bitmap.set_pixel(17, 3, fish_color1)
  3890.     @fish_bitmap.fill_rect(1, 4, 3, 1, fish_color2)
  3891.     @fish_bitmap.set_pixel(4, 4, fish_color3)
  3892.     @fish_bitmap.set_pixel(5, 4, fish_color1)
  3893.     @fish_bitmap.fill_rect(6, 4, 3, 1, fish_color3)
  3894.     @fish_bitmap.set_pixel(9, 4, fish_color9)
  3895.     @fish_bitmap.fill_rect(10, 4, 2, 1, fish_color7)
  3896.     @fish_bitmap.fill_rect(12, 4, 2, 1, fish_color1)
  3897.     @fish_bitmap.fill_rect(14, 4, 2, 1, fish_color2)
  3898.     @fish_bitmap.set_pixel(16, 4, fish_color1)
  3899.     @fish_bitmap.set_pixel(17, 4, fish_color3)
  3900.     @fish_bitmap.set_pixel(18, 4, fish_color7)
  3901.     @fish_bitmap.set_pixel(3, 5, fish_color11)
  3902.     @fish_bitmap.fill_rect(4, 5, 2, 1, fish_color2)
  3903.     @fish_bitmap.fill_rect(6, 5, 6, 1, fish_color1)
  3904. #-------------------------------------------------------------------------------
  3905.     # Raven bitmaps
  3906.  
  3907.     @raven_bitmaps = []
  3908.     raven_color1 = Color.new(57, 57, 57)
  3909.     raven_color2 = Color.new(71, 71, 71)
  3910.     raven_color3 = Color.new(30, 30, 30)
  3911.     raven_color4 = Color.new(84, 83, 80)
  3912.     raven_color5 = Color.new(100, 100, 100)
  3913.     raven_color6 = Color.new(136, 136, 136)
  3914.     raven_color7 = Color.new(76, 80, 80)
  3915.  
  3916.     # Raven left 1
  3917.     @raven_bitmaps[0] = Bitmap.new(14, 11)
  3918.     @raven_bitmaps[0].fill_rect(7, 0, 3, 1, raven_color1)
  3919.     @raven_bitmaps[0].fill_rect(5, 1, 1, 3, raven_color1)
  3920.     @raven_bitmaps[0].fill_rect(6, 1, 2, 2, raven_color2)
  3921.     @raven_bitmaps[0].set_pixel(8, 1, raven_color1)
  3922.     @raven_bitmaps[0].fill_rect(9, 1, 1, 2, raven_color2)
  3923.     @raven_bitmaps[0].fill_rect(10, 1, 1, 2, raven_color3)
  3924.     @raven_bitmaps[0].fill_rect(8, 2, 1, 2, raven_color2)
  3925.     @raven_bitmaps[0].fill_rect(1, 3, 1, 2, raven_color1)
  3926.     @raven_bitmaps[0].fill_rect(2, 3, 2, 2, raven_color4)
  3927.     @raven_bitmaps[0].set_pixel(4, 3, raven_color2)
  3928.     @raven_bitmaps[0].set_pixel(6, 3, raven_color1)
  3929.     @raven_bitmaps[0].set_pixel(7, 3, raven_color2)
  3930.     @raven_bitmaps[0].set_pixel(9, 3, raven_color1)
  3931.     @raven_bitmaps[0].set_pixel(0, 4, raven_color5)
  3932.     @raven_bitmaps[0].fill_rect(4, 4, 2, 1, raven_color4)
  3933.     @raven_bitmaps[0].set_pixel(6, 4, raven_color2)
  3934.     @raven_bitmaps[0].fill_rect(7, 4, 3, 2, raven_color4)
  3935.     @raven_bitmaps[0].fill_rect(10, 4, 1, 2, raven_color1)
  3936.     @raven_bitmaps[0].fill_rect(11, 4, 2, 1, raven_color3)
  3937.     @raven_bitmaps[0].set_pixel(0, 5, raven_color1)
  3938.     @raven_bitmaps[0].fill_rect(1, 5, 2, 1, raven_color3)
  3939.     @raven_bitmaps[0].set_pixel(3, 5, raven_color1)
  3940.     @raven_bitmaps[0].fill_rect(4, 5, 2, 1, raven_color2)
  3941.     @raven_bitmaps[0].set_pixel(6, 5, raven_color1)
  3942.     @raven_bitmaps[0].fill_rect(11, 5, 1, 2, raven_color4)
  3943.     @raven_bitmaps[0].fill_rect(12, 5, 1, 2, raven_color1)
  3944.     @raven_bitmaps[0].set_pixel(13, 5, raven_color3)
  3945.     @raven_bitmaps[0].set_pixel(4, 6, raven_color1)
  3946.     @raven_bitmaps[0].set_pixel(5, 6, raven_color2)
  3947.     @raven_bitmaps[0].fill_rect(6, 6, 3, 1, raven_color4)
  3948.     @raven_bitmaps[0].set_pixel(9, 6, raven_color1)
  3949.     @raven_bitmaps[0].fill_rect(10, 6, 1, 2, raven_color3)
  3950.     @raven_bitmaps[0].set_pixel(13, 6, raven_color1)
  3951.     @raven_bitmaps[0].set_pixel(4, 7, raven_color3)
  3952.     @raven_bitmaps[0].fill_rect(5, 7, 3, 1, raven_color4)
  3953.     @raven_bitmaps[0].set_pixel(8, 7, raven_color3)
  3954.     @raven_bitmaps[0].set_pixel(9, 7, raven_color2)
  3955.     @raven_bitmaps[0].set_pixel(11, 7, raven_color3)
  3956.     @raven_bitmaps[0].set_pixel(12, 7, raven_color2)
  3957.     @raven_bitmaps[0].set_pixel(13, 7, raven_color3)
  3958.     @raven_bitmaps[0].set_pixel(5, 8, raven_color3)
  3959.     @raven_bitmaps[0].set_pixel(6, 8, raven_color4)
  3960.     @raven_bitmaps[0].set_pixel(7, 8, raven_color3)
  3961.     @raven_bitmaps[0].set_pixel(8, 8, raven_color2)
  3962.     @raven_bitmaps[0].set_pixel(9, 8, raven_color3)
  3963.     @raven_bitmaps[0].set_pixel(11, 8, raven_color1)
  3964.     @raven_bitmaps[0].set_pixel(6, 9, raven_color3)
  3965.     @raven_bitmaps[0].set_pixel(7, 9, raven_color1)
  3966.     @raven_bitmaps[0].fill_rect(8, 9, 1, 2, raven_color3)
  3967.     @raven_bitmaps[0].set_pixel(7, 10, raven_color3)
  3968.  
  3969.     # Raven left 2
  3970.     @raven_bitmaps[1] = Bitmap.new(15, 12)
  3971.     @raven_bitmaps[1].fill_rect(5, 0, 2, 1, raven_color2)
  3972.     @raven_bitmaps[1].set_pixel(7, 0, raven_color1)
  3973.     @raven_bitmaps[1].fill_rect(2, 1, 3, 1, raven_color1)
  3974.     @raven_bitmaps[1].set_pixel(5, 1, raven_color3)
  3975.     @raven_bitmaps[1].fill_rect(6, 1, 3, 1, raven_color2)
  3976.     @raven_bitmaps[1].fill_rect(1, 2, 5, 1, raven_color4)
  3977.     @raven_bitmaps[1].fill_rect(6, 2, 2, 1, raven_color2)
  3978.     @raven_bitmaps[1].fill_rect(8, 2, 2, 1, raven_color1)
  3979.     @raven_bitmaps[1].set_pixel(0, 3, raven_color6)
  3980.     @raven_bitmaps[1].set_pixel(1, 3, raven_color1)
  3981.     @raven_bitmaps[1].set_pixel(2, 3, raven_color4)
  3982.     @raven_bitmaps[1].set_pixel(3, 3, raven_color1)
  3983.     @raven_bitmaps[1].fill_rect(4, 3, 2, 1, raven_color4)
  3984.     @raven_bitmaps[1].set_pixel(6, 3, raven_color1)
  3985.     @raven_bitmaps[1].fill_rect(7, 3, 3, 1, raven_color4)
  3986.     @raven_bitmaps[1].fill_rect(10, 3, 2, 1, raven_color1)
  3987.     @raven_bitmaps[1].fill_rect(12, 3, 2, 1, raven_color3)
  3988.     @raven_bitmaps[1].set_pixel(3, 4, raven_color3)
  3989.     @raven_bitmaps[1].set_pixel(4, 4, raven_color1)
  3990.     @raven_bitmaps[1].set_pixel(5, 4, raven_color3)
  3991.     @raven_bitmaps[1].set_pixel(6, 4, raven_color2)
  3992.     @raven_bitmaps[1].fill_rect(7, 4, 2, 1, raven_color4)
  3993.     @raven_bitmaps[1].fill_rect(9, 4, 2, 1, raven_color2)
  3994.     @raven_bitmaps[1].set_pixel(11, 4, raven_color1)
  3995.     @raven_bitmaps[1].fill_rect(12, 4, 2, 1, raven_color4)
  3996.     @raven_bitmaps[1].set_pixel(14, 4, raven_color3)
  3997.     @raven_bitmaps[1].set_pixel(5, 5, raven_color1)
  3998.     @raven_bitmaps[1].fill_rect(6, 5, 2, 1, raven_color4)
  3999.     @raven_bitmaps[1].set_pixel(8, 5, raven_color3)
  4000.     @raven_bitmaps[1].set_pixel(9, 5, raven_color2)
  4001.     @raven_bitmaps[1].fill_rect(10, 5, 1, 2, raven_color1)
  4002.     @raven_bitmaps[1].set_pixel(11, 5, raven_color3)
  4003.     @raven_bitmaps[1].set_pixel(12, 5, raven_color4)
  4004.     @raven_bitmaps[1].set_pixel(13, 5, raven_color3)
  4005.     @raven_bitmaps[1].set_pixel(4, 6, raven_color2)
  4006.     @raven_bitmaps[1].fill_rect(5, 6, 2, 2, raven_color4)
  4007.     @raven_bitmaps[1].set_pixel(7, 6, raven_color1)
  4008.     @raven_bitmaps[1].set_pixel(8, 6, raven_color2)
  4009.     @raven_bitmaps[1].set_pixel(9, 6, raven_color1)
  4010.     @raven_bitmaps[1].set_pixel(12, 6, raven_color3)
  4011.     @raven_bitmaps[1].set_pixel(13, 6, raven_color1)
  4012.     @raven_bitmaps[1].set_pixel(4, 7, raven_color3)
  4013.     @raven_bitmaps[1].set_pixel(7, 7, raven_color3)
  4014.     @raven_bitmaps[1].set_pixel(8, 7, raven_color1)
  4015.     @raven_bitmaps[1].set_pixel(11, 7, raven_color1)
  4016.     @raven_bitmaps[1].set_pixel(5, 8, raven_color4)
  4017.     @raven_bitmaps[1].set_pixel(6, 8, raven_color1)
  4018.     @raven_bitmaps[1].set_pixel(7, 8, raven_color4)
  4019.     @raven_bitmaps[1].fill_rect(8, 8, 1, 2, raven_color3)
  4020.     @raven_bitmaps[1].set_pixel(5, 9, raven_color3)
  4021.     @raven_bitmaps[1].set_pixel(6, 9, raven_color4)
  4022.     @raven_bitmaps[1].set_pixel(7, 9, raven_color3)
  4023.     @raven_bitmaps[1].set_pixel(6, 10, raven_color2)
  4024.     @raven_bitmaps[1].set_pixel(7, 10, raven_color1)
  4025.     @raven_bitmaps[1].fill_rect(6, 11, 2, 1, raven_color3)
  4026.  
  4027.     # Raven left 3
  4028.     @raven_bitmaps[2] = Bitmap.new(14, 13)
  4029.     @raven_bitmaps[2].set_pixel(3, 0, raven_color2)
  4030.     @raven_bitmaps[2].set_pixel(4, 0, raven_color1)
  4031.     @raven_bitmaps[2].fill_rect(6, 0, 3, 1, raven_color1)
  4032.     @raven_bitmaps[2].set_pixel(1, 1, raven_color1)
  4033.     @raven_bitmaps[2].fill_rect(2, 1, 4, 1, raven_color4)
  4034.     @raven_bitmaps[2].set_pixel(6, 1, raven_color2)
  4035.     @raven_bitmaps[2].fill_rect(7, 1, 3, 1, raven_color1)
  4036.     @raven_bitmaps[2].set_pixel(10, 1, raven_color3)
  4037.     @raven_bitmaps[2].fill_rect(0, 2, 2, 1, raven_color5)
  4038.     @raven_bitmaps[2].set_pixel(2, 2, raven_color2)
  4039.     @raven_bitmaps[2].fill_rect(3, 2, 8, 1, raven_color4)
  4040.     @raven_bitmaps[2].set_pixel(11, 2, raven_color3)
  4041.     @raven_bitmaps[2].set_pixel(4, 3, raven_color1)
  4042.     @raven_bitmaps[2].fill_rect(5, 3, 1, 2, raven_color3)
  4043.     @raven_bitmaps[2].fill_rect(6, 3, 3, 1, raven_color4)
  4044.     @raven_bitmaps[2].fill_rect(9, 3, 3, 1, raven_color2)
  4045.     @raven_bitmaps[2].set_pixel(12, 3, raven_color3)
  4046.     @raven_bitmaps[2].fill_rect(6, 4, 2, 3, raven_color4)
  4047.     @raven_bitmaps[2].fill_rect(8, 4, 1, 4, raven_color1)
  4048.     @raven_bitmaps[2].fill_rect(9, 4, 1, 3, raven_color3)
  4049.     @raven_bitmaps[2].fill_rect(10, 4, 1, 2, raven_color1)
  4050.     @raven_bitmaps[2].set_pixel(11, 4, raven_color2)
  4051.     @raven_bitmaps[2].fill_rect(12, 4, 2, 1, raven_color1)
  4052.     @raven_bitmaps[2].fill_rect(5, 5, 1, 3, raven_color4)
  4053.     @raven_bitmaps[2].set_pixel(11, 5, raven_color3)
  4054.     @raven_bitmaps[2].set_pixel(12, 5, raven_color2)
  4055.     @raven_bitmaps[2].set_pixel(13, 5, raven_color3)
  4056.     @raven_bitmaps[2].set_pixel(4, 6, raven_color1)
  4057.     @raven_bitmaps[2].set_pixel(11, 6, raven_color1)
  4058.     @raven_bitmaps[2].set_pixel(12, 6, raven_color3)
  4059.     @raven_bitmaps[2].set_pixel(3, 7, raven_color3)
  4060.     @raven_bitmaps[2].set_pixel(4, 7, raven_color4)
  4061.     @raven_bitmaps[2].fill_rect(6, 7, 1, 2, raven_color4)
  4062.     @raven_bitmaps[2].fill_rect(7, 7, 1, 2, raven_color2)
  4063.     @raven_bitmaps[2].fill_rect(4, 8, 1, 3, raven_color2)
  4064.     @raven_bitmaps[2].fill_rect(5, 8, 1, 2, raven_color1)
  4065.     @raven_bitmaps[2].set_pixel(6, 9, raven_color2)
  4066.     @raven_bitmaps[2].set_pixel(7, 9, raven_color1)
  4067.     @raven_bitmaps[2].set_pixel(3, 10, raven_color3)
  4068.     @raven_bitmaps[2].set_pixel(5, 10, raven_color3)
  4069.     @raven_bitmaps[2].set_pixel(6, 10, raven_color1)
  4070.     @raven_bitmaps[2].fill_rect(3, 11, 2, 1, raven_color1)
  4071.     @raven_bitmaps[2].set_pixel(6, 11, raven_color3)
  4072.     @raven_bitmaps[2].set_pixel(3, 12, raven_color3)
  4073.  
  4074.     # Raven left 4
  4075.     @raven_bitmaps[3] = Bitmap.new(14, 13)
  4076.     @raven_bitmaps[3].fill_rect(10, 0, 1, 2, raven_color1)
  4077.     @raven_bitmaps[3].fill_rect(7, 1, 2, 1, raven_color1)
  4078.     @raven_bitmaps[3].fill_rect(9, 1, 1, 3, raven_color2)
  4079.     @raven_bitmaps[3].set_pixel(11, 1, raven_color1)
  4080.     @raven_bitmaps[3].fill_rect(5, 2, 1, 2, raven_color1)
  4081.     @raven_bitmaps[3].fill_rect(6, 2, 3, 2, raven_color2)
  4082.     @raven_bitmaps[3].fill_rect(10, 2, 1, 2, raven_color2)
  4083.     @raven_bitmaps[3].set_pixel(11, 2, raven_color3)
  4084.     @raven_bitmaps[3].set_pixel(4, 3, raven_color3)
  4085.     @raven_bitmaps[3].set_pixel(5, 4, raven_color3)
  4086.     @raven_bitmaps[3].fill_rect(6, 4, 4, 1, raven_color1)
  4087.     @raven_bitmaps[3].set_pixel(10, 4, raven_color3)
  4088.     @raven_bitmaps[3].set_pixel(2, 5, raven_color2)
  4089.     @raven_bitmaps[3].set_pixel(3, 5, raven_color1)
  4090.     @raven_bitmaps[3].set_pixel(4, 5, raven_color3)
  4091.     @raven_bitmaps[3].fill_rect(5, 5, 3, 1, raven_color2)
  4092.     @raven_bitmaps[3].set_pixel(8, 5, raven_color1)
  4093.     @raven_bitmaps[3].set_pixel(9, 5, raven_color3)
  4094.     @raven_bitmaps[3].fill_rect(1, 6, 4, 1, raven_color4)
  4095.     @raven_bitmaps[3].set_pixel(5, 6, raven_color3)
  4096.     @raven_bitmaps[3].fill_rect(6, 6, 4, 1, raven_color2)
  4097.     @raven_bitmaps[3].set_pixel(10, 6, raven_color3)
  4098.     @raven_bitmaps[3].set_pixel(0, 7, raven_color6)
  4099.     @raven_bitmaps[3].set_pixel(1, 7, raven_color1)
  4100.     @raven_bitmaps[3].set_pixel(2, 7, raven_color2)
  4101.     @raven_bitmaps[3].fill_rect(3, 7, 2, 1, raven_color4)
  4102.     @raven_bitmaps[3].set_pixel(5, 7, raven_color1)
  4103.     @raven_bitmaps[3].fill_rect(6, 7, 1, 3, raven_color3)
  4104.     @raven_bitmaps[3].fill_rect(7, 7, 2, 1, raven_color2)
  4105.     @raven_bitmaps[3].set_pixel(9, 7, raven_color3)
  4106.     @raven_bitmaps[3].set_pixel(10, 7, raven_color1)
  4107.     @raven_bitmaps[3].set_pixel(11, 7, raven_color2)
  4108.     @raven_bitmaps[3].set_pixel(12, 7, raven_color3)
  4109.     @raven_bitmaps[3].set_pixel(3, 8, raven_color3)
  4110.     @raven_bitmaps[3].set_pixel(4, 8, raven_color1)
  4111.     @raven_bitmaps[3].fill_rect(5, 8, 1, 2, raven_color3)
  4112.     @raven_bitmaps[3].set_pixel(7, 8, raven_color2)
  4113.     @raven_bitmaps[3].set_pixel(8, 8, raven_color3)
  4114.     @raven_bitmaps[3].set_pixel(9, 8, raven_color2)
  4115.     @raven_bitmaps[3].fill_rect(10, 8, 1, 3, raven_color3)
  4116.     @raven_bitmaps[3].fill_rect(11, 8, 1, 2, raven_color1)
  4117.     @raven_bitmaps[3].fill_rect(12, 8, 1, 2, raven_color2)
  4118.     @raven_bitmaps[3].set_pixel(13, 8, raven_color3)
  4119.     @raven_bitmaps[3].set_pixel(7, 9, raven_color1)
  4120.     @raven_bitmaps[3].fill_rect(8, 9, 1, 3, raven_color2)
  4121.     @raven_bitmaps[3].fill_rect(9, 9, 1, 2, raven_color1)
  4122.     @raven_bitmaps[3].fill_rect(7, 10, 1, 2, raven_color3)
  4123.     @raven_bitmaps[3].set_pixel(9, 11, raven_color3)
  4124.     @raven_bitmaps[3].set_pixel(8, 12, raven_color3)
  4125.  
  4126.     # Raven up 1
  4127.     @raven_bitmaps[4] = Bitmap.new(20, 10)
  4128.     @raven_bitmaps[4].fill_rect(9, 0, 2, 1, raven_color3)
  4129.     @raven_bitmaps[4].fill_rect(9, 1, 2, 1, raven_color4)
  4130.     @raven_bitmaps[4].fill_rect(1, 2, 2, 1, raven_color3)
  4131.     @raven_bitmaps[4].set_pixel(3, 2, raven_color1)
  4132.     @raven_bitmaps[4].set_pixel(8, 2, raven_color3)
  4133.     @raven_bitmaps[4].fill_rect(9, 2, 2, 1, raven_color1)
  4134.     @raven_bitmaps[4].set_pixel(11, 2, raven_color3)
  4135.     @raven_bitmaps[4].set_pixel(16, 2, raven_color1)
  4136.     @raven_bitmaps[4].fill_rect(17, 2, 2, 1, raven_color3)
  4137.     @raven_bitmaps[4].fill_rect(0, 3, 1, 2, raven_color3)
  4138.     @raven_bitmaps[4].set_pixel(1, 3, raven_color1)
  4139.     @raven_bitmaps[4].fill_rect(2, 3, 3, 1, raven_color4)
  4140.     @raven_bitmaps[4].set_pixel(5, 3, raven_color1)
  4141.     @raven_bitmaps[4].fill_rect(6, 3, 2, 1, raven_color3)
  4142.     @raven_bitmaps[4].set_pixel(8, 3, raven_color1)
  4143.     @raven_bitmaps[4].fill_rect(9, 3, 2, 3, raven_color4)
  4144.     @raven_bitmaps[4].set_pixel(11, 3, raven_color1)
  4145.     @raven_bitmaps[4].fill_rect(12, 3, 2, 1, raven_color3)
  4146.     @raven_bitmaps[4].set_pixel(14, 3, raven_color1)
  4147.     @raven_bitmaps[4].fill_rect(15, 3, 3, 1, raven_color4)
  4148.     @raven_bitmaps[4].set_pixel(18, 3, raven_color1)
  4149.     @raven_bitmaps[4].fill_rect(19, 3, 1, 2, raven_color3)
  4150.     @raven_bitmaps[4].set_pixel(1, 4, raven_color2)
  4151.     @raven_bitmaps[4].set_pixel(2, 4, raven_color3)
  4152.     @raven_bitmaps[4].set_pixel(3, 4, raven_color4)
  4153.     @raven_bitmaps[4].set_pixel(4, 4, raven_color1)
  4154.     @raven_bitmaps[4].fill_rect(5, 4, 2, 1, raven_color4)
  4155.     @raven_bitmaps[4].fill_rect(7, 4, 2, 1, raven_color2)
  4156.     @raven_bitmaps[4].fill_rect(11, 4, 2, 1, raven_color2)
  4157.     @raven_bitmaps[4].fill_rect(13, 4, 2, 1, raven_color4)
  4158.     @raven_bitmaps[4].set_pixel(15, 4, raven_color1)
  4159.     @raven_bitmaps[4].set_pixel(16, 4, raven_color4)
  4160.     @raven_bitmaps[4].set_pixel(17, 4, raven_color3)
  4161.     @raven_bitmaps[4].set_pixel(18, 4, raven_color2)
  4162.     @raven_bitmaps[4].set_pixel(2, 5, raven_color2)
  4163.     @raven_bitmaps[4].set_pixel(3, 5, raven_color3)
  4164.     @raven_bitmaps[4].set_pixel(4, 5, raven_color4)
  4165.     @raven_bitmaps[4].fill_rect(5, 5, 2, 1, raven_color1)
  4166.     @raven_bitmaps[4].set_pixel(7, 5, raven_color2)
  4167.     @raven_bitmaps[4].set_pixel(8, 5, raven_color1)
  4168.     @raven_bitmaps[4].set_pixel(11, 5, raven_color1)
  4169.     @raven_bitmaps[4].set_pixel(12, 5, raven_color2)
  4170.     @raven_bitmaps[4].fill_rect(13, 5, 2, 1, raven_color1)
  4171.     @raven_bitmaps[4].set_pixel(15, 5, raven_color4)
  4172.     @raven_bitmaps[4].set_pixel(16, 5, raven_color3)
  4173.     @raven_bitmaps[4].set_pixel(17, 5, raven_color2)
  4174.     @raven_bitmaps[4].set_pixel(4, 6, raven_color3)
  4175.     @raven_bitmaps[4].set_pixel(5, 6, raven_color1)
  4176.     @raven_bitmaps[4].fill_rect(6, 6, 3, 1, raven_color3)
  4177.     @raven_bitmaps[4].fill_rect(9, 6, 2, 2, raven_color2)
  4178.     @raven_bitmaps[4].fill_rect(11, 6, 3, 1, raven_color3)
  4179.     @raven_bitmaps[4].set_pixel(14, 6, raven_color1)
  4180.     @raven_bitmaps[4].set_pixel(15, 6, raven_color3)
  4181.     @raven_bitmaps[4].set_pixel(8, 7, raven_color3)
  4182.     @raven_bitmaps[4].set_pixel(11, 7, raven_color3)
  4183.     @raven_bitmaps[4].set_pixel(8, 8, raven_color2)
  4184.     @raven_bitmaps[4].fill_rect(9, 8, 2, 1, raven_color4)
  4185.     @raven_bitmaps[4].set_pixel(11, 8, raven_color2)
  4186.     @raven_bitmaps[4].set_pixel(8, 9, raven_color3)
  4187.     @raven_bitmaps[4].fill_rect(9, 9, 2, 1, raven_color2)
  4188.     @raven_bitmaps[4].set_pixel(11, 9, raven_color3)
  4189.  
  4190.     # Raven up 2
  4191.     @raven_bitmaps[5] = Bitmap.new(16, 10)
  4192.     @raven_bitmaps[5].fill_rect(7, 0, 2, 3, raven_color2)
  4193.     @raven_bitmaps[5].fill_rect(6, 1, 1, 2, raven_color3)
  4194.     @raven_bitmaps[5].fill_rect(9, 1, 1, 2, raven_color3)
  4195.     @raven_bitmaps[5].set_pixel(5, 3, raven_color1)
  4196.     @raven_bitmaps[5].set_pixel(6, 3, raven_color2)
  4197.     @raven_bitmaps[5].fill_rect(7, 3, 2, 3, raven_color4)
  4198.     @raven_bitmaps[5].set_pixel(9, 3, raven_color2)
  4199.     @raven_bitmaps[5].set_pixel(10, 3, raven_color1)
  4200.     @raven_bitmaps[5].set_pixel(3, 4, raven_color3)
  4201.     @raven_bitmaps[5].set_pixel(4, 4, raven_color1)
  4202.     @raven_bitmaps[5].fill_rect(5, 4, 1, 2, raven_color2)
  4203.     @raven_bitmaps[5].set_pixel(6, 4, raven_color1)
  4204.     @raven_bitmaps[5].set_pixel(9, 4, raven_color1)
  4205.     @raven_bitmaps[5].fill_rect(10, 4, 1, 2, raven_color2)
  4206.     @raven_bitmaps[5].set_pixel(11, 4, raven_color1)
  4207.     @raven_bitmaps[5].set_pixel(12, 4, raven_color3)
  4208.     @raven_bitmaps[5].set_pixel(2, 5, raven_color3)
  4209.     @raven_bitmaps[5].fill_rect(3, 5, 2, 1, raven_color2)
  4210.     @raven_bitmaps[5].fill_rect(6, 5, 1, 2, raven_color3)
  4211.     @raven_bitmaps[5].fill_rect(9, 5, 1, 2, raven_color3)
  4212.     @raven_bitmaps[5].fill_rect(11, 5, 2, 1, raven_color2)
  4213.     @raven_bitmaps[5].set_pixel(13, 5, raven_color3)
  4214.     @raven_bitmaps[5].set_pixel(1, 6, raven_color3)
  4215.     @raven_bitmaps[5].fill_rect(2, 6, 1, 2, raven_color2)
  4216.     @raven_bitmaps[5].set_pixel(3, 6, raven_color1)
  4217.     @raven_bitmaps[5].set_pixel(4, 6, raven_color2)
  4218.     @raven_bitmaps[5].set_pixel(5, 6, raven_color1)
  4219.     @raven_bitmaps[5].fill_rect(7, 6, 2, 1, raven_color1)
  4220.     @raven_bitmaps[5].set_pixel(10, 6, raven_color1)
  4221.     @raven_bitmaps[5].set_pixel(11, 6, raven_color2)
  4222.     @raven_bitmaps[5].set_pixel(12, 6, raven_color1)
  4223.     @raven_bitmaps[5].fill_rect(13, 6, 1, 2, raven_color2)
  4224.     @raven_bitmaps[5].set_pixel(14, 6, raven_color3)
  4225.     @raven_bitmaps[5].fill_rect(0, 7, 1, 2, raven_color3)
  4226.     @raven_bitmaps[5].set_pixel(1, 7, raven_color2)
  4227.     @raven_bitmaps[5].set_pixel(3, 7, raven_color2)
  4228.     @raven_bitmaps[5].fill_rect(4, 7, 2, 1, raven_color3)
  4229.     @raven_bitmaps[5].fill_rect(6, 7, 1, 2, raven_color1)
  4230.     @raven_bitmaps[5].fill_rect(7, 7, 2, 2, raven_color2)
  4231.     @raven_bitmaps[5].fill_rect(9, 7, 1, 2, raven_color1)
  4232.     @raven_bitmaps[5].fill_rect(10, 7, 2, 2, raven_color3)
  4233.     @raven_bitmaps[5].set_pixel(12, 7, raven_color2)
  4234.     @raven_bitmaps[5].set_pixel(14, 7, raven_color2)
  4235.     @raven_bitmaps[5].fill_rect(15, 7, 1, 2, raven_color3)
  4236.     @raven_bitmaps[5].fill_rect(1, 8, 2, 1, raven_color3)
  4237.     @raven_bitmaps[5].set_pixel(3, 8, raven_color1)
  4238.     @raven_bitmaps[5].set_pixel(4, 8, raven_color3)
  4239.     @raven_bitmaps[5].set_pixel(12, 8, raven_color1)
  4240.     @raven_bitmaps[5].fill_rect(13, 8, 2, 1, raven_color3)
  4241.     @raven_bitmaps[5].set_pixel(2, 9, raven_color3)
  4242.     @raven_bitmaps[5].fill_rect(7, 9, 2, 1, raven_color3)
  4243.     @raven_bitmaps[5].set_pixel(13, 9, raven_color3)
  4244.  
  4245.     # Raven up 3
  4246.     @raven_bitmaps[6] = Bitmap.new(16, 9)
  4247.     @raven_bitmaps[6].fill_rect(7, 0, 2, 1, raven_color1)
  4248.     @raven_bitmaps[6].set_pixel(3, 1, raven_color3)
  4249.     @raven_bitmaps[6].fill_rect(7, 1, 2, 5, raven_color4)
  4250.     @raven_bitmaps[6].set_pixel(12, 1, raven_color3)
  4251.     @raven_bitmaps[6].fill_rect(2, 2, 1, 2, raven_color3)
  4252.     @raven_bitmaps[6].fill_rect(3, 2, 2, 3, raven_color2)
  4253.     @raven_bitmaps[6].fill_rect(5, 2, 2, 1, raven_color3)
  4254.     @raven_bitmaps[6].fill_rect(9, 2, 2, 1, raven_color3)
  4255.     @raven_bitmaps[6].fill_rect(11, 2, 2, 3, raven_color2)
  4256.     @raven_bitmaps[6].fill_rect(13, 2, 1, 2, raven_color3)
  4257.     @raven_bitmaps[6].set_pixel(5, 3, raven_color1)
  4258.     @raven_bitmaps[6].set_pixel(6, 3, raven_color2)
  4259.     @raven_bitmaps[6].set_pixel(9, 3, raven_color2)
  4260.     @raven_bitmaps[6].set_pixel(10, 3, raven_color1)
  4261.     @raven_bitmaps[6].set_pixel(2, 4, raven_color1)
  4262.     @raven_bitmaps[6].set_pixel(5, 4, raven_color3)
  4263.     @raven_bitmaps[6].set_pixel(6, 4, raven_color1)
  4264.     @raven_bitmaps[6].set_pixel(9, 4, raven_color1)
  4265.     @raven_bitmaps[6].set_pixel(10, 4, raven_color3)
  4266.     @raven_bitmaps[6].set_pixel(13, 4, raven_color1)
  4267.     @raven_bitmaps[6].fill_rect(1, 5, 2, 1, raven_color3)
  4268.     @raven_bitmaps[6].fill_rect(3, 5, 2, 1, raven_color1)
  4269.     @raven_bitmaps[6].fill_rect(6, 5, 1, 2, raven_color3)
  4270.     @raven_bitmaps[6].fill_rect(9, 5, 1, 2, raven_color3)
  4271.     @raven_bitmaps[6].fill_rect(11, 5, 2, 1, raven_color1)
  4272.     @raven_bitmaps[6].fill_rect(13, 5, 2, 1, raven_color3)
  4273.     @raven_bitmaps[6].fill_rect(0, 6, 1, 2, raven_color3)
  4274.     @raven_bitmaps[6].set_pixel(1, 6, raven_color1)
  4275.     @raven_bitmaps[6].fill_rect(2, 6, 2, 1, raven_color3)
  4276.     @raven_bitmaps[6].fill_rect(7, 6, 2, 1, raven_color2)
  4277.     @raven_bitmaps[6].fill_rect(12, 6, 2, 1, raven_color3)
  4278.     @raven_bitmaps[6].set_pixel(14, 6, raven_color1)
  4279.     @raven_bitmaps[6].fill_rect(15, 6, 1, 2, raven_color3)
  4280.     @raven_bitmaps[6].set_pixel(6, 7, raven_color2)
  4281.     @raven_bitmaps[6].fill_rect(7, 7, 2, 1, raven_color4)
  4282.     @raven_bitmaps[6].set_pixel(9, 7, raven_color2)
  4283.     @raven_bitmaps[6].set_pixel(6, 8, raven_color3)
  4284.     @raven_bitmaps[6].fill_rect(7, 8, 2, 1, raven_color2)
  4285.     @raven_bitmaps[6].set_pixel(9, 8, raven_color3)
  4286.  
  4287.     # Raven up 4
  4288.     @raven_bitmaps[7] = Bitmap.new(16, 14)
  4289.     @raven_bitmaps[7].set_pixel(0, 0, raven_color1)
  4290.     @raven_bitmaps[7].set_pixel(1, 0, raven_color3)
  4291.     @raven_bitmaps[7].set_pixel(0, 1, raven_color3)
  4292.     @raven_bitmaps[7].set_pixel(1, 1, raven_color2)
  4293.     @raven_bitmaps[7].set_pixel(2, 1, raven_color3)
  4294.     @raven_bitmaps[7].fill_rect(14, 1, 1, 2, raven_color2)
  4295.     @raven_bitmaps[7].set_pixel(15, 1, raven_color1)
  4296.     @raven_bitmaps[7].set_pixel(1, 2, raven_color3)
  4297.     @raven_bitmaps[7].set_pixel(2, 2, raven_color2)
  4298.     @raven_bitmaps[7].fill_rect(3, 2, 1, 2, raven_color1)
  4299.     @raven_bitmaps[7].set_pixel(4, 2, raven_color3)
  4300.     @raven_bitmaps[7].set_pixel(12, 2, raven_color3)
  4301.     @raven_bitmaps[7].fill_rect(13, 2, 1, 2, raven_color1)
  4302.     @raven_bitmaps[7].set_pixel(0, 3, raven_color3)
  4303.     @raven_bitmaps[7].set_pixel(1, 3, raven_color1)
  4304.     @raven_bitmaps[7].set_pixel(2, 3, raven_color3)
  4305.     @raven_bitmaps[7].fill_rect(4, 3, 1, 2, raven_color2)
  4306.     @raven_bitmaps[7].fill_rect(5, 3, 1, 2, raven_color3)
  4307.     @raven_bitmaps[7].set_pixel(11, 3, raven_color1)
  4308.     @raven_bitmaps[7].fill_rect(12, 3, 1, 2, raven_color2)
  4309.     @raven_bitmaps[7].fill_rect(14, 3, 2, 1, raven_color3)
  4310.     @raven_bitmaps[7].set_pixel(1, 4, raven_color3)
  4311.     @raven_bitmaps[7].fill_rect(2, 4, 2, 2, raven_color2)
  4312.     @raven_bitmaps[7].fill_rect(7, 4, 2, 1, raven_color3)
  4313.     @raven_bitmaps[7].set_pixel(10, 4, raven_color3)
  4314.     @raven_bitmaps[7].fill_rect(11, 4, 1, 2, raven_color2)
  4315.     @raven_bitmaps[7].fill_rect(13, 4, 2, 1, raven_color2)
  4316.     @raven_bitmaps[7].set_pixel(15, 4, raven_color3)
  4317.     @raven_bitmaps[7].set_pixel(1, 5, raven_color1)
  4318.     @raven_bitmaps[7].fill_rect(4, 5, 1, 3, raven_color1)
  4319.     @raven_bitmaps[7].fill_rect(6, 5, 1, 2, raven_color3)
  4320.     @raven_bitmaps[7].fill_rect(7, 5, 2, 2, raven_color2)
  4321.     @raven_bitmaps[7].fill_rect(9, 5, 1, 2, raven_color3)
  4322.     @raven_bitmaps[7].fill_rect(12, 5, 1, 4, raven_color1)
  4323.     @raven_bitmaps[7].fill_rect(13, 5, 2, 1, raven_color3)
  4324.     @raven_bitmaps[7].fill_rect(1, 6, 2, 1, raven_color3)
  4325.     @raven_bitmaps[7].fill_rect(3, 6, 1, 2, raven_color1)
  4326.     @raven_bitmaps[7].fill_rect(5, 6, 1, 3, raven_color1)
  4327.     @raven_bitmaps[7].set_pixel(10, 6, raven_color3)
  4328.     @raven_bitmaps[7].fill_rect(11, 6, 1, 3, raven_color1)
  4329.     @raven_bitmaps[7].set_pixel(13, 6, raven_color2)
  4330.     @raven_bitmaps[7].set_pixel(14, 6, raven_color1)
  4331.     @raven_bitmaps[7].set_pixel(2, 7, raven_color3)
  4332.     @raven_bitmaps[7].set_pixel(6, 7, raven_color2)
  4333.     @raven_bitmaps[7].fill_rect(7, 7, 2, 3, raven_color4)
  4334.     @raven_bitmaps[7].set_pixel(9, 7, raven_color2)
  4335.     @raven_bitmaps[7].fill_rect(10, 7, 1, 2, raven_color1)
  4336.     @raven_bitmaps[7].set_pixel(13, 7, raven_color1)
  4337.     @raven_bitmaps[7].set_pixel(14, 7, raven_color3)
  4338.     @raven_bitmaps[7].fill_rect(3, 8, 2, 1, raven_color3)
  4339.     @raven_bitmaps[7].set_pixel(6, 8, raven_color1)
  4340.     @raven_bitmaps[7].set_pixel(9, 8, raven_color1)
  4341.     @raven_bitmaps[7].fill_rect(6, 9, 1, 2, raven_color3)
  4342.     @raven_bitmaps[7].fill_rect(9, 9, 2, 1, raven_color3)
  4343.     @raven_bitmaps[7].fill_rect(7, 10, 2, 1, raven_color1)
  4344.     @raven_bitmaps[7].set_pixel(9, 10, raven_color3)
  4345.     @raven_bitmaps[7].fill_rect(6, 11, 1, 2, raven_color1)
  4346.     @raven_bitmaps[7].fill_rect(7, 11, 2, 2, raven_color2)
  4347.     @raven_bitmaps[7].fill_rect(9, 11, 1, 2, raven_color1)
  4348.     @raven_bitmaps[7].set_pixel(5, 12, raven_color3)
  4349.     @raven_bitmaps[7].set_pixel(10, 12, raven_color3)
  4350.     @raven_bitmaps[7].fill_rect(7, 13, 2, 1, raven_color3)
  4351.  
  4352.     # Raven right 1
  4353.     @raven_bitmaps[8] = Bitmap.new(15, 11)
  4354.     @raven_bitmaps[8].fill_rect(5, 0, 2, 1, raven_color1)
  4355.     @raven_bitmaps[8].fill_rect(4, 1, 2, 1, raven_color2)
  4356.     @raven_bitmaps[8].set_pixel(6, 1, raven_color1)
  4357.     @raven_bitmaps[8].fill_rect(7, 1, 1, 3, raven_color2)
  4358.     @raven_bitmaps[8].set_pixel(8, 1, raven_color1)
  4359.     @raven_bitmaps[8].set_pixel(4, 2, raven_color1)
  4360.     @raven_bitmaps[8].fill_rect(5, 2, 2, 1, raven_color2)
  4361.     @raven_bitmaps[8].set_pixel(8, 2, raven_color2)
  4362.     @raven_bitmaps[8].set_pixel(4, 3, raven_color3)
  4363.     @raven_bitmaps[8].set_pixel(5, 3, raven_color1)
  4364.     @raven_bitmaps[8].set_pixel(6, 3, raven_color2)
  4365.     @raven_bitmaps[8].set_pixel(8, 3, raven_color1)
  4366.     @raven_bitmaps[8].fill_rect(9, 3, 2, 1, raven_color2)
  4367.     @raven_bitmaps[8].fill_rect(11, 3, 1, 2, raven_color4)
  4368.     @raven_bitmaps[8].set_pixel(12, 3, raven_color2)
  4369.     @raven_bitmaps[8].fill_rect(1, 4, 2, 1, raven_color3)
  4370.     @raven_bitmaps[8].set_pixel(3, 4, raven_color1)
  4371.     @raven_bitmaps[8].fill_rect(4, 4, 4, 1, raven_color4)
  4372.     @raven_bitmaps[8].set_pixel(8, 4, raven_color2)
  4373.     @raven_bitmaps[8].fill_rect(9, 4, 2, 1, raven_color4)
  4374.     @raven_bitmaps[8].fill_rect(12, 4, 1, 2, raven_color3)
  4375.     @raven_bitmaps[8].set_pixel(13, 4, raven_color1)
  4376.     @raven_bitmaps[8].set_pixel(1, 5, raven_color1)
  4377.     @raven_bitmaps[8].set_pixel(2, 5, raven_color2)
  4378.     @raven_bitmaps[8].set_pixel(3, 5, raven_color3)
  4379.     @raven_bitmaps[8].fill_rect(4, 5, 3, 1, raven_color4)
  4380.     @raven_bitmaps[8].set_pixel(7, 5, raven_color2)
  4381.     @raven_bitmaps[8].set_pixel(8, 5, raven_color1)
  4382.     @raven_bitmaps[8].fill_rect(9, 5, 1, 3, raven_color2)
  4383.     @raven_bitmaps[8].set_pixel(10, 5, raven_color1)
  4384.     @raven_bitmaps[8].set_pixel(11, 5, raven_color3)
  4385.     @raven_bitmaps[8].set_pixel(13, 5, raven_color3)
  4386.     @raven_bitmaps[8].set_pixel(14, 5, raven_color5)
  4387.     @raven_bitmaps[8].set_pixel(0, 6, raven_color3)
  4388.     @raven_bitmaps[8].fill_rect(1, 6, 1, 2, raven_color2)
  4389.     @raven_bitmaps[8].fill_rect(2, 6, 2, 1, raven_color1)
  4390.     @raven_bitmaps[8].fill_rect(4, 6, 1, 3, raven_color3)
  4391.     @raven_bitmaps[8].fill_rect(5, 6, 3, 1, raven_color4)
  4392.     @raven_bitmaps[8].set_pixel(8, 6, raven_color2)
  4393.     @raven_bitmaps[8].set_pixel(10, 6, raven_color3)
  4394.     @raven_bitmaps[8].set_pixel(2, 7, raven_color1)
  4395.     @raven_bitmaps[8].fill_rect(3, 7, 1, 2, raven_color3)
  4396.     @raven_bitmaps[8].fill_rect(5, 7, 1, 2, raven_color1)
  4397.     @raven_bitmaps[8].fill_rect(6, 7, 3, 1, raven_color4)
  4398.     @raven_bitmaps[8].fill_rect(6, 8, 3, 1, raven_color2)
  4399.     @raven_bitmaps[8].set_pixel(5, 9, raven_color3)
  4400.     @raven_bitmaps[8].fill_rect(6, 9, 2, 1, raven_color1)
  4401.     @raven_bitmaps[8].set_pixel(6, 10, raven_color3)
  4402.  
  4403.     # Raven right 2
  4404.     @raven_bitmaps[9] = Bitmap.new(15, 12)
  4405.     @raven_bitmaps[9].fill_rect(6, 0, 2, 1, raven_color1)
  4406.     @raven_bitmaps[9].fill_rect(8, 0, 1, 3, raven_color2)
  4407.     @raven_bitmaps[9].set_pixel(9, 0, raven_color1)
  4408.     @raven_bitmaps[9].fill_rect(5, 1, 1, 2, raven_color1)
  4409.     @raven_bitmaps[9].fill_rect(6, 1, 2, 2, raven_color2)
  4410.     @raven_bitmaps[9].set_pixel(9, 1, raven_color3)
  4411.     @raven_bitmaps[9].set_pixel(10, 1, raven_color1)
  4412.     @raven_bitmaps[9].set_pixel(11, 1, raven_color2)
  4413.     @raven_bitmaps[9].set_pixel(9, 2, raven_color2)
  4414.     @raven_bitmaps[9].fill_rect(10, 2, 3, 1, raven_color4)
  4415.     @raven_bitmaps[9].set_pixel(13, 2, raven_color1)
  4416.     @raven_bitmaps[9].fill_rect(1, 3, 2, 1, raven_color3)
  4417.     @raven_bitmaps[9].set_pixel(3, 3, raven_color1)
  4418.     @raven_bitmaps[9].fill_rect(4, 3, 6, 1, raven_color4)
  4419.     @raven_bitmaps[9].set_pixel(10, 3, raven_color2)
  4420.     @raven_bitmaps[9].set_pixel(11, 3, raven_color4)
  4421.     @raven_bitmaps[9].set_pixel(12, 3, raven_color2)
  4422.     @raven_bitmaps[9].fill_rect(13, 3, 2, 1, raven_color5)
  4423.     @raven_bitmaps[9].set_pixel(0, 4, raven_color1)
  4424.     @raven_bitmaps[9].fill_rect(1, 4, 1, 2, raven_color4)
  4425.     @raven_bitmaps[9].fill_rect(2, 4, 3, 1, raven_color2)
  4426.     @raven_bitmaps[9].fill_rect(5, 4, 3, 1, raven_color4)
  4427.     @raven_bitmaps[9].fill_rect(8, 4, 2, 1, raven_color1)
  4428.     @raven_bitmaps[9].set_pixel(10, 4, raven_color3)
  4429.     @raven_bitmaps[9].fill_rect(0, 5, 1, 2, raven_color3)
  4430.     @raven_bitmaps[9].fill_rect(2, 5, 2, 1, raven_color1)
  4431.     @raven_bitmaps[9].set_pixel(4, 5, raven_color2)
  4432.     @raven_bitmaps[9].set_pixel(5, 5, raven_color3)
  4433.     @raven_bitmaps[9].fill_rect(6, 5, 1, 3, raven_color1)
  4434.     @raven_bitmaps[9].set_pixel(7, 5, raven_color4)
  4435.     @raven_bitmaps[9].set_pixel(8, 5, raven_color2)
  4436.     @raven_bitmaps[9].set_pixel(9, 5, raven_color3)
  4437.     @raven_bitmaps[9].set_pixel(1, 6, raven_color1)
  4438.     @raven_bitmaps[9].set_pixel(4, 6, raven_color3)
  4439.     @raven_bitmaps[9].set_pixel(5, 6, raven_color1)
  4440.     @raven_bitmaps[9].set_pixel(7, 6, raven_color2)
  4441.     @raven_bitmaps[9].fill_rect(8, 6, 2, 1, raven_color4)
  4442.     @raven_bitmaps[9].set_pixel(10, 6, raven_color3)
  4443.     @raven_bitmaps[9].set_pixel(3, 7, raven_color3)
  4444.     @raven_bitmaps[9].set_pixel(5, 7, raven_color3)
  4445.     @raven_bitmaps[9].fill_rect(7, 7, 2, 1, raven_color4)
  4446.     @raven_bitmaps[9].set_pixel(9, 7, raven_color2)
  4447.     @raven_bitmaps[9].fill_rect(6, 8, 2, 1, raven_color2)
  4448.     @raven_bitmaps[9].set_pixel(8, 8, raven_color4)
  4449.     @raven_bitmaps[9].set_pixel(9, 8, raven_color3)
  4450.     @raven_bitmaps[9].fill_rect(6, 9, 2, 1, raven_color1)
  4451.     @raven_bitmaps[9].set_pixel(8, 9, raven_color2)
  4452.     @raven_bitmaps[9].set_pixel(6, 10, raven_color3)
  4453.     @raven_bitmaps[9].set_pixel(7, 10, raven_color2)
  4454.     @raven_bitmaps[9].set_pixel(8, 10, raven_color3)
  4455.     @raven_bitmaps[9].set_pixel(7, 11, raven_color3)
  4456.  
  4457.     # Raven right 3
  4458.     @raven_bitmaps[10] = Bitmap.new(13, 13)
  4459.     @raven_bitmaps[10].fill_rect(5, 0, 6, 1, raven_color1)
  4460.     @raven_bitmaps[10].set_pixel(3, 1, raven_color3)
  4461.     @raven_bitmaps[10].fill_rect(4, 1, 3, 1, raven_color1)
  4462.     @raven_bitmaps[10].fill_rect(7, 1, 2, 1, raven_color2)
  4463.     @raven_bitmaps[10].fill_rect(9, 1, 3, 1, raven_color4)
  4464.     @raven_bitmaps[10].fill_rect(2, 2, 1, 2, raven_color2)
  4465.     @raven_bitmaps[10].fill_rect(3, 2, 6, 1, raven_color4)
  4466.     @raven_bitmaps[10].set_pixel(9, 2, raven_color1)
  4467.     @raven_bitmaps[10].set_pixel(10, 2, raven_color4)
  4468.     @raven_bitmaps[10].set_pixel(11, 2, raven_color1)
  4469.     @raven_bitmaps[10].set_pixel(12, 2, raven_color6)
  4470.     @raven_bitmaps[10].set_pixel(0, 3, raven_color3)
  4471.     @raven_bitmaps[10].set_pixel(1, 3, raven_color4)
  4472.     @raven_bitmaps[10].set_pixel(3, 3, raven_color2)
  4473.     @raven_bitmaps[10].fill_rect(4, 3, 3, 1, raven_color4)
  4474.     @raven_bitmaps[10].fill_rect(7, 3, 2, 1, raven_color1)
  4475.     @raven_bitmaps[10].set_pixel(9, 3, raven_color3)
  4476.     @raven_bitmaps[10].fill_rect(0, 4, 1, 2, raven_color2)
  4477.     @raven_bitmaps[10].fill_rect(1, 4, 3, 1, raven_color1)
  4478.     @raven_bitmaps[10].set_pixel(4, 4, raven_color3)
  4479.     @raven_bitmaps[10].fill_rect(5, 4, 1, 3, raven_color2)
  4480.     @raven_bitmaps[10].fill_rect(6, 4, 1, 5, raven_color4)
  4481.     @raven_bitmaps[10].set_pixel(7, 4, raven_color2)
  4482.     @raven_bitmaps[10].fill_rect(8, 4, 1, 2, raven_color3)
  4483.     @raven_bitmaps[10].set_pixel(1, 5, raven_color1)
  4484.     @raven_bitmaps[10].set_pixel(3, 5, raven_color3)
  4485.     @raven_bitmaps[10].set_pixel(4, 5, raven_color1)
  4486.     @raven_bitmaps[10].fill_rect(7, 5, 1, 4, raven_color4)
  4487.     @raven_bitmaps[10].set_pixel(0, 6, raven_color3)
  4488.     @raven_bitmaps[10].set_pixel(2, 6, raven_color3)
  4489.     @raven_bitmaps[10].fill_rect(4, 6, 1, 2, raven_color3)
  4490.     @raven_bitmaps[10].fill_rect(8, 6, 1, 3, raven_color4)
  4491.     @raven_bitmaps[10].set_pixel(9, 6, raven_color3)
  4492.     @raven_bitmaps[10].set_pixel(5, 7, raven_color1)
  4493.     @raven_bitmaps[10].set_pixel(9, 7, raven_color2)
  4494.     @raven_bitmaps[10].fill_rect(5, 8, 1, 2, raven_color3)
  4495.     @raven_bitmaps[10].fill_rect(9, 8, 1, 2, raven_color3)
  4496.     @raven_bitmaps[10].set_pixel(6, 9, raven_color1)
  4497.     @raven_bitmaps[10].fill_rect(7, 9, 2, 1, raven_color2)
  4498.     @raven_bitmaps[10].set_pixel(6, 10, raven_color3)
  4499.     @raven_bitmaps[10].set_pixel(7, 10, raven_color2)
  4500.     @raven_bitmaps[10].fill_rect(8, 10, 1, 2, raven_color3)
  4501.     @raven_bitmaps[10].set_pixel(9, 10, raven_color2)
  4502.     @raven_bitmaps[10].set_pixel(7, 11, raven_color3)
  4503.     @raven_bitmaps[10].fill_rect(9, 11, 1, 2, raven_color1)
  4504.     @raven_bitmaps[10].set_pixel(10, 11, raven_color3)
  4505.  
  4506.     # Raven right 4
  4507.     @raven_bitmaps[11] = Bitmap.new(14, 12)
  4508.     @raven_bitmaps[11].fill_rect(2, 0, 2, 1, raven_color1)
  4509.     @raven_bitmaps[11].fill_rect(2, 1, 1, 2, raven_color1)
  4510.     @raven_bitmaps[11].fill_rect(3, 1, 2, 3, raven_color2)
  4511.     @raven_bitmaps[11].set_pixel(5, 1, raven_color1)
  4512.     @raven_bitmaps[11].fill_rect(5, 2, 3, 2, raven_color2)
  4513.     @raven_bitmaps[11].fill_rect(8, 2, 1, 2, raven_color1)
  4514.     @raven_bitmaps[11].set_pixel(2, 3, raven_color3)
  4515.     @raven_bitmaps[11].set_pixel(3, 4, raven_color3)
  4516.     @raven_bitmaps[11].fill_rect(4, 4, 4, 1, raven_color1)
  4517.     @raven_bitmaps[11].set_pixel(8, 4, raven_color3)
  4518.     @raven_bitmaps[11].set_pixel(4, 5, raven_color3)
  4519.     @raven_bitmaps[11].fill_rect(5, 5, 4, 1, raven_color2)
  4520.     @raven_bitmaps[11].set_pixel(9, 5, raven_color1)
  4521.     @raven_bitmaps[11].set_pixel(10, 5, raven_color2)
  4522.     @raven_bitmaps[11].set_pixel(2, 6, raven_color3)
  4523.     @raven_bitmaps[11].set_pixel(3, 6, raven_color1)
  4524.     @raven_bitmaps[11].fill_rect(4, 6, 3, 2, raven_color2)
  4525.     @raven_bitmaps[11].fill_rect(7, 6, 1, 4, raven_color3)
  4526.     @raven_bitmaps[11].set_pixel(8, 6, raven_color1)
  4527.     @raven_bitmaps[11].fill_rect(9, 6, 3, 1, raven_color4)
  4528.     @raven_bitmaps[11].set_pixel(12, 6, raven_color1)
  4529.     @raven_bitmaps[11].set_pixel(0, 7, raven_color3)
  4530.     @raven_bitmaps[11].fill_rect(1, 7, 1, 2, raven_color1)
  4531.     @raven_bitmaps[11].fill_rect(2, 7, 1, 2, raven_color4)
  4532.     @raven_bitmaps[11].set_pixel(3, 7, raven_color2)
  4533.     @raven_bitmaps[11].set_pixel(8, 7, raven_color3)
  4534.     @raven_bitmaps[11].set_pixel(9, 7, raven_color4)
  4535.     @raven_bitmaps[11].set_pixel(10, 7, raven_color1)
  4536.     @raven_bitmaps[11].set_pixel(11, 7, raven_color2)
  4537.     @raven_bitmaps[11].set_pixel(12, 7, raven_color5)
  4538.     @raven_bitmaps[11].set_pixel(13, 7, raven_color1)
  4539.     @raven_bitmaps[11].set_pixel(0, 8, raven_color1)
  4540.     @raven_bitmaps[11].fill_rect(3, 8, 2, 1, raven_color1)
  4541.     @raven_bitmaps[11].fill_rect(5, 8, 1, 3, raven_color2)
  4542.     @raven_bitmaps[11].fill_rect(6, 8, 1, 2, raven_color3)
  4543.     @raven_bitmaps[11].fill_rect(8, 8, 2, 1, raven_color1)
  4544.     @raven_bitmaps[11].set_pixel(0, 9, raven_color3)
  4545.     @raven_bitmaps[11].set_pixel(1, 9, raven_color2)
  4546.     @raven_bitmaps[11].set_pixel(2, 9, raven_color3)
  4547.     @raven_bitmaps[11].set_pixel(3, 9, raven_color2)
  4548.     @raven_bitmaps[11].fill_rect(4, 9, 1, 2, raven_color3)
  4549.     @raven_bitmaps[11].set_pixel(8, 9, raven_color3)
  4550.     @raven_bitmaps[11].set_pixel(3, 10, raven_color1)
  4551.     @raven_bitmaps[11].fill_rect(4, 11, 2, 1, raven_color1)
  4552.  
  4553.     # Raven down 1
  4554.     @raven_bitmaps[12] = Bitmap.new(20, 10)
  4555.     @raven_bitmaps[12].set_pixel(7, 0, raven_color3)
  4556.     @raven_bitmaps[12].fill_rect(8, 0, 1, 2, raven_color1)
  4557.     @raven_bitmaps[12].fill_rect(9, 0, 2, 1, raven_color2)
  4558.     @raven_bitmaps[12].fill_rect(11, 0, 1, 2, raven_color1)
  4559.     @raven_bitmaps[12].set_pixel(12, 0, raven_color3)
  4560.     @raven_bitmaps[12].fill_rect(9, 1, 2, 1, raven_color4)
  4561.     @raven_bitmaps[12].fill_rect(6, 2, 1, 2, raven_color3)
  4562.     @raven_bitmaps[12].set_pixel(8, 2, raven_color3)
  4563.     @raven_bitmaps[12].fill_rect(9, 2, 2, 1, raven_color2)
  4564.     @raven_bitmaps[12].set_pixel(11, 2, raven_color3)
  4565.     @raven_bitmaps[12].fill_rect(13, 2, 1, 2, raven_color3)
  4566.     @raven_bitmaps[12].set_pixel(4, 3, raven_color1)
  4567.     @raven_bitmaps[12].set_pixel(5, 3, raven_color2)
  4568.     @raven_bitmaps[12].fill_rect(7, 3, 1, 2, raven_color2)
  4569.     @raven_bitmaps[12].fill_rect(8, 3, 1, 3, raven_color1)
  4570.     @raven_bitmaps[12].fill_rect(9, 3, 2, 2, raven_color4)
  4571.     @raven_bitmaps[12].fill_rect(11, 3, 1, 3, raven_color1)
  4572.     @raven_bitmaps[12].fill_rect(12, 3, 1, 2, raven_color2)
  4573.     @raven_bitmaps[12].set_pixel(14, 3, raven_color2)
  4574.     @raven_bitmaps[12].set_pixel(15, 3, raven_color1)
  4575.     @raven_bitmaps[12].set_pixel(2, 4, raven_color3)
  4576.     @raven_bitmaps[12].fill_rect(3, 4, 4, 2, raven_color4)
  4577.     @raven_bitmaps[12].fill_rect(13, 4, 4, 2, raven_color4)
  4578.     @raven_bitmaps[12].set_pixel(17, 4, raven_color3)
  4579.     @raven_bitmaps[12].set_pixel(1, 5, raven_color1)
  4580.     @raven_bitmaps[12].set_pixel(2, 5, raven_color2)
  4581.     @raven_bitmaps[12].set_pixel(7, 5, raven_color1)
  4582.     @raven_bitmaps[12].fill_rect(9, 5, 2, 1, raven_color2)
  4583.     @raven_bitmaps[12].set_pixel(12, 5, raven_color1)
  4584.     @raven_bitmaps[12].set_pixel(17, 5, raven_color2)
  4585.     @raven_bitmaps[12].set_pixel(18, 5, raven_color1)
  4586.     @raven_bitmaps[12].set_pixel(1, 6, raven_color3)
  4587.     @raven_bitmaps[12].set_pixel(2, 6, raven_color4)
  4588.     @raven_bitmaps[12].set_pixel(3, 6, raven_color2)
  4589.     @raven_bitmaps[12].set_pixel(4, 6, raven_color3)
  4590.     @raven_bitmaps[12].fill_rect(8, 6, 1, 2, raven_color3)
  4591.     @raven_bitmaps[12].fill_rect(9, 6, 2, 1, raven_color4)
  4592.     @raven_bitmaps[12].fill_rect(11, 6, 1, 2, raven_color3)
  4593.     @raven_bitmaps[12].set_pixel(15, 6, raven_color3)
  4594.     @raven_bitmaps[12].set_pixel(16, 6, raven_color2)
  4595.     @raven_bitmaps[12].set_pixel(17, 6, raven_color4)
  4596.     @raven_bitmaps[12].set_pixel(18, 6, raven_color3)
  4597.     @raven_bitmaps[12].set_pixel(0, 7, raven_color1)
  4598.     @raven_bitmaps[12].set_pixel(1, 7, raven_color2)
  4599.     @raven_bitmaps[12].set_pixel(2, 7, raven_color3)
  4600.     @raven_bitmaps[12].fill_rect(9, 7, 2, 1, raven_color1)
  4601.     @raven_bitmaps[12].set_pixel(17, 7, raven_color3)
  4602.     @raven_bitmaps[12].set_pixel(18, 7, raven_color2)
  4603.     @raven_bitmaps[12].set_pixel(19, 7, raven_color1)
  4604.     @raven_bitmaps[12].set_pixel(0, 8, raven_color3)
  4605.     @raven_bitmaps[12].fill_rect(9, 8, 2, 2, raven_color3)
  4606.     @raven_bitmaps[12].set_pixel(19, 8, raven_color3)
  4607.  
  4608.     # Raven down 2
  4609.     @raven_bitmaps[13] = Bitmap.new(14, 12)
  4610.     @raven_bitmaps[13].fill_rect(6, 0, 2, 1, raven_color2)
  4611.     @raven_bitmaps[13].set_pixel(5, 1, raven_color2)
  4612.     @raven_bitmaps[13].fill_rect(6, 1, 2, 1, raven_color4)
  4613.     @raven_bitmaps[13].set_pixel(8, 1, raven_color2)
  4614.     @raven_bitmaps[13].fill_rect(5, 2, 1, 2, raven_color3)
  4615.     @raven_bitmaps[13].fill_rect(6, 2, 2, 1, raven_color2)
  4616.     @raven_bitmaps[13].fill_rect(8, 2, 1, 2, raven_color3)
  4617.     @raven_bitmaps[13].fill_rect(6, 3, 2, 1, raven_color4)
  4618.     @raven_bitmaps[13].set_pixel(3, 4, raven_color3)
  4619.     @raven_bitmaps[13].fill_rect(4, 4, 1, 2, raven_color2)
  4620.     @raven_bitmaps[13].fill_rect(5, 4, 4, 1, raven_color1)
  4621.     @raven_bitmaps[13].fill_rect(9, 4, 1, 2, raven_color2)
  4622.     @raven_bitmaps[13].set_pixel(10, 4, raven_color3)
  4623.     @raven_bitmaps[13].set_pixel(2, 5, raven_color3)
  4624.     @raven_bitmaps[13].fill_rect(3, 5, 1, 2, raven_color2)
  4625.     @raven_bitmaps[13].fill_rect(5, 5, 1, 2, raven_color3)
  4626.     @raven_bitmaps[13].fill_rect(6, 5, 2, 1, raven_color4)
  4627.     @raven_bitmaps[13].fill_rect(8, 5, 1, 2, raven_color3)
  4628.     @raven_bitmaps[13].fill_rect(10, 5, 1, 2, raven_color2)
  4629.     @raven_bitmaps[13].set_pixel(11, 5, raven_color3)
  4630.     @raven_bitmaps[13].set_pixel(2, 6, raven_color1)
  4631.     @raven_bitmaps[13].set_pixel(4, 6, raven_color1)
  4632.     @raven_bitmaps[13].fill_rect(6, 6, 2, 1, raven_color1)
  4633.     @raven_bitmaps[13].set_pixel(9, 6, raven_color1)
  4634.     @raven_bitmaps[13].set_pixel(11, 6, raven_color1)
  4635.     @raven_bitmaps[13].fill_rect(1, 7, 1, 2, raven_color3)
  4636.     @raven_bitmaps[13].fill_rect(2, 7, 1, 2, raven_color2)
  4637.     @raven_bitmaps[13].set_pixel(3, 7, raven_color1)
  4638.     @raven_bitmaps[13].set_pixel(4, 7, raven_color3)
  4639.     @raven_bitmaps[13].fill_rect(6, 7, 2, 1, raven_color7)
  4640.     @raven_bitmaps[13].set_pixel(9, 7, raven_color3)
  4641.     @raven_bitmaps[13].set_pixel(10, 7, raven_color1)
  4642.     @raven_bitmaps[13].fill_rect(11, 7, 1, 2, raven_color2)
  4643.     @raven_bitmaps[13].fill_rect(12, 7, 1, 2, raven_color3)
  4644.     @raven_bitmaps[13].fill_rect(3, 8, 1, 2, raven_color3)
  4645.     @raven_bitmaps[13].fill_rect(6, 8, 2, 1, raven_color3)
  4646.     @raven_bitmaps[13].fill_rect(10, 8, 1, 2, raven_color3)
  4647.     @raven_bitmaps[13].fill_rect(1, 9, 2, 1, raven_color1)
  4648.     @raven_bitmaps[13].fill_rect(11, 9, 2, 1, raven_color1)
  4649.     @raven_bitmaps[13].fill_rect(0, 10, 2, 1, raven_color1)
  4650.     @raven_bitmaps[13].set_pixel(2, 10, raven_color3)
  4651.     @raven_bitmaps[13].set_pixel(11, 10, raven_color3)
  4652.     @raven_bitmaps[13].fill_rect(12, 10, 2, 1, raven_color1)
  4653.     @raven_bitmaps[13].set_pixel(0, 11, raven_color3)
  4654.     @raven_bitmaps[13].set_pixel(13, 11, raven_color3)
  4655.  
  4656.     # Raven down 3
  4657.     @raven_bitmaps[14] = Bitmap.new(16, 10)
  4658.     @raven_bitmaps[14].fill_rect(6, 0, 1, 2, raven_color1)
  4659.     @raven_bitmaps[14].fill_rect(7, 0, 2, 1, raven_color2)
  4660.     @raven_bitmaps[14].fill_rect(9, 0, 1, 2, raven_color1)
  4661.     @raven_bitmaps[14].fill_rect(7, 1, 2, 1, raven_color4)
  4662.     @raven_bitmaps[14].fill_rect(3, 2, 2, 1, raven_color3)
  4663.     @raven_bitmaps[14].fill_rect(6, 2, 1, 2, raven_color3)
  4664.     @raven_bitmaps[14].set_pixel(7, 2, raven_color2)
  4665.     @raven_bitmaps[14].set_pixel(8, 2, raven_color1)
  4666.     @raven_bitmaps[14].fill_rect(9, 2, 1, 2, raven_color3)
  4667.     @raven_bitmaps[14].set_pixel(1, 3, raven_color3)
  4668.     @raven_bitmaps[14].fill_rect(2, 3, 4, 2, raven_color2)
  4669.     @raven_bitmaps[14].fill_rect(7, 3, 2, 1, raven_color4)
  4670.     @raven_bitmaps[14].fill_rect(10, 3, 2, 2, raven_color2)
  4671.     @raven_bitmaps[14].set_pixel(12, 3, raven_color1)
  4672.     @raven_bitmaps[14].fill_rect(13, 3, 1, 2, raven_color3)
  4673.     @raven_bitmaps[14].set_pixel(1, 4, raven_color1)
  4674.     @raven_bitmaps[14].set_pixel(6, 4, raven_color1)
  4675.     @raven_bitmaps[14].fill_rect(7, 4, 3, 1, raven_color2)
  4676.     @raven_bitmaps[14].fill_rect(12, 4, 1, 2, raven_color2)
  4677.     @raven_bitmaps[14].fill_rect(0, 5, 2, 1, raven_color3)
  4678.     @raven_bitmaps[14].set_pixel(2, 5, raven_color2)
  4679.     @raven_bitmaps[14].set_pixel(3, 5, raven_color1)
  4680.     @raven_bitmaps[14].fill_rect(4, 5, 3, 1, raven_color3)
  4681.     @raven_bitmaps[14].fill_rect(7, 5, 2, 2, raven_color4)
  4682.     @raven_bitmaps[14].fill_rect(9, 5, 2, 1, raven_color3)
  4683.     @raven_bitmaps[14].set_pixel(11, 5, raven_color1)
  4684.     @raven_bitmaps[14].fill_rect(13, 5, 2, 1, raven_color1)
  4685.     @raven_bitmaps[14].set_pixel(1, 6, raven_color2)
  4686.     @raven_bitmaps[14].set_pixel(2, 6, raven_color1)
  4687.     @raven_bitmaps[14].set_pixel(6, 6, raven_color3)
  4688.     @raven_bitmaps[14].set_pixel(9, 6, raven_color3)
  4689.     @raven_bitmaps[14].set_pixel(12, 6, raven_color1)
  4690.     @raven_bitmaps[14].set_pixel(13, 6, raven_color2)
  4691.     @raven_bitmaps[14].set_pixel(14, 6, raven_color3)
  4692.     @raven_bitmaps[14].set_pixel(0, 7, raven_color3)
  4693.     @raven_bitmaps[14].set_pixel(1, 7, raven_color1)
  4694.     @raven_bitmaps[14].fill_rect(7, 7, 2, 1, raven_color5)
  4695.     @raven_bitmaps[14].fill_rect(13, 7, 2, 1, raven_color1)
  4696.     @raven_bitmaps[14].set_pixel(0, 8, raven_color1)
  4697.     @raven_bitmaps[14].fill_rect(7, 8, 2, 1, raven_color1)
  4698.     @raven_bitmaps[14].set_pixel(14, 8, raven_color1)
  4699.     @raven_bitmaps[14].fill_rect(15, 8, 1, 2, raven_color3)
  4700.  
  4701.     # Raven down 4
  4702.     @raven_bitmaps[15] = Bitmap.new(18, 10)
  4703.     @raven_bitmaps[15].set_pixel(3, 0, raven_color3)
  4704.     @raven_bitmaps[15].fill_rect(8, 0, 2, 1, raven_color2)
  4705.     @raven_bitmaps[15].set_pixel(14, 0, raven_color3)
  4706.     @raven_bitmaps[15].set_pixel(0, 1, raven_color1)
  4707.     @raven_bitmaps[15].set_pixel(1, 1, raven_color2)
  4708.     @raven_bitmaps[15].fill_rect(2, 1, 3, 1, raven_color1)
  4709.     @raven_bitmaps[15].fill_rect(5, 1, 2, 1, raven_color3)
  4710.     @raven_bitmaps[15].set_pixel(7, 1, raven_color2)
  4711.     @raven_bitmaps[15].fill_rect(8, 1, 2, 1, raven_color4)
  4712.     @raven_bitmaps[15].set_pixel(10, 1, raven_color2)
  4713.     @raven_bitmaps[15].fill_rect(11, 1, 2, 1, raven_color3)
  4714.     @raven_bitmaps[15].fill_rect(13, 1, 3, 1, raven_color1)
  4715.     @raven_bitmaps[15].set_pixel(16, 1, raven_color2)
  4716.     @raven_bitmaps[15].set_pixel(17, 1, raven_color1)
  4717.     @raven_bitmaps[15].set_pixel(1, 2, raven_color3)
  4718.     @raven_bitmaps[15].set_pixel(2, 2, raven_color4)
  4719.     @raven_bitmaps[15].set_pixel(3, 2, raven_color2)
  4720.     @raven_bitmaps[15].fill_rect(4, 2, 1, 3, raven_color4)
  4721.     @raven_bitmaps[15].set_pixel(5, 2, raven_color1)
  4722.     @raven_bitmaps[15].fill_rect(6, 2, 2, 1, raven_color3)
  4723.     @raven_bitmaps[15].fill_rect(8, 2, 2, 1, raven_color2)
  4724.     @raven_bitmaps[15].fill_rect(10, 2, 2, 1, raven_color3)
  4725.     @raven_bitmaps[15].set_pixel(12, 2, raven_color1)
  4726.     @raven_bitmaps[15].fill_rect(13, 2, 1, 3, raven_color4)
  4727.     @raven_bitmaps[15].set_pixel(14, 2, raven_color2)
  4728.     @raven_bitmaps[15].set_pixel(15, 2, raven_color4)
  4729.     @raven_bitmaps[15].set_pixel(16, 2, raven_color3)
  4730.     @raven_bitmaps[15].set_pixel(2, 3, raven_color3)
  4731.     @raven_bitmaps[15].fill_rect(3, 3, 1, 2, raven_color4)
  4732.     @raven_bitmaps[15].fill_rect(5, 3, 1, 2, raven_color2)
  4733.     @raven_bitmaps[15].fill_rect(6, 3, 1, 2, raven_color4)
  4734.     @raven_bitmaps[15].set_pixel(7, 3, raven_color3)
  4735.     @raven_bitmaps[15].fill_rect(8, 3, 2, 2, raven_color4)
  4736.     @raven_bitmaps[15].set_pixel(10, 3, raven_color3)
  4737.     @raven_bitmaps[15].fill_rect(11, 3, 1, 2, raven_color4)
  4738.     @raven_bitmaps[15].fill_rect(12, 3, 1, 2, raven_color2)
  4739.     @raven_bitmaps[15].fill_rect(14, 3, 1, 2, raven_color4)
  4740.     @raven_bitmaps[15].set_pixel(15, 3, raven_color3)
  4741.     @raven_bitmaps[15].set_pixel(7, 4, raven_color1)
  4742.     @raven_bitmaps[15].set_pixel(10, 4, raven_color1)
  4743.     @raven_bitmaps[15].fill_rect(3, 5, 3, 1, raven_color3)
  4744.     @raven_bitmaps[15].set_pixel(6, 5, raven_color1)
  4745.     @raven_bitmaps[15].fill_rect(7, 5, 4, 1, raven_color2)
  4746.     @raven_bitmaps[15].set_pixel(11, 5, raven_color1)
  4747.     @raven_bitmaps[15].fill_rect(12, 5, 3, 1, raven_color3)
  4748.     @raven_bitmaps[15].fill_rect(7, 6, 1, 2, raven_color3)
  4749.     @raven_bitmaps[15].fill_rect(8, 6, 2, 2, raven_color4)
  4750.     @raven_bitmaps[15].fill_rect(10, 6, 1, 2, raven_color3)
  4751.     @raven_bitmaps[15].fill_rect(8, 8, 2, 1, raven_color7)
  4752.     @raven_bitmaps[15].fill_rect(8, 9, 2, 1, raven_color3)
  4753. #-------------------------------------------------------------------------------
  4754.     @user_bitmaps = []
  4755.     update_user_defined
  4756.   end
  4757. #-------------------------------------------------------------------------------  
  4758.   def update_user_defined
  4759.     @user_bitmaps.each {|image| image.dispose}
  4760.     $WEATHER_IMAGES.each {|name| @user_bitmaps.push(RPG::Cache.picture(name))}
  4761.     @sprites.each {|sprite| sprite.bitmap = @user_bitmaps[rand(@user_bitmaps.size)]}
  4762.   end
  4763.   attr_reader :type
  4764.   attr_reader :max
  4765.   attr_reader :ox
  4766.   attr_reader :oy
  4767. end
  4768. end
  4769. #-------------------------------------------------------------------------------
  4770. # Game_Screen
  4771. #-------------------------------------------------------------------------------
  4772. class Game_Screen
  4773.  
  4774.   attr_accessor :weather_variation
  4775.   attr_accessor :variation_update
  4776.  
  4777.   alias zer0_weather_color_init initialize
  4778.   def initialize
  4779.     zer0_weather_color_init
  4780.     @weather_variation = 0
  4781.     @variation_update = false
  4782.   end
  4783.  
  4784.   def weather(type, power, duration, variation=0)
  4785.     @variation_update = true if variation != @weather_variation
  4786.     @weather_variation = variation
  4787.     @weather_type_target = type
  4788.     @weather_duration = duration
  4789.     if @weather_type_target != 0
  4790.       @weather_type = @weather_type_target
  4791.     end
  4792.     @weather_max_target = @weather_type_target == 0 ? 0.0 : (power + 1) * 4.0
  4793.     if @weather_duration == 0
  4794.       @weather_type = @weather_type_target
  4795.       @weather_max = @weather_max_target
  4796.     end
  4797.   end
  4798. end
  4799. #-------------------------------------------------------------------------------
  4800. # Spriteset_Map
  4801. #-------------------------------------------------------------------------------
  4802. class Spriteset_Map
  4803.   # This will re-cache the weather bitmaps when a new variation is chosen
  4804.   alias zer0_weather_variation_upd update
  4805.   def update
  4806.     if $game_screen.variation_update
  4807.       @weather.dispose if @weather != nil
  4808.       @weather = RPG::Weather.new(@viewport1)
  4809.       $game_screen.variation_update = false
  4810.     end
  4811.     zer0_weather_variation_upd
  4812.   end
  4813. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement