:phi_missing_blue_boots
  Phi "Have you seen any blue boots lying around, <name>? Richard gave me them as a gift, but they were too big. I must have lost them while playing around town."
  Player ("You lost your boots...", "Offer to help", "Ignore")
  if response == "Offer to help"
    Player "Do you want me to help search for it?"
    Phi "Would you? Thank you so much, you're such a peach!"
    Player "...<wait><?>A peach?"

    switch heardAboutMissingBlueBoots ON
    js Managers.FarmObjects.createItemAt(Maps.ORANGE_TOWN, 43, 72, 'left-blue-boot')
    js Managers.FarmObjects.createItemAt(Maps.ORANGE_TOWN, 72, 2, 'right-blue-boot')
    accept looking_for_blue_boots
  else
    Player "I haven't seen it."
    switch heardAboutMissingBlueBoots ON
  end

:phi_player_has_both_boots
  Phi "Oh <name>, you've found my boots! Thank you so much!"
  
  js Managers.Items.displayItemId = 'left-blue-boot'
  wait 30
  js Managers.Items.loseItemId('left-blue-boot')
  + Managers.Items.displayItemId = 'none';
  + Managers.Sound.playDropItem();
  switch deliveredLeftBoot ON
  wait 30

  js Managers.Items.displayItemId = 'right-blue-boot';
  wait 30
  js Managers.Items.loseItemId('right-blue-boot');
  + Managers.Items.displayItemId = 'none';
  + Managers.Sound.playDropItem();
  switch deliveredRightBoot ON
  wait 30

  js Managers.Items.displayItemId = undefined;
  play child phi_looking_for_blue_boots_completed

:phi_looking_for_blue_boots_completed
  Phi "You can have those as a reward for your help."
  js Managers.Items.pickItemId('peach', 5);
  wait 30
  complete looking_for_blue_boots

:phi_player_has_left_boot_only
  if-switch deliveredRightBoot
    Phi "Oh <name>, you found the other one! Thank you so much!"
  else
    Phi "Oh <name>, you found one of them, thank you so much!"
  end

  js Managers.Items.displayItemId = 'left-blue-boot'
  wait 30
  js Managers.Items.loseItemId('left-blue-boot')
  + Managers.Items.displayItemId = 'none';
  + Managers.Sound.playDropItem();
  switch deliveredLeftBoot ON
  wait 30

  if-switch deliveredRightBoot
    play child phi_looking_for_blue_boots_completed
  else
    Phi "Let me know if you find the other one."
  end

:phi_player_has_right_boot_only
  if-switch deliveredLeftBoot
    Phi "Oh <name>, you found the other one! Thank you so much!"
  else
    Phi "Oh <name>, you found one of them, thank you so much!"
  end

  js Managers.Items.displayItemId = 'right-blue-boot';
  wait 30
  js Managers.Items.loseItemId('right-blue-boot');
  + Managers.Items.displayItemId = 'none';
  + Managers.Sound.playDropItem();
  switch deliveredRightBoot ON
  wait 30

  if-switch deliveredLeftBoot
    play child phi_looking_for_blue_boots_completed
  else
    Phi "Let me know if you find the other one."
  end

:lady_phi_complete
  Phi "<name>! What a nice surprise. Are those pink daisies for me?"
  Player ("The pink daisies...", "Yes they are.", "Nope.", "Nope.")

  if response == "Yes they are."
    Phi "Oh, thank you so much, <name>! I have something for you as well."
    gain item corn x 5
    lose item pink-daisy x 5
    complete lady-phi

    return
  end

  Phi "Wrong answer."