Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping

This commit is contained in:
Maruno17
2023-01-23 22:27:04 +00:00
parent f6213057d8
commit b0b6e675c3
103 changed files with 1099 additions and 1302 deletions

View File

@@ -1,4 +1,4 @@
################################################################################
#===============================================================================
# "Tile Puzzle" mini-games
# By Maruno
# Graphics by the__end
@@ -14,7 +14,7 @@
# board = The name/number of the graphics to be used.
# width,height = Optional, the number of tiles wide/high the puzzle is (0 for
# the default value of 4).
################################################################################
#===============================================================================
class TilePuzzleCursor < BitmapSprite
attr_accessor :game
attr_accessor :position
@@ -83,8 +83,9 @@ class TilePuzzleCursor < BitmapSprite
end
end
#===============================================================================
#
#===============================================================================
class TilePuzzleScene
def initialize(game, board, width, height)
@game = game
@@ -563,8 +564,9 @@ class TilePuzzleScene
end
end
#===============================================================================
#
#===============================================================================
class TilePuzzle
def initialize(scene)
@scene = scene
@@ -578,8 +580,9 @@ class TilePuzzle
end
end
#===============================================================================
#
#===============================================================================
def pbTilePuzzle(game, board, width = 0, height = 0)
ret = false
pbFadeOutIn {