CommonEvent 347
Name = "Spider Princess Event"

  999([347])
  Wait([60])
  ShowPicture([5, "80_kumonomiko_st01", 0, 0, 0, 0, 100, 100, 0, 0])
  MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
  ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
  ShowText(["\\n<Spider Princess>And that is why I should be Queen Insect.\nNow, cast your vote for me."])
  ShowText([""])
  ShowText([""])
  ShowPicture([5, "80_kumonomiko_st01", 0, 0, -160, 0, 100, 100, 255, 0])
  ShowPicture([6, "80_queenbee_st03", 0, 0, 160, 0, 100, 100, 255, 0])
  ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
  ShowText(["\\n<Queen Bee>I refuse...\nDid you forget why you were ousted from the Queen's seat?"])
  ShowText([""])
  ShowText([""])
  ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
  ShowText(["\\n<Queen Bee>It was your constant atrocities and careless neglect for the entire insect race... It's no surprise you were branded as unfit to be queen!"])
  ShowText([""])
  ShowText([""])
  ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
  ShowText(["\\n<Spider Princess>I've undergone a change of heart since then.\nIsn't that right, my betrothed?"])
  ShowText([""])
  ShowText([""])
  ShowChoices([["That's right", "I don't think so"], 0])
  When([0, "その通りだ"])
    ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
    ShowText(["\\n<Queen Bee>No matter how much I may trust the hero Luka, on this matter I refuse to budge... I absolutely refuse to allow her to become Queen Insect again!"])
    ShowText([""])
    ShowText([""])
    Empty([])

  When([1, "そうは思わない"])
    ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
    ShowText(["\\n<Spider Princess>What, you would forsake me here...?\nAs expected of my betrothed, this is also a display of courtship."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
    ShowText(["\\n<Queen Bee>How could you call that courtship when you aren't even trusted by your fiancé?! I absolutely refuse to allow you to become Queen Insect again!"])
    ShowText([""])
    ShowText([""])
    ConditionalBranch([0, 6, 0])
      ShowTextAttributes(["sonia_fc2", 6, 0, 2])
      ShowText(["\\n<Sonya>He's not her fiancé!"])
      ShowText([""])
      Empty([])

    BranchEnd([])
    Empty([])

  ChoicesEnd([])
  ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
  ShowText(["\\n<Spider Princess>If you disapprove, then what will you do?!\nIf you leave me no choice but to resort to force, do you really believe you can oppose me?!"])
  ShowText([""])
  ShowText([""])
  ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
  ShowText(["\\n<Queen Bee>That's right!\nEven if I have to place myself on the line, I will obstruct you from claiming the Queen's seat!"])
  ShowText([""])
  ShowText([""])
  ErasePicture([5])
  ErasePicture([6])
  PlayBGM(["RPG::BGM(@name=\"kiki2\", @volume=100, @pitch=100)"])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["\\n<？？？>If that's the case, then allow me to assist you..."])
  ShowText([""])
  PlaySE(["RPG::SE(@name=\"mon_warp\", @pitch=100, @volume=80)"])
  ControlSwitches([32, 32, 0])
  SetMoveRoute([50, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=2, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=2, @parameters=[])"])
  ShowPicture([5, "80_queenant_st03", 0, 0, 0, 0, 100, 100, 0, 0])
  MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
  ShowTextAttributes(["queenant_fc1", 1, 0, 2])
  ShowText(["\\n<Queen Ant>I shall not allow an outlaw such as yourself to become Queen. I will stop you even if it means resorting to violence..."])
  ShowText([""])
  ShowText([""])
  ShowPicture([5, "80_kumonomiko_st01", 0, 0, -160, 0, 100, 100, 255, 0])
  ShowPicture([6, "80_queenant_st03", 0, 0, 160, 0, 100, 100, 255, 0])
  ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
  ShowText(["\\n<Spider Princess>Hmph, Queen Ant...\nOn the contrary, this is convenient. I shall defeat both of you here, and take your voting rights for myself!"])
  ShowText([""])
  ShowText([""])
  ShowPicture([5, "80_queenbee_st03", 0, 0, -160, 0, 100, 100, 255, 0])
  ShowPicture([6, "80_queenant_st03", 0, 0, 160, 0, 100, 100, 255, 0])
  ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
  ShowText(["\\n<Queen Bee>Very well then, let's go!"])
  ShowText([""])
  ShowTextAttributes(["queenant_fc1", 1, 0, 2])
  ShowText(["\\n<Queen Ant>We shall defeat the future tyrant here and now...!"])
  ShowText([""])
  ErasePicture([5])
  ErasePicture([6])
  ConditionalBranch([0, 4, 0])
    ShowTextAttributes(["alice_fc5", 0, 0, 2])
    ShowText(["\\n<Alice>This is becoming a real pain in the ass...\nWell, who are we going to help?"])
    ShowText([""])
    ShowText([""])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 5, 0])
    ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
    ShowText(["\\n<Ilias>Dear me, another power struggle between monsters... Luka, which side will you favor?"])
    ShowText([""])
    ShowText([""])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
  ShowText(["\\n<Spider Princess>I've reformed myself, my betrothed.\nAs your bride, I promise not to rule with tyranny again."])
  ShowText([""])
  ShowText([""])
  ShowTextAttributes(["queenant_fc1", 1, 0, 2])
  ShowText(["\\n<Queen Ant>You mustn't be deceived, Luka.\nShe will surely bring about harm in the world..."])
  ShowText([""])
  ShowText([""])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>............"])
  ShowText([""])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["Well, whose side should we take...?"])
  ShowChoices([["Support the Spider Princess", "Support Queen Ant"], 0])
  When([0, "蜘蛛之皇女に味方する"])
    PlayBGM(["RPG::BGM(@name=\"boss0\", @volume=100, @pitch=100)"])
    ShowPicture([5, "80_queenbee_st03", 0, 0, -160, 0, 100, 100, 0, 0])
    ShowPicture([6, "80_queenant_st03", 0, 0, 160, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, -160, 0, 100, 100, 255, 0, 30, false])
    MovePicture([6, nil, 0, 0, 160, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["queenant_fc1", 1, 0, 2])
    ShowText(["\\n<Queen Ant>You don't understand, do you...?\nVery well, then we shall stop you here by force!"])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
    ShowText(["\\n<Queen Bee>No hard feelings, Hero Luka...\nBut I cannot forgive anyone who sides with the Spider Princess!"])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
    ShowText(["\\n<Spider Princess>Let us go, my betrothed!\nWe shall defeat them and strip them of their voting rights!"])
    ShowText([""])
    ShowText([""])
    ErasePicture([5])
    ErasePicture([6])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss1\", @volume=100, @pitch=100)"])
    ControlSwitches([22, 22, 0])
    BattleProcessing([0, 981, false, false])
    ControlSwitches([22, 22, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    PlayBGM(["RPG::BGM(@name=\"scene_epilogue2\", @volume=100, @pitch=100)"])
    ConditionalBranch([1, 912, 0, 0, 0])
      Script(["add_stand_actor(245)"])
      Script(["add_stand_actor(268)"])
      Empty([])

    BranchEnd([])
    ShowPicture([5, "80_queenbee_st03", 0, 0, -160, 0, 100, 100, 0, 0])
    ShowPicture([6, "80_queenant_st03", 0, 0, 160, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, -160, 0, 100, 100, 255, 0, 30, false])
    MovePicture([6, nil, 0, 0, 160, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["queenant_fc1", 1, 0, 2])
    ShowText(["\\n<Queen Ant>Khh, forgive me..."])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 2, 0, 2])
    ShowText(["\\n<Queen Bee>Urgh..."])
    ShowText([""])
    ErasePicture([6])
    ShowPicture([5, "80_kumonomiko_st01", 0, 0, 0, 0, 100, 100, 255, 0])
    ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
    ShowText(["\\n<Spider Princess>Fufufu, victory is mine...\nThank you for your votes!"])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeItems([558, 0, 0, 2])
    ConditionalBranch([0, 6, 0])
      ShowTextAttributes(["sonia_fc2", 2, 0, 2])
      ShowText(["\\n<Sonya>The voting rights weren't a right, but voting tickets...?"])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
    ShowText(["\\n<Spider Princess>Once I write my name on these two ballots, together with my own... Okay, now I hold the majority!"])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_fanfale3\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Spider Princess has become the Queen Insect!"])
    ShowTextAttributes(["queenant_fc1", 1, 0, 2])
    ShowText(["\\n<Queen Ant>What this means is...\nA tyrant will reign once more..."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
    ShowText(["\\n<Spider Princess>As I've said before, I am no longer a tyrant. I learned of love when I met my betrothed!"])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenant_fc1", 1, 0, 2])
    ShowText(["\\n<Queen Ant>Hero Luka...\nVery well, please keep an eye on her so that she doesn't do anything rash."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Um, okay..."])
    ShowText([""])
    ShowTextAttributes(["kumonomiko_fc1", 1, 0, 2])
    ShowText(["\\n<Spider Princess>With this, my wish has come true and I have regained the Queen's seat once more. Now then, my betrothed... I shall dedicate my heart and body to you!"])
    ShowText([""])
    ShowText([""])
    ErasePicture([5])
    SetMoveRoute([47, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=3, @parameters=[])\", \"RPG::MoveCommand(@code=1, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=3, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=1, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
    Script(["add_actor_ex(334)"])
    ConditionalBranch([12, "actor_class_level_over?(334, 317, 1)"])
      Empty([])

    Else([])
      Script(["set_class_level(334, 317, 1, false, true)"])
      RecoverAll([0, 334])
      Empty([])

    BranchEnd([])
    PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Spider Princess joined the party!"])
    ControlSwitches([2280, 2280, 0])
    Wait([60])
    ShowTextAttributes(["kumonomiko_fc1", 1, 0, 2])
    ShowText(["\\n<Spider Princess>Now, my betrothed...\nLet's consummate our vows tonight..."])
    ShowText([""])
    ShowText([""])
    ConditionalBranch([0, 6, 0])
      ShowTextAttributes(["sonia_fc2", 4, 0, 2])
      ShowText(["\\n<Sonya>GRRRRR...GRRRRR...!"])
      ShowText([""])
      ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
      ShowText(["\\n<Spider Princess>Oh my, I hear the buzzing of a queer insect.\nDoes this fly in the ointment have a name, my betrothed?"])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>That's Sonya..."])
      ShowText([""])
      ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
      ShowText(["\\n<Spider Princess>They say that insects who interfere with the love of others will be kicked by a horse and die.\nThis Sonya better be careful around horses."])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["sonia_fc3", 1, 0, 2])
      ShowText(["\\n<Sonya>GRRRR... I won't let you have your way with him...!"])
      ShowText([""])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>Now now, everyone just calm down.\nThere's no need to get mad at each other..."])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["sonia_fc2", 7, 0, 2])
      ShowText(["\\n<Sonya>This is all because you're too spineless to stand up to her, Luka!"])
      ShowText([""])
      ShowTextAttributes(["kumonomiko_fc1", 0, 0, 2])
      ShowText(["\\n<Spider Princess>Oh dear, the insect's face is turning red in anger. I'm so scared... Would you comfort me, my betrothed?"])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["sonia_fc3", 1, 0, 2])
      ShowText(["\\n<Sonya>GRRRR...GRRRRRRR...!"])
      ShowText([""])
      Empty([])

    BranchEnd([])
    Empty([])

  When([1, "クィーンアント達に味方する"])
    PlayBGM(["RPG::BGM(@name=\"boss0\", @volume=100, @pitch=100)"])
    ShowPicture([5, "80_kumonomiko_st03", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
    ShowText(["\\n<Spider Princess>Ah, my betrothed... Is this also part of your courtship?\nFate seeks to tear man and woman apart, forcing us to fight here..."])
    ShowText([""])
    ShowText([""])
    ConditionalBranch([0, 6, 0])
      ShowTextAttributes(["sonia_fc1", 3, 0, 2])
      ShowText(["\\n<Sonya>Come on, let's beat the crap out of her with everything we've got!"])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss1\", @volume=100, @pitch=100)"])
    ControlSwitches([22, 22, 0])
    BattleProcessing([0, 807, false, false])
    ControlSwitches([22, 22, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    PlayBGM(["RPG::BGM(@name=\"scene_epilogue2\", @volume=100, @pitch=100)"])
    ConditionalBranch([1, 912, 0, 0, 0])
      Script(["add_stand_actor(245)"])
      Script(["add_stand_actor(268)"])
      Empty([])

    BranchEnd([])
    ShowPicture([5, "80_kumonomiko_st03", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
    ShowText(["\\n<Spider Princess>How...regrettable...\nMy ambitions have been crushed by my betrothed..."])
    ShowText([""])
    ShowText([""])
    ShowPicture([5, "80_queenbee_st01", 0, 0, -160, 0, 100, 100, 255, 0])
    ShowPicture([6, "80_queenant_st01", 0, 0, 160, 0, 100, 100, 255, 0])
    ShowTextAttributes(["queenant_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Ant>Thank you very much, Hero Luka.\nIt is thanks to you I was able to retain my voting right."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Bee>This all happened because the seat of Queen Insect is vacant. How about we decide on a Queen here and now?"])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenant_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Ant>However, who would be the most qualified candidate..."])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Bee>You would be excellent, Queen Ant.\nYour personal history and abilities are enough justification for you to be qualified."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenant_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Ant>............"])
    ShowText([""])
    ShowTextAttributes(["queenant_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Ant>...I understand, I shall become the next Queen Insect. I am now aware of the risks of leaving the Queen's seat vacant."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Bee>That makes this a tie, Spider Princess.\nIf you would give us your voting right..."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
    ShowText(["\\n<Spider Princess>You may do as you like... After all, I have been defeated..."])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_fanfale3\", @pitch=100, @volume=100)"])
    ConditionalBranch([12, "actor_class_level_over?(268, 317, 1)"])
      Empty([])

    Else([])
      Script(["set_class_level(268, 310, 10, false, false)"])
      ScriptMore(["set_class_level(268, 311, 10, false, false)"])
      ScriptMore(["set_class_level(268, 313, 10, false, false)"])
      ScriptMore(["set_class_level(268, 314, 10, false, false)"])
      ScriptMore(["set_class_level(268, 315, 10, false, false)"])
      ScriptMore(["set_class_level(268, 317, 1, false, true)"])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Queen Ant has gathered three votes, earning her the majority! Queen Ant has become the Queen Insect!"])
    ShowText([""])
    ShowTextAttributes(["queenant_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Ant>This duty is more than I deserve, but I shall strive to do my best. I look forward to working with you from now on."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["queenbee_fc1", 0, 0, 2])
    ShowText(["\\n<Queen Bee>Now the insect race should be at peace for a while.\nWe thank you, Hero Luka."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["kumonomiko_fc1", 2, 0, 2])
    ShowText(["\\n<Spider Princess>Grrr..."])
    ShowText([""])
    ErasePicture([5])
    ErasePicture([6])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Thus, the Spider Princess' dreams have been severed, and Queen Ant became the Queen Insect."])
    ShowText([""])
    ControlSwitches([2281, 2281, 0])
    Empty([])

  ChoicesEnd([])
  Wait([30])
  FadeoutScreen([])
  Wait([60])
  ControlSwitches([2279, 2279, 1])
  ControlSwitches([100, 100, 1])
  ControlSwitches([32, 32, 1])
  TransferPlayer([0, 2, 303, 216, 2, 2])
  FadeinScreen([])
  Script(["gain_medal(2103)"])
  ExitEventProcessing([])
  Empty([])
