module Input
@old_repeat = method('repeat?') if @old_trigger.nil?
def self.repeat?(key)
if $game_switches != nil && $game_switches[1]
case key
when Input::UP
key = Input::DOWN
when Input::DOWN
key = Input::UP
when Input::LEFT
key = Input::RIGHT
when Input::RIGHT
key = Input::LEFT
end
end
@old_repeat.call(key)
end
end
module Input
@old_repeat = method('repeat?') if @old_trigger.nil?
def self.repeat?(key)
if $game_switches != nil && $game_switches[1]
case key
when Input::UP
key = Input::DOWN
when Input::DOWN
key = Input::UP
when Input::LEFT
key = Input::RIGHT
when Input::RIGHT
key = Input::LEFT
end
end
@old_repeat.call(key)
end
end