diff --git a/Data/Scripts/003_Game processing/004_Interpreter_Commands.rb b/Data/Scripts/003_Game processing/004_Interpreter_Commands.rb index e17ae073d..581672311 100644 --- a/Data/Scripts/003_Game processing/004_Interpreter_Commands.rb +++ b/Data/Scripts/003_Game processing/004_Interpreter_Commands.rb @@ -429,21 +429,7 @@ class Interpreter result = (@parameters[2] == 0) ? (gold >= @parameters[1]) : (gold <= @parameters[1]) # when 8, 9, 10 # item, weapon, armor when 11 # button - button = { - 2 => Input::DOWN, - 4 => Input::LEFT, - 6 => Input::RIGHT, - 8 => Input::UP, - 11 => Input::ACTION, - 12 => Input::BACK, - 13 => Input::USE, - 14 => Input::JUMPUP, - 15 => Input::JUMPDOWN, - 16 => Input::SPECIAL, - 17 => Input::AUX1, - 18 => Input::AUX2 - }[@parameters[1]] - result = button && Input.press?(button) + result = Input.press?(@parameters[1]) when 12 # script result = execute_script(@parameters[1]) end diff --git a/Data/Scripts/005_Sprites/003_Sprite_Character.rb b/Data/Scripts/005_Sprites/003_Sprite_Character.rb index 9b0bbbe93..8a8afdcfd 100644 --- a/Data/Scripts/005_Sprites/003_Sprite_Character.rb +++ b/Data/Scripts/005_Sprites/003_Sprite_Character.rb @@ -135,6 +135,7 @@ class Sprite_Character < RPG::Sprite self.bitmap = nil @cw = 0 @ch = 0 + @reflection&.update end @character.sprite_size = [@cw, @ch] end