Automatic Skill Target on Menu?

Automatic Skill Target on Menu

Details:

I am making a game where it only concerns one player. This means no other players are available to play but that character. However, there seems to be an annoying part of the game when I select skills from my menu. First off, the thing I want to do is I want the game to directly select that player when I choose Skills option.

Normally, when you select the Skill option, it transports you to the list of skills and the category of the skill you want to use. When you select Heal for example, it shows you a new window that lets you select who gets healed. That is the part I really don't want. Is there a way to just directly heal that actor since there's no other actor to heal but him/her anyway?

Thanks.
There is. Just edit the Scene_Skill.

Edit: Try this:

Code:
class Scene_ItemBase < Scene_Base    alias :item_target_actors_one_only :item_target_actors  def item_target_actors    if item.for_friend? && item.for_one?      [$game_party.leader]    else      item_target_actors_one_only    end  end  endclass Scene_Skill < Scene_ItemBase    alias :create_item_window_one_actor :create_item_window  def create_item_window    create_item_window_one_actor    @item_window.set_handler(:ok,     method(:on_actor_ok))  end  end

Original thread: https://forums.rpgmakerweb.com/threads/automatic-skill-target-on-menu.25338/