CommonEvent 148
Name = "死神：バトルチャレンジ"

  999([148])
  ConditionalBranch([1, 86, 0, 0, 0])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>What is this Battle Challenge about...?"])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>The situation around your world has been getting worse... You'll need to grow even stronger."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>I originally had no intention of intervening, but I cannot say that is the case anymore... Now, I shall let you challenge me to hone your strength."])
    ShowText([""])
    ShowText([""])
    Empty([])

  BranchEnd([])
  Label(["チャレンジ"])
  ShowChoices([["Begin Battle Challenge", "View record", "Hear explanation", "Never mind"], 4])
  When([0, "バトルチャレンジを開始"])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>I will give you three turns.\nCome at me with everything you've got..."])
    ShowText([""])
    ShowText([""])
    ControlVariables([84, 84, 0, 0, 3])
    ControlVariables([85, 85, 0, 0, 0])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_chaos1\", @volume=100, @pitch=100)"])
    ChangeBattleBack(["DirtCave", "DarkSpace"])
    ControlSwitches([22, 22, 0])
    ControlVariables([1002, 1002, 0, 0, 2])
    BattleProcessing([0, 328, false, false])
    ControlSwitches([22, 22, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>Now then, your total damage this time is...\n\\V2[85]."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Damage total:\\V2[85>"])
    ShowText(["Best record: \\V2[86>"])
    ConditionalBranch([1, 85, 1, 86, 2])
      ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
      ShowText(["\\n<Reaper>You couldn't exceed your previous damage total...\nWell, try harder next time."])
      ShowText([""])
      ShowText([""])
      MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 30, true])
      ErasePicture([5])
      ExitEventProcessing([])
      Empty([])

    Else([])
      ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
      ShowText(["\\n<Reaper>Ohh, you've set a new record...\nI shall enter these results as the best record."])
      ShowText([""])
      ShowText([""])
      ControlVariables([86, 86, 0, 1, 85])
      ConditionalBranch([12, "v(86) >= 100000"])
        ConditionalBranch([1, 87, 0, 0, 0])
          ControlVariables([87, 87, 0, 0, 1])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one hundred thousand damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([359, 0, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 1000000"])
        ConditionalBranch([1, 87, 0, 1, 0])
          ControlVariables([87, 87, 0, 0, 2])
          Script(["gain_medal(4001)"])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one million damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([43, 0, 0, 1])
          ChangeItems([47, 0, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 10000000"])
        ConditionalBranch([1, 87, 0, 2, 0])
          ControlVariables([87, 87, 0, 0, 3])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded ten million damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([657, 0, 0, 1])
          ConditionalBranch([0, 4, 0])
            ShowTextAttributes(["alice_fc6", 0, 0, 2])
            ShowText(["\\n<Alice>What is this...?!\nIt feels like I'm being choked by its sheer magical power..."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([0, 5, 0])
            ShowTextAttributes(["iriasu_fc4", 5, 0, 2])
            ShowText(["\\n<Ilias>Unbelievable...\nThis is a seal designated to an advanced class!!"])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ShowTextAttributes(["ruka_fc1", 0, 0, 2])
          ShowText(["\\n<Luka>What could this be...?\nIt's giving me chills..."])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["I can sense a strange foreboding from the Demonoid Orb I received. What the heck is this item...?"])
          ShowText([""])
          ConditionalBranch([0, 4, 0])
            ShowTextAttributes(["alice_fc5", 2, 0, 2])
            ShowText(["\\n<Alice>This might be a job change item.\nFor what exactly I wouldn't know, but it's likely not for something typical."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([0, 5, 0])
            ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
            ShowText(["\\n<Ilias>This is not a job change item, but an item for changing races. It allows humans to fuse themselves with demonic power."])
            ShowText([""])
            ShowText([""])
            ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
            ShowText(["\\n<Ilias>In other words, they become an advanced race of human.\nI created it out of an experiment, but then destroyed it because of the danger it presented."])
            ShowText([""])
            ShowText([""])
            ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
            ShowText(["\\n<Ilias>As we are now, however...\nPerhaps we may be able to make effective use of it."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ShowTextAttributes(["ruka_fc1", 0, 0, 2])
          ShowText(["\\n<Luka>So that's what this dreadful item is...\nThe power we could gain from it might also be tremendous for that reason."])
          ShowText([""])
          ShowText([""])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 100000000"])
        ConditionalBranch([1, 87, 0, 3, 0])
          ControlVariables([87, 87, 0, 0, 4])
          Script(["gain_medal(4002)"])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one hundred million damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([2301, 0, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 1000000000"])
        ConditionalBranch([1, 87, 0, 4, 0])
          ControlVariables([87, 87, 0, 0, 5])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one billion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([2130, 0, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 10000000000"])
        ConditionalBranch([1, 87, 0, 5, 0])
          ControlVariables([87, 87, 0, 0, 6])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded ten billion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([2115, 0, 0, 1])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 100000000000"])
        ConditionalBranch([1, 87, 0, 6, 0])
          ControlVariables([87, 87, 0, 0, 7])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one hundred billion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          ChangeItems([3367, 0, 0, 1])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 1000000000000"])
        ConditionalBranch([1, 87, 0, 7, 0])
          ControlVariables([87, 87, 0, 0, 8])
          Script(["gain_medal(4003)"])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one trillion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ControlVariables([150, 150, 0, 0, 16000])
          ChangeWeapons([3953, 0, 0, 1, false])
          ControlVariables([150, 150, 0, 0, 0])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 10000000000000"])
        ConditionalBranch([1, 87, 0, 8, 0])
          ControlVariables([87, 87, 0, 0, 9])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded ten trillion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ControlVariables([150, 150, 0, 0, 18000])
          ChangeArmor([3690, 0, 0, 1, false])
          ControlVariables([150, 150, 0, 0, 0])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 100000000000000"])
        ConditionalBranch([1, 87, 0, 9, 0])
          ControlVariables([87, 87, 0, 0, 10])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>Your damage record has exceeded one hundred trillion damage... You may take this prize."])
          ShowText([""])
          ShowText([""])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ControlVariables([150, 150, 0, 0, 20000])
          ChangeWeapons([3955, 0, 0, 1, false])
          ControlVariables([150, 150, 0, 0, 0])
          ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
          ShowText(["\\n<Reaper>There are no more prizes available at this time.\nI will continue to record your accolades, but you will gain nothing but the honor of it."])
          ShowText([""])
          ShowText([""])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([12, "v(86) >= 1000000000000000"])
        ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
        ShowText(["\\n<Reaper>Your damage record has exceeded one quadrillion damage...?! I never imagined you could get so strong. I haven't even arranged a prize."])
        ShowText([""])
        ShowText([""])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
      ShowText(["\\n<Reaper>Come challenge me another time...\nI look forward to your next display."])
      ShowText([""])
      ShowText([""])
      MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 30, true])
      ErasePicture([5])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    Empty([])

  When([1, "記録を見る"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Best record:\\V2[86>"])
    JumpToLabel(["チャレンジ"])
    Empty([])

  When([2, "説明を聞く"])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>What is the Battle Challenge...?\nIt is a special battle where the total amount of damage you inflict over the course of three turns will be recorded."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>When the challenge begins, you will be fighting me... However, this is a special battle that will end after three turns."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>I will not attack at all during the challenge.\nFurthermore, it is impossible to defeat me in this mode."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>Species slayer attacks will have no effect against me during the challenge. Additionally, time stopping skills and certain other special skills will have no effect either."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>It will also be impossible to change your party during the challenge. The four members in the front of your party will fight for three turns."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>No gold or experience will be obtained from the Battle Challenge. Just focus on inflicting a lot of damage."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>After three turns, the battle will end.\nThe total amount of damage you inflicted will be tallied up and announced after the battle."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sinigami_fc1", 0, 0, 2])
    ShowText(["\\n<Reaper>Depending on your result, I have prepared several prizes. Well then...do your best."])
    ShowText([""])
    ShowText([""])
    JumpToLabel(["チャレンジ"])
    Empty([])

  When([3, "やめる"])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 30, true])
    ErasePicture([5])
    ExitEventProcessing([])
    Empty([])

  ChoicesEnd([])
  Empty([])
