mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Created and implemented GameData::Species
This commit is contained in:
@@ -28,9 +28,7 @@ end
|
||||
class AnimatedBitmap
|
||||
def initialize(file,hue=0)
|
||||
if file==nil
|
||||
raise "Filename is nil (missing graphic)\r\n\r\n"+
|
||||
"If you see this error in the Continue/New Game screen, you may be loading another game's save file. "+
|
||||
"Check your project's title (\"Game > Change Title...\" in RMXP).\r\n"
|
||||
raise "Filename is nil (missing graphic)."
|
||||
end
|
||||
if file.split(/[\\\/]/)[-1][/^\[\d+(?:,\d+)?]/] # Starts with 1 or more digits in square brackets
|
||||
@bitmap = PngAnimatedBitmap.new(file,hue)
|
||||
|
||||
Reference in New Issue
Block a user