mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +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 PictureSprite < Sprite
|
||||
def initialize(viewport, picture)
|
||||
super(viewport)
|
||||
@@ -50,8 +53,6 @@ class PictureSprite < Sprite
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
def pbTextBitmap(text, maxwidth = Graphics.width)
|
||||
tmp = Bitmap.new(maxwidth, Graphics.height)
|
||||
pbSetSystemFont(tmp)
|
||||
@@ -59,10 +60,8 @@ def pbTextBitmap(text, maxwidth = Graphics.width)
|
||||
return tmp
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
# EventScene
|
||||
#
|
||||
#===============================================================================
|
||||
class EventScene
|
||||
attr_accessor :onCTrigger, :onBTrigger, :onUpdate
|
||||
@@ -181,8 +180,6 @@ class EventScene
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user