if (hasMemo("cureBobletoble"))
{
  return "cured";
}
else
{
  if (hasMemo("talkBobletoble") && useItem("BobletobleCure"))
  {
    player.lock("cutscene");
    setMemo("cureBobletoble");
    this.useIcon.initIcon();
    var cure = getName("potion");
    cure.ac(1);
    cure.y += 12;
    cure.x = cure.grid.gridX * 16 + 4;
    //cure.draw.get("sprite").alpha = 1;
    cure.draw.get("sprite").alpha = 0;
    tweenAlpha(cure.draw.get("sprite"), 0, 1, 0.2);
    tween(cure, cure.x, cure.y - 8, 0.5, Ease.sineInOut);
    delay(1.3, function(){
      this.setSpriteName("bobletoble");
      tween(cure, cure.x, cure.y - 8, 0.5, Ease.sineOut);
      tweenAlpha(cure.draw.get("sprite"), 1, 0, 0.5);
    });
    delay(1.8, function()
    {
      cure.ac(0);
      player.unlock("cutscene");
      this.invoke("assets/chars/dialogs/bobletoble_cured_now.txt");
    });
    return null;
    //this.setSpriteName("bobletoble");
    //return "cured_now";
  }
  else
  {
    setMemo("talkBobletoble");
    return "cursed";
  }
}