CommonEvent 259
Name = "転種：（リバース）マーメイド→ラミア・スキュラ"

  999([0])
  ConditionalBranch([0, 3454, 0])
    ControlVariables([11, 11, 0, 3, 0, 838, 0])
    ControlVariables([12, 12, 0, 3, 0, 827, 0])
    ShowTextAttributes(["stein_fc2", 1, 0, 2])
    ShowText(["\\n<Promestein>"])
    ShowText(["If you want to transform into a mermaid, you'll need Nyoro Extract R."])
    ShowText(["You need 1 'Monster Lord's Serpent Tail' and 1 'Abyssal Tentacle'."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Monster Lord's Snake Tail (Quantity: \\V[11])pent Tail (Quantity:\\V[11]）"])
    ShowText(["Abyssal Tentacle (Quantity: \\V[12])Quantity:\\V[12]）"])
    ShowText(["Do you want to use the above items to change Scylla's race to Mermaid?"])
    ShowChoices([["Yes", "No"], 2])
    When([0, "はい"])
      ConditionalBranch([1, 11, 0, 1, 1])
        ConditionalBranch([1, 12, 0, 1, 1])
          ShowTextAttributes(["stein_fc2", 1, 0, 2])
          ShowText(["\\n<Promestein>"])
          ShowText(["Now then, who will receive the Nyoro Extract R?"])
          ShowText(["You cannot administer it unless the Lamia's rank has reached 10."])
          Script(["names = party_members.collect{|m|m.name}"])
          ScriptMore(["unlimited_choices(11, names)"])
          ScriptMore(["if $game_variables[11] != names.size"])
          ScriptMore(["actor = party_members[$game_variables[11]]"])
          ScriptMore(["$game_variables[12] = actor.id"])
          ScriptMore(["else"])
          ScriptMore(["$game_variables[12] = 0"])
          ScriptMore(["end"])
          ConditionalBranch([1, 12, 0, 0, 0])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ConditionalBranch([12, "actor_class_level_over?(v(12), 265, 10)"])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 194, 1)"])
              ShowTextAttributes(["stein_fc2", 2, 0, 2])
              ShowText(["\\n<Promestein>"])
              ShowText(["It seems you already have the mermaid factor."])
              ShowText(["Unfortunately, it cannot be administered..."])
              CallCommonEvent([231])
              ExitEventProcessing([])
              Empty([])

            BranchEnd([])
            ShowTextAttributes(["stein_fc2", 1, 0, 2])
            ShowText(["\\n<Promestein>"])
            ShowText(["Well then, here we go! Now, extend your arm...!"])
            ChangeItems([838, 1, 0, 1])
            ChangeItems([827, 1, 0, 1])
            Script(["set_class_level(v(12), 194, 1, true, true)"])
            PlaySE(["RPG::SE(@name=\"mon_fanfale\", @pitch=100, @volume=100)"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["Transformed into a mermaid!"])
            ShowTextAttributes(["stein_fc2", 1, 0, 2])
            ShowText(["\\n<Promestein>"])
            ShowText(["Hehehe, it's a great success!"])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ShowTextAttributes(["stein_fc2", 2, 0, 2])
          ShowText(["\\n<Promestein>"])
          ShowText(["Oh, Scylla's rank hasn't reached 10 yet."])
          ShowText(["You might die, so unfortunately it cannot be administered..."])
          CallCommonEvent([231])
          ExitEventProcessing([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["stein_fc2", 2, 0, 2])
      ShowText(["\\n<Promestein>"])
      ShowText(["Ah... it seems we're short on materials."])
      ShowText(["I apologize, but the extract cannot be made due to a lack of materials."])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    When([1, "いいえ"])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  Empty([])
