<?xml version="1.0" encoding="utf-8" ?>
<Sprites>

  <payphone path="cutscenes/payphone/minidres/Miyabi/" start="idle">
    <Justify x=".5" y="1" />
    <Loop id="idle" path="phone" delay="0.1" frames="0"/>
    <Anim id="pickUp" path="phone" delay="0.08" frames="1-11"/>
    <Loop id="talkPhone" path="phone" delay="0.08" frames="11"/>
    <Anim id="jumpBack" path="phone" delay="0.08" frames="12-17"/>
    <Anim id="scare" path="phone" delay="0.08" frames="18-21"/>
    <Anim id="transform" path="phone" delay="0.08" frames="22-45" />
    <Anim id="eat" path="phone" delay="0.08" frames="46-73,83*2,84*2,85*2,86*2,87*2,74-82"/>
    <Loop id="monsterIdle" path="phone" delay="0.2" frames="83-87"/>
  </payphone>

  <lookout path="objects/lookout/minidres/Miyabi/" start="idle">
    <Justify x=".5" y="1" />
    <Loop id="idle" path="lookout" delay="0.1" frames="5*9,6"/>
    <Anim id="lookRight" path="lookout" delay="0.08" frames="0-4" goto="looking"/>
    <Anim id="lookLeft" path="lookout" delay="0.08" frames="15-17,3,4" goto="looking"/>
    <Loop id="looking" path="lookout" delay="0.08" frames="4"/>
    <Loop id="lookingUp" path="lookout" frames="7"/>
    <Loop id="lookingUpRight" path="lookout" frames="8"/>
    <Loop id="lookingRight" path="lookout" frames="9"/>
    <Loop id="lookingDownRight" path="lookout" frames="10"/>
    <Loop id="lookingDown" path="lookout" frames="11"/>
    <Loop id="lookingDownLeft" path="lookout" frames="12"/>
    <Loop id="lookingLeft" path="lookout" frames="13"/>
    <Loop id="lookingUpLeft" path="lookout" frames="14"/>
  </lookout>

  <HonlyHelper_CatPetter path="characters/minidres/Miyabi/modded/HonlyHelper/" start="pet">
    <Loop id="pet" path="player_pet" delay="0.15"/>
  </HonlyHelper_CatPetter>

  <CollabUtils2_sitBench path="characters/minidres/Miyabi/modded/CollabUtils2/" start="sit">
    <Justify x="0.5" y="1.0" />
    <Anim id="sit" path="sitBench" delay=".08" frames="0-17"/>
    <Anim id="sitHair" path="sitBenchHair" delay=".08" frames="0-17"/>
  </CollabUtils2_sitBench>

<!-- NPCs -->

  <badeline path="characters/minidres/clone/">
    <Justify x=".5" y="1" />
    
    <Loop id="idle" path="idle" delay="0.1" />
    <Loop id="idleA" path="idle" delay="0.1" />
    <Loop id="idleB" path="idle" delay="0.1" />
    <Loop id="idleC" path="idle" delay="0.1" />
    <Anim id="lookUp" path="lookUp" delay="0.1" />
    <Loop id="walk" path="walk" delay="0.06" />
    <Loop id="push" path="push" delay="0.1" />
    <Anim id="runSlow" path="runSlow" delay="0.07" goto="runFast" />
    <Loop id="runFast" path="runFast" delay="0.05" />
    <Anim id="runStumble" path="runStumble" delay="0.05" frames="10-11,0-11" goto="runFast"/>
    <Loop id="dash" path="dash" delay="0.06" />
    <Anim id="dreamDashIn" path="dreamDash" frames="0-3" delay="0.04" goto="dreamDashLoop"/>
    <Loop id="dreamDashLoop" path="dreamDash" frames="4-16" delay="0.03" />
    <Anim id="dreamDashOut" path="dreamDash" frames="17-20" delay="0.04" />
    <Loop id="slide" path="slide" delay="0.03" />
    <Loop id="jumpSlow" path="jumpSlow" delay="0.1" frames="0,1" />
    <Loop id="jumpFast" path="jumpFast" delay="0.1" frames="0,1" />
    <Anim id="fallSlow" path="jumpSlow" delay="0.1" frames="2,3" />
    <Anim id="fallFast" path="jumpFast" delay="0.1" frames="2,3" />
    <Loop id="tired" path="tired" delay="0.18" />
    <Loop id="wallslide" path="climb" frames="0" />
    <Anim id="climbLookBackStart" path="climb" delay="0.08" frames="6,7,8" goto="climbLookBack" />
    <Loop id="climbLookBack" path="climb" frames="8" />
    <Loop id="climbup" path="climb" delay="0.04" frames="0-5" />
    <Loop id="duck" path="duck" delay="0" frames="0" />
    <Loop id="edge" path="edge" delay="0.25" frames="0-13" />
    <Anim id="sleep" path="sleep" delay="0.1" frames="0-10,10*5,11-23" />
    <Anim id="faint" path="faint" delay="0.1" frames="0-10" goto="fainted" />
    <Loop id="fainted" path="faint" delay="0.1" frames="10" />
    <Anim id="flip" path="flip" delay="0.04" frames="0-7" goto="runFast"/>
    <Loop id="skid" path="flip" delay="0.04" frames="8"/>
    <Loop id="dangling" path="dangling" delay="0.11" frames="0-9" />
    <Anim id="spawn" path="spawn" delay="0.08" frames="0*3,0-9" goto="fallSlow"/>
    <Loop id="laugh" path="laugh" delay="0.04" />
    <Loop id="angry" path="angry" delay="0.04" />
    <Anim id="boost" path="boost" delay="0.05"/>

    <Loop id="pretendDead" path="sleep" delay="0" frames="23" />
    <Loop id="spin" path="spin" delay="0.1" />
    <Loop id="hug" path="hug" delay="0.08"/>
    
    <Metadata>
      <Frames path="idle" hair="0,-2|0,-2|0,-2|0,-2|0,-1|0,-1|0,-1|0,-1|0,-1"/>
      <Frames path="lookUp" hair="0,-2|0,-2|0,-2|0,-2|-1,-1:1|-1,-2:1|-1,-2:1|-1,-2:1|-1,-3:1"/>
      <Frames path="edge" hair="-1,-2|-1,-2|-1,-2|-1,-1|-1,-1|-1,-1|-1,-2|0,-2|1,-2|0,-2|0,-1|-1,-1|-1,-1|-1,-2"/>
      <Frames path="walk" hair="0,-2|0,-1|0,-1|0,-1|0,-3|0,-2|0,-1|0,-1|0,-1|0,-1|0,-3|0,-2"/>
      <Frames path="push" hair="1,-2|1,-1|1,-1|1,-1|1,-3|1,-3|1,-3|1,-2|1,-1|1,-1|1,-1|1,-1|1,-3|1,-2|1,-2|1,-2"/>
      <Frames path="runSlow" hair="1,-2|1,-1|1,-1|1,-1|1,-3|1,-2|1,-1|1,-1|1,-1|1,-1|1,-3|1,-2"/>
      <Frames path="runFast" hair="1,-2|1,-1|1,-1|1,-1|1,-3|1,-2|1,-1|1,-1|1,-1|1,-1|1,-3|1,-2"/>
      <Frames path="runStumble" hair="1, 1|1,2|1,2|1,0|1,-2|1,-2|1,-1|1,-1|1,-1|1,-1|1,-3|1,-2"/>
      <Frames path="dash" hair="2,0|2,0|2,0|2,1"/>
      <Frames path="dreamDash" hair="2,0|1,0|0,0|0,0|1,1|2,1|2,1|2,0|1,0|1,0|1,0|1,0|1,0|1,0|1,0|1,0|1,0|0,0|1,0|1,0|2,1"/>
      <Frames path="slide" hair="0,3|0,3|0,3"/>
      <Frames path="jumpSlow" hair="1,-3|1,-3|1,-2|0,-2"/>
      <Frames path="jumpFast" hair="1,-3|1,-3|1,-2|0,-2"/>
      <Frames path="tired" hair="0,1|0,2|0,1|0,0"/>
      <Frames path="climb" hair="0,-2|0,-2|0,-2|0,-2|-1,-2|-1,-2|0,-1|1,-2:1|2,-2:2"/>
      <Frames path="duck" hair="0,3"/>
      <Frames path="sleep" hair=""/>
      <Frames path="flip" hair="-1,-1:2|-1,-1:1|0,-1:1|1,-1:0|1,-1:0|1,0:0|2,0:0|2,0:0|2,0:0"/>
      <Frames path="dangling" hair="0,-2|0,-2|0,-2|0,-2|-1,-2|-1,-2|-1,-2|-1,-2|-1,-2|-1,-2"/>
      <Frames path="faint" hair="0,1|0,1|0,1|0,1|1,1|2,1|2,2|5,5|6,8|6,7"/>
      <Frames path="fainted" hair="6,7"/>
      <Frames path="spawn" hair="x|x|x|x|x|x|x|x|1,-6|1,-6|1,-5|1,-5|1,-4|1,-4|1,-3|1,-3|0,-2"/>
      <Frames path="laugh" hair="0,-3|0,-3|0,-3|0,-2|0,-2|0,-2"/>
      <Frames path="angry" hair="-1,-3|-1,-3|-1,-3|-1,-2|-1,-2|-1,-2"/>
      <Frames path="boost" hair="0,-2|0,-2|0,-2|0,-2|0,0|0,-6|0,-3|0,-1|0,-1|0,-2"/>
      <Frames path="hug" hair="0,2"/>
    </Metadata>
  </badeline>

  <badeline_boss path="characters/minidres/cloneBoss/" start="idle">
    <Justify x="0.5" y=".64" />
    <Loop id="idle" path="boss" delay="0.06" frames="0-23"/>
    
    <Loop id="scaredIdle" path="scared" delay="0.06" frames="0-19"/>
    <Anim id="scaredTransition" path="scared" delay="0.1" frames="20-29" goto="calm"/>
    <Loop id="calm" path="scared" delay="0.06" frames="30"/>
    <Anim id="lookUp" path="scared" delay="0.08" frames="30-30" goto="lookingUp"/>
    <Loop id="lookingUp" path="scared" delay="0.08" frames="35"/>
    
    <Anim id="attack1Begin" path="boss" delay="0.06" frames="24-29" goto="attack1Loop"/>
    <Anim id="attack1Loop" path="boss" delay="0.06" frames="30-36" goto="attack1Loop"/>
    <Anim id="attack1Recoil" path="boss" delay="0.06" frames="40-45" goto="idle"/>

    <Anim id="attack2Begin" path="charge" delay="0.06" frames="0-17" goto="attack2Aim"/>
    <Anim id="attack2Aim" path="charge" delay="0.06" frames="18-28" goto="attack2Aim"/>
    <Anim id="attack2Lock" path="charge" delay="0.06" frames="29-39" goto="attack2Lock"/>
    <Anim id="attack2Recoil" path="charge" delay="0.06" frames="40-45" goto="idle"/>
   
    <Anim id="getHit" path="hit" delay="0.06" frames="0-9" goto="star"/>
    <Loop id="star" path="hit" delay="0.06" frames="10-15"/>
    <Anim id="recoverHit" path="hit" delay="0.06" frames="16-19" goto="idle"/>
  </badeline_boss>

  <badeline_projectile path="characters/minidres/cloneBoss/" start="charge">
    <Justify x=".5" y=".5" />
    <Anim id="charge" path="projectile" delay="0.06" frames="0-3"  goto="loop"/>
    <Loop id="loop" path="projectile" delay="0.06" frames="4-12"/>
  </badeline_projectile>
  <badeline_beam path="characters/minidres/cloneBoss/" start="charge">
    <Justify x="0" y=".5" />
    <Loop id="charge" path="beam" delay="0.06" frames="0-13"/>
    <Anim id="lock" path="beam" delay="0.03" frames="14-25"/>
    <Anim id="shoot" path="beam" delay="0.04" frames="26-36"/>
  </badeline_beam>

  <badeline_beam_start path="characters/minidres/cloneBoss/" start="shoot">
    <Justify x="0" y=".5" />
    <Anim id="shoot" path="beamStart" delay="0.06"/>
  </badeline_beam_start>

  <granny path="characters/minidres/yanagi/" start="idle">
    <Justify x=".5" y="1" />

    <Loop id="idle" path="idle" delay="0.15" />
    <Loop id="walk" path="walk" delay="0.1" />
    <Loop id="laugh" path="laugh" delay="0.1" />
    <Anim id="airQuotes" path="quotes" delay="0.16" frames="0-11" goto="pointCane"/>
    <Loop id="pointCane" path="quotes" delay="0.16" frames="12-28" />
  </granny>
  
  <theo path="characters/minidres/haru/" start="idle">
    <Justify x=".5" y="1" />

    <Loop id="idle" path="theo" delay="0.1" frames="0-9" />
    <Loop id="idleEdge" path="theo" delay="0.1" frames="140-143" />

    <Anim id="sitDown" path="theo" delay="0.1" frames="176-182"/>
    <Anim id="sleep" path="theo" delay="0.1" frames="183-188"/>
    <Anim id="wakeup" path="theo" delay="0.1" frames="188-182"/>
    <Anim id="comfortStart" path="theo" delay="0.1" frames="168-172" goto="comfort"/>
    <Loop id="comfort" path="theo" delay="0.1" frames="173-175" />
    <Anim id="comfortRecover" path="theo" delay="0.1" frames="172-168" goto="idle"/>

    <Loop id="falling" path="theo" delay="0.1" frames="144-147" />
    <Anim id="hitGround" path="theo" delay="0.1" frames="148-153" goto="idleGround"/>
    <Loop id="idleGround" path="theo" delay="0.1" frames="154" />
    <Loop id="talkGround" path="theo" delay="0.25" frames="154-156" />
    <Anim id="recoverGround" path="theo" delay="0.1" frames="157-167" goto="idle" />

    <Loop id="walk" path="theo" delay="0.1" frames="50-59" />
    <Loop id="run" path="run" delay="0.08" frames="0-7" />
    <Anim id="yolo" path="theo" delay="0.1" frames="10-13" />
    <Anim id="yoloEnd" path="theo" delay="0.1" frames="13-17" goto="idle"/>
    <Anim id="think" path="theo" delay="0.12" frames="18-33" goto="idle"/>
    <Anim id="lookBack" path="theo" delay="0.11" frames="34-42,42*10,42-49" goto="idle"/>
    <Anim id="duck" path="theo" delay="0.10" frames="60-67" goto="crawl"/>
    <Loop id="crawl" path="theo" delay="0.10" frames="68-74" />
    <Anim id="givePhone" path="theo" delay="0.11" frames="75-80" />
    <Anim id="givePhoneFinish" path="theo" delay="0.11" frames="80-84" goto="idle"/>
    <Anim id="getPhone" path="theo" delay="0.11" frames="86-92" goto="usePhone"/>
    <Loop id="usePhone" path="theo" delay="0.10" frames="93-100" />
    <Anim id="goToVent" path="theo" delay="0.10" frames="101-105" goto="pullVent"/>
    <Loop id="pullVent" path="theo" delay="0.10" frames="106-109"/>
    <Anim id="fallVent" path="theo" delay="0.10" frames="109*8,110-113,114*2,115-123" goto="idle"/>
    <Anim id="holdOutPhone" path="theo" delay="0.10" frames="124-131"/>
    <Anim id="takeSelfieImmediate" path="theo" delay="0.10" frames="131-139" goto="idle"/>
    <Anim id="takeSelfie" path="theo" delay="0.10" frames="124-139" goto="idle"/>
    <Loop id="tired" path="tired" delay="0.15" frames="0-5"/>
    
    <Anim id="alert" path="alert" delay="0.08"/>
  </theo>

  <theo_crystal path="characters/minidres/haruCrystal/" start="idle">
    <Origin x="32" y="42"/>
    <Loop id="idle" path="idle" delay="0.08"/>
    <Anim id="shatter" path="shatter" delay="0.08" goto="shattered"/>
    <Loop id="shattered" path="shatter" frames="16" delay="0.08"/>
  </theo_crystal>

  <oshiro path="characters/minidres/soukaku/" start="idle">
    <Justify x=".5" y=".667" />

    <Loop id="idle" path="oshiro" delay="0.08" frames="31-41" />
    <Loop id="side" path="oshiro" delay="0.1" frames="87-93" />
    <Loop id="move" path="oshiro" delay="0.06" frames="42-52" />
    <Anim id="appear" path="oshiro" delay="0.08" frames="0-30" goto="idle"/>
    
    <Loop id="sweeping" path="sweep" delay="0.08" frames="0-6"/>
    <Anim id="putBroomAway" path="sweep" delay="0.08" frames="7-18" goto="idle"/>
    
    <Anim id="fall" path="oshiro" delay="0.07" frames="73-81" goto="idle_ground"/>
    <Anim id="recover" path="oshiro" delay="0.08" frames="94-101" goto="idle"/>
    <Loop id="idle_ground" path="oshiro" delay="0.09" frames="82-86" />
  </oshiro>
  
  <oshiro_boss path="characters/minidres/soukaku/" start="transformStart">
    <Justify x=".5" y=".5" />

    <Anim id="transformStart" path="oshiro" delay="0.07" frames="53-57" goto="transformCharge"/>
    <Loop id="transformCharge" path="oshiro" delay="0.07" frames="58-60"/>
    <Anim id="transformFinish" path="oshiro" delay="0.07" frames="61-72" goto="idle"/>
    <Anim id="transformBack" path="boss" delay="0.06" frames="38-53,53*4,53-67"/>
    <Anim id="respawn" path="boss" delay="0.06" frames="0-12" goto="idle"/>

    <Loop id="idle" path="boss" delay="0.09" frames="13-20" />
    <Anim id="charge" path="boss" delay="0.08" frames="21-33"  goto="dash"/>
    <Loop id="dash" path="boss" delay="0.06" frames="34-37"/>
    <Anim id="hurt" path="boss" delay="0.04" frames="68-72"/>
  </oshiro_boss>
  
  <oshiro_boss_lightning path="characters/minidres/soukaku/" start="once">
    <Justify x="0" y=".5" />
    <Anim id="once" path="lightning" delay="0.03" frames="0-6"/>
  </oshiro_boss_lightning>

  <seeker path="characters/minidres/monsters/" start="idle">
    <Justify x="0.5" y="0.5"/>
    <Loop id="idle" path="predator" delay="0.08" frames="0-19"/>
    <Loop id="search" path="predator" delay="0.08" frames="0-19,20-39"/>
    <Anim id="spot" path="predator" delay="0.07" frames="40-43" goto="spotted"/>
    <Loop id="spotted" path="predator" delay="0.07" frames="44-48"/>
    <Anim id="windUp" path="predator" delay="0.07" frames="103-107" goto="attacking"/>
    <Loop id="attacking" path="predator" delay="0.07" frames="49-53"/>
    <Anim id="takeHit" path="predator" delay="0.07" frames="108-121" goto="stunned"/>
    <Loop id="stunned" path="predator" delay="0.07" frames="122,123" />
    <Loop id="pulse" path="predator" delay="0.04" frames="144-151" />
    <Anim id="recover" path="rebirth" delay="0.07"/>
    <Anim id="skid" path="predator" delay="0.07" frames="129-133" goto="attacking"/>
    <Loop id="dazed" path="predator" delay="0.07" frames="134-143" />
    
    <Anim id="hatch" path="predator" delay="0.05" frames="75-102" goto="idle"/>
    <Loop id="statue" path="predator" delay="0.07" frames="75" />

    <Anim id="flipMouth" path="predator" delay="0.05" frames="61-63" goto="spotted"/>
    <Anim id="flipEyes" path="predator" delay="0.05" frames="68-74" goto="search"/>
  </seeker>
	
  <seekerShockWave path="characters/minidres/monsters/" start="shockwave">
	<Center/>
    <Anim id="shockwave" path="Shockwave" delay="0.05"/>
  </seekerShockWave>

  <!-- Collectables -->
  
  <strawberryFriend path="minidres/strawberryFriend/Miyabighost/">
    <Center />
    <Loop id="idle" path="idle" delay=".08" frames="0-4,0-4,11-18" />
    <Anim id="collect" path="idle" delay=".08" frames="11-18" />
    <Anim id="death" path="idle" delay=".02" frames="0-18" />
  </strawberryFriend>
</Sprites>