diff --git a/mklangsrc.rb b/mklangsrc.rb index 02a9ccd..872b01b 100644 --- a/mklangsrc.rb +++ b/mklangsrc.rb @@ -47,22 +47,6 @@ module RPG end end class Table - def each_with_index - x = 0 - y = 0 - z = 0 - while z < self.sizez - while y < self.sizey - while x < self.sizex - yield(self[x, y, z], x, y, z) - x += 1 - end - y += 1 - end - z += 1 - end - end - def self._load(foo) end end diff --git a/scripts/Sprite_Picture.rb b/scripts/Sprite_Picture.rb index 85fc886..5274b16 100644 --- a/scripts/Sprite_Picture.rb +++ b/scripts/Sprite_Picture.rb @@ -68,8 +68,8 @@ class Sprite_Picture < Sprite self.ox = self.bitmap.width / 2 self.oy = self.bitmap.height / 2 # Set sprite coordinates - self.x = Graphics.width + @picture.x - self.y = Graphics.height + @picture.y + self.x = Graphics.width / 2 + @picture.x + self.y = Graphics.height / 2 + @picture.y end self.z = @picture.number # Set zoom rate, opacity level, and blend method