:enter_spa
  switch holdPlayerAsync ON
  Thalia closeSpa
  switch isSpaDoorOpen OFF
  wait 16
  switch playerWearingSwimsuit ON
  move villager Player 34,37,8
  wait for Player
  show animation Player SPA


:fade_out_spa
  fade out
  wait 20
  add hours 1
  refresh time
  restore health spa
  Thalia openSpa now
  switch playerWearingSwimsuit OFF
  switch hidePlayer OFF
  offset Player Y 0
  offset Player X 0
  move villager Player now 34,39
  move villager Player 34,40,2
  restore camera now
  fade in
  wait for Player
  Thalia closeSpa
  switch holdPlayerAsync OFF

:thalia_spa
  if-switch isSpaDoorOpen
    Thalia "The door is open, you're free to go into the hot springs whenever you want now."
    return
  end

  Thalia "Hello, hello! Welcome to the Orange Town spa."

  if-variable bathCount == 0
    Thalia "Since it's your first time here, I won't charge you anything. Do you want to go into the hot springs now?"
  else
    if-variable bathCount < 7
      Thalia "Since you're new here, I'll give you a nice discount. Just <color:important>$ 100</color> for an hour in the hot springs. What do you think?"
    else
      Thalia "You can enter the hot springs for just <color:important>$ 300</color>. What do you think?"
    end
  end

  Player ("Do I want to enter the hot springs now?", "Yes", "No", "No")

  if response == "Yes"
    if-variable bathCount > 0
      if-variable bathCount < 7
        if has gold 100
          lose gold 100
          include thalia_spa_confirm
        else
          include thalia_spa_no_money
        end

        return
      end

      if has gold 300
        lose gold 300
        include thalia_spa_confirm
      else
        include thalia_spa_no_money
      end

      return
    end

    include thalia_spa_confirm
  end

:thalia_spa_no_money
  Thalia "Looks like you don't have enough money."

:thalia_spa_confirm
  Thalia openSpa
  switch isSpaDoorOpen ON

  Thalia "Thank you for your business!"