CommonEvent 239
Name = "転種：人間→妖魔・亜人"

  999([0])
  ConditionalBranch([0, 3454, 1])
    ControlVariables([11, 11, 0, 3, 0, 215, 0])
    ControlVariables([12, 12, 0, 3, 0, 236, 0])
    ShowTextAttributes(["stein_fc2", 1, 0, 2])
    ShowText(["\\n<Promestein>"])
    ShowText(["If you want to transform into a demon or subhuman, you'll need White Thought Extract™."])
    ShowText(["You will need 2 'Demon Horns' and 2 'Crystal of Demon Power'."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Demon Horns (Current Amount: \\V[11])"])
    ShowText(["Crystal of Demon Power (Current Amount: \\V[12])"])
    ShowText(["Shall we consume these and transform a human into a demon or subhuman?"])
    ShowChoices([["はい", "いいえ"], 2])
    When([0, "はい"])
      ConditionalBranch([1, 11, 0, 2, 1])
        ConditionalBranch([1, 12, 0, 2, 1])
          ShowTextAttributes(["stein_fc2", 1, 0, 2])
          ShowText(["\\n<Promestein>"])
          ShowText(["Now then, who will I administer the White Essence™ to?"])
          ShowText(["You cannot administer it unless the human's rank reaches 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), 151, 10)"])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 158, 1)"])
              ConditionalBranch([12, "actor_class_level_over?(v(12), 167, 1)"])
                ShowTextAttributes(["stein_fc2", 2, 0, 2])
                ShowText(["\\n<Promestein>"])
                ShowText(["It seems that they already possess the factors of demi-humans and youkai."])
                ShowText(["Unfortunately, it cannot be administered..."])
                CallCommonEvent([231])
                ExitEventProcessing([])
                Empty([])

              BranchEnd([])
              Empty([])

            BranchEnd([])
            ShowTextAttributes(["stein_fc2", 1, 0, 2])
            ShowText(["\\n<Promestein>"])
            ShowText(["Well then, here we go! Come on, extend your arm...!"])
            ChangeItems([215, 1, 0, 2])
            ChangeItems([236, 1, 0, 2])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 158, 1)"])
              Empty([])

            Else([])
              Script(["set_class_level(v(12), 158, 1, true, true)"])
              Empty([])

            BranchEnd([])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 167, 1)"])
              Empty([])

            Else([])
              Script(["set_class_level(v(12), 167, 1, true, true)"])
              Empty([])

            BranchEnd([])
            PlaySE(["RPG::SE(@name=\"mon_fanfale\", @pitch=100, @volume=100)"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["They have become capable of transforming into a demi-human!"])
            ShowText(["They have become capable of transforming into a youkai!"])
            ShowTextAttributes(["stein_fc2", 1, 0, 2])
            ShowText(["\\n<Promestein>"])
            ShowText(["Hehehe, it's a great success!"])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          Else([])
            ShowTextAttributes(["stein_fc2", 2, 0, 2])
            ShowText(["\\n<Promestein>"])
            ShowText(["Oh dear, the human's rank has not reached 10 yet."])
            ShowText(["It's probably going to die, so unfortunately it cannot be administered..."])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["stein_fc2", 2, 0, 2])
      ShowText(["\\n<Promestein>"])
      ShowText(["Ah... It seems we are short on materials."])
      ShowText(["I'm sorry, but we cannot produce the essence due to a lack of materials."])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

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

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 3454, 0])
    ControlVariables([11, 11, 0, 3, 0, 215, 0])
    ControlVariables([12, 12, 0, 3, 0, 236, 0])
    ShowTextAttributes(["stein_fc2", 1, 0, 2])
    ShowText(["\\n<Promestein>"])
    ShowText(["If you want to transform into a human, you'll need the White Essence™ R."])
    ShowText(["You will need 2 'Demon Horns' and 2 'Crystal of Demon Power'."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Demon Horns (Current Amount: \\V[11])"])
    ShowText(["Crystal of Demon Power (Current Amount: \\V[12])"])
    ShowText(["Will you consume the above and transform the youkai into a human?"])
    ShowChoices([["はい", "いいえ"], 2])
    When([0, "はい"])
      ConditionalBranch([1, 11, 0, 2, 1])
        ConditionalBranch([1, 12, 0, 2, 1])
          ShowTextAttributes(["stein_fc2", 1, 0, 2])
          ShowText(["\\n<Promestein>"])
          ShowText(["Now then, who will I administer the White Essence™ R to?"])
          ShowText(["You cannot administer it unless the youkai's rank reaches 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), 158, 10)"])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 151, 1)"])
              ShowTextAttributes(["stein_fc2", 2, 0, 2])
              ShowText(["\\n<Promestein>"])
              ShowText(["It seems that they already possess the factors of humans."])
              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! Come on, extend your arm...!"])
            ChangeItems([215, 1, 0, 2])
            ChangeItems([236, 1, 0, 2])
            Script(["set_class_level(v(12), 151, 1, true, true)"])
            PlaySE(["RPG::SE(@name=\"mon_fanfale\", @pitch=100, @volume=100)"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["They have transformed into a human!"])
            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 dear, the youkai's rank has not reached 10 yet."])
          ShowText(["It's probably going to 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 are short on materials."])
      ShowText(["I'm sorry, but we cannot produce the essence due to a lack of materials."])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

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

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  Empty([])
