CommonEvent 9060
Name = "十六の破滅事象撃破数"

  999([0])
  ConditionalBranch([0, 3188, 1])
    ConditionalBranch([0, 3077, 0])
      ConditionalBranch([0, 3078, 0])
        ConditionalBranch([0, 3079, 0])
          Script(["gain_medal(200)"])
          ControlSwitches([3188, 3188, 0])
          ControlVariables([1357, 1357, 2, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  Wait([30])
  ConditionalBranch([1, 1357, 0, 1, 1])
    PlayME(["RPG::ME(@name=\"mon_fanfale3\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["I defeated one of the sixteen catastrophic phenomena!"])
    ShowText(["Remaining Catastrophe Events, \\V[1357] left!f catastrophic events, \\V[11] more to go\\V[1357]体！"])
    Wait([90])
    ConditionalBranch([1, 1357, 0, 8, 0])
      ConditionalBranch([0, 2755, 1])
        ControlSwitches([2755, 2755, 0])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["By defeating half of the sixteen catastrophic phenomena,"])
        ShowText(["A part of great power is released!"])
        ControlSwitches([5597, 5597, 0])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([732, 0, 0, 1])
        Wait([30])
        ExitEventProcessing([])
        Empty([])

      BranchEnd([])
      Empty([])

    BranchEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1357, 0, 0, 0])
    PlayME(["RPG::ME(@name=\"mon_fanfale3\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["I defeated all sixteen catastrophic phenomena!"])
    Wait([120])
    PlaySE(["RPG::SE(@name=\"mon_fire4\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["By repelling all the catastrophic phenomena, great power is unleashed!"])
    ControlSwitches([5598, 5598, 0])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeItems([779, 0, 0, 1])
    ChangeItems([4452, 0, 0, 1])
    Wait([30])
    Script(["gain_medal(201)"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Empty([])
