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

@@ -54,8 +54,6 @@ def getContrastColor(color)
return color.get_contrast_color
end
#===============================================================================
# Format text
#===============================================================================
@@ -248,8 +246,6 @@ def getLastColors(colorstack, opacitystack, defaultcolors)
return colors
end
#===============================================================================
# Formats a string of text and returns an array containing a list of formatted
# characters.
@@ -317,7 +313,6 @@ In addition, the syntax supports the following:
To draw the characters, pass the returned array to the
_drawFormattedChars_ function.
=end
def getFormattedText(bitmap, xDst, yDst, widthDst, heightDst, text, lineheight = 32,
newlineBreaks = true, explicitBreaksOnly = false,
collapseAlignments = false)
@@ -774,8 +769,6 @@ def getFormattedText(bitmap, xDst, yDst, widthDst, heightDst, text, lineheight =
return characters
end
#===============================================================================
# Draw text and images on a bitmap
#===============================================================================
@@ -1109,8 +1102,6 @@ def pbDrawTextPositions(bitmap, textpos)
end
end
#===============================================================================
# Draw images on a bitmap
#===============================================================================