mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 06:46:00 +00:00
Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
class PictureOrigin
|
||||
TOP_LEFT = 0
|
||||
CENTER = 1
|
||||
@@ -12,8 +15,9 @@ class PictureOrigin
|
||||
RIGHT = 8
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
class Processes
|
||||
XY = 0
|
||||
DELTA_XY = 1
|
||||
@@ -35,8 +39,9 @@ class Processes
|
||||
CROP_BOTTOM = 17
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
def getCubicPoint2(src, t)
|
||||
x0 = src[0]
|
||||
y0 = src[1]
|
||||
@@ -72,8 +77,6 @@ def getCubicPoint2(src, t)
|
||||
return [cx, cy]
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
# PictureEx
|
||||
#===============================================================================
|
||||
@@ -456,8 +459,6 @@ class PictureEx
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user