:talk_to_villager
  include chat

  # #ToDo: randomly have the villager invite the player to hang out
  # include show_more_conversation_options

:give_gift_to_villager
  include chat

  if-variable giftLevel >= 0
    include show_more_conversation_options
  end

:show_more_conversation_options
  clear choices

  if hearts >= 1
    if Managers.Villagers.canAddVillagerToParty(Variables.friendName)
      add choice Ask to hang out
    end
  end

  if this.hasChoices()
    # Use a different question based on the villager gender to make it easier to localize the question on gendered languages
    if Managers.Villagers.getVillagerGender(Variables.friendName) == 'female'
      Notice ("more_options_question_female", "Nothing")
    else
      Notice ("more_options_question_male", "Nothing")
    end

    if response == "Ask to hang out"
      include invite_to_hang_out
      return
    end
  end

:gabriel_dance_preload
  js Managers.Images.loadCharacter('villagers/gabriel-dance');

:gabriel_dance
  label beginning
  if !Managers.Images.loadCharacter('villagers/gabriel-dance').isReady()
    wait 12
    go to label beginning
  end

  remove villager Gabriel
  js $gameMap.createNormalEventAt('villagers/gabriel-dance', 0, 10.5, 10, Direction.DOWN, false, true, Objects.Dancer)._x = 10.5;
  + $gameMap.createActionEventAt(10, 12, 1, false)._hitboxHeight = 0.25;
  + $gameMap.createActionEventAt(11, 12, 1, false)._hitboxHeight = 0.25;