CommonEvent 188
Name = "Survival Course 1"

  999([188])
  ControlSwitches([48, 48, 0])
  ControlSwitches([49, 49, 1])
  ConditionalBranch([1, 82, 0, 0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Official>Currently, Luka's number of victories is....still zero.\nDo you want to try a Survival challenge?"])
    ShowText([""])
    ShowText([""])
    Empty([])

  Else([])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Official>Currently, Luka's number of victories is....\n\\V[82] consecutive wins.\nDo you want to try a Survival challenge?"])
    ShowText([""])
    ShowText([""])
    Empty([])

  BranchEnd([])
  ShowChoices([["Yes", "No"], 2])
  When([0, "はい"])
    Empty([])

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

  ChoicesEnd([])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["\\n<Official>In that case, please proceed to the arena!"])
  ShowText([""])
  ConditionalBranch([1, 1143, 0, 9, 2])
    TransferPlayer([0, 483, 32, 31, 6, 0])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1143, 0, 10, 1])
    ControlVariables([57, 57, 0, 0, 1200])
    TransferPlayer([0, 200, 32, 31, 6, 0])
    Empty([])

  BranchEnd([])
  ControlVariables([1002, 1002, 0, 0, 41])
  ControlVariables([81, 81, 0, 0, 0])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["\\n<Referee>Team Luka has entered!\nWithout further ado, the survival challenge begins!!"])
  ShowText([""])
  ShowText([""])
  CallCommonEvent([10])
  Label(["ループ"])
  ConditionalBranch([1, 81, 0, 10, 2])
    CallCommonEvent([191])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 11, 1])
    ConditionalBranch([1, 81, 0, 20, 2])
      CallCommonEvent([192])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 21, 1])
    CallCommonEvent([193])
    Empty([])

  BranchEnd([])
  ControlVariables([81, 81, 1, 0, 1])
  ConditionalBranch([1, 81, 1, 82, 1])
    ControlVariables([82, 82, 0, 1, 81])
    Empty([])

  BranchEnd([])
  ControlVariables([12, 12, 0, 1, 81])
  ControlVariables([12, 12, 3, 0, 10])
  ControlVariables([41, 41, 0, 0, 100])
  ControlVariables([41, 41, 1, 1, 12])
  ControlVariables([42, 42, 0, 0, 100])
  ControlVariables([42, 42, 1, 1, 12])
  ControlVariables([43, 43, 0, 0, 100])
  ControlVariables([43, 43, 1, 1, 12])
  ControlVariables([44, 44, 0, 0, 100])
  ControlVariables([44, 44, 1, 1, 12])
  ControlVariables([46, 46, 0, 0, 100])
  ControlVariables([47, 47, 0, 0, 100])
  ControlVariables([45, 45, 0, 0, 25])
  ConditionalBranch([1, 43, 0, 300, 1])
    ControlVariables([43, 43, 0, 0, 300])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 3, 1])
    ConditionalBranch([1, 83, 0, 0, 0])
      ControlVariables([83, 83, 0, 0, 1])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([32, 0, 0, 1])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 7, 1])
    ConditionalBranch([1, 83, 0, 1, 0])
      ControlVariables([83, 83, 0, 0, 2])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([37, 0, 0, 1])
      ChangeItems([41, 0, 0, 1])
      ChangeItems([45, 0, 0, 1])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 10, 1])
    ConditionalBranch([1, 83, 0, 2, 0])
      ControlVariables([83, 83, 0, 0, 3])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([550, 0, 0, 1])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 15, 1])
    ConditionalBranch([1, 83, 0, 3, 0])
      ControlVariables([83, 83, 0, 0, 4])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1592, 0, 0, 1, false])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 20, 1])
    ConditionalBranch([1, 83, 0, 4, 0])
      ControlVariables([83, 83, 0, 0, 5])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1485, 0, 0, 1, false])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 25, 1])
    ConditionalBranch([1, 83, 0, 5, 0])
      ControlVariables([83, 83, 0, 0, 6])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1097, 0, 0, 1, false])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 81, 0, 30, 1])
    ConditionalBranch([1, 83, 0, 6, 0])
      ControlVariables([83, 83, 0, 0, 7])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1093, 0, 0, 1, false])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ControlVariables([11, 11, 0, 1, 81])
  ControlVariables([11, 11, 5, 0, 5])
  ConditionalBranch([1, 11, 0, 0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>With this, Team Luka has won \\V[81] consecutive battles!\nYou can retire from the challenge at this point, but do you want to?"])
    ShowText([""])
    ShowText([""])
    ShowChoices([["Continue fighting", "Retire"], 0])
    When([0, "連戦を続ける"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>Team Luka will continue the challenge!\nWell then, on to the next battle!"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["ループ"])
      Empty([])

    When([1, "リタイアする"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>Do you really want to retire now...?"])
      ShowText([""])
      ShowChoices([["Continue fighting after all", "Retire"], 0])
      When([0, "やっぱり連戦を続ける"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["\\n<Referee>Team Luka will continue the challenge!\nWell then, on to the next battle!"])
        ShowText([""])
        ShowText([""])
        JumpToLabel(["ループ"])
        Empty([])

      When([1, "リタイアする"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["\\n<Referee>Team Luka will retire here~!\nAfter winning \\V[81] consecutive battles, they are finally at their limit!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["\\n<Referee>Well then, we shall await their next challenge!"])
        ShowText(["Everyone, please give applause for the great battles Team Luka showed us today~!!"])
        ShowText([""])
        FadeoutScreen([])
        CallCommonEvent([159])
        ConditionalBranch([1, 1143, 0, 9, 2])
          TransferPlayer([0, 484, 14, 10, 8, 0])
          Empty([])

        BranchEnd([])
        ConditionalBranch([1, 1143, 0, 10, 1])
          ControlVariables([57, 57, 0, 0, 1199])
          TransferPlayer([0, 199, 14, 10, 8, 0])
          Empty([])

        BranchEnd([])
        Wait([60])
        FadeinScreen([])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  Else([])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Team Luka has won \\V[81] consecutive battles!\nWell then, on to the next battle!"])
    ShowText([""])
    ShowText([""])
    JumpToLabel(["ループ"])
    Empty([])

  BranchEnd([])
  Empty([])
