diff --git a/scripts/Window_Help.rb b/scripts/Window_Help.rb index a5bffa2..1c6c2e8 100644 --- a/scripts/Window_Help.rb +++ b/scripts/Window_Help.rb @@ -9,7 +9,7 @@ class Window_Help < Window_Base # * Object Initialization #-------------------------------------------------------------------------- def initialize - super(Graphics.width / 2 - 304, 16, 608, 64) + super(Graphics.width / 2 - 304, Graphics.height > 600 ? Graphics.height / 2 - 160 : 16, 608, 64) self.contents = Bitmap.new(width - 32, height - 32) Language.register_text_sprite(self.class.name + "_contents", self.contents) self.visible = false diff --git a/scripts/Window_Item.rb b/scripts/Window_Item.rb index 59f8602..70f21c8 100644 --- a/scripts/Window_Item.rb +++ b/scripts/Window_Item.rb @@ -12,7 +12,7 @@ class Window_Item < Window_Selectable # * Object Initialization #-------------------------------------------------------------------------- def initialize - super(Graphics.width / 2 - 304, 96, 608, 224) + super(Graphics.width / 2 - 304, Graphics.height > 600 ? Graphics.height / 2 - 80 : 96, 608, 224) @column_max = COLUMN_MAX refresh self.index = 0