Advertisement
Guest User

tkloddsy

a guest
Sep 15th, 2017
865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.Lobby.GameEvent
  2. {
  3.    import §_-3X§.TweenLite;
  4.    
  5.    public class EventManager
  6.    {
  7.        
  8.      
  9.       private var _baseMC;
  10.      
  11.       public var event_000:§_-SQ§;
  12.      
  13.       public var event_001:§_-SQ§;
  14.      
  15.       public var event_002:§_-SQ§;
  16.      
  17.       public var event_003:§_-SQ§;
  18.      
  19.       public var event_004:§_-SQ§;
  20.      
  21.       public var event_005:§_-SQ§;
  22.      
  23.       public var event_006:§_-SQ§;
  24.      
  25.       public var event_007:§_-SQ§;
  26.      
  27.       public var event_008:§_-SQ§;
  28.      
  29.       public var event_009:§_-SQ§;
  30.      
  31.       public var event_010:§_-SQ§;
  32.      
  33.       public var event_011:§_-SQ§;
  34.      
  35.       public var event_012:§_-SQ§;
  36.      
  37.       public var event_013:§_-SQ§;
  38.      
  39.       public var event_014:§_-SQ§;
  40.      
  41.       public var event_015:§_-SQ§;
  42.      
  43.       public var event_016:§_-SQ§;
  44.      
  45.       public var event_017:§_-SQ§;
  46.      
  47.       public var event_018:§_-SQ§;
  48.      
  49.       public var event_019:§_-SQ§;
  50.      
  51.       public var event_020:§_-SQ§;
  52.      
  53.       public var event_021:§_-SQ§;
  54.      
  55.       public var event_022:§_-SQ§;
  56.      
  57.       public var event_023:§_-SQ§;
  58.      
  59.       public var event_024:§_-SQ§;
  60.      
  61.       public var event_025:§_-SQ§;
  62.      
  63.       public var event_026:§_-SQ§;
  64.      
  65.       public var event_027:§_-SQ§;
  66.      
  67.       public var event_028:§_-SQ§;
  68.      
  69.       public var event_029:§_-SQ§;
  70.      
  71.       public var event_030:§_-SQ§;
  72.      
  73.       public var event_031:§_-SQ§;
  74.      
  75.       public var event_032:§_-SQ§;
  76.      
  77.       public var event_033:§_-SQ§;
  78.      
  79.       public var event_034:§_-SQ§;
  80.      
  81.       public var event_035:§_-SQ§;
  82.      
  83.       public var event_036:§_-SQ§;
  84.      
  85.       public var event_037:§_-SQ§;
  86.      
  87.       public var event_038:§_-SQ§;
  88.      
  89.       public var event_039:§_-SQ§;
  90.      
  91.       public var event_040:§_-SQ§;
  92.      
  93.       public var event_041:§_-SQ§;
  94.      
  95.       public var event_042:§_-SQ§;
  96.      
  97.       public var event_043:§_-SQ§;
  98.      
  99.       public var event_044:§_-SQ§;
  100.      
  101.       public var event_045:§_-SQ§;
  102.      
  103.       public var event_046:§_-SQ§;
  104.      
  105.       public var event_047:§_-SQ§;
  106.      
  107.       public var event_048:§_-SQ§;
  108.      
  109.       public var event_049:§_-SQ§;
  110.      
  111.       public var event_050:§_-SQ§;
  112.      
  113.       public var event_051:§_-SQ§;
  114.      
  115.       public var event_052:§_-SQ§;
  116.      
  117.       public var eventArray:Array;
  118.      
  119.       public var currentEventID:int = 0;
  120.      
  121.       public var §_-Bj§:int = 0;
  122.      
  123.       public var selectedUnit:Array;
  124.      
  125.       private var §_-5z§:int = 0;
  126.      
  127.       private var §_-83§:String = "";
  128.      
  129.       private var §_-Nx§:int = 0;
  130.      
  131.       private var §_-H§:Array;
  132.      
  133.       public var CurrentTriggerIndex:int = 0;
  134.      
  135.       private var _BattleLoot_Gold:int = 0;
  136.      
  137.       private var _BattleLoot_Crystal:int = 0;
  138.      
  139.       public var UI_Event;
  140.      
  141.       private var §_-3e§:Array;
  142.      
  143.       public function EventManager(baseMC:*)
  144.       {
  145.          this.event_000 = new §_-SQ§();
  146.          this.event_001 = new §_-SQ§();
  147.          this.event_002 = new §_-SQ§();
  148.          this.event_003 = new §_-SQ§();
  149.          this.event_004 = new §_-SQ§();
  150.          this.event_005 = new §_-SQ§();
  151.          this.event_006 = new §_-SQ§();
  152.          this.event_007 = new §_-SQ§();
  153.          this.event_008 = new §_-SQ§();
  154.          this.event_009 = new §_-SQ§();
  155.          this.event_010 = new §_-SQ§();
  156.          this.event_011 = new §_-SQ§();
  157.          this.event_012 = new §_-SQ§();
  158.          this.event_013 = new §_-SQ§();
  159.          this.event_014 = new §_-SQ§();
  160.          this.event_015 = new §_-SQ§();
  161.          this.event_016 = new §_-SQ§();
  162.          this.event_017 = new §_-SQ§();
  163.          this.event_018 = new §_-SQ§();
  164.          this.event_019 = new §_-SQ§();
  165.          this.event_020 = new §_-SQ§();
  166.          this.event_021 = new §_-SQ§();
  167.          this.event_022 = new §_-SQ§();
  168.          this.event_023 = new §_-SQ§();
  169.          this.event_024 = new §_-SQ§();
  170.          this.event_025 = new §_-SQ§();
  171.          this.event_026 = new §_-SQ§();
  172.          this.event_027 = new §_-SQ§();
  173.          this.event_028 = new §_-SQ§();
  174.          this.event_029 = new §_-SQ§();
  175.          this.event_030 = new §_-SQ§();
  176.          this.event_031 = new §_-SQ§();
  177.          this.event_032 = new §_-SQ§();
  178.          this.event_033 = new §_-SQ§();
  179.          this.event_034 = new §_-SQ§();
  180.          this.event_035 = new §_-SQ§();
  181.          this.event_036 = new §_-SQ§();
  182.          this.event_037 = new §_-SQ§();
  183.          this.event_038 = new §_-SQ§();
  184.          this.event_039 = new §_-SQ§();
  185.          this.event_040 = new §_-SQ§();
  186.          this.event_041 = new §_-SQ§();
  187.          this.event_042 = new §_-SQ§();
  188.          this.event_043 = new §_-SQ§();
  189.          this.event_044 = new §_-SQ§();
  190.          this.event_045 = new §_-SQ§();
  191.          this.event_046 = new §_-SQ§();
  192.          this.event_047 = new §_-SQ§();
  193.          this.event_048 = new §_-SQ§();
  194.          this.event_049 = new §_-SQ§();
  195.          this.event_050 = new §_-SQ§();
  196.          this.event_051 = new §_-SQ§();
  197.          this.event_052 = new §_-SQ§();
  198.          this.eventArray = new Array();
  199.          this.selectedUnit = new Array();
  200.          this.§_-H§ = new Array([1,4,[0]],[1,8,[1,2]],[1,12,[3]],[2,4,[6]],[2,8,[4,5]],[2,12,[7]],[3,3,[11]],[3,6,[21]],[3,8,[28]],[3,10,[35]],[3,12,[42]],[4,1,[333]],[4,2,[333]],[4,3,[333]],[4,4,[333]]);
  201.          this.§_-3e§ = new Array(0,50,70,120,150,200);
  202.          super();
  203.          this._baseMC = baseMC;
  204.          this.event_000.EventName = "Suspicious Surprise";
  205.          this.event_000.EventDesc = "During one of your travels to the next match, you come across a suspicious-looking merchant. He presents you with three boxes and says you may choose to take one.";
  206.          this.event_000.EventLocation = "Village";
  207.          this.event_000.EventPosX = 188;
  208.          this.event_000.EventPosY = 230;
  209.          this.event_000.Choice_1 = "Choose the red box.";
  210.          this.event_000.Choice_1_Type = "";
  211.          this.event_000.Choice_2 = "Choose the blue box.";
  212.          this.event_000.Choice_2_Type = "";
  213.          this.event_000.Choice_3 = "Choose the green box.";
  214.          this.event_000.Choice_3_Type = "";
  215.          this.event_000.Result_1[0] = "The merchant laughs and disappears. You open the box to find a Short Sword.";
  216.          this.event_000.Result_1[1] = {
  217.             "Type":"Item",
  218.             "Name":"Short Sword",
  219.             "Value":0
  220.          };
  221.          this.event_000.Result_2[0] = "The merchant laughs and disappears. You open the box to find an Oak Wand.";
  222.          this.event_000.Result_2[1] = {
  223.             "Type":"Item",
  224.             "Name":"Oak Wand",
  225.             "Value":1
  226.          };
  227.          this.event_000.Result_3[0] = "The merchant laughs and disappears. You open the box to find a Ring of Vigor.";
  228.          this.event_000.Result_3[1] = {
  229.             "Type":"Item",
  230.             "Name":"Wooden Shield",
  231.             "Value":2
  232.          };
  233.          this.eventArray.push(this.event_000);
  234.          this.event_001.EventName = "Farm World Problems";
  235.          this.event_001.EventDesc = "The Great Harvest is soon. Residents of Gladery Plains will be working extra hours, and have requested your help to watch over their crops and tired harvesters for a night.\n\nHowever, they don’t have much to offer in return.";
  236.          this.event_001.EventLocation = "Village";
  237.          this.event_001.EventPosX = 95;
  238.          this.event_001.EventPosY = 210;
  239.          this.event_001.Choice_1 = "Send your units to help.";
  240.          this.event_001.Choice_1_Type = "BATTLE";
  241.          this.event_001.Choice_1_Enemy = [3,1,this.§_-3e§[1],"BANDIT"];
  242.          this.event_001.Choice_2 = "Pay Blades of Glory to help out in your place.";
  243.          this.event_001.Choice_2_Type = "";
  244.          this.event_001.Choice_3 = "Apologize for not being able to help as you have other pressing matters.";
  245.          this.event_001.Choice_3_Type = "";
  246.          this.event_001.Result_1[0] = "Your units fend off bandits in the night. They gain battle experience and return to you with the gold promised by\nthe harvesters.";
  247.          this.event_001.Result_1[1] = {
  248.             "Type":"All_Unit_Stats",
  249.             "Stats":"Strength",
  250.             "Value":1
  251.          };
  252.          this.event_001.Result_1[2] = {
  253.             "Type":"Gold",
  254.             "Value":1000
  255.          };
  256.          this.event_001.Result_1_Lose[0] = "The bandits overwhelm your units. However, they are exhausted after the battle and are chased off by the farmers.";
  257.          this.event_001.Result_1_Lose[1] = {
  258.             "Type":"All_Unit_Stats",
  259.             "Stats":"Stamina",
  260.             "Value":-1
  261.          };
  262.          this.event_001.Result_1_Lose[2] = {
  263.             "Type":"Gold",
  264.             "Value":250
  265.          };
  266.          this.event_001.Result_2[0] = "Blades of Glory thanks you for the task and payment. Under their watch, the harvest goes through another safe night.";
  267.          this.event_001.Result_2[1] = {
  268.             "Type":"Reputation",
  269.             "Name":"Blades of Glory",
  270.             "Value":30
  271.          };
  272.          this.event_001.Result_2[2] = {
  273.             "Type":"Gold",
  274.             "Value":-2000
  275.          };
  276.          this.event_001.Result_3[0] = "The harvesters acquire help from someone else instead. Word of your refusal to aid gets around and affects your reputation.";
  277.          this.event_001.Result_3[1] = {
  278.             "Type":"Reputation",
  279.             "Name":"Runesse",
  280.             "Value":-10
  281.          };
  282.          this.event_001.Result_3[2] = {
  283.             "Type":"Reputation",
  284.             "Name":"Blades of Glory",
  285.             "Value":-10
  286.          };
  287.          this.eventArray.push(this.event_001);
  288.          this.event_002.EventName = "Wandering Woes";
  289.          this.event_002.EventDesc = "While travelling, you cross paths with a group of lost travellers. Tired and weary of the wild, they ask for assistance.";
  290.          this.event_002.EventLocation = "Forest";
  291.          this.event_002.EventPosX = 289;
  292.          this.event_002.EventPosY = 290;
  293.          this.event_002.Choice_1 = "Send a unit to escort them to the nearest city.";
  294.          this.event_002.Choice_1_Type = "UNIT_MISSION_AGI";
  295.          this.event_002.Choice_2 = "Tell them directions to the nearest city.";
  296.          this.event_002.Choice_2_Type = "";
  297.          this.event_002.Choice_3 = "Ask them to follow your party to the city where the league is held in.";
  298.          this.event_002.Choice_3_Type = "";
  299.          this.event_002.Result_1[0] = "{Your unit} returns, tired from the trip but with increased agility and monetary rewards from the travellers.";
  300.          this.event_002.Result_1[1] = {
  301.             "Type":"Single_Unit_Stats",
  302.             "Stats":"Agility",
  303.             "Value":3
  304.          };
  305.          this.event_002.Result_1[2] = {
  306.             "Type":"Single_Unit_Stats",
  307.             "Stats":"Stamina",
  308.             "Value":-1
  309.          };
  310.          this.event_002.Result_1[3] = {
  311.             "Type":"Gold",
  312.             "Value":2000
  313.          };
  314.          this.event_002.Result_1_Lose[0] = "Not a fast traveller, {Your unit} could not run from encounters with wild creatures, taking longer than expected and is beyond exhausted upon return.";
  315.          this.event_002.Result_1_Lose[1] = {
  316.             "Type":"Single_Unit_Stats",
  317.             "Stats":"Stamina",
  318.             "Value":-1
  319.          };
  320.          this.event_002.Result_1_Lose[2] = {
  321.             "Type":"Gold",
  322.             "Value":1000
  323.          };
  324.          this.event_002.Result_2[0] = "They thank you and head off to find the city, but are attacked. They survive, but have a lesser impression of you. Little did you know, they were closely affiliated with the Golden Scales.";
  325.          this.event_002.Result_2[1] = {
  326.             "Type":"Reputation",
  327.             "Name":"Golden Scales",
  328.             "Value":-20
  329.          };
  330.          this.event_002.Result_3[0] = "The travellers gift you as an appreciation for guiding them.";
  331.          this.event_002.Result_3[1] = {
  332.             "Type":"Gold",
  333.             "Value":500
  334.          };
  335.          this.eventArray.push(this.event_002);
  336.          this.event_003.EventName = "Call For Cures";
  337.          this.event_003.EventDesc = "A list of supplies that can be traded in for gold has been posted.";
  338.          this.event_003.EventLocation = "City";
  339.          this.event_003.EventPosX = 142;
  340.          this.event_003.EventPosY = 236;
  341.          this.event_003.Choice_1 = "Collect saffron from\nthe Caspid Plains just outside the North Gate\nof Kurestal.";
  342.          this.event_003.Choice_1_Type = "";
  343.          this.event_003.Choice_2 = "Collect monkshood from Quivtol Hills.";
  344.          this.event_003.Choice_2_Type = "BATTLE";
  345.          this.event_003.Choice_2_Enemy = [3,2,this.§_-3e§[1] + 20,"BANDIT"];
  346.          this.event_003.Choice_3 = "Pass on helping out.";
  347.          this.event_003.Choice_3_Type = "";
  348.          this.event_003.Result_1[0] = "Runesse gives you a small compensation for your efforts.";
  349.          this.event_003.Result_1[1] = {
  350.             "Type":"Reputation",
  351.             "Name":"Runesse",
  352.             "Value":30
  353.          };
  354.          this.event_003.Result_1[2] = {
  355.             "Type":"Gold",
  356.             "Value":1000
  357.          };
  358.          this.event_003.Result_2[0] = "You return with a decent amount of monkshood, and are rewarded decently for your efforts.";
  359.          this.event_003.Result_2[1] = {
  360.             "Type":"Reputation",
  361.             "Name":"Runesse",
  362.             "Value":30
  363.          };
  364.          this.event_003.Result_2[2] = {
  365.             "Type":"Gold",
  366.             "Value":2000
  367.          };
  368.          this.event_003.Result_2_Lose[0] = "After your defeat, you decide to turn back to recover in time for the next League battle.";
  369.          this.event_003.Result_2_Lose[1] = {
  370.             "Type":"Reputation",
  371.             "Name":"Runesse",
  372.             "Value":-60
  373.          };
  374.          this.event_003.Result_3[0] = "Your refusal to help puts a dent in Runesse\'s impression of you.";
  375.          this.event_003.Result_3[1] = {
  376.             "Type":"Reputation",
  377.             "Name":"Runesse",
  378.             "Value":-30
  379.          };
  380.          this.eventArray.push(this.event_003);
  381.          this.event_004.EventName = "Healing Dealings";
  382.          this.event_004.EventDesc = "After venturing in to Caldemount Cave, you obtained a vial of unicorn blood - said to have great healing properties, thus fetching a high price.\nSome parties have extended their interest in obtaining said vial.";
  383.          this.event_004.EventLocation = "Cave";
  384.          this.event_004.EventPosX = 239;
  385.          this.event_004.EventPosY = 195;
  386.          this.event_004.Choice_1 = "Golden Scales says: \"We’ll pay you a highly for that vial - you won’t get this price anywhere else. What do you say?\"";
  387.          this.event_004.Choice_1_Type = "";
  388.          this.event_004.Choice_2 = "Blades of Glory says: \"One of our warriors is gravely injured. We don\'t have much to offer, but would you please help?\"";
  389.          this.event_004.Choice_2_Type = "";
  390.          this.event_004.Choice_3 = "Runesse says: \"We\'d like to research the blood in hopes of replicating it into a useful medicine\nfor the kingdom.\"";
  391.          this.event_004.Choice_3_Type = "";
  392.          this.event_004.Result_1[0] = "Golden Scales thanks and pays you for the vial. Runesse finds out about the trade and are not pleased with your choice.";
  393.          this.event_004.Result_1[1] = {
  394.             "Type":"Reputation",
  395.             "Name":"Golden Scales",
  396.             "Value":30
  397.          };
  398.          this.event_004.Result_1[2] = {
  399.             "Type":"Reputation",
  400.             "Name":"Runesse",
  401.             "Value":-30
  402.          };
  403.          this.event_004.Result_1[3] = {
  404.             "Type":"Gold",
  405.             "Value":3000
  406.          };
  407.          this.event_004.Result_2[0] = "Xeth the Swordmaster has recovered from his near-fatal injuries thanks to you. Blades of Glory is very grateful and passes you some compesation they manage to muster.";
  408.          this.event_004.Result_2[1] = {
  409.             "Type":"Reputation",
  410.             "Name":"Blades of Glory",
  411.             "Value":30
  412.          };
  413.          this.event_004.Result_2[2] = {
  414.             "Type":"Gold",
  415.             "Value":1000
  416.          };
  417.          this.event_004.Result_2[3] = {
  418.             "Type":"Unique_Character",
  419.             "Value":0
  420.          };
  421.          this.event_004.Result_3[0] = "Runesse pays you for the vial. Golden Scales is displeased that you have not sold it to them instead.";
  422.          this.event_004.Result_3[1] = {
  423.             "Type":"Reputation",
  424.             "Name":"Runesse",
  425.             "Value":60
  426.          };
  427.          this.event_004.Result_3[2] = {
  428.             "Type":"Reputation",
  429.             "Name":"Golden Scales",
  430.             "Value":-30
  431.          };
  432.          this.event_004.Result_3[3] = {
  433.             "Type":"Gold",
  434.             "Value":3000
  435.          };
  436.          this.eventArray.push(this.event_004);
  437.          this.event_005.EventName = "Bootleg Bias";
  438.          this.event_005.EventDesc = "A sedative that has been deemed too dangerous for normal circulation, but fetches a high price for its effectiveness and rarity, is being actively smuggled recently.\nSome guilds are making a move in response.";
  439.          this.event_005.EventLocation = "Village";
  440.          this.event_005.EventPosX = 255;
  441.          this.event_005.EventPosY = 262;
  442.          this.event_005.Choice_1 = "Blades of Glory : \"We\'re trying to get the drug legalized - we think it’s better than unrecorded trades like these.\"";
  443.          this.event_005.Choice_1_Type = "BATTLE";
  444.          this.event_005.Choice_1_Enemy = [4,1,this.§_-3e§[2],"BANDIT"];
  445.          this.event_005.Choice_2 = "Shadow Corps says: \"Some customers have been looking for this. The pay is very extravagant, and you\'ll get your share.\"";
  446.          this.event_005.Choice_2_Type = "BATTLE";
  447.          this.event_005.Choice_2_Enemy = [4,2,this.§_-3e§[2] + 20,"BANDIT"];
  448.          this.event_005.Choice_3 = "Runesse says: \"Confiscating those drugs are our priority. The drug\'s potency makes it easy for anyone to kill.\"";
  449.          this.event_005.Choice_3_Type = "BATTLE";
  450.          this.event_005.Choice_3_Enemy = [4,3,this.§_-3e§[2] + 10,"BANDIT"];
  451.          this.event_005.Result_1[0] = "Your mission is a success. The guild turns the smugglers in and uses the stash to leverage a debate to legalize the drug with the kingdom officials.";
  452.          this.event_005.Result_1[1] = {
  453.             "Type":"Reputation",
  454.             "Name":"Blades of Glory",
  455.             "Value":60
  456.          };
  457.          this.event_005.Result_1[2] = {
  458.             "Type":"Gold",
  459.             "Value":1500
  460.          };
  461.          this.event_005.Result_1_Lose[0] = "You fail to retrive the stash. Blades of Glory appreciate the effort, and mentions that they will keep you in mind for\nfuture missions.";
  462.          this.event_005.Result_1_Lose[1] = {
  463.             "Type":"Reputation",
  464.             "Name":"Blades of Glory",
  465.             "Value":30
  466.          };
  467.          this.event_005.Result_2[0] = "Your mission is a success. Shadow Corps passes you crystals as your part of the bargain.";
  468.          this.event_005.Result_2[1] = {
  469.             "Type":"Reputation",
  470.             "Name":"Shadow Corps",
  471.             "Value":30
  472.          };
  473.          this.event_005.Result_2[2] = {
  474.             "Type":"Reputation",
  475.             "Name":"Runesse",
  476.             "Value":-30
  477.          };
  478.          this.event_005.Result_2[3] = {
  479.             "Type":"Crystal",
  480.             "Value":20
  481.          };
  482.          this.event_005.Result_2_Lose[0] = "You fail to retrieve the stash. Shadow Corps laments the loss of their payment, but says it can\'t be helped since the smugglers were well-prepared.";
  483.          this.event_005.Result_2_Lose[1] = {
  484.             "Type":"Reputation",
  485.             "Name":"Shadow Corps",
  486.             "Value":-30
  487.          };
  488.          this.event_005.Result_3[0] = "Your mission is a success. It seems that Runesse wanted to confiscate the drugs very much, as your pay is extremely generous this time around.";
  489.          this.event_005.Result_3[1] = {
  490.             "Type":"Reputation",
  491.             "Name":"Runesse",
  492.             "Value":30
  493.          };
  494.          this.event_005.Result_3[2] = {
  495.             "Type":"Gold",
  496.             "Value":3000
  497.          };
  498.          this.event_005.Result_3_Lose[0] = "You fail to retrieve the stash. Runesse does not seem to believe it and wonders if you kept the stash for other uses instead.";
  499.          this.event_005.Result_3_Lose[1] = {
  500.             "Type":"Reputation",
  501.             "Name":"Runesse",
  502.             "Value":-60
  503.          };
  504.          this.eventArray.push(this.event_005);
  505.          this.event_006.EventName = "Circus Surprises";
  506.          this.event_006.EventDesc = "You come across the famous Prism Circus while travelling. Upon getting closer, you notice that a few of the tents are in flames.";
  507.          this.event_006.EventLocation = "Forest";
  508.          this.event_006.EventPosX = 275;
  509.          this.event_006.EventPosY = 342;
  510.          this.event_006.Choice_1 = "Help put out the fire consuming the main tent along with the circus folk, using water from a nearby river.";
  511.          this.event_006.Choice_1_Type = "";
  512.          this.event_006.Choice_2 = "Help put out the fire consuming the main tent, and send a unit to the next nearest tent to save anyone trapped inside.";
  513.          this.event_006.Choice_2_Type = "UNIT_MISSION_STA";
  514.          this.event_006.Choice_3 = "Help put out the fire consuming the main tent, and send a unit to save the animals that are still in cages.";
  515.          this.event_006.Choice_3_Type = "UNIT_MISSION_STR";
  516.          this.event_006.Result_1[0] = "Help put out the fire consuming the main tent, using water from a nearby river.";
  517.          this.event_006.Result_1[1] = {
  518.             "Type":"Crystal",
  519.             "Value":20
  520.          };
  521.          this.event_006.Result_2[0] = "{Your unit} manages to save some trapped people inside the main tent before it collapses. One of the victims happen to be the sibling of a well-known Phantom, and he extends his thanks.";
  522.          this.event_006.Result_2[1] = {
  523.             "Type":"Single_Unit_Stats",
  524.             "Stats":"Stamina",
  525.             "Value":3
  526.          };
  527.          this.event_006.Result_2[2] = {
  528.             "Type":"Unique_Character",
  529.             "Value":1
  530.          };
  531.          this.event_006.Result_2_Lose[0] = "The townsfolk barely manage to put out the fire. {Your unit} doesn\'t manage to save anyone and is injured during the process.";
  532.          this.event_006.Result_2_Lose[1] = {
  533.             "Type":"Single_Unit_Stats",
  534.             "Stats":"Stamina",
  535.             "Value":-1
  536.          };
  537.          this.event_006.Result_3[0] = "{Your unit} manages to save some trapped people from the main tent before it collapses. A javelineer who was also trying to save the animals expresses his joy at someone who thought the same.";
  538.          this.event_006.Result_3[1] = {
  539.             "Type":"Single_Unit_Stats",
  540.             "Stats":"Strength",
  541.             "Value":3
  542.          };
  543.          this.event_006.Result_3[2] = {
  544.             "Type":"Unique_Character",
  545.             "Value":2
  546.          };
  547.          this.event_006.Result_3_Lose[0] = "The townsfolk barely manage to put out the fire. {Your unit} doesn\'t manage to save any animals and is injured during the process.";
  548.          this.event_006.Result_3_Lose[1] = {
  549.             "Type":"Single_Unit_Stats",
  550.             "Stats":"Strength",
  551.             "Value":-1
  552.          };
  553.          this.eventArray.push(this.event_006);
  554.          this.event_007.EventName = "Drawing The Line";
  555.          this.event_007.EventDesc = "Basilisk groups have been threatening more towns as the days go by, and even though the King does not want to declare war - he has sent orders to deal with them.";
  556.          this.event_007.EventLocation = "Village";
  557.          this.event_007.EventPosX = 348;
  558.          this.event_007.EventPosY = 230;
  559.          this.event_007.Choice_1 = "Defend Luogh Harbor - Kurestal\'s strategic trading point.";
  560.          this.event_007.Choice_1_Type = "BATTLE";
  561.          this.event_007.Choice_1_Enemy = [4,3,this.§_-3e§[3],"BLACK"];
  562.          this.event_007.Choice_2 = "While others are defending, infiltrate Basilisk\'s smaller bases to acquire information about their plans.";
  563.          this.event_007.Choice_2_Type = "";
  564.          this.event_007.Choice_3 = "Defend Hilltown Hamlet as they do not have their own military power.";
  565.          this.event_007.Choice_3_Type = "BATTLE";
  566.          this.event_007.Choice_3_Enemy = [5,3,this.§_-3e§[3] + 30,"BLACK"];
  567.          this.event_007.Result_1[0] = "You successfully defend Luogh Harbor.";
  568.          this.event_007.Result_1[1] = {
  569.             "Type":"Days",
  570.             "Value":1
  571.          };
  572.          this.event_007.Result_1[2] = {
  573.             "Type":"Chain_Event",
  574.             "Value":8
  575.          };
  576.          this.event_007.Result_1_Lose[0] = "You are overwhelmed by Basilisk troops, and have to retreat while others defend.";
  577.          this.event_007.Result_1_Lose[1] = {
  578.             "Type":"Days",
  579.             "Value":1
  580.          };
  581.          this.event_007.Result_1_Lose[2] = {
  582.             "Type":"Chain_Event",
  583.             "Value":8
  584.          };
  585.          this.event_007.Result_2[0] = "You send units out to acquire information, but it takes them some time to return with solid information.";
  586.          this.event_007.Result_2[1] = {
  587.             "Type":"Days",
  588.             "Value":4
  589.          };
  590.          this.event_007.Result_2[2] = {
  591.             "Type":"Chain_Event",
  592.             "Value":9
  593.          };
  594.          this.event_007.Result_3[0] = "You travel towards Hilltown Hamlet, crossing paths with a few Basilisk soldiers before you even reach your destination.";
  595.          this.event_007.Result_3[1] = {
  596.             "Type":"Days",
  597.             "Value":2
  598.          };
  599.          this.event_007.Result_3[2] = {
  600.             "Type":"Chain_Event",
  601.             "Value":10
  602.          };
  603.          this.event_007.Result_3_Lose[0] = "The Basilisk soldiers were overwhelming, but you manage to shake them off and reach the hamlet.";
  604.          this.event_007.Result_3_Lose[1] = {
  605.             "Type":"Days",
  606.             "Value":2
  607.          };
  608.          this.event_007.Result_3_Lose[2] = {
  609.             "Type":"Chain_Event",
  610.             "Value":10
  611.          };
  612.          this.eventArray.push(this.event_007);
  613.          this.event_008.EventName = "Queer Pier";
  614.          this.event_008.EventDesc = "You meet units dispatched by various factions at Luogh Harbor, with each unit patrolling at different hours for different reasons. What time would you like to patrol at?";
  615.          this.event_008.EventLocation = "Village";
  616.          this.event_008.EventPosX = 156;
  617.          this.event_008.EventPosY = 330;
  618.          this.event_008.Choice_1 = "Patrol in the morning, when workers bustle around to prepare for the day.";
  619.          this.event_008.Choice_1_Type = "BATTLE";
  620.          this.event_008.Choice_1_Enemy = [5,1,this.§_-3e§[2],"BLACK"];
  621.          this.event_008.Choice_2 = "Patrol in the afternoon, when trade ships dock and most traders flood the pier.";
  622.          this.event_008.Choice_2_Type = "BATTLE";
  623.          this.event_008.Choice_2_Enemy = [5,3,this.§_-3e§[2],"BLACK"];
  624.          this.event_008.Choice_3 = "Patrol at night, when business quiets down.";
  625.          this.event_008.Choice_3_Type = "BATTLE";
  626.          this.event_008.Choice_3_Enemy = [5,5,this.§_-3e§[2],"BLACK"];
  627.          this.event_008.Result_1[0] = "You manage to defeat Basilisk troops along with the Blades of Glory\'s patrol unit. The management rewards you for your successful capture of the troops.";
  628.          this.event_008.Result_1[1] = {
  629.             "Type":"Reputation",
  630.             "Name":"Blades of Glory",
  631.             "Value":60
  632.          };
  633.          this.event_008.Result_1[2] = {
  634.             "Type":"Gold",
  635.             "Value":2000
  636.          };
  637.          this.event_008.Result_1_Lose[0] = "Your troops are defeated, but the Blades of Glory\'s patrol unit manages to chase them off without capturing anyone for interrogation.";
  638.          this.event_008.Result_1_Lose[1] = {
  639.             "Type":"None",
  640.             "Value":0
  641.          };
  642.          this.event_008.Result_2[0] = "Nobody expected an attack in broad daylight, but you manage to defend the pier. The pier\'s management gives you some monetary rewards as thanks.";
  643.          this.event_008.Result_2[1] = {
  644.             "Type":"Reputation",
  645.             "Name":"Golden Scales",
  646.             "Value":30
  647.          };
  648.          this.event_008.Result_2[2] = {
  649.             "Type":"Gold",
  650.             "Value":3000
  651.          };
  652.          this.event_008.Result_2_Lose[0] = "Your troops are defeated, but the Golden Scales\' hired patrol unit manages to chase them off without capturing anyone for interrogation.";
  653.          this.event_008.Result_2_Lose[1] = {
  654.             "Type":"None",
  655.             "Value":0
  656.          };
  657.          this.event_008.Result_3[0] = "A sneak attack is launched. You are prepared thanks to the information from Runesse - and apprehend the offenders. You receive gold as a token of appreciation.";
  658.          this.event_008.Result_3[1] = {
  659.             "Type":"Reputation",
  660.             "Name":"Runesse",
  661.             "Value":30
  662.          };
  663.          this.event_008.Result_3[2] = {
  664.             "Type":"Gold",
  665.             "Value":2500
  666.          };
  667.          this.event_008.Result_3_Lose[0] = "Your troops are defeated, but Runesse\'s hired patrol unit manages to chase them off without capturing anyone for interrogation.";
  668.          this.event_008.Result_3_Lose[1] = {
  669.             "Type":"None",
  670.             "Value":0
  671.          };
  672.          this.eventArray.push(this.event_008);
  673.          this.event_009.EventName = "Scoop Up";
  674.          this.event_009.EventDesc = "You discover that Basilisk plans to take over the towns within Drogus Valley to monopolize the trade routes within.\nThe plan will drastically affect the Golden Scales, but there isn\'t much time to until the plan is put into action. What will you do?";
  675.          this.event_009.EventLocation = "Village";
  676.          this.event_009.EventPosX = 406;
  677.          this.event_009.EventPosY = 176;
  678.          this.event_009.Choice_1 = "Send a messenger to inform Golden Scales and leave them to deal with the situation.";
  679.          this.event_009.Choice_1_Type = "UNIT_MISSION_AGI";
  680.          this.event_009.Choice_2 = "Patrol in the afternoon, where trade ships dock and most traders  flood the pier.";
  681.          this.event_009.Choice_2_Type = "BATTLE";
  682.          this.event_009.Choice_2_Enemy = [5,6,this.§_-3e§[2] + 20,"BLACK"];
  683.          this.event_009.Result_1[0] = "{Your unit} relays the message to Golden Scales in time for them to act, and they pay you for the information.";
  684.          this.event_009.Result_1[1] = {
  685.             "Type":"Reputation",
  686.             "Name":"Golden Scales",
  687.             "Value":10
  688.          };
  689.          this.event_009.Result_1[2] = {
  690.             "Type":"Gold",
  691.             "Value":2000
  692.          };
  693.          this.event_009.Result_1_Lose[0] = "By the time {Your unit} relays the message, it is already too late for the Golden Scales to do anything to quell the onslaught to the trade points. In their haste to deal with the matter, you are not compensated even though your help is noted. {Your unit} returns, extremely exhausted from the overambitious task.";
  694.          this.event_009.Result_1_Lose[1] = {
  695.             "Type":"Single_Unit_Stats",
  696.             "Stats":"Stamina",
  697.             "Value":-1
  698.          };
  699.          this.event_009.Result_1_Lose[2] = {
  700.             "Type":"Reputation",
  701.             "Name":"Golden Scales",
  702.             "Value":10
  703.          };
  704.          this.event_009.Result_2[0] = "Golden Scales is very appreciative of your efforts in dealing with the plan before it was too late, and reward you handsomely.";
  705.          this.event_009.Result_2[1] = {
  706.             "Type":"Reputation",
  707.             "Name":"Golden Scales",
  708.             "Value":30
  709.          };
  710.          this.event_009.Result_2[2] = {
  711.             "Type":"Gold",
  712.             "Value":3000
  713.          };
  714.          this.event_009.Result_2[3] = {
  715.             "Type":"Crystal",
  716.             "Value":20
  717.          };
  718.          this.event_009.Result_2_Lose[0] = "Golden Scales is appreciative of your message and efforts in dealing with the plan, even despite your failure in defending Basilisk\'s first attack. They give you some compensation and send you on your way.";
  719.          this.event_009.Result_2_Lose[1] = {
  720.             "Type":"Reputation",
  721.             "Name":"Golden Scales",
  722.             "Value":10
  723.          };
  724.          this.event_009.Result_2_Lose[2] = {
  725.             "Type":"Gold",
  726.             "Value":1000
  727.          };
  728.          this.eventArray.push(this.event_009);
  729.          this.event_010.EventName = "Cornerstone";
  730.          this.event_010.EventDesc = "As soon as you reach the hamlet, you see a small but menacing troop of Basilisk soldiers closing in from the distance. The townsfolk can try defending, but they\'re no soliders.\n\nWhat will you do?";
  731.          this.event_010.EventLocation = "Village";
  732.          this.event_010.EventPosX = 338;
  733.          this.event_010.EventPosY = 147;
  734.          this.event_010.Choice_1 = "Leave the townsfolk to defend themselves.";
  735.          this.event_010.Choice_1_Type = "";
  736.          this.event_010.Choice_2 = "Attempt to defend the city by yourself.";
  737.          this.event_010.Choice_2_Type = "BATTLE";
  738.          this.event_010.Choice_2_Enemy = [5,3,this.§_-3e§[2] + 30,"BLACK"];
  739.          this.event_010.Choice_3 = "Send a unit to ask for assistance from a nearby Blades of Glory outpost while you defend.";
  740.          this.event_010.Choice_3_Type = "UNIT_MISSION_AGI";
  741.          this.event_010.Result_1[0] = "Hilltown Hamlet falls to Basilisk and is made into a new base of operations. Efforts are being made to re-claim it, and news of your refusal to help causes a dent in your public image.";
  742.          this.event_010.Result_1[1] = {
  743.             "Type":"Reputation",
  744.             "Name":"Blades of Glory",
  745.             "Value":-60
  746.          };
  747.          this.event_010.Result_1[2] = {
  748.             "Type":"Reputation",
  749.             "Name":"Runesse",
  750.             "Value":-30
  751.          };
  752.          this.event_010.Result_1[3] = {
  753.             "Type":"Reputation",
  754.             "Name":"Golden Scales",
  755.             "Value":-10
  756.          };
  757.          this.event_010.Result_2[0] = "To thank you, the townsfolk pass you a shield. You succeed, and news of your deed reaches the ears of a Valkyrie who often visits the hamlet.";
  758.          this.event_010.Result_2[1] = {
  759.             "Type":"Item",
  760.             "Name":"Round Shield",
  761.             "Value":7
  762.          };
  763.          this.event_010.Result_2[2] = {
  764.             "Type":"Gold",
  765.             "Value":2000
  766.          };
  767.          this.event_010.Result_2[3] = {
  768.             "Type":"Unique_Character",
  769.             "Value":3
  770.          };
  771.          this.event_010.Result_2_Lose[0] = "The townsfolk pass a shield, but you are still overwhelme. A passing group of soldiers come to your aide.\n\nYour units take a toll from the battle, and news of your deed reaches the ears of a Valkyrie who often visits the hamlet.";
  772.          this.event_010.Result_2_Lose[1] = {
  773.             "Type":"Item",
  774.             "Name":"Round Shield",
  775.             "Value":7
  776.          };
  777.          this.event_010.Result_2_Lose[2] = {
  778.             "Type":"All_Unit_Stats",
  779.             "Stats":"Stamina",
  780.             "Value":-2
  781.          };
  782.          this.event_010.Result_2_Lose[3] = {
  783.             "Type":"Unique_Character",
  784.             "Value":3
  785.          };
  786.          this.event_010.Result_3[0] = "The townsfolk pass you an amulet that gives speed to its wearer, hoping it will help your efforts.\n{Your unit} succeeds in getting help soon, and you manage to defend the town with help from the reinforcements. Due to the experience, {Your unit} becomes more nimble.";
  787.          this.event_010.Result_3[1] = {
  788.             "Type":"Item",
  789.             "Name":"Amulet Of Haste",
  790.             "Value":3
  791.          };
  792.          this.event_010.Result_3[2] = {
  793.             "Type":"Single_Unit_Stats",
  794.             "Stats":"Agility",
  795.             "Value":5
  796.          };
  797.          this.event_010.Result_3_Lose[0] = "The townsfolk pass you an amulet that gives speed to its wearer, hoping it will help you in battle. However, {Your unit} takes some time getting to the outpost, and your units are overwhelmed.\n\nReinfocement manages to come before the hamlet is taken over, but the tough battle takes a toll on your units.";
  798.          this.event_010.Result_3_Lose[1] = {
  799.             "Type":"Item",
  800.             "Name":"Amulet Of Haste",
  801.             "Value":3
  802.          };
  803.          this.event_010.Result_3_Lose[2] = {
  804.             "Type":"All_Unit_Stats",
  805.             "Stats":"Stamina",
  806.             "Value":-1
  807.          };
  808.          this.eventArray.push(this.event_010);
  809.          this.event_011.EventName = "Treasures and Trinkets";
  810.          this.event_011.EventDesc = "A group of scholars have requested help as they prepare to explore an old temple located near the Fractured Forest.\nBefore entering, they have asked that the floors be scouted for any signs of danger. A number of groups have turned up for the task.";
  811.          this.event_011.EventLocation = "Forest";
  812.          this.event_011.EventPosX = 598;
  813.          this.event_011.EventPosY = 200;
  814.          this.event_011.Choice_1 = "Scout the basement - where the burial chambers are supposedly located.";
  815.          this.event_011.Choice_1_Type = "";
  816.          this.event_011.Choice_2 = "Scout the third floor - where the temple\'s library is situated.";
  817.          this.event_011.Choice_2_Type = "";
  818.          this.event_011.Choice_3 = "Scout the fifth floor - where the entrace to a secret treasure room is supposedly located.";
  819.          this.event_011.Choice_3_Type = "";
  820.          this.event_011.Result_1[0] = "You trek downwards towards the dim basement.";
  821.          this.event_011.Result_1[1] = {
  822.             "Type":"Chain_Event",
  823.             "Value":12
  824.          };
  825.          this.event_011.Result_2[0] = "You head upwards, past the crumbled library doors.";
  826.          this.event_011.Result_2[1] = {
  827.             "Type":"Chain_Event",
  828.             "Value":15
  829.          };
  830.          this.event_011.Result_3[0] = "You travel towards Luogh Harbor, encountering some bandits on the way.";
  831.          this.event_011.Result_3[1] = {
  832.             "Type":"Chain_Event",
  833.             "Value":18
  834.          };
  835.          this.eventArray.push(this.event_011);
  836.          this.event_012.EventName = "Grave Robbery";
  837.          this.event_012.EventDesc = "Upon reaching the basement, you see bandits lurking in the shadows.\n\nThey claim that they have a request from the Shadow Corps to retrieve an item, and strongly insist that you allow them to leave with the items they have found.";
  838.          this.event_012.EventLocation = "Forest";
  839.          this.event_012.EventPosX = 598;
  840.          this.event_012.EventPosY = 200;
  841.          this.event_012.Choice_1 = "Back off and allow them to leave.";
  842.          this.event_012.Choice_1_Type = "";
  843.          this.event_012.Choice_2 = "Insist that they leave immediately, without taking the items from the ruins.";
  844.          this.event_012.Choice_2_Type = "BATTLE";
  845.          this.event_012.Choice_2_Enemy = [5,3,this.§_-3e§[3],"BANDIT"];
  846.          this.event_012.Choice_3 = "Insist that they leave immediately, but they may take whatever they have found so far.";
  847.          this.event_012.Choice_3_Enemy = [5,4,this.§_-3e§[3] + 30,"BANDIT"];
  848.          this.event_012.Choice_3_Type = "BATTLE";
  849.          this.event_012.Result_1[0] = "The scholars are disappointed that the basement is ransacked, and only pay you the promised fee for securing the place.";
  850.          this.event_012.Result_1[1] = {
  851.             "Type":"Reputation",
  852.             "Name":"Shadow Corps",
  853.             "Value":30
  854.          };
  855.          this.event_012.Result_1[2] = {
  856.             "Type":"Gold",
  857.             "Value":2000
  858.          };
  859.          this.event_012.Result_2[0] = "You successfully retrive the items from the bandits and drive them away.";
  860.          this.event_012.Result_2[1] = {
  861.             "Type":"Chain_Event",
  862.             "Value":13
  863.          };
  864.          this.event_012.Result_2_Lose[0] = "You fail to retrive the items from the bandits. The scholars are not pleased and dismiss you from service.";
  865.          this.event_012.Result_2_Lose[1] = {
  866.             "Type":"None",
  867.             "Value":0
  868.          };
  869.          this.event_012.Result_3[0] = "The scholars arrive right after you chase the bandits away, and pay you for securing the floor.";
  870.          this.event_012.Result_3[1] = {
  871.             "Type":"Gold",
  872.             "Value":3000
  873.          };
  874.          this.event_012.Result_3[2] = {
  875.             "Type":"Chain_Event",
  876.             "Value":14
  877.          };
  878.          this.event_012.Result_3_Lose[0] = "You fail to defeat the bandits. The scholars are not pleased and dismiss you from service.";
  879.          this.event_012.Result_3_Lose[1] = {
  880.             "Type":"None",
  881.             "Value":0
  882.          };
  883.          this.eventArray.push(this.event_012);
  884.          this.event_013.EventName = "Gallant Soul";
  885.          this.event_013.EventDesc = "The scholars are happy that you have secured the relics. Before paying you, they ask if you would like to stay with them while they explore the room and take a closer look at the items.";
  886.          this.event_013.EventLocation = "Forest";
  887.          this.event_013.EventPosX = 598;
  888.          this.event_013.EventPosY = 200;
  889.          this.event_013.Choice_1 = "Stay until they\'re done exploring the room, and after they\'re done looking at the relics.";
  890.          this.event_013.Choice_1_Type = "BATTLE";
  891.          this.event_013.Choice_1_Enemy = [5,5,this.§_-3e§[3],"BLACK"];
  892.          this.event_013.Choice_2 = "Tell them you need to take your leave to prepare for the next match, and thank them for the pay.";
  893.          this.event_013.Choice_2_Type = "";
  894.          this.event_013.Result_1[0] = "A scholar accidentally unseals demons when he removes a relic. You defeat them and are rewarded handsomely. As the scholars are wary of the relic - they pass it to you instead.";
  895.          this.event_013.Result_1[1] = {
  896.             "Type":"Gold",
  897.             "Value":3000
  898.          };
  899.          this.event_013.Result_1[2] = {
  900.             "Type":"Item",
  901.             "Name":"Swift Dagger ",
  902.             "Value":8
  903.          };
  904.          this.event_013.Result_1_Lose[0] = "A scholar accidentally unseals demons when he removes a relic. You fail to stop the demons from advancing, and retreat as another group takes out the demons instead.";
  905.          this.event_013.Result_1_Lose[1] = {
  906.             "Type":"Gold",
  907.             "Value":2500
  908.          };
  909.          this.event_013.Result_2[0] = "The scholars pay you the promised basic fee for your services and bid you goodbye.";
  910.          this.event_013.Result_2[1] = {
  911.             "Type":"Gold",
  912.             "Value":3500
  913.          };
  914.          this.eventArray.push(this.event_013);
  915.          this.event_014.EventName = "Amity And Luck";
  916.          this.event_014.EventDesc = "The scholars find several interesting relics, but a gem embedded into the wall catches their interest. They attempt to pull it out but can\'t. They ask if you would try.";
  917.          this.event_014.EventLocation = "Forest";
  918.          this.event_014.EventPosX = 598;
  919.          this.event_014.EventPosY = 200;
  920.          this.event_014.Choice_1 = "Accept their request and send a unit to pull it out.";
  921.          this.event_014.Choice_1_Type = "BATTLE";
  922.          this.event_014.Choice_1_Enemy = [5,2,this.§_-3e§[3] + 10,"BLACK"];
  923.          this.event_014.Choice_2 = "Decline as you wish to leave and prepare for the next match.";
  924.          this.event_014.Choice_2_Type = "";
  925.          this.event_014.Result_1[0] = "You defeat the creatures summoned by the gem. The scholars are afriad to keep it, and pass it to you along with your pay. \n\nLater, you trade it off to someone else for a high amount of crystals.";
  926.          this.event_014.Result_1[1] = {
  927.             "Type":"Gold",
  928.             "Value":3600
  929.          };
  930.          this.event_014.Result_1[2] = {
  931.             "Type":"Crystal",
  932.             "Value":50
  933.          };
  934.          this.event_014.Result_1_Lose[0] = "Creatures are summoned through the gem, and you are defeated. Another team backs you up and you are paid for your services.";
  935.          this.event_014.Result_1_Lose[1] = {
  936.             "Type":"Gold",
  937.             "Value":3200
  938.          };
  939.          this.event_014.Result_2[0] = "You are dismissed from your service after the scholars pay you the basic fee.";
  940.          this.event_014.Result_2[1] = {
  941.             "Type":"Gold",
  942.             "Value":1500
  943.          };
  944.          this.eventArray.push(this.event_014);
  945.          this.event_015.EventName = "Knowledge Is Power";
  946.          this.event_015.EventDesc = "Your exploration brings you to a huge room filled with dusty racks and scrolls. As you secure the area, another group enters. They ask that you leave, stating that your group has been reassigned to another area.";
  947.          this.event_015.EventPosX = 598;
  948.          this.event_015.EventPosY = 200;
  949.          this.event_015.Choice_1 = "Tell them you heard nothing about the reassignment and will continue securing the area.";
  950.          this.event_015.Choice_1_Type = "BATTLE";
  951.          this.event_015.Choice_1_Enemy = [5,3,this.§_-3e§[3] + 20,"BANDIT"];
  952.          this.event_015.Choice_2 = "Leave and return to the temple\'s entrace to ask about the reassignment.";
  953.          this.event_015.Choice_2_Type = "";
  954.          this.event_015.Result_1[0] = "The new group mutters angrily at how you\'re ruining their plans, and engages you in a battle. You defeat them and they leave.";
  955.          this.event_015.Result_1[1] = {
  956.             "Type":"All_Unit_Stats",
  957.             "Stats":"Stamina",
  958.             "Value":3
  959.          };
  960.          this.event_015.Result_1[2] = {
  961.             "Type":"Chain_Event",
  962.             "Value":16
  963.          };
  964.          this.event_015.Result_1_Lose[0] = "The group mutters angrily at how you\'re ruining their plans and engages you in a battle. Defeated, you search for the scholars to clarify the issue.";
  965.          this.event_015.Result_1_Lose[1] = {
  966.             "Type":"All_Unit_Stats",
  967.             "Stats":"Stamina",
  968.             "Value":1
  969.          };
  970.          this.event_015.Result_1_Lose[2] = {
  971.             "Type":"Chain_Event",
  972.             "Value":17
  973.          };
  974.          this.event_015.Result_2[0] = "The scholars mention that they have never changed their plans, and ask that you leave since you don\'t seem to be taking the task seriously.";
  975.          this.event_015.Result_2[1] = {
  976.             "Type":"None",
  977.             "Value":0
  978.          };
  979.          this.eventArray.push(this.event_015);
  980.          this.event_016.EventName = "Enigmatic Runes";
  981.          this.event_016.EventDesc = "The group retreats upon defeat. A glow is seen coming from a corner of the room, and upon closer inspection - it turns out to be a floating scroll emitting magical light.";
  982.          this.event_016.EventLocation = "Forest";
  983.          this.event_016.EventPosX = 598;
  984.          this.event_016.EventPosY = 200;
  985.          this.event_016.Choice_1 = "Send a unit to retrieve the scroll.";
  986.          this.event_016.Choice_1_Type = "UNIT_MISSION_INT";
  987.          this.event_016.Choice_2 = "Leave it be and inform the scholars.";
  988.          this.event_016.Choice_2_Type = "";
  989.          this.event_016.Result_1[0] = "{Your unit} successfully retrieves the scroll, and you hand it to the scholars. Little did anyone know, {Your unit}\'s mental strength was increased upon touching the scroll.";
  990.          this.event_016.Result_1[1] = {
  991.             "Type":"Single_Unit_Stats",
  992.             "Stats":"Intelligent",
  993.             "Value":3
  994.          };
  995.          this.event_016.Result_1[2] = {
  996.             "Type":"Gold",
  997.             "Value":4000
  998.          };
  999.          this.event_016.Result_1[3] = {
  1000.             "Type":"Crystal",
  1001.             "Value":10
  1002.          };
  1003.          this.event_016.Result_1_Lose[0] = "The scroll summons creatures that attack you before fading away.\n\nDispleased that you tried to take the scroll, the scholars only pay you a basic fee.";
  1004.          this.event_016.Result_1_Lose[1] = {
  1005.             "Type":"Gold",
  1006.             "Value":1500
  1007.          };
  1008.          this.event_016.Result_2[0] = "The scholars thank you for the information and you are paid for your services, with a slight bonus for your findings.";
  1009.          this.event_016.Result_2[1] = {
  1010.             "Type":"Gold",
  1011.             "Value":4000
  1012.          };
  1013.          this.event_016.Result_2[2] = {
  1014.             "Type":"Crystal",
  1015.             "Value":25
  1016.          };
  1017.          this.eventArray.push(this.event_016);
  1018.          this.event_017.EventName = "Devourers";
  1019.          this.event_017.EventDesc = "As you are about to leave, the doors slam shut and a light engulfs the room. As it fades, creatures are summoned. They move towards the racks and scrolls, aiming to destroy them.";
  1020.          this.event_017.EventLocation = "Forest";
  1021.          this.event_017.EventPosX = 598;
  1022.          this.event_017.EventPosY = 200;
  1023.          this.event_017.Choice_1 = "Intercept the creatures to stop them from destroying the room.";
  1024.          this.event_017.Choice_1_Type = "BATTLE";
  1025.          this.event_017.Choice_1_Enemy = [5,5,this.§_-3e§[3],"BLACK"];
  1026.          this.event_017.Choice_2 = "Evade the creatures and attempt to escape the room.";
  1027.          this.event_017.Choice_2_Type = "";
  1028.          this.event_017.Result_1[0] = "After defeating the creatures, the doors re-open and the scholars enter anxiously. You report to them and are paid generously.";
  1029.          this.event_017.Result_1[1] = {
  1030.             "Type":"Gold",
  1031.             "Value":5000
  1032.          };
  1033.          this.event_017.Result_1[2] = {
  1034.             "Type":"Crystal",
  1035.             "Value":15
  1036.          };
  1037.          this.event_017.Result_1_Lose[0] = "You are overhwlemed by the creatures, but the door breaks and backup arrives before much damage is done.\n\nThe scholars are happy with your efforts and you are paid well.";
  1038.          this.event_017.Result_1_Lose[1] = {
  1039.             "Type":"Gold",
  1040.             "Value":4000
  1041.          };
  1042.          this.event_017.Result_2[0] = "After defeating the creatures, the doors re-open and the scholars enter anxiously. You report to them and are paid generously.";
  1043.          this.event_017.Result_2[1] = {
  1044.             "Type":"None",
  1045.             "Value":0
  1046.          };
  1047.          this.eventArray.push(this.event_017);
  1048.          this.event_018.EventName = "Open Sesame";
  1049.          this.event_018.EventDesc = "The fifth floor is filled with traps. Some groups have already been injured. If you advance without caution, your units may be too injured to take part in the next battle.";
  1050.          this.event_018.EventLocation = "Forest";
  1051.          this.event_018.EventPosX = 598;
  1052.          this.event_018.EventPosY = 200;
  1053.          this.event_018.Choice_1 = "Wait for a few more groups to pass before you advance.";
  1054.          this.event_018.Choice_1_Type = "";
  1055.          this.event_018.Choice_2 = "Advance in a line.";
  1056.          this.event_018.Choice_2_Type = "";
  1057.          this.event_018.Choice_3 = "Send a unit to scout before the rest of the team follows.";
  1058.          this.event_018.Choice_3_Type = "";
  1059.          this.event_018.Result_1[0] = "Most traps have been disarmed and nothing seems unusual. You are paid for your service.";
  1060.          this.event_018.Result_1[1] = {
  1061.             "Type":"Gold",
  1062.             "Value":4800
  1063.          };
  1064.          this.event_018.Result_2[0] = "Your units proceed in a line.";
  1065.          this.event_018.Result_2[1] = {
  1066.             "Type":"Chain_Event",
  1067.             "Value":19
  1068.          };
  1069.          this.event_018.Result_3[0] = "Your team passes safely.";
  1070.          this.event_018.Result_3[1] = {
  1071.             "Type":"Chain_Event",
  1072.             "Value":20
  1073.          };
  1074.          this.event_018.Result_3_Lose[0] = "Some units run into booby traps, but your party managed to reach the end safely.";
  1075.          this.event_018.Result_3_Lose[1] = {
  1076.             "Type":"All_Unit_Stats",
  1077.             "Stats":"Stamina",
  1078.             "Value":-1
  1079.          };
  1080.          this.event_018.Result_3_Lose[2] = {
  1081.             "Type":"Chain_Event",
  1082.             "Value":20
  1083.          };
  1084.          this.eventArray.push(this.event_018);
  1085.          this.event_019.EventName = "Basement Findings";
  1086.          this.event_019.EventDesc = "A trap door opens and your troops fall into a room below. Glittering treasure is all around the room - but so are the creatures sealed there to protect it.";
  1087.          this.event_019.EventLocation = "Forest";
  1088.          this.event_019.EventPosX = 598;
  1089.          this.event_019.EventPosY = 200;
  1090.          this.event_019.Choice_1 = "Fight the spirits and let the scholars know about the treasure.";
  1091.          this.event_019.Choice_1_Type = "BATTLE";
  1092.          this.event_019.Choice_1_Enemy = [5,5,this.§_-3e§[3],"BLACK"];
  1093.          this.event_019.Choice_2 = "Fight the spirits and take some of the treasure before letting the scholars know.";
  1094.          this.event_019.Choice_2_Type = "BATTLE";
  1095.          this.event_019.Choice_2_Enemy = [5,5,this.§_-3e§[3],"BLACK"];
  1096.          this.event_019.Choice_3 = "Back out and inform the scholars of the room, its treasures and dangers.";
  1097.          this.event_019.Choice_3_Type = "";
  1098.          this.event_019.Result_1[0] = "You emerge victorious and inform the scholars.They thank you for your help and pay you slightly extra for your trouble.";
  1099.          this.event_019.Result_1[1] = {
  1100.             "Type":"Gold",
  1101.             "Value":6000
  1102.          };
  1103.          this.event_019.Result_1_Lose[0] = "You are defeated, and call for backup.\n\nThe scholars thank and pay you for your efforts.";
  1104.          this.event_019.Result_1_Lose[1] = {
  1105.             "Type":"Gold",
  1106.             "Value":3500
  1107.          };
  1108.          this.event_019.Result_2[0] = "The scholars thank you for your help and pay you slightly extra for your trouble. You also manage to sell off some treasures for extra crystals.";
  1109.          this.event_019.Result_2[1] = {
  1110.             "Type":"Gold",
  1111.             "Value":5000
  1112.          };
  1113.          this.event_019.Result_2[2] = {
  1114.             "Type":"Crystal",
  1115.             "Value":20
  1116.          };
  1117.          this.event_019.Result_2_Lose[0] = "You are defeated, and call for backup.\n\nThe scholars thank and pay you for your efforts.";
  1118.          this.event_019.Result_2_Lose[1] = {
  1119.             "Type":"Gold",
  1120.             "Value":3000
  1121.          };
  1122.          this.event_019.Result_3[0] = "You are given your promised basic pay, and the scholars get another team to clear the dangers in the treasure room.";
  1123.          this.event_019.Result_3[1] = {
  1124.             "Type":"Gold",
  1125.             "Value":2000
  1126.          };
  1127.          this.eventArray.push(this.event_019);
  1128.          this.event_020.EventName = "Guardian";
  1129.          this.event_020.EventDesc = "Your scout barely escapes falling through a trap door, but your team manages to reach the end of the hallway safely. A huge door with inscription of ancient runes stand before you.";
  1130.          this.event_020.EventLocation = "Forest";
  1131.          this.event_020.EventPosX = 598;
  1132.          this.event_020.EventPosY = 200;
  1133.          this.event_020.Choice_1 = "Inform the scholars.";
  1134.          this.event_020.Choice_1_Type = "BATTLE";
  1135.          this.event_020.Choice_1_Enemy = [4,1,this.§_-3e§[3] + 50,"DRAGON"];
  1136.          this.event_020.Choice_2 = "Attempt to open the door by blasting it with magic.";
  1137.          this.event_020.Choice_2_Type = "UNIT_MISSION_INT";
  1138.          this.event_020.Choice_3 = "Attempt to open the door through physical force.";
  1139.          this.event_020.Choice_3_Type = "UNIT_MISSION_STR";
  1140.          this.event_020.Result_1[0] = "The scholars decipher the runes and cast a counter-spell to weaken a summoning that triggers upon opening the door.\n\nYou emerge victorious, and an item falls towards you as the dragon vanishes.";
  1141.          this.event_020.Result_1[1] = {
  1142.             "Type":"Item",
  1143.             "Name":"Necklace of Wit",
  1144.             "Value":9
  1145.          };
  1146.          this.event_020.Result_1_Lose[0] = "The scholars decipher the runes and cast a counter-spell to weaken a summoning that triggers upon opening the door.\n\nYou fail to defeat the dragon, and another team slays it instead. The scholars pay you for your service.";
  1147.          this.event_020.Result_1_Lose[1] = {
  1148.             "Type":"Gold",
  1149.             "Value":3000
  1150.          };
  1151.          this.event_020.Result_2[0] = "A dragon stands over a huge pile of treasure.\n\nYou emerge victorious, and an item falls towards you as the dragon vanishes. You keep the item and proceed to inform the scholars of the incident.";
  1152.          this.event_020.Result_2[1] = {
  1153.             "Type":"Gold",
  1154.             "Value":8000
  1155.          };
  1156.          this.event_020.Result_2[2] = {
  1157.             "Type":"Item",
  1158.             "Name":"Necklace of Wit",
  1159.             "Value":9
  1160.          };
  1161.          this.event_020.Result_2_Lose[0] = "You fail to open the door, and inform the scholars about it. They mention they will take a look at it after the other rooms, and pay you for your service before dismissing you.";
  1162.          this.event_020.Result_2_Lose[1] = {
  1163.             "Type":"Gold",
  1164.             "Value":4200
  1165.          };
  1166.          this.event_020.Result_3[0] = "A dragon stands over a huge pile of treasure.\n\nYou emerge victorious, and an item falls towards you as the dragon vanishes. You keep the item and proceed to inform the scholars of the incident.";
  1167.          this.event_020.Result_3[1] = {
  1168.             "Type":"Gold",
  1169.             "Value":6000
  1170.          };
  1171.          this.event_020.Result_3[2] = {
  1172.             "Type":"Item",
  1173.             "Name":"Necklace of Wit",
  1174.             "Value":9
  1175.          };
  1176.          this.event_020.Result_3_Lose[0] = "You fail to open the door, and inform the scholars about it. They mention they will take a look at it after the other rooms, and pay you for your service before dismissing you.";
  1177.          this.event_020.Result_3_Lose[1] = {
  1178.             "Type":"Gold",
  1179.             "Value":4500
  1180.          };
  1181.          this.eventArray.push(this.event_020);
  1182.          this.event_021.EventName = "Wobbly Delivery";
  1183.          this.event_021.EventDesc = "Runesse has an urgent parcel to send to the Crystal Tower. As you are highly regarded, they have asked if you would deliver it to the head of the research unit.";
  1184.          this.event_021.EventLocation = "Forest";
  1185.          this.event_021.EventPosX = 780;
  1186.          this.event_021.EventPosY = 284;
  1187.          this.event_021.Choice_1 = "Accept their request and deliver the parcel through the main path from the city.";
  1188.          this.event_021.Choice_1_Type = "BATTLE";
  1189.          this.event_021.Choice_1_Enemy = [5,1,this.§_-3e§[4],"BLACK"];
  1190.          this.event_021.Choice_2 = "Accept their request and deliver the parcel through the alternative path through a small forest.";
  1191.          this.event_021.Choice_2_Type = "BATTLE";
  1192.          this.event_021.Choice_2_Enemy = [5,3,this.§_-3e§[4] + 20,"BLACK"];
  1193.          this.event_021.Choice_3 = "Decline their request as you don\'t feel confident enough to ensure the safety of the parcel.";
  1194.          this.event_021.Choice_3_Type = "";
  1195.          this.event_021.Result_1[0] = "You are ambushed but manage to defeat the intruders and proceed to safely deliver the parcel.";
  1196.          this.event_021.Result_1[1] = {
  1197.             "Type":"All_Unit_Stats",
  1198.             "Stats":"Strength",
  1199.             "Value":3
  1200.          };
  1201.          this.event_021.Result_1[2] = {
  1202.             "Type":"Gold",
  1203.             "Value":4000
  1204.          };
  1205.          this.event_021.Result_1[3] = {
  1206.             "Type":"Chain_Event",
  1207.             "Value":22
  1208.          };
  1209.          this.event_021.Result_1_Lose[0] = "You are ambushed and defeated. The parcel is taken from you as your team suffers from injuries. Runesse is disappointed to hear of it.";
  1210.          this.event_021.Result_1_Lose[1] = {
  1211.             "Type":"All_Unit_Stats",
  1212.             "Stats":"Stamina",
  1213.             "Value":-3
  1214.          };
  1215.          this.event_021.Result_1_Lose[2] = {
  1216.             "Type":"Reputation",
  1217.             "Name":"Runesse",
  1218.             "Value":-30
  1219.          };
  1220.          this.event_021.Result_2[0] = "You are ambushed but manage to defeat the intruders and proceed to continue the delivery.";
  1221.          this.event_021.Result_2[1] = {
  1222.             "Type":"All_Unit_Stats",
  1223.             "Stats":"Agility",
  1224.             "Value":3
  1225.          };
  1226.          this.event_021.Result_2[2] = {
  1227.             "Type":"Gold",
  1228.             "Value":4000
  1229.          };
  1230.          this.event_021.Result_2[3] = {
  1231.             "Type":"Chain_Event",
  1232.             "Value":25
  1233.          };
  1234.          this.event_021.Result_2_Lose[0] = "You are ambushed and defeated. The parcel is taken from you as your team suffers from injuries. Runesse is disappointed to hear of it.";
  1235.          this.event_021.Result_2_Lose[1] = {
  1236.             "Type":"All_Unit_Stats",
  1237.             "Stats":"Stamina",
  1238.             "Value":-3
  1239.          };
  1240.          this.event_021.Result_2_Lose[2] = {
  1241.             "Type":"Reputation",
  1242.             "Name":"Runesse",
  1243.             "Value":-30
  1244.          };
  1245.          this.event_021.Result_3[0] = "Runesse decides to entrust the matter to another party instead.";
  1246.          this.event_021.Result_3[1] = {
  1247.             "Type":"None",
  1248.             "Value":0
  1249.          };
  1250.          this.eventArray.push(this.event_021);
  1251.          this.event_022.EventName = "An Interference";
  1252.          this.event_022.EventDesc = "The Crystal Department thanks you for the parcel and tell you about the unstable energy radiating from the Crystal recently, causing random tremors around the Crystal Tower.\n\nThey suspect that someone is meddling with the Crystal’s natural energy flow from Mount Aldor, as it is the nearest uninhabited place. Will you investigate?";
  1253.          this.event_022.EventLocation = "Forest";
  1254.          this.event_022.EventPosX = 780;
  1255.          this.event_022.EventPosY = 284;
  1256.          this.event_022.Choice_1 = "Send a unit to investigate.";
  1257.          this.event_022.Choice_1_Type = "UNIT_MISSION_AGI";
  1258.          this.event_022.Choice_2 = "Send your whole team to investigate.";
  1259.          this.event_022.Choice_2_Type = "BATTLE";
  1260.          this.event_022.Choice_2_Enemy = [5,4,this.§_-3e§[4],"BLACK"];
  1261.          this.event_022.Choice_3 = "Suggest someone from the Shadow Corps to go in your place.";
  1262.          this.event_022.Choice_3_Type = "";
  1263.          this.event_022.Result_1[0] = "{Your unit} finds a suspicious place, and leads your team to check it out.";
  1264.          this.event_022.Result_1[1] = {
  1265.             "Type":"Single_Unit_Stats",
  1266.             "Stats":"Agility",
  1267.             "Value":3
  1268.          };
  1269.          this.event_022.Result_1[2] = {
  1270.             "Type":"Single_Unit_Stats",
  1271.             "Stats":"Intelligent",
  1272.             "Value":2
  1273.          };
  1274.          this.event_022.Result_1[3] = {
  1275.             "Type":"Chain_Event",
  1276.             "Value":23
  1277.          };
  1278.          this.event_022.Result_1_Lose[0] = "{Your unit} is exhausted upon returning, and reports nothing suspicious, thus ending the investigation.";
  1279.          this.event_022.Result_1_Lose[1] = {
  1280.             "Type":"None",
  1281.             "Value":0
  1282.          };
  1283.          this.event_022.Result_2[0] = "Your units are ambushed when exploring Mount Aldor. You defeat the assailants, but they manage to escape before you can ask them about the tremors.";
  1284.          this.event_022.Result_2[1] = {
  1285.             "Type":"Gold",
  1286.             "Value":6000
  1287.          };
  1288.          this.event_022.Result_2[2] = {
  1289.             "Type":"Crystal",
  1290.             "Value":20
  1291.          };
  1292.          this.event_022.Result_2[3] = {
  1293.             "Type":"Chain_Event",
  1294.             "Value":24
  1295.          };
  1296.          this.event_022.Result_2_Lose[0] = "Your units are ambushed when exploring Mount Aldor. You are caught off-guard but manage to escape.";
  1297.          this.event_022.Result_2_Lose[0] = {
  1298.             "Type":"None",
  1299.             "Value":0
  1300.          };
  1301.          this.event_022.Result_3[0] = "Members of Runesse are not comfortable with sharing information with those from Shadow Corps, and says they will handle the matter themselves instead.";
  1302.          this.event_022.Result_3[1] = {
  1303.             "Type":"None",
  1304.             "Value":0
  1305.          };
  1306.          this.eventArray.push(this.event_022);
  1307.          this.event_023.EventName = "Hidden Nest";
  1308.          this.event_023.EventDesc = "Your troops come across a hideout of sorts - housing Basilisk soldiers. They were spotted but manage to leave retreat without too much harm.";
  1309.          this.event_023.EventLocation = "Forest";
  1310.          this.event_023.EventPosX = 780;
  1311.          this.event_023.EventPosY = 284;
  1312.          this.event_023.Choice_1 = "Send a unit to inform Runesse about it and wait for their next orders.";
  1313.          this.event_023.Choice_1_Type = "UNIT_MISSION_AGI";
  1314.          this.event_023.Choice_2 = "Move out immediately to capture the soldiers.";
  1315.          this.event_023.Choice_2_Type = "BATTLE";
  1316.          this.event_023.Choice_2_Enemy = [5,1,this.§_-3e§[4],"BLACK"];
  1317.          this.event_023.Result_1[0] = "{Your unit} returns soon with orders to capture the Basilisk soldiers as suspects. Your team moves in just as they are escaping, and you turn in some captives to Runesse for a reward.";
  1318.          this.event_023.Result_1[1] = {
  1319.             "Type":"Gold",
  1320.             "Value":5000
  1321.          };
  1322.          this.event_023.Result_1[2] = {
  1323.             "Type":"Crystal",
  1324.             "Value":10
  1325.          };
  1326.          this.event_023.Result_2[0] = "After interrogating the captives, Runesse finds out that they were indeed behind the interferences.\n\nYou are greatly rewarded for your timely capture.";
  1327.          this.event_023.Result_2[1] = {
  1328.             "Type":"Gold",
  1329.             "Value":4500
  1330.          };
  1331.          this.event_023.Result_2[2] = {
  1332.             "Type":"Crystal",
  1333.             "Value":10
  1334.          };
  1335.          this.event_023.Result_1_Lose[0] = "You receive orders to capture the Basilisk soldiers as suspects, but there is no one in sight when you return to the hideout. Runesse gives you a bit of compensation for your information and efforts.";
  1336.          this.event_023.Result_1_Lose[1] = {
  1337.             "Type":"Gold",
  1338.             "Value":2000
  1339.          };
  1340.          this.event_023.Result_2_Lose[0] = "The Basilisk soldiers overpower your troops and they manage to escape. They leave no clues or evidences of their activities behind, so Runesse has no choice but to dismiss the incident.";
  1341.          this.event_023.Result_2_Lose[1] = {
  1342.             "Type":"None",
  1343.             "Value":0
  1344.          };
  1345.          this.eventArray.push(this.event_023);
  1346.          this.event_024.EventName = "Mouse Hunt";
  1347.          this.event_024.EventDesc = "What will you do after your fight?";
  1348.          this.event_024.EventLocation = "Forest";
  1349.          this.event_024.EventPosX = 780;
  1350.          this.event_024.EventPosY = 284;
  1351.          this.event_024.Choice_1 = "Split your units up to scout the rest of the mountain.";
  1352.          this.event_024.Choice_1_Type = "UNIT_MISSION_AGI";
  1353.          this.event_024.Choice_2 = "Carefully explore the rest of Mount Aldor as a team.";
  1354.          this.event_024.Choice_2_Type = "";
  1355.          this.event_024.Result_1[0] = "One of your units stumble upon what seems to be a hideout of those who had ambushed you. Your team manages to gather in time to capture some of them and turn them in to Runesse for interrogation.\n\nRunesse rewards you generously for your efforts.";
  1356.          this.event_024.Result_1[1] = {
  1357.             "Type":"Gold",
  1358.             "Value":4500
  1359.          };
  1360.          this.event_024.Result_1[2] = {
  1361.             "Type":"Crystal",
  1362.             "Value":10
  1363.          };
  1364.          this.event_024.Result_1_Lose[0] = "One of your units stumble upon what seems to be a hideout of those who had ambushed you. Your team gathers, but fail to defeat them.\n\nRetreating, you inform Runesse of the hideout. They give you a bit of compensation for your information and efforts.";
  1365.          this.event_024.Result_1_Lose[1] = {
  1366.             "Type":"Gold",
  1367.             "Value":2000
  1368.          };
  1369.          this.event_024.Result_2[0] = "You cover less ground as a team, and don\'t come across anything suspicious. You report so to Runesse, thus ending the investigation with a small compensation for your efforts.";
  1370.          this.event_024.Result_2[1] = {
  1371.             "Type":"Gold",
  1372.             "Value":2500
  1373.          };
  1374.          this.eventArray.push(this.event_024);
  1375.          this.event_025.EventName = "Crash Course";
  1376.          this.event_025.EventDesc = "You run into people who claim to be from Shadow Corps as you get closer the tower. They ask you to hand the parcel over to them, or it will put a dent in your reputation with them.";
  1377.          this.event_025.EventLocation = "Forest";
  1378.          this.event_025.EventPosX = 780;
  1379.          this.event_025.EventPosY = 284;
  1380.          this.event_025.Choice_1 = "Pass them the parcel.";
  1381.          this.event_025.Choice_1_Type = "";
  1382.          this.event_025.Choice_2 = "Keep the parcel and fight them.";
  1383.          this.event_025.Choice_2_Type = "BATTLE";
  1384.          this.event_025.Choice_2_Enemy = [5,1,this.§_-3e§[4] + 20,"BLACK"];
  1385.          this.event_025.Choice_3 = "Escape from them and take a detour to the tower.";
  1386.          this.event_025.Choice_3_Type = "BATTLE";
  1387.          this.event_025.Choice_3_Enemy = [5,2,this.§_-3e§[4],"BLACK"];
  1388.          this.event_025.Result_1[0] = "Your reputation with the Shadow Corps is increased for your loyalty, but Runesse\'s trust in you has been severly damaged.";
  1389.          this.event_025.Result_1[1] = {
  1390.             "Type":"Reputation",
  1391.             "Name":"Shadow Corps",
  1392.             "Value":60
  1393.          };
  1394.          this.event_025.Result_1[2] = {
  1395.             "Type":"Reputation",
  1396.             "Name":"Runesse",
  1397.             "Value":-999
  1398.          };
  1399.          this.event_025.Result_2[0] = "The defeated attackers retreat, telling you that they will not speak well of you back at the guild. You proceed to deliver the parcel.";
  1400.          this.event_025.Result_2[1] = {
  1401.             "Type":"Reputation",
  1402.             "Name":"Shadow Corps",
  1403.             "Value":-30
  1404.          };
  1405.          this.event_025.Result_2[2] = {
  1406.             "Type":"Chain_Event",
  1407.             "Value":26
  1408.          };
  1409.          this.event_025.Result_2_Lose[0] = "You are defeated and lose the parcel. Runesse is not pleased with your capabilities, but are somewhat happy you put up a fight against the Shadow Corps.";
  1410.          this.event_025.Result_2_Lose[1] = {
  1411.             "Type":"Reputation",
  1412.             "Name":"Shadow Corps",
  1413.             "Value":-60
  1414.          };
  1415.          this.event_025.Result_3[0] = "The defeated attackers retreat, and you try a different route to the tower.";
  1416.          this.event_025.Result_3[1] = {
  1417.             "Type":"Reputation",
  1418.             "Name":"Shadow Corps",
  1419.             "Value":-30
  1420.          };
  1421.          this.event_025.Result_3[2] = {
  1422.             "Type":"Chain_Event",
  1423.             "Value":27
  1424.          };
  1425.          this.event_025.Result_3_Lose[0] = "You are defeated and lose the parcel, as well as your pay. Runesse is not please with your capabilities, but are somewhat happy you put up a fight against the Shadow Corps.";
  1426.          this.event_025.Result_3_Lose[1] = {
  1427.             "Type":"Reputation",
  1428.             "Name":"Shadow Corps",
  1429.             "Value":-60
  1430.          };
  1431.          this.eventArray.push(this.event_025);
  1432.          this.event_026.EventName = "Plan Keeping";
  1433.          this.event_026.EventDesc = "The Crystal Tower is in view when an unknown group once again asks you to hand over the parcel, claiming they have signed up for Shadow Corps\' task.";
  1434.          this.event_026.EventLocation = "Forest";
  1435.          this.event_026.EventPosX = 780;
  1436.          this.event_026.EventPosY = 284;
  1437.          this.event_026.Choice_1 = "Pass them the parcel.";
  1438.          this.event_026.Choice_1_Type = "";
  1439.          this.event_026.Choice_2 = "Fight your way through.";
  1440.          this.event_026.Choice_2_Type = "BATTLE";
  1441.          this.event_026.Choice_2_Enemy = [5,5,this.§_-3e§[4] + 20,"BLACK"];
  1442.          this.event_026.Result_1[0] = "It turns out that the group was not under Shadow Corps, and you lost the parcel to bandits. Runesse is highly disappointed.";
  1443.          this.event_026.Result_1[1] = {
  1444.             "Type":"Reputation",
  1445.             "Name":"Runesse",
  1446.             "Value":-60
  1447.          };
  1448.          this.event_026.Result_2[0] = "You emerge victorious, and successfully deliver the parcel as planned. Runesse pays you for your success, and you get a small tip from the Crystal Department as well.";
  1449.          this.event_026.Result_2[1] = {
  1450.             "Type":"Gold",
  1451.             "Value":5000
  1452.          };
  1453.          this.event_026.Result_2[2] = {
  1454.             "Type":"Crystal",
  1455.             "Value":10
  1456.          };
  1457.          this.event_026.Result_2_Lose[0] = "You are defeated and lose the parcel, as well as your pay. Runesse is not pleased.";
  1458.          this.event_026.Result_2_Lose[1] = {
  1459.             "Type":"Reputation",
  1460.             "Name":"Runesse",
  1461.             "Value":-60
  1462.          };
  1463.          this.eventArray.push(this.event_026);
  1464.          this.event_027.EventName = "Plan B";
  1465.          this.event_027.EventDesc = "You reach the Crystal Tower, but a guard at the entrace does not grant you entry and demands that you only leave the parcel with him.";
  1466.          this.event_027.EventLocation = "Forest";
  1467.          this.event_027.EventPosX = 780;
  1468.          this.event_027.EventPosY = 284;
  1469.          this.event_027.Choice_1 = "Leave the parcel with him and return to inform Runesse.";
  1470.          this.event_027.Choice_1_Type = "";
  1471.          this.event_027.Choice_2 = "Insist on personally passing the parcel.";
  1472.          this.event_027.Choice_2_Type = "BATTLE";
  1473.          this.event_027.Choice_2_Enemy = [5,4,this.§_-3e§[4],"BLACK"];
  1474.          this.event_027.Result_1[0] = "When you report to Runesse, you are told that the guards were fakes and have taken the parcel away for themselves. Runesse is disappointed that you did not bother seeing the delivery through.";
  1475.          this.event_027.Result_1[1] = {
  1476.             "Type":"Reputation",
  1477.             "Name":"Runesse",
  1478.             "Value":-60
  1479.          };
  1480.          this.event_027.Result_2[0] = "A battle ensues due to your insistance on entering. Those inside the Crystal Tower come out to see what the fuss is about. It turns out that the guards are fakes, and after defeating them - you deliver the parcel safely and receive your payment.";
  1481.          this.event_027.Result_2[1] = {
  1482.             "Type":"Crystal",
  1483.             "Value":100
  1484.          };
  1485.          this.event_027.Result_2_Lose[0] = "A battle ensues due to your insistance on entering. Along with your defeat, the parcel is forcefully taken away -  and you realize the guards were fakes. Runesse is disappointed at your failure.";
  1486.          this.event_027.Result_2_Lose[1] = {
  1487.             "Type":"Reputation",
  1488.             "Name":"Runesse",
  1489.             "Value":-60
  1490.          };
  1491.          this.eventArray.push(this.event_027);
  1492.          this.event_028.EventName = "Hunt Is On";
  1493.          this.event_028.EventDesc = "A group of hunters have started a dragon hunt to seek bigger thrills. \n\nThe chaos caused by riling up dragons is something many don\'t want to experience, and the Blades of Glory have asked if you would help them with the matter.";
  1494.          this.event_028.EventLocation = "Cave";
  1495.          this.event_028.EventPosX = 830;
  1496.          this.event_028.EventPosY = 210;
  1497.          this.event_028.Choice_1 = "Join as they request for a sit-down discussion to persuade the hunters not to go on their hunt.";
  1498.          this.event_028.Choice_1_Type = "BATTLE";
  1499.          this.event_028.Choice_1_Enemy = [3,1,this.§_-3e§[4] + 50,"DRAGON"];
  1500.          this.event_028.Choice_2 = "Head to the hunter\'s guild and tell them you intend to stop them if they still proceed with the hunt.";
  1501.          this.event_028.Choice_2_Type = "BATTLE";
  1502.          this.event_028.Choice_2_Enemy = [3,2,this.§_-3e§[4] + 50,"DRAGON"];
  1503.          this.event_028.Choice_3 = "Apologize but decline to get involved in the matter.";
  1504.          this.event_028.Choice_3_Type = "";
  1505.          this.event_028.Result_1[0] = "The hunters aren\'t up for a discussion with words, but rather with weapons. You manage to defeat them, and head back thinking they would not be so silly to hunt with their injuries.";
  1506.          this.event_028.Result_1[1] = {
  1507.             "Type":"Reputation",
  1508.             "Name":"Blades of Glory",
  1509.             "Value":60
  1510.          };
  1511.          this.event_028.Result_1_Lose[0] = "The hunters aren\'t up for a discussion with words, but rather with weapons. Neither you or the members from Blades of Glory manage to hold them back despite putting up a good fight, and sigh as they march onward with their hunt.\n\nYour help is still very much appreciated by the Blades of Glory.";
  1512.          this.event_028.Result_1_Lose[1] = {
  1513.             "Type":"Reputation",
  1514.             "Name":"Blades of Glory",
  1515.             "Value":30
  1516.          };
  1517.          this.event_028.Result_2[0] = "The hunters scoff and take you on in battle - eventually losing. The Blades of Glory thinks it should put in a dent in their plans and are very grateful for your actions.";
  1518.          this.event_028.Result_2[1] = {
  1519.             "Type":"Reputation",
  1520.             "Name":"Blades of Glory",
  1521.             "Value":60
  1522.          };
  1523.          this.event_028.Result_2_Lose[0] = "The hunters scoff and take you on in battle. You are overwhelmed by them despite putting up a good fight, and sigh as they march onward with their hunt.\n\nYour help is still very much appreciated by the Blades of Glory.";
  1524.          this.event_028.Result_2_Lose[1] = {
  1525.             "Type":"Reputation",
  1526.             "Name":"Blades of Glory",
  1527.             "Value":30
  1528.          };
  1529.          this.event_028.Result_3[0] = "Blades of Glory do not push the matter, but you detect a hint of disappointment from them.";
  1530.          this.event_028.Result_3[1] = {
  1531.             "Type":"Reputation",
  1532.             "Name":"Blades of Glory",
  1533.             "Value":-60
  1534.          };
  1535.          this.eventArray.push(this.event_028);
  1536.          this.event_029.EventName = "Burning Will";
  1537.          this.event_029.EventDesc = "Despite suffering injuries in the battle, the hunters still press forward with their plan - moving out after you have left their guild.\n\nBlades of Glory sends a message to inform you of the matter.";
  1538.          this.event_029.EventLocation = "City";
  1539.          this.event_029.EventPosX = 830;
  1540.          this.event_029.EventPosY = 210;
  1541.          this.event_029.Choice_1 = "Follow them and attempt to stop the hunters once and for all.";
  1542.          this.event_029.Choice_1_Type = "";
  1543.          this.event_029.Choice_2 = "Go to the rumoured dragon\'s cave and wait there to stop them from entering.";
  1544.          this.event_029.Choice_2_Type = "";
  1545.          this.event_029.Choice_3 = "Apologize but decline to help this time around.";
  1546.          this.event_029.Choice_3_Type = "";
  1547.          this.event_029.Result_1[0] = "You set off to follow the hunters.";
  1548.          this.event_029.Result_1[1] = {
  1549.             "Type":"Chain_Event",
  1550.             "Value":30
  1551.          };
  1552.          this.event_029.Result_2[0] = "You head towards the targeted dragon\'s cave.";
  1553.          this.event_029.Result_2[1] = {
  1554.             "Type":"Chain_Event",
  1555.             "Value":31
  1556.          };
  1557.          this.event_029.Result_3[0] = "The Blades of Glory don\'t contact you with special tasks for a while, and you know that you have lost some of their faith in you.";
  1558.          this.event_029.Result_3[1] = {
  1559.             "Type":"Reputation",
  1560.             "Name":"Blades of Glory",
  1561.             "Value":-60
  1562.          };
  1563.          this.eventArray.push(this.event_029);
  1564.          this.event_030.EventName = "Tail Stepping";
  1565.          this.event_030.EventDesc = "It isn\'t easy following the hunters through a path they seem more familiar with. By the time you catch up to them, they are almost at the dragon\'s cave - but are fighting bandits who have set up their base nearby.";
  1566.          this.event_030.EventLocation = "Jungle";
  1567.          this.event_030.EventPosX = 830;
  1568.          this.event_030.EventPosY = 210;
  1569.          this.event_030.Choice_1 = "Join in the fight to take down both parties.";
  1570.          this.event_030.Choice_1_Type = "BATTLE";
  1571.          this.event_030.Choice_1_Enemy = [5,4,this.§_-3e§[4] + 50,"BANDIT"];
  1572.          this.event_030.Choice_2 = "Leave them be and fight the hunters if they still continue going forward.";
  1573.          this.event_030.Choice_2_Type = "BATTLE";
  1574.          this.event_030.Choice_2_Enemy = [5,1,this.§_-3e§[4],"BANDIT"];
  1575.          this.event_030.Result_1[0] = "You take advantage of the chaos to defeat both parties. The hunters are sent home and the bandits turn out to be on Runesse\'s wanted list. Runesse pays you for the bounty.\n\nThe Blades of Glory celebrate the successful turn of events.";
  1576.          this.event_030.Result_1[1] = {
  1577.             "Type":"Reputation",
  1578.             "Name":"Blades of Glory",
  1579.             "Value":30
  1580.          };
  1581.          this.event_030.Result_1[2] = {
  1582.             "Type":"Reputation",
  1583.             "Name":"Runesse ",
  1584.             "Value":30
  1585.          };
  1586.          this.event_030.Result_1[3] = {
  1587.             "Type":"Gold",
  1588.             "Value":8000
  1589.          };
  1590.          this.event_030.Result_1_Lose[0] = "You take advantage of the chaos to fight both parties, but are still overwhelmed.\n\nRunesse soldiers soon reach and round up the bandits. They warn the hunters against causing chaos and the hunters reluctantly return.";
  1591.          this.event_030.Result_2[0] = "The hunters take out the bandits but many are injured. You defeat them and send them off. \n\nRunesse soldiers on the trail of the bandits show up later and thank you. The Blades of Glory celebrate the successful turn of events.";
  1592.          this.event_030.Result_2[1] = {
  1593.             "Type":"Reputation",
  1594.             "Name":"Blades of Glory",
  1595.             "Value":30
  1596.          };
  1597.          this.event_030.Result_2[2] = {
  1598.             "Type":"Reputation",
  1599.             "Name":"Runesse",
  1600.             "Value":30
  1601.          };
  1602.          this.event_030.Result_2[3] = {
  1603.             "Type":"Gold",
  1604.             "Value":3000
  1605.          };
  1606.          this.event_030.Result_2_Lose[0] = "The hunters take out the bandits but many are injured. Despite that, you are still overwhelmed.\n\nRunesse soldiers soon reach and round up the bandits. They warn the hunters against causing chaos and the hunters reluctantly return.";
  1607.          this.event_030.Result_2_Lose[1] = {
  1608.             "Type":"Reputation",
  1609.             "Name":"Blades of Glory",
  1610.             "Value":30
  1611.          };
  1612.          this.event_030.Result_2_Lose[2] = {
  1613.             "Type":"All_Unit_Stats",
  1614.             "Stats":"Stamina",
  1615.             "Value":-2
  1616.          };
  1617.          this.eventArray.push(this.event_030);
  1618.          this.event_031.EventName = "Let Sleeping Dragons Lie";
  1619.          this.event_031.EventDesc = "You reach the cave before the hunters and find someone there. He mentions that he is sent to put a temporary seal on the dragon\'s cave to prevent the hunters\' intrusion. He asks if you could help him either way.";
  1620.          this.event_031.EventLocation = "Jungle";
  1621.          this.event_031.EventPosX = 830;
  1622.          this.event_031.EventPosY = 210;
  1623.          this.event_031.Choice_1 = "Send a unit to help him set up the seal sooner, before the hunters arrive.";
  1624.          this.event_031.Choice_1_Type = "UNIT_MISSION_INT";
  1625.          this.event_031.Choice_2 = "Be on the lookout as he sets up the seal himself.";
  1626.          this.event_031.Choice_2_Type = "BATTLE";
  1627.          this.event_031.Choice_2_Enemy = [5,1,this.§_-3e§[4] + 50,"BANDIT"];
  1628.          this.event_031.Result_1[0] = "With the help of {Your unit}, the seal is finished before the hunters arrive. Your team moves to keep watch from the shadows. The hunters are frustrated over the seal, and soon give up their plan.\n\nThe individual thanks you and gives you some crystals as a token of appreciation. The Blades of Glory also celebrate your actions. ";
  1629.          this.event_031.Result_1[1] = {
  1630.             "Type":"Reputation",
  1631.             "Name":"Blades of Glory",
  1632.             "Value":60
  1633.          };
  1634.          this.event_031.Result_1[2] = {
  1635.             "Type":"Crystal",
  1636.             "Value":20
  1637.          };
  1638.          this.event_031.Result_1_Lose[0] = "{Your unit} doesn\'t manage to help with the seal much, and the hunters arrive before the seal is done. Your team manages to hold off the hunters until the seal is done - but they are severely injured before retreating.\n\nThe Blades of Glory appreciates your actions.";
  1639.          this.event_031.Result_1_Lose[1] = {
  1640.             "Type":"Reputation",
  1641.             "Name":"Blades of Glory",
  1642.             "Value":30
  1643.          };
  1644.          this.event_031.Result_1_Lose[2] = {
  1645.             "Type":"All_Unit_Stats",
  1646.             "Stats":"Stamina",
  1647.             "Value":-3
  1648.          };
  1649.          this.event_031.Result_2[0] = "The hunters arrive before the seal is finished, but you manage to hold them off until the seal is done. At the person\'s signal, you retreat to leave the hunters frustrated at the seal.\n\nThe Blades of Glory look highly upon your actions and it is mentioned around the towns, who offer to pay a sum to thank you.";
  1650.          this.event_031.Result_2[1] = {
  1651.             "Type":"Reputation",
  1652.             "Name":"Blades of Glory",
  1653.             "Value":80
  1654.          };
  1655.          this.event_031.Result_2[2] = {
  1656.             "Type":"Gold",
  1657.             "Value":5000
  1658.          };
  1659.          this.event_031.Result_2_Lose[0] = "The hunters arrive before the seal is finished, and your team barely manages to hold them off before the seal is done. Your team retreats in the nick of time, but they are severely injured.\n\nDenied access, the hunters give up on their plan.\nThe Blades of Glory appreciates your actions.";
  1660.          this.event_031.Result_2_Lose[1] = {
  1661.             "Type":"Reputation",
  1662.             "Name":"Blades of Glory",
  1663.             "Value":30
  1664.          };
  1665.          this.event_031.Result_2_Lose[2] = {
  1666.             "Type":"All_Unit_Stats",
  1667.             "Stats":"Stamina",
  1668.             "Value":-5
  1669.          };
  1670.          this.eventArray.push(this.event_031);
  1671.          this.event_032.EventName = "Chase Is On";
  1672.          this.event_032.EventDesc = "A small group of dragons raze a small town, and are reported to be moving on to other towns. The kingdom has dispacted units to halt the rampage, and have also issued an announcement of rewards to those who deal with the dragons.";
  1673.          this.event_032.EventLocation = "Jungle";
  1674.          this.event_032.EventPosX = 830;
  1675.          this.event_032.EventPosY = 210;
  1676.          this.event_032.Choice_1 = "Attempt to follow their trail to capture them. Choose a unit to follow their trail.";
  1677.          this.event_032.Choice_1_Type = "UNIT_MISSION_AGI";
  1678.          this.event_032.Choice_2 = "Head to the next estimated town in the dragons\' rampage.";
  1679.          this.event_032.Choice_2_Type = "";
  1680.          this.event_032.Choice_3 = "Not get involved.";
  1681.          this.event_032.Choice_3_Type = "";
  1682.          this.event_032.Result_1[0] = "{Your unit} follows the trail well, and you soon catch up to the enraged beasts.";
  1683.          this.event_032.Result_1[1] = {
  1684.             "Type":"Chain_Event",
  1685.             "Value":33
  1686.          };
  1687.          this.event_032.Result_1_Lose[0] = "{Your unit} loses the trail, and you decided to not waste more time on the matter.";
  1688.          this.event_032.Result_2[0] = "Your team heads to the predicted town to be attacked next.";
  1689.          this.event_032.Result_2[1] = {
  1690.             "Type":"Chain_Event",
  1691.             "Value":34
  1692.          };
  1693.          this.event_032.Result_3[0] = "You no longer follow news of the issue, and focus on the league instead.";
  1694.          this.eventArray.push(this.event_032);
  1695.          this.event_033.EventName = "Chasing Danger";
  1696.          this.event_033.EventDesc = "The dragons are almost at the town by the time you catch up. You see groups of people preparing to defend the town. What will you do?";
  1697.          this.event_033.EventLocation = "City";
  1698.          this.event_033.EventPosX = 830;
  1699.          this.event_033.EventPosY = 210;
  1700.          this.event_033.Choice_1 = "Attack the dragons immediately.";
  1701.          this.event_033.Choice_1_Type = "BATTLE";
  1702.          this.event_033.Choice_1_Enemy = [5,1,this.§_-3e§[5],"DRAGON"];
  1703.          this.event_033.Choice_2 = "Wait before attacking the dragons.";
  1704.          this.event_033.Choice_2_Type = "BATTLE";
  1705.          this.event_033.Choice_2_Enemy = [3,1,this.§_-3e§[5],"DRAGON"];
  1706.          this.event_033.Choice_3 = "Leave the job to the other teams and return to preparing for the League.";
  1707.          this.event_033.Choice_3_Type = "";
  1708.          this.event_033.Result_1[0] = "Your team takes on the dragons, and emerge victorious. The townsfolk witness your victory, and you claim your reward for slaying the dragons.";
  1709.          this.event_033.Result_1[1] = {
  1710.             "Type":"Gold",
  1711.             "Value":10000
  1712.          };
  1713.          this.event_033.Result_1[2] = {
  1714.             "Type":"Crystal",
  1715.             "Value":80
  1716.          };
  1717.          this.event_033.Result_1_Lose[0] = "Your team takes on the dragons but are defeated. The teams that have gathered at the town take down the dragons when they advance towards the town, and claim their rewards.";
  1718.          this.event_033.Result_2[0] = "Teams that have gathered at the town engage the dragons. Your team catches the dragons off-guard and the dragons are defeated. The reward is split between all the teams.";
  1719.          this.event_033.Result_2[1] = {
  1720.             "Type":"Gold",
  1721.             "Value":5000
  1722.          };
  1723.          this.event_033.Result_2[2] = {
  1724.             "Type":"Crystal",
  1725.             "Value":20
  1726.          };
  1727.          this.event_033.Result_2_Lose[0] = "Teams that have gathered at the town engage the dragons. Your team catches the dragons off-guard but is overwhelmed. The other teams manage to take down the dragons and proceed to claim their rewards.";
  1728.          this.event_033.Result_3[0] = "News of the dragons\' defeat are heard as your team continues to prepare for the next league match.";
  1729.          this.eventArray.push(this.event_033);
  1730.          this.event_034.EventName = "Chasing Danger";
  1731.          this.event_034.EventDesc = "The dragons are almost at the town by the time you catch up. You see groups of people preparing to defend the town. What will you do?";
  1732.          this.event_034.EventLocation = "City";
  1733.          this.event_034.EventPosX = 830;
  1734.          this.event_034.EventPosY = 210;
  1735.          this.event_034.Choice_1 = "Wait with the teams to defend the town against the dragons.";
  1736.          this.event_034.Choice_1_Type = "BATTLE";
  1737.          this.event_034.Choice_1_Enemy = [3,1,this.§_-3e§[5],"DRAGON"];
  1738.          this.event_034.Choice_2 = "Move out of the town to ambush the dragons.";
  1739.          this.event_034.Choice_2_Type = "BATTLE";
  1740.          this.event_034.Choice_2_Enemy = [5,1,this.§_-3e§[5],"DRAGON"];
  1741.          this.event_034.Result_1[0] = "Teams that have gathered at the town engage the dragons, your team included. The dragons are defeated and the reward is split between all the teams.";
  1742.          this.event_034.Result_1[1] = {
  1743.             "Type":"Gold",
  1744.             "Value":4000
  1745.          };
  1746.          this.event_034.Result_1[2] = {
  1747.             "Type":"Crystal",
  1748.             "Value":20
  1749.          };
  1750.          this.event_034.Result_1_Lose[0] = "Teams that have gathered at the town engage the dragons, your team included. Your team is overwhelemed and injured during the encounter, but some other teams manage to take down the dragons and claim the reward.";
  1751.          this.event_034.Result_1_Lose[1] = {
  1752.             "Type":"All_Unit_Stats",
  1753.             "Stats":"Stamina",
  1754.             "Value":-1
  1755.          };
  1756.          this.event_034.Result_2[0] = "Your team takes on the dragons, and emerge victorious. The townsfolk witness your victory, and you claim your reward for slaying the dragons.";
  1757.          this.event_034.Result_2[1] = {
  1758.             "Type":"Gold",
  1759.             "Value":15000
  1760.          };
  1761.          this.event_034.Result_2[2] = {
  1762.             "Type":"Crystal",
  1763.             "Value":60
  1764.          };
  1765.          this.event_034.Result_2_Lose[0] = "Your team takes on the dragons but are defeated. The teams that have gathered at the town take down the dragons when they advance towards the town, and claim their rewards.";
  1766.          this.eventArray.push(this.event_034);
  1767.          this.event_035.EventName = "A Brewing";
  1768.          this.event_035.EventDesc = "Shadow Corps is planning a large-scale heist and requires extra help.\n\nThey will only divulge more details if you are certain to join.";
  1769.          this.event_035.EventLocation = "City";
  1770.          this.event_035.EventPosX = 755;
  1771.          this.event_035.EventPosY = 301;
  1772.          this.event_035.Choice_1 = "Agree to join as the main group.";
  1773.          this.event_035.Choice_1_Type = "";
  1774.          this.event_035.Choice_2 = "Agree to join, but as the supporting group.";
  1775.          this.event_035.Choice_2_Type = "";
  1776.          this.event_035.Choice_3 = "Decline, as you prefer to know more before committing.";
  1777.          this.event_035.Choice_3_Type = "";
  1778.          this.event_035.Result_1[0] = "You are invited to their meeting to know more about the plan.";
  1779.          this.event_035.Result_1[1] = {
  1780.             "Type":"Chain_Event",
  1781.             "Value":36
  1782.          };
  1783.          this.event_035.Result_2[0] = "You are invited to their meeting to know more about the plan.";
  1784.          this.event_035.Result_2[1] = {
  1785.             "Type":"Chain_Event",
  1786.             "Value":39
  1787.          };
  1788.          this.event_035.Result_3[0] = "Shadow Corps do not push the matter, but you detect a hint of disappointment from them.";
  1789.          this.event_035.Result_3[1] = {
  1790.             "Type":"Reputation",
  1791.             "Name":"Shadow Corps",
  1792.             "Value":-30
  1793.          };
  1794.          this.eventArray.push(this.event_035);
  1795.          this.event_036.EventName = "Fortlifting";
  1796.          this.event_036.EventDesc = "The plan is to infiltrate a fortress for a golden goblet. Other groups will provide a distraction to support your team.\n\nThere are 2 treasure rooms - one in the basement and one in the higher floors, but they can not confirm which one it is in. You can choose from a few ways to go about it.";
  1797.          this.event_036.EventLocation = "City";
  1798.          this.event_036.EventPosX = 755;
  1799.          this.event_036.EventPosY = 301;
  1800.          this.event_036.Choice_1 = "Enter from the designated point and proceed to the treasure room on the higher floor.";
  1801.          this.event_036.Choice_1_Type = "BATTLE";
  1802.          this.event_036.Choice_1_Enemy = [5,1,this.§_-3e§[5],""];
  1803.          this.event_036.Choice_2 = "Have your team break through the cellar and locate the goblet from there.";
  1804.          this.event_036.Choice_2_Type = "BATTLE";
  1805.          this.event_036.Choice_2_Enemy = [5,4,this.§_-3e§[5],""];
  1806.          this.event_036.Choice_3 = "Send a unit to retrieve the goblet while the rest guard the entrace and exit.";
  1807.          this.event_036.Choice_3_Type = "UNIT_MISSION_INT";
  1808.          this.event_036.Result_1[0] = "You head upstairs, but run into guards soon after. You defeat them, but do not find the goblet in that treasure room.";
  1809.          this.event_036.Result_1[1] = {
  1810.             "Type":"Chain_Event",
  1811.             "Value":38
  1812.          };
  1813.          this.event_036.Result_1_Lose[0] = "You head upstairs, but run into guards soon after. Despite most of the guards dealing with the other distractions, you team is defeated and are forced to retreat. The plan cannot proceed, and Shadow Corps turns to their backup plan instead - not asking for your help this time around.";
  1814.          this.event_036.Result_1_Lose[1] = {
  1815.             "Type":"Reputation",
  1816.             "Name":"Shadow Corps",
  1817.             "Value":-60
  1818.          };
  1819.          this.event_036.Result_2[0] = "You head downwards, but run into guards soon after. However, they are small in number and you take them out before proceeding.";
  1820.          this.event_036.Result_2[1] = {
  1821.             "Type":"Chain_Event",
  1822.             "Value":37
  1823.          };
  1824.          this.event_036.Result_2_Lose[0] = "You head downwards, but run into guards soon after. Despite most of the guards dealing with the other distractions, you team is defeated and are forced to retreat. The plan can not proceed, and Shadow Corps turns to their backup plan instead - not asking for your help this time around.";
  1825.          this.event_036.Result_2_Lose[1] = {
  1826.             "Type":"Reputation",
  1827.             "Name":"Shadow Corps",
  1828.             "Value":-60
  1829.          };
  1830.          this.event_036.Result_3[0] = "{Your unit} skillfully obtains the goblet, and you deliver it to the Shadow Corps for your lavish reward.\n\nThey are impressed with your efficiency, and hold your team in even higher regard.";
  1831.          this.event_036.Result_3[1] = {
  1832.             "Type":"Reputation",
  1833.             "Name":"Shadow Corps",
  1834.             "Value":30
  1835.          };
  1836.          this.event_036.Result_3[2] = {
  1837.             "Type":"Crystal",
  1838.             "Value":80
  1839.          };
  1840.          this.event_036.Result_3_Lose[0] = "{Your unit} returns soon, mentioning that it is difficult to proceed alone as security is very tight at the treasure room.";
  1841.          this.event_036.Result_3_Lose[1] = {
  1842.             "Type":"Chain_Event",
  1843.             "Value":38
  1844.          };
  1845.          this.eventArray.push(this.event_036);
  1846.          this.event_037.EventName = "Gold Guardians";
  1847.          this.event_037.EventDesc = "The treasure room comes into sight, with the golden goblet sitting in the center. However, a group of guards still guard the entrace - unfazed by the distractions outside. You recognize them as mercenaries who have put aside their job to be guards due to the luxurious pay - and know that they are stronger than even most opponents you meet in the league.";
  1848.          this.event_037.EventLocation = "City";
  1849.          this.event_037.EventPosX = 755;
  1850.          this.event_037.EventPosY = 301;
  1851.          this.event_037.Choice_1 = "Fight the guards head on.";
  1852.          this.event_037.Choice_1_Type = "BATTLE";
  1853.          this.event_037.Choice_1_Enemy = [5,1,this.§_-3e§[5] + 20,""];
  1854.          this.event_037.Choice_2 = "Retreat.";
  1855.          this.event_037.Choice_2_Type = "";
  1856.          this.event_037.Result_1[0] = "You take on the guards and defeat them! Retrieving the goblet, you escape and are rewarded lavishly.\n\nSome days later, you find out that the fortress belongs to a Golden Scales member. As the guards remember you, your reputation with them becomes slightly strained.";
  1857.          this.event_037.Result_1[1] = {
  1858.             "Type":"Reputation",
  1859.             "Name":"Shadow Corps",
  1860.             "Value":90
  1861.          };
  1862.          this.event_037.Result_1[2] = {
  1863.             "Type":"Reputation",
  1864.             "Name":"Golden Scales",
  1865.             "Value":-30
  1866.          };
  1867.          this.event_037.Result_1[3] = {
  1868.             "Type":"Crystal",
  1869.             "Value":40
  1870.          };
  1871.          this.event_037.Result_1_Lose[0] = "Your team takes on the guards, but are defeated and are forced to retreat with heavy injuries. Shadow Corps turns to their backup plan instead - not asking for your help this time around.";
  1872.          this.event_037.Result_1_Lose[1] = {
  1873.             "Type":"Reputation",
  1874.             "Name":"Shadow Corps",
  1875.             "Value":-60
  1876.          };
  1877.          this.event_037.Result_1_Lose[2] = {
  1878.             "Type":"All_Unit_Stats",
  1879.             "Stats":"Strength",
  1880.             "Value":-3
  1881.          };
  1882.          this.event_037.Result_2[0] = "Shadow Corps are disappointed in your decision as it has made all effort put into the plan go to waste. They turn to their backup plan instead - not asking for your help this time around.";
  1883.          this.event_037.Result_2[1] = {
  1884.             "Type":"Reputation",
  1885.             "Name":"Shadow Corps",
  1886.             "Value":-90
  1887.          };
  1888.          this.eventArray.push(this.event_037);
  1889.          this.event_038.EventName = "Target In Sight";
  1890.          this.event_038.EventDesc = "Time is running out as the other groups are being pushed back - what will you do?";
  1891.          this.event_038.EventLocation = "City";
  1892.          this.event_038.EventPosX = 755;
  1893.          this.event_038.EventPosY = 301;
  1894.          this.event_038.Choice_1 = "Have your entire team proceed to retrieve the goblet.";
  1895.          this.event_038.Choice_1_Type = "BATTLE";
  1896.          this.event_038.Choice_1_Enemy = [5,2,this.§_-3e§[5],""];
  1897.          this.event_038.Choice_2 = "Retreat as time is running out and it will be too risky.";
  1898.          this.event_038.Choice_2_Type = "";
  1899.          this.event_038.Choice_3 = "Send a unit again as the rest of your team creates another distraction.";
  1900.          this.event_038.Choice_3_Type = "UNIT_MISSION_AGI";
  1901.          this.event_038.Result_1[0] = "Your team takes on a group of strong guards outside the treasure room, and manage to defeat them! Retrieving the goblet, you escape in time and are rewarded lavishly for your accomplishment.";
  1902.          this.event_038.Result_1[1] = {
  1903.             "Type":"Reputation",
  1904.             "Name":"Shadow Corps",
  1905.             "Value":90
  1906.          };
  1907.          this.event_038.Result_1[2] = {
  1908.             "Type":"Gold",
  1909.             "Value":7000
  1910.          };
  1911.          this.event_038.Result_1[3] = {
  1912.             "Type":"Crystal",
  1913.             "Value":30
  1914.          };
  1915.          this.event_038.Result_1_Lose[0] = "Your team takes on a group of strong guards outside the treasure room, but are defeated and are forced to retreat with heavy injuries. Shadow Corps turns to their backup plan instead - not asking for your help this time around.";
  1916.          this.event_038.Result_1_Lose[1] = {
  1917.             "Type":"Reputation",
  1918.             "Name":"Shadow Corps",
  1919.             "Value":-60
  1920.          };
  1921.          this.event_038.Result_1_Lose[2] = {
  1922.             "Type":"All_Unit_Stats",
  1923.             "Stats":"Strength",
  1924.             "Value":-1
  1925.          };
  1926.          this.event_038.Result_1_Lose[3] = {
  1927.             "Type":"All_Unit_Stats",
  1928.             "Stats":"Stamina",
  1929.             "Value":-3
  1930.          };
  1931.          this.event_038.Result_2[0] = "Shadow Corps are disappointed in your decision as it has made all effort put into the plan go to waste. They turn to their backup plan instead - not asking for your help this time around.";
  1932.          this.event_038.Result_2[1] = {
  1933.             "Type":"Reputation",
  1934.             "Name":"Shadow Corps",
  1935.             "Value":-90
  1936.          };
  1937.          this.event_038.Result_3[0] = "{Your unit} manages to pull through, retrieving the goblet and escaping in time with injuries. You are rewarded lavishly, but {your unit} can never fully recover from one of the wounds.";
  1938.          this.event_038.Result_3[1] = {
  1939.             "Type":"Single_Unit_Stats",
  1940.             "Stats":"Stamina",
  1941.             "Value":-2
  1942.          };
  1943.          this.event_038.Result_3[2] = {
  1944.             "Type":"Reputation",
  1945.             "Name":"Shadow Corps",
  1946.             "Value":90
  1947.          };
  1948.          this.event_038.Result_3[3] = {
  1949.             "Type":"Gold",
  1950.             "Value":8000
  1951.          };
  1952.          this.event_038.Result_3_Lose[0] = "{Your unit} does not manage to get past the guards at the treasure room, and suffers from heavy injuries.\n\nYou retreat and Shadow Corps turns to their backup plan instead - not asking for your help this time around.";
  1953.          this.event_038.Result_3_Lose[1] = {
  1954.             "Type":"Single_Unit_Stats",
  1955.             "Stats":"Strength",
  1956.             "Value":-2
  1957.          };
  1958.          this.event_038.Result_3_Lose[2] = {
  1959.             "Type":"Single_Unit_Stats",
  1960.             "Stats":"Stamina",
  1961.             "Value":-2
  1962.          };
  1963.          this.event_038.Result_3_Lose[3] = {
  1964.             "Type":"Reputation",
  1965.             "Name":"Shadow Corps",
  1966.             "Value":-30
  1967.          };
  1968.          this.eventArray.push(this.event_038);
  1969.          this.event_039.EventName = "Diversion";
  1970.          this.event_039.EventDesc = "The plan is to infiltrate a fortress for a golden goblet. They need distractions outside the fortress to let the main team proceed within without much hassle.";
  1971.          this.event_039.EventLocation = "City";
  1972.          this.event_039.EventPosX = 755;
  1973.          this.event_039.EventPosY = 301;
  1974.          this.event_039.Choice_1 = "Take the task of distracting the guards at the main gate.";
  1975.          this.event_039.Choice_1_Type = "BATTLE";
  1976.          this.event_039.Choice_1_Enemy = [5,1,this.§_-3e§[5] + 50,""];
  1977.          this.event_039.Choice_2 = "Take the task of distracting the guards at the back gate.";
  1978.          this.event_039.Choice_2_Type = "BATTLE";
  1979.          this.event_039.Choice_2_Enemy = [5,2,this.§_-3e§[5],""];
  1980.          this.event_039.Choice_3 = "Take the task of distracting the guards at the front outpost.";
  1981.          this.event_039.Choice_3_Type = "";
  1982.          this.event_039.Result_1[0] = "You attack the guards at the main gate cautiously, careful to not let the battle finish before the designated time.\n\nThe first wave of guards are defeated, but it seems that more are coming - as planned.";
  1983.          this.event_039.Result_1[1] = {
  1984.             "Type":"Chain_Event",
  1985.             "Value":40
  1986.          };
  1987.          this.event_039.Result_1_Lose[0] = "You attack the guards at the main gate cautiously, careful to not let the battle finish before the designated time. However, the guards overwhelm you and you have to retreat. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  1988.          this.event_039.Result_1_Lose[1] = {
  1989.             "Type":"Gold",
  1990.             "Value":3000
  1991.          };
  1992.          this.event_039.Result_2[0] = "You attack the guards at the back gate cautiously, careful to not let the battle finish before the designated time.\n\nThe first wave of guards are defeated, but it seems that more are coming - as planned.";
  1993.          this.event_039.Result_2[1] = {
  1994.             "Type":"Chain_Event",
  1995.             "Value":40
  1996.          };
  1997.          this.event_039.Result_2_Lose[0] = "You attack the guards at the main gate cautiously, careful to not let the battle finish before the designated time. However, the guards overwhelm you and you have to retreat. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  1998.          this.event_039.Result_2_Lose[1] = {
  1999.             "Type":"Gold",
  2000.             "Value":3000
  2001.          };
  2002.          this.event_039.Result_3[0] = "You attack the outpost, but soon see reinforcements from the fortress heading your way.";
  2003.          this.event_039.Result_3[1] = {
  2004.             "Type":"Chain_Event",
  2005.             "Value":41
  2006.          };
  2007.          this.eventArray.push(this.event_039);
  2008.          this.event_040.EventName = "Encore";
  2009.          this.event_040.EventDesc = "The next wave of guards arrive, seemingly more well-prepared and equipped compared to the first.";
  2010.          this.event_040.EventLocation = "City";
  2011.          this.event_040.EventPosX = 755;
  2012.          this.event_040.EventPosY = 391;
  2013.          this.event_040.Choice_1 = "Pull back your team for a bit before attacking again.";
  2014.          this.event_040.Choice_1_Type = "BATTLE";
  2015.          this.event_040.Choice_1_Enemy = [5,1,this.§_-3e§[5],""];
  2016.          this.event_040.Choice_2 = "Continue with your attack.";
  2017.          this.event_040.Choice_2_Type = "BATTLE";
  2018.          this.event_040.Choice_2_Enemy = [5,3,this.§_-3e§[5] + 40,""];
  2019.          this.event_040.Result_1[0] = "You attack the guards at the main gate cautiously, careful to not let the battle finish before the designated time.\n\nThe first wave of guards are defeated, but it seems that more are coming - as planned.";
  2020.          this.event_040.Result_1[1] = {
  2021.             "Type":"Gold",
  2022.             "Value":5000
  2023.          };
  2024.          this.event_040.Result_1[2] = {
  2025.             "Type":"Crystal",
  2026.             "Value":10
  2027.          };
  2028.          this.event_040.Result_1_Lose[0] = "You continue to keep the guards busy, but are overwhelmed. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  2029.          this.event_040.Result_1_Lose[1] = {
  2030.             "Type":"Gold",
  2031.             "Value":2500
  2032.          };
  2033.          this.event_040.Result_2[0] = "You continue to keep the guards busy. The reinforcements are resilient, but you manage to hold out until the end.\n\nAfter retreating, you are told that the goblet has been taken and are rewarded your share.";
  2034.          this.event_040.Result_2[1] = {
  2035.             "Type":"Gold",
  2036.             "Value":6000
  2037.          };
  2038.          this.event_040.Result_2_Lose[0] = "You continue to keep the guards busy, but are overwhelmed. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  2039.          this.event_040.Result_2_Lose[1] = {
  2040.             "Type":"Gold",
  2041.             "Value":3000
  2042.          };
  2043.          this.eventArray.push(this.event_040);
  2044.          this.event_041.EventName = "Road Not Taken";
  2045.          this.event_041.EventDesc = "If you continue your attack, you will be sandwiched between the outpost and the reinforcements. What will you do?";
  2046.          this.event_041.EventLocation = "City";
  2047.          this.event_041.EventPosX = 755;
  2048.          this.event_041.EventPosY = 301;
  2049.          this.event_041.Choice_1 = "Move your team towards the main gate to join forces with the team that is situated there.";
  2050.          this.event_041.Choice_1_Type = "BATTLE";
  2051.          this.event_041.Choice_1_Enemy = [5,1,this.§_-3e§[5] + 10,""];
  2052.          this.event_041.Choice_2 = "Stay on and continue the attack along with the reinforcements.";
  2053.          this.event_041.Choice_2_Type = "BATTLE";
  2054.          this.event_041.Choice_2_Enemy = [5,3,this.§_-3e§[5] + 50,""];
  2055.          this.event_041.Result_1[0] = "Your team moves towards the main gate and some guards stay at the outpost - decreasing the number of your opponents. \n\nSuccessfully keeping them there till the plan is over, you receive your reward.";
  2056.          this.event_041.Result_1[1] = {
  2057.             "Type":"Gold",
  2058.             "Value":4000
  2059.          };
  2060.          this.event_041.Result_1[2] = {
  2061.             "Type":"Crystal",
  2062.             "Value":10
  2063.          };
  2064.          this.event_041.Result_1_Lose[0] = "Your team moves towards the main gate but are overwhelmed by the number of guards before making it there. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  2065.          this.event_041.Result_1_Lose[1] = {
  2066.             "Type":"Gold",
  2067.             "Value":2500
  2068.          };
  2069.          this.event_041.Result_2[0] = "You continue your attack. The reinforcements are resilient, but you manage to hold out until the end.\n\nAfter retreating, you are told that the goblet has been taken and are rewarded your share.";
  2070.          this.event_041.Result_2[1] = {
  2071.             "Type":"Gold",
  2072.             "Value":8000
  2073.          };
  2074.          this.event_041.Result_2_Lose[0] = "You continue your attack, but are overwhelmed. Thankfully, the other groups do their part well and the plan is a success.\n\nDue to your mishap, you are given slightly less than originally agreed.";
  2075.          this.event_041.Result_2_Lose[1] = {
  2076.             "Type":"Gold",
  2077.             "Value":3000
  2078.          };
  2079.          this.eventArray.push(this.event_041);
  2080.          this.event_042.EventName = "Trade Terror";
  2081.          this.event_042.EventDesc = "One of the Golden Scale\'s frequently used trade routes have been experiencing numerous attacks as of late.\n\nThey have put out a call with some cash rewards in hopes to put an end to it.";
  2082.          this.event_042.EventLocation = "Jungle";
  2083.          this.event_042.EventPosX = 636;
  2084.          this.event_042.EventPosY = 398;
  2085.          this.event_042.Choice_1 = "Offer to patrol the spots that have experienced the highest amount of attacks.";
  2086.          this.event_042.Choice_1_Type = "";
  2087.          this.event_042.Choice_2 = "Offer to investigate the people behind the attacks.";
  2088.          this.event_042.Choice_2_Type = "";
  2089.          this.event_042.Choice_3 = "Not answer the call, as you have league matters to attend to.";
  2090.          this.event_042.Choice_3_Type = "";
  2091.          this.event_042.Result_1[0] = "Golden Scales is happy that you offered, and direct you to Hilltown Highway.";
  2092.          this.event_042.Result_1[1] = {
  2093.             "Type":"Reputation",
  2094.             "Name":"Golden Scales",
  2095.             "Value":30
  2096.          };
  2097.          this.event_042.Result_1[2] = {
  2098.             "Type":"Chain_Event",
  2099.             "Value":43
  2100.          };
  2101.          this.event_042.Result_2[0] = "Golden Scales is happy that you offered, and let you in on the little information they have.";
  2102.          this.event_042.Result_2[1] = {
  2103.             "Type":"Reputation",
  2104.             "Name":"Golden Scales",
  2105.             "Value":30
  2106.          };
  2107.          this.event_042.Result_2[2] = {
  2108.             "Type":"Chain_Event",
  2109.             "Value":46
  2110.          };
  2111.          this.event_042.Result_3[0] = "You go about your preparation for the league.";
  2112.          this.eventArray.push(this.event_042);
  2113.          this.event_043.EventName = "Hilltown Patrol";
  2114.          this.event_043.EventDesc = "Traders travelling on Hilltown Highway have been attacked so frequently that the smaller towns around are suffering from lack of supplies.\n\nCamping out will require come extra resources, but will be more convenient if you are patrolling.";
  2115.          this.event_043.EventLocation = "Jungle";
  2116.          this.event_043.EventPosX = 636;
  2117.          this.event_043.EventPosY = 398;
  2118.          this.event_043.Choice_1 = "Patrol along the highway in the day, and set up camp at night.";
  2119.          this.event_043.Choice_1_Type = "BATTLE";
  2120.          this.event_043.Choice_1_Enemy = [5,1,this.§_-3e§[5] + 30,"BANDIT"];
  2121.          this.event_043.Choice_2 = "Patrol along the highway at night, and set up camp in the day.";
  2122.          this.event_043.Choice_2_Type = "BATTLE";
  2123.          this.event_043.Choice_2_Enemy = [5,3,this.§_-3e§[5],"BANDIT"];
  2124.          this.event_043.Result_1[0] = "Everything seems fine in the day, but you pick up chaotic sounds in the middle of the night and head over to find bandits attacking a group of traders.\n\nYou defend the traders and defeat the bandits. ";
  2125.          this.event_043.Result_1[1] = {
  2126.             "Type":"Reputation",
  2127.             "Name":"Golden Scales",
  2128.             "Value":30
  2129.          };
  2130.          this.event_043.Result_1[2] = {
  2131.             "Type":"Gold",
  2132.             "Value":10000
  2133.          };
  2134.          this.event_043.Result_1[3] = {
  2135.             "Type":"Chain_Event",
  2136.             "Value":44
  2137.          };
  2138.          this.event_043.Result_1_Lose[0] = "Everything seems fine in the day, but you come across bandits attacking a group of traders in the night.\n\nYou fail to defend the traders and the bandits run off with the loot.";
  2139.          this.event_043.Result_1_Lose[1] = {
  2140.             "Type":"Chain_Event",
  2141.             "Value":45
  2142.          };
  2143.          this.event_043.Result_2[0] = "During your patrol, you come across bandits who are attacking a group of traders.\n\nYou defend the traders and defeat the bandits.";
  2144.          this.event_043.Result_2[1] = {
  2145.             "Type":"Reputation",
  2146.             "Name":"Golden Scales",
  2147.             "Value":30
  2148.          };
  2149.          this.event_043.Result_2[2] = {
  2150.             "Type":"Gold",
  2151.             "Value":8000
  2152.          };
  2153.          this.event_043.Result_2[3] = {
  2154.             "Type":"Chain_Event",
  2155.             "Value":44
  2156.          };
  2157.          this.event_043.Result_2_Lose[0] = "During your patrol, you come across bandits who are plundering some traders.\n\nYou fail to defend the traders and the bandits run off with the loot.";
  2158.          this.event_043.Result_2_Lose[1] = {
  2159.             "Type":"Chain_Event",
  2160.             "Value":45
  2161.          };
  2162.          this.eventArray.push(this.event_043);
  2163.          this.event_044.EventName = "X Marks The Spot";
  2164.          this.event_044.EventDesc = "After defeating the bandits, you interrogate them to find out the location of their base.\n\nYou inform Golden Scales, and they request for help to shut down the base.";
  2165.          this.event_044.EventLocation = "City";
  2166.          this.event_044.EventPosX = 636;
  2167.          this.event_044.EventPosY = 398;
  2168.          this.event_044.Choice_1 = "Negotiate for a good payment and take up the task.";
  2169.          this.event_044.Choice_1_Type = "BATTLE";
  2170.          this.event_044.Choice_1_Enemy = [5,4,this.§_-3e§[5] + 30,"BANDIT"];
  2171.          this.event_044.Choice_2 = "Suggest to gather more teams for the task.";
  2172.          this.event_044.Choice_2_Type = "BATTLE";
  2173.          this.event_044.Choice_2_Enemy = [5,2,this.§_-3e§[5],"BANDIT"];
  2174.          this.event_044.Choice_3 = "Decline and suggest that they approach Blades of Glory with the task instead.";
  2175.          this.event_044.Choice_3_Type = "";
  2176.          this.event_044.Result_1[0] = "Your team advances to the base to shut it down as requested. The bandits put up a fight but are ultimately defeated.\n\nGolden Scales are very pleased with your efforts, and reward you generously.";
  2177.          this.event_044.Result_1[1] = {
  2178.             "Type":"Reputation",
  2179.             "Name":"Golden Scales",
  2180.             "Value":30
  2181.          };
  2182.          this.event_044.Result_1[2] = {
  2183.             "Type":"Gold",
  2184.             "Value":15000
  2185.          };
  2186.          this.event_044.Result_1[3] = {
  2187.             "Type":"Crystal",
  2188.             "Value":30
  2189.          };
  2190.          this.event_044.Result_1_Lose[0] = "Your team advances to the base to shut it down as requested. You hold on as long as you can but are ultimately defeated.\n\nGolden Scales are very displeased, especially since you negotiated for your rewards to be generous. They engage someone else for the task instead.";
  2191.          this.event_044.Result_2[0] = "A few more teams are called to join you in the mission to destroy the base. The bandits put up a fight but are ultimately defeated.\n\nGolden Scales are very pleased with your efforts, but the rewards are split among the teams.";
  2192.          this.event_044.Result_2[1] = {
  2193.             "Type":"Reputation",
  2194.             "Name":"Golden Scales",
  2195.             "Value":30
  2196.          };
  2197.          this.event_044.Result_2[2] = {
  2198.             "Type":"Gold",
  2199.             "Value":8000
  2200.          };
  2201.          this.event_044.Result_2[3] = {
  2202.             "Type":"Crystal",
  2203.             "Value":10
  2204.          };
  2205.          this.event_044.Result_2_Lose[0] = "A few more teams are called to join you in the mission to destroy the base. The bandits put up a fight but are ultimately defeated.\n\nGolden Scales aren\'t happy, but merely state that they will look for others to finish the job.";
  2206.          this.event_044.Result_2_Lose[1] = {
  2207.             "Type":"Reputation",
  2208.             "Name":"Golden Scales",
  2209.             "Value":30
  2210.          };
  2211.          this.event_044.Result_3[0] = "Golden Scales do not bother hiding their displeasure in your reply, and seek out other options.";
  2212.          this.event_044.Result_3[1] = {
  2213.             "Type":"Reputation",
  2214.             "Name":"Golden Scales",
  2215.             "Value":-90
  2216.          };
  2217.          this.eventArray.push(this.event_044);
  2218.          this.event_045.EventName = "Silver Lining";
  2219.          this.event_045.EventDesc = "You are left without leads after your defeat, but a messenger from the Golden Scales informs you that they have located the bandits\' base.\n\nThey request your help to shut down the base.";
  2220.          this.event_045.EventLocation = "City";
  2221.          this.event_045.EventPosX = 636;
  2222.          this.event_045.EventPosY = 398;
  2223.          this.event_045.Choice_1 = "Suggest to gather more teams for the task.";
  2224.          this.event_045.Choice_1_Type = "BATTLE";
  2225.          this.event_045.Choice_1_Enemy = [5,1,this.§_-3e§[5],"BANDIT"];
  2226.          this.event_045.Choice_2 = "Accept the task and head over with your team.";
  2227.          this.event_045.Choice_2_Type = "BATTLE";
  2228.          this.event_045.Choice_2_Enemy = [5,4,this.§_-3e§[5] + 40,"BANDIT"];
  2229.          this.event_045.Choice_3 = "Decline and suggest that they approach Blades of Glory with the task instead.";
  2230.          this.event_045.Choice_3_Type = "";
  2231.          this.event_045.Result_1[0] = "A few more teams are called to join you in the mission to destroy the base. The bandits put up a fight but are ultimately defeated. Golden Scales are very pleased with your efforts, but the rewards are split among the teams.";
  2232.          this.event_045.Result_1[1] = {
  2233.             "Type":"Reputation",
  2234.             "Name":"Golden Scales",
  2235.             "Value":60
  2236.          };
  2237.          this.event_045.Result_1[2] = {
  2238.             "Type":"Gold",
  2239.             "Value":6000
  2240.          };
  2241.          this.event_045.Result_1[3] = {
  2242.             "Type":"Crystal",
  2243.             "Value":10
  2244.          };
  2245.          this.event_045.Result_1_Lose[0] = "Your team advances to the base to shut it down as requested. You hold on as long as you can but are ultimately defeated.\n\nGolden Scales aren\'t happy, but merely state that they will look for others to finish the job.";
  2246.          this.event_045.Result_1_Lose[1] = {
  2247.             "Type":"Reputation",
  2248.             "Name":"Golden Scales",
  2249.             "Value":-30
  2250.          };
  2251.          this.event_045.Result_2[0] = "Your team advances to the base to shut it down as requested. The bandits put up a fight but are ultimately defeated.\n\nGolden Scales are very pleased with your efforts, and reward you well.";
  2252.          this.event_045.Result_2[1] = {
  2253.             "Type":"Reputation",
  2254.             "Name":"Golden Scales",
  2255.             "Value":60
  2256.          };
  2257.          this.event_045.Result_2[2] = {
  2258.             "Type":"Gold",
  2259.             "Value":10000
  2260.          };
  2261.          this.event_045.Result_2[3] = {
  2262.             "Type":"Crystal",
  2263.             "Value":10
  2264.          };
  2265.          this.event_045.Result_2_Lose[0] = "Your team advances to the base to shut it down as requested. You hold on as long as you can but are ultimately defeated.\n\nGolden Scales aren\'t happy, but merely state that they will look for others to finish the job.";
  2266.          this.event_045.Result_2_Lose[1] = {
  2267.             "Type":"Reputation",
  2268.             "Name":"Golden Scales",
  2269.             "Value":-30
  2270.          };
  2271.          this.event_045.Result_3[0] = "Golden Scales approaches others for the tasks.";
  2272.          this.eventArray.push(this.event_045);
  2273.          this.event_046.EventName = "Clue Chase";
  2274.          this.event_046.EventDesc = "You are given information on rumours of the attackers, and contacts of some traders who have been victims, and spots that have been frequently attacked.";
  2275.          this.event_046.EventLocation = "Jungle";
  2276.          this.event_046.EventPosX = 636;
  2277.          this.event_046.EventPosY = 398;
  2278.          this.event_046.Choice_1 = "Send a unit to check out the rumours and locate a possible base of operations.";
  2279.          this.event_046.Choice_1_Type = "UNIT_MISSION_INT";
  2280.          this.event_046.Choice_2 = "Gather information from the victims of the attacks to see if they have information to offer.";
  2281.          this.event_046.Choice_2_Type = "";
  2282.          this.event_045.Choice_3 = "Scout the spots for possible clues.";
  2283.          this.event_046.Choice_3_Type = "BATTLE";
  2284.          this.event_046.Choice_3_Enemy = [5,5,this.§_-3e§[5] + 20,"BANDIT"];
  2285.          this.event_046.Result_1[0] = "{Your unit} manages to locate the base within a day.\n\nYou inform the Golden Scales and are paid for the information.";
  2286.          this.event_046.Result_1[1] = {
  2287.             "Type":"Reputation",
  2288.             "Name":"Golden Scales",
  2289.             "Value":30
  2290.          };
  2291.          this.event_046.Result_1[2] = {
  2292.             "Type":"Gold",
  2293.             "Value":8000
  2294.          };
  2295.          this.event_046.Result_1[3] = {
  2296.             "Type":"Chain_Event",
  2297.             "Value":47
  2298.          };
  2299.          this.event_046.Result_1_Lose[0] = "{Your unit} does not manage to find the base. Thankfully, another scout does.";
  2300.          this.event_046.Result_1_Lose[1] = {
  2301.             "Type":"Chain_Event",
  2302.             "Value":47
  2303.          };
  2304.          this.event_046.Result_2[0] = "The victims are more clueless than you are, and you have no leads. Thankfully Golden Scales gets their hand on some information.";
  2305.          this.event_046.Result_2[1] = {
  2306.             "Type":"Chain_Event",
  2307.             "Value":47
  2308.          };
  2309.          this.event_046.Result_3[0] = "Your scouting brings you across a group of suspicious people who attack you.\n\nAfter defeating them, you find out that they are bandits who are behind the attacks with information of their next plans and base of operations. You exchange the information in return for crystals.";
  2310.          this.event_046.Result_3[1] = {
  2311.             "Type":"Reputation",
  2312.             "Name":"Golden Scales",
  2313.             "Value":30
  2314.          };
  2315.          this.event_046.Result_3[2] = {
  2316.             "Type":"Crystal",
  2317.             "Value":10
  2318.          };
  2319.          this.event_046.Result_3[3] = {
  2320.             "Type":"Chain_Event",
  2321.             "Value":47
  2322.          };
  2323.          this.event_046.Result_3_Lose[0] = "Your scouting brings you across a group of suspicious people who attack you.\n\nThey overwhelm you, but you find a letter they dropped.";
  2324.          this.event_046.Result_3_Lose[1] = {
  2325.             "Type":"Chain_Event",
  2326.             "Value":47
  2327.          };
  2328.          this.eventArray.push(this.event_046);
  2329.          this.event_047.EventName = "Stubbing Out";
  2330.          this.event_047.EventDesc = "With information on the base\'s whereabouts, Golden Scales have requested a few teams to shut it down in hopes of ending their trouble.\n\nHowever, the bandits hear news of it and start moving out of their base.";
  2331.          this.event_047.EventLocation = "Jungle";
  2332.          this.event_047.EventPosX = 636;
  2333.          this.event_047.EventPosY = 398;
  2334.          this.event_047.Choice_1 = "Offer your help and head towards the base to catch remaining bandits.";
  2335.          this.event_047.Choice_1_Type = "BATTLE";
  2336.          this.event_047.Choice_1_Enemy = [5,1,this.§_-3e§[5] + 20,"BANDIT"];
  2337.          this.event_047.Choice_2 = "Offer your help to track down the bandits before they escape far.";
  2338.          this.event_047.Choice_2_Type = "BATTLE";
  2339.          this.event_047.Choice_2_Enemy = [5,3,this.§_-3e§[5] + 30,"BANDIT"];
  2340.          this.event_047.Result_1[0] = "Your team travels to the base to capture the bandits who have not left yet. Many of them are trying to bring loot with them.\n\nThey are caught off guard and you capture them easily.";
  2341.          this.event_047.Result_1[1] = {
  2342.             "Type":"Chain_Event",
  2343.             "Value":48
  2344.          };
  2345.          this.event_047.Result_1_Lose[0] = "Your team travels to the base to capture the bandits who have not left yet. Many of them are trying to bring loot with them.\n\nThey overpower you and attempt to escape, but are captured by other groups who turn them in for rewards. After that, the attacks on the trade routes are not heard of anymore. ";
  2346.          this.event_047.Result_2[0] = "You find a group of bandits on the run and take them down in battle. Turning them over to the Golden Scales, you are reward for your efforts and the attacks on the trade routes are not heard of anymore.";
  2347.          this.event_047.Result_2[1] = {
  2348.             "Type":"Reputation",
  2349.             "Name":"Golden Scales",
  2350.             "Value":30
  2351.          };
  2352.          this.event_047.Result_2[2] = {
  2353.             "Type":"Gold",
  2354.             "Value":7500
  2355.          };
  2356.          this.event_047.Result_2[3] = {
  2357.             "Type":"Crystal",
  2358.             "Value":15
  2359.          };
  2360.          this.event_047.Result_2_Lose[0] = "You find a group of bandits on the run, but are unable to capture them.\n\nAnother group does, and turns them in for rewards. After that, the attacks on the trade routes are not heard of anymore. ";
  2361.          this.eventArray.push(this.event_047);
  2362.          this.event_048.EventName = "Last Call";
  2363.          this.event_048.EventDesc = "After rounding up the bandits left in the base, you can choose to stay, send the bandits to the Golden Scales, or leave.";
  2364.          this.event_048.EventLocation = "Jungle";
  2365.          this.event_048.EventPosX = 636;
  2366.          this.event_048.EventPosY = 398;
  2367.          this.event_048.Choice_1 = "Let the others send the bandits, but make sure to drop by for your reward later.";
  2368.          this.event_048.Choice_1_Type = "";
  2369.          this.event_048.Choice_2 = "Send the bandits along with the other groups.";
  2370.          this.event_048.Choice_2_Type = "";
  2371.          this.event_048.Choice_3 = "Stay back to look for leftover loot to claim as your own before dropping by to claim your reward from the Golden Scales.";
  2372.          this.event_048.Choice_3_Type = "";
  2373.          this.event_048.Result_1[0] = "When you drop by to claim your reward, you find out that the bandits escaped during the journey back. Still, the bandit\'s base is cleared so everyone is paid a small sum.";
  2374.          this.event_048.Result_1[1] = {
  2375.             "Type":"Gold",
  2376.             "Value":4000
  2377.          };
  2378.          this.event_048.Result_2[0] = "You successfully keep the captives secure and turn them over to the Golden Scales, earning a handsome reward.";
  2379.          this.event_048.Result_2[1] = {
  2380.             "Type":"Reputation",
  2381.             "Name":"Golden Scales",
  2382.             "Value":30
  2383.          };
  2384.          this.event_048.Result_2[2] = {
  2385.             "Type":"Gold",
  2386.             "Value":10000
  2387.          };
  2388.          this.event_048.Result_2[3] = {
  2389.             "Type":"Crystal",
  2390.             "Value":20
  2391.          };
  2392.          this.event_048.Result_3[0] = "Your team travels to the base to capture the bandits who have not left yet. Many of them are trying to bring loot with them.\n\nThey are caught off guard and you capture them easily.";
  2393.          this.event_048.Result_3[1] = {
  2394.             "Type":"Reputation",
  2395.             "Name":"Golden Scales",
  2396.             "Value":-60
  2397.          };
  2398.          this.event_048.Result_3[2] = {
  2399.             "Type":"Gold",
  2400.             "Value":3000
  2401.          };
  2402.          this.eventArray.push(this.event_048);
  2403.          this.event_049.EventName = "Royal Recognition";
  2404.          this.event_049.EventDesc = "After many months and quests, Runesse recognizes your efforts and loyalty. Out of gratitude, they offer you a line of rewards to choose from.";
  2405.          this.event_049.EventLocation = "Jungle";
  2406.          this.event_049.EventPosX = 590;
  2407.          this.event_049.EventPosY = 318;
  2408.          this.event_049.Choice_1 = "Choose to receive gold.";
  2409.          this.event_049.Choice_1_Type = "";
  2410.          this.event_049.Choice_2 = "Choose to receive crystals.";
  2411.          this.event_049.Choice_2_Type = "";
  2412.          this.event_049.Choice_3 = "Choose to receive something else.";
  2413.          this.event_049.Choice_3_Type = "";
  2414.          this.event_049.Result_1[0] = "You receive 20000 gold!";
  2415.          this.event_049.Result_1[1] = {
  2416.             "Type":"Gold",
  2417.             "Value":20000
  2418.          };
  2419.          this.event_049.Result_2[0] = "You receive 100 crystals!";
  2420.          this.event_049.Result_2[1] = {
  2421.             "Type":"Crystal",
  2422.             "Value":100
  2423.          };
  2424.          this.event_049.Result_3[0] = "You receive Crystal Amulet!";
  2425.          this.event_049.Result_3[1] = {
  2426.             "Type":"Item",
  2427.             "Name":"Crystal Amulet",
  2428.             "Value":13
  2429.          };
  2430.          this.eventArray.push(this.event_049);
  2431.          this.event_050.EventName = "Blazing Blade";
  2432.          this.event_050.EventDesc = "Now considered as a very trusted ally of the Blades of Glory, they offer some rewards in gratitude.";
  2433.          this.event_050.EventLocation = "Jungle";
  2434.          this.event_050.EventPosX = 590;
  2435.          this.event_050.EventPosY = 318;
  2436.          this.event_050.Choice_1 = "Choose to receive gold.";
  2437.          this.event_050.Choice_1_Type = "";
  2438.          this.event_050.Choice_2 = "Choose to receive crystals.";
  2439.          this.event_050.Choice_2_Type = "";
  2440.          this.event_050.Choice_3 = "Choose to receive something else.";
  2441.          this.event_050.Choice_3_Type = "";
  2442.          this.event_050.Result_1[0] = "You receive 20000 gold!";
  2443.          this.event_050.Result_1[1] = {
  2444.             "Type":"Gold",
  2445.             "Value":20000
  2446.          };
  2447.          this.event_050.Result_2[0] = "You receive 100 crystals!";
  2448.          this.event_050.Result_2[1] = {
  2449.             "Type":"Crystal",
  2450.             "Value":100
  2451.          };
  2452.          this.event_050.Result_3[0] = "You receive Claymore!";
  2453.          this.event_050.Result_3[1] = {
  2454.             "Type":"Item",
  2455.             "Name":"Claymore",
  2456.             "Value":10
  2457.          };
  2458.          this.eventArray.push(this.event_050);
  2459.          this.event_051.EventName = "Shadeshifter";
  2460.          this.event_051.EventDesc = "Recognized as a formidable contact, Shadow Corps grants you some rewards to choose from as a form of appreciation.";
  2461.          this.event_051.EventLocation = "Jungle";
  2462.          this.event_051.EventPosX = 590;
  2463.          this.event_051.EventPosY = 318;
  2464.          this.event_051.Choice_1 = "Choose to receive gold.";
  2465.          this.event_051.Choice_1_Type = "";
  2466.          this.event_051.Choice_2 = "Choose to receive crystals.";
  2467.          this.event_051.Choice_2_Type = "";
  2468.          this.event_051.Choice_3 = "Choose to receive something else.";
  2469.          this.event_051.Choice_3_Type = "";
  2470.          this.event_051.Result_1[0] = "You receive 20000 gold!";
  2471.          this.event_051.Result_1[1] = {
  2472.             "Type":"Gold",
  2473.             "Value":20000
  2474.          };
  2475.          this.event_051.Result_2[0] = "You receive 100 crystals!";
  2476.          this.event_051.Result_2[1] = {
  2477.             "Type":"Crystal",
  2478.             "Value":100
  2479.          };
  2480.          this.event_051.Result_3[0] = "You receive Shadow Eye!";
  2481.          this.event_051.Result_3[1] = {
  2482.             "Type":"Item",
  2483.             "Name":"Shadow Eye",
  2484.             "Value":18
  2485.          };
  2486.          this.eventArray.push(this.event_051);
  2487.          this.event_052.EventName = "Trade Hero";
  2488.          this.event_052.EventDesc = "After many successful tasks, Golden Scales is very pleased with your efforts in their favour. Out of gratitude, they offer you a line of rewards to choose from.";
  2489.          this.event_052.EventLocation = "Jungle";
  2490.          this.event_052.EventPosX = 590;
  2491.          this.event_052.EventPosY = 318;
  2492.          this.event_052.Choice_1 = "Choose to receive gold.";
  2493.          this.event_052.Choice_1_Type = "";
  2494.          this.event_052.Choice_2 = "Choose to receive crystals.";
  2495.          this.event_052.Choice_2_Type = "";
  2496.          this.event_052.Choice_3 = "Choose to receive something else.";
  2497.          this.event_052.Choice_3_Type = "";
  2498.          this.event_052.Result_1[0] = "You receive 20000 gold!";
  2499.          this.event_052.Result_1[1] = {
  2500.             "Type":"Gold",
  2501.             "Value":20000
  2502.          };
  2503.          this.event_052.Result_2[0] = "You receive 100 crystals!";
  2504.          this.event_052.Result_2[1] = {
  2505.             "Type":"Crystal",
  2506.             "Value":100
  2507.          };
  2508.          this.event_052.Result_3[0] = "You receive Lunlie’s Tome!";
  2509.          this.event_052.Result_3[1] = {
  2510.             "Type":"Item",
  2511.             "Name":"Lunlie’s Tome",
  2512.             "Value":16
  2513.          };
  2514.          this.eventArray.push(this.event_052);
  2515.       }
  2516.      
  2517.       public function EventManagerNextDay() : void
  2518.       {
  2519.          var selectedEventID:int = 0;
  2520.          var aryLen:int = 0;
  2521.          var num:int = 0;
  2522.          if(this.CurrentTriggerIndex < 15)
  2523.          {
  2524.             if(this._baseMC.sys_GameData.d_YearNumberX >= this.§_-H§[this.CurrentTriggerIndex][0])
  2525.             {
  2526.                if(this._baseMC.sys_GameData.d_Month >= this.§_-H§[this.CurrentTriggerIndex][1])
  2527.                {
  2528.                   if(this._baseMC.sys_GameData.d_Week == 2)
  2529.                   {
  2530.                      if(this._baseMC.sys_GameData.d_Day >= 1)
  2531.                      {
  2532.                         selectedEventID = 0;
  2533.                         aryLen = this.§_-H§[this.CurrentTriggerIndex][2].length;
  2534.                         if(aryLen == 1)
  2535.                         {
  2536.                            selectedEventID = this.§_-H§[this.CurrentTriggerIndex][2][0];
  2537.                            if(selectedEventID == 333)
  2538.                            {
  2539.                               if(!this._baseMC.sys_GameData.d_Quest_Runesse_MaxRepEvent && this._baseMC.sys_GameData.d_Quest_Runesse_Rep == 3)
  2540.                               {
  2541.                                  this._baseMC.sys_GameData.d_Quest_Runesse_MaxRepEvent = true;
  2542.                                  selectedEventID = 49;
  2543.                               }
  2544.                               else if(!this._baseMC.sys_GameData.d_Quest_BoG_MaxRepEvent && this._baseMC.sys_GameData.d_Quest_BoG_Rep == 3)
  2545.                               {
  2546.                                  this._baseMC.sys_GameData.d_Quest_BoG_MaxRepEvent = true;
  2547.                                  selectedEventID = 50;
  2548.                               }
  2549.                               else if(!this._baseMC.sys_GameData.d_Quest_SC_MaxRepEvent && this._baseMC.sys_GameData.d_Quest_SC_Rep == 3)
  2550.                               {
  2551.                                  this._baseMC.sys_GameData.d_Quest_SC_MaxRepEvent = true;
  2552.                                  selectedEventID = 51;
  2553.                               }
  2554.                               else if(!this._baseMC.sys_GameData.d_Quest_GS_MaxRepEvent && this._baseMC.sys_GameData.d_Quest_GS_Rep == 3)
  2555.                               {
  2556.                                  this._baseMC.sys_GameData.d_Quest_GS_MaxRepEvent = true;
  2557.                                  selectedEventID = 52;
  2558.                               }
  2559.                            }
  2560.                         }
  2561.                         else
  2562.                         {
  2563.                            num = Math.floor(Math.random() * aryLen);
  2564.                            selectedEventID = this.§_-H§[this.CurrentTriggerIndex][2][num];
  2565.                         }
  2566.                         if(this._baseMC.sys_GameData.d_TutorialState == "LevelUp2_COMPLETE")
  2567.                         {
  2568.                            selectedEventID = 0;
  2569.                            this._baseMC.sys_Tutorial.addTutorial("GameEvent");
  2570.                         }
  2571.                         if(selectedEventID != 333)
  2572.                         {
  2573.                            this.currentEventID = selectedEventID;
  2574.                            this._baseMC.sys_GameEvent.addRandomEventIcon(this.eventArray[this.currentEventID].EventPosX,this.eventArray[this.currentEventID].EventPosY);
  2575.                            this._baseMC.sys_GameData.d_EventIsOn = true;
  2576.                            this._baseMC.sys_GameData.d_EventOnGoingDays = 14;
  2577.                         }
  2578.                         this.CurrentTriggerIndex++;
  2579.                      }
  2580.                   }
  2581.                }
  2582.             }
  2583.          }
  2584.          if(this._baseMC.sys_GameData.d_EventIsOn)
  2585.          {
  2586.             this._baseMC.sys_GameData.d_EventOnGoingDays--;
  2587.             if(this._baseMC.sys_GameData.d_EventOnGoingDays <= 0)
  2588.             {
  2589.                this._baseMC.sys_GameData.d_EventIsOn = false;
  2590.                this._baseMC.sys_GameData.d_EventOnGoingDays = 14;
  2591.                this.RemoveRandomEventIconFromMap();
  2592.             }
  2593.          }
  2594.       }
  2595.      
  2596.       public function RemoveRandomEventIconFromMap() : void
  2597.       {
  2598.          this._baseMC.sys_GameEvent.removeRandomEventIcon();
  2599.       }
  2600.      
  2601.       public function updateAvailableUnits() : void
  2602.       {
  2603.          this.selectedUnit = this._baseMC.sys_UnitManager.returnSelectedList();
  2604.       }
  2605.      
  2606.       public function selectChoice(choiceNum:int) : Boolean
  2607.       {
  2608.          var enemyArray:Array = null;
  2609.          var BattleLocationID:int = 0;
  2610.          var boo:Boolean = false;
  2611.          this.§_-Bj§ = choiceNum - 1;
  2612.          var str:String = this.eventArray[this.currentEventID].selectChoice(choiceNum);
  2613.          switch(str)
  2614.          {
  2615.             case "UNIT_MISSION_STR":
  2616.             case "UNIT_MISSION_AGI":
  2617.             case "UNIT_MISSION_INT":
  2618.             case "UNIT_MISSION_STA":
  2619.                this.§_-83§ = str.substr(13,3);
  2620.                boo = true;
  2621.                this.§_-SG§(this.eventArray[this.currentEventID].selectChoice(choiceNum));
  2622.                break;
  2623.             case "BATTLE":
  2624.                this.eventArray[this.currentEventID].UpdateEnemyArray();
  2625.                enemyArray = this._baseMC.sys_UnitManager.returnGeneratedUnit(this.eventArray[this.currentEventID].ChoiceEnemy[this.§_-Bj§][0],this.eventArray[this.currentEventID].ChoiceEnemy[this.§_-Bj§][1],this.eventArray[this.currentEventID].ChoiceEnemy[this.§_-Bj§][2],this.eventArray[this.currentEventID].ChoiceEnemy[this.§_-Bj§][3]);
  2626.                BattleLocationID = 0;
  2627.                switch(this.eventArray[this.currentEventID].EventLocation)
  2628.                {
  2629.                   case "Village":
  2630.                      BattleLocationID = 0;
  2631.                      break;
  2632.                   case "Forest":
  2633.                      BattleLocationID = 1;
  2634.                      break;
  2635.                   case "City":
  2636.                      BattleLocationID = 2;
  2637.                      break;
  2638.                   case "Cave":
  2639.                      BattleLocationID = 3;
  2640.                }
  2641.                this._baseMC.sys_Battle.initBattle(this,"EVENT",BattleLocationID,enemyArray);
  2642.                this._BattleLoot_Gold = Math.round(Math.random() * 100 + 100 * this._baseMC.sys_GameData.d_YearNumberX);
  2643.                this._BattleLoot_Crystal = Math.round(Math.random() * (4 + this._baseMC.sys_GameData.d_YearNumberX * 2));
  2644.                this._baseMC.ui_Lobby.setUpBackFromBattleUI("EVENT");
  2645.                break;
  2646.             case "":
  2647.                this.§_-SG§(this.eventArray[this.currentEventID].selectChoice(choiceNum));
  2648.          }
  2649.          return boo;
  2650.       }
  2651.      
  2652.       public function returnInfoForBattleReportUI() : Array
  2653.       {
  2654.          var ary:Array = [this._BattleLoot_Gold,this._BattleLoot_Crystal];
  2655.          return ary;
  2656.       }
  2657.      
  2658.       public function battleResult(boo:Boolean) : void
  2659.       {
  2660.          this.§_-JT§(boo);
  2661.          if(boo)
  2662.          {
  2663.             this._baseMC.sys_GameData.earnGold(this._BattleLoot_Gold);
  2664.             this._baseMC.sys_GameData.earnCrystal(this._BattleLoot_Crystal);
  2665.          }
  2666.       }
  2667.      
  2668.       public function AfterSelectUnit(num:int) : void
  2669.       {
  2670.          this.updateAvailableUnits();
  2671.          this.§_-5z§ = num;
  2672.          var numThatMustNotGoPass:int = 50;
  2673.          switch(this.§_-83§)
  2674.          {
  2675.             case "STR":
  2676.                numThatMustNotGoPass = numThatMustNotGoPass + this.selectedUnit[num].returnStats(0);
  2677.                break;
  2678.             case "AGI":
  2679.                numThatMustNotGoPass = numThatMustNotGoPass + this.selectedUnit[num].returnStats(1);
  2680.                break;
  2681.             case "INT":
  2682.                numThatMustNotGoPass = numThatMustNotGoPass + this.selectedUnit[num].returnStats(2);
  2683.                break;
  2684.             case "STA":
  2685.                numThatMustNotGoPass = numThatMustNotGoPass + this.selectedUnit[num].returnStats(3);
  2686.          }
  2687.          var randomNum:int = Math.random() * 100;
  2688.          if(randomNum < numThatMustNotGoPass)
  2689.          {
  2690.             this.§_-9N§(true);
  2691.          }
  2692.          else
  2693.          {
  2694.             this.§_-9N§(false);
  2695.          }
  2696.       }
  2697.      
  2698.       public function §_-9N§(boo:Boolean) : void
  2699.       {
  2700.          TweenLite.to(this,0.6,{
  2701.             "onComplete":this.§_-JT§,
  2702.             "onCompleteParams":[boo]
  2703.          });
  2704.       }
  2705.      
  2706.       public function §_-JT§(boo:Boolean) : void
  2707.       {
  2708.          if(boo)
  2709.          {
  2710.             this.UI_Event.updateResultInfo(this.currentEventID,this.§_-Bj§);
  2711.             for(this.§_-Nx§ = 0; this.§_-Nx§ < this.eventArray[this.currentEventID].ResultArray[this.§_-Bj§].length; )
  2712.             {
  2713.                if(this.§_-Nx§ > 0)
  2714.                {
  2715.                   this.§_-KT§(this.eventArray[this.currentEventID].ResultArray[this.§_-Bj§][this.§_-Nx§]);
  2716.                }
  2717.                this.§_-Nx§++;
  2718.             }
  2719.          }
  2720.          else
  2721.          {
  2722.             this.UI_Event.updateResultInfo(this.currentEventID,this.§_-Bj§,false);
  2723.             for(this.§_-Nx§ = 0; this.§_-Nx§ < this.eventArray[this.currentEventID].ResultLoseArray[this.§_-Bj§].length; )
  2724.             {
  2725.                if(this.§_-Nx§ > 0)
  2726.                {
  2727.                   this.§_-KT§(this.eventArray[this.currentEventID].ResultLoseArray[this.§_-Bj§][this.§_-Nx§]);
  2728.                }
  2729.                this.§_-Nx§++;
  2730.             }
  2731.          }
  2732.       }
  2733.      
  2734.       public function §_-SG§(choiceType:String) : void
  2735.       {
  2736.          switch(choiceType)
  2737.          {
  2738.             case "BATTLE":
  2739.                trace("Event Manager: Init Battle");
  2740.                break;
  2741.             case "UNIT_MISSION_STR":
  2742.             case "UNIT_MISSION_AGI":
  2743.             case "UNIT_MISSION_INT":
  2744.             case "UNIT_MISSION_STA":
  2745.                this.UI_Event.PromptUnitSelection(choiceType.substr(13,3));
  2746.                break;
  2747.             case "CHAIN_EVENT":
  2748.                this.§_-9N§(true);
  2749.                break;
  2750.             case "":
  2751.                this.§_-9N§(true);
  2752.          }
  2753.       }
  2754.      
  2755.       public function §_-KT§(rewardObj:Object) : void
  2756.       {
  2757.          var i:int = 0;
  2758.          switch(rewardObj.Type)
  2759.          {
  2760.             case "Days":
  2761.                break;
  2762.             case "Injury":
  2763.                break;
  2764.             case "Chain_Event":
  2765.                this.currentEventID = rewardObj.Value;
  2766.                break;
  2767.             case "Single_Unit_Stats":
  2768.                this.selectedUnit[this.§_-5z§].modifyStat(rewardObj.Stats,rewardObj.Value);
  2769.                break;
  2770.             case "All_Unit_Stats":
  2771.                for(i = 0; i < this.selectedUnit.length; i++)
  2772.                {
  2773.                   this.selectedUnit[i].modifyStat(rewardObj.Stats,rewardObj.Value);
  2774.                }
  2775.                this.selectedUnit = [];
  2776.                break;
  2777.             case "Gold":
  2778.                if(rewardObj.Value > 0)
  2779.                {
  2780.                   this._baseMC.sys_GameData.earnGold(rewardObj.Value);
  2781.                }
  2782.                else
  2783.                {
  2784.                   this._baseMC.sys_GameData.spentGold(-rewardObj.Value);
  2785.                }
  2786.                break;
  2787.             case "Crystal":
  2788.                if(rewardObj.Value > 0)
  2789.                {
  2790.                   this._baseMC.sys_GameData.earnCrystal(rewardObj.Value);
  2791.                }
  2792.                else
  2793.                {
  2794.                   this._baseMC.sys_GameData.spentCrystal(-rewardObj.Value);
  2795.                }
  2796.                break;
  2797.             case "Item":
  2798.                trace("[Event Manager] Item Obtained: " + rewardObj.Name + " ID: " + rewardObj.Value);
  2799.                this._baseMC.sys_Armory.UnlockItem(rewardObj.Value);
  2800.                switch(rewardObj.Value)
  2801.                {
  2802.                   case 0:
  2803.                      trace("[Event Manager] Got newbie Item 0");
  2804.                      this._baseMC.sys_Dungeon.Dungeon_01.DungeonRewardList = [1,4];
  2805.                      this._baseMC.sys_Dungeon.Dungeon_02.DungeonRewardList = [2,12];
  2806.                      break;
  2807.                   case 1:
  2808.                      trace("[Event Manager] Got newbie Item 1");
  2809.                      this._baseMC.sys_Dungeon.Dungeon_01.DungeonRewardList = [0,4];
  2810.                      this._baseMC.sys_Dungeon.Dungeon_02.DungeonRewardList = [2,12];
  2811.                      break;
  2812.                   case 2:
  2813.                      trace("[Event Manager] Got newbie Item 2");
  2814.                      this._baseMC.sys_Dungeon.Dungeon_01.DungeonRewardList = [0,4];
  2815.                      this._baseMC.sys_Dungeon.Dungeon_02.DungeonRewardList = [1,12];
  2816.                }
  2817.                break;
  2818.             case "Unique_Character":
  2819.                switch(rewardObj.Value)
  2820.                {
  2821.                   case 0:
  2822.                      this._baseMC.sys_GameEvent.addUniqueChaIcon("SWORDMASTER");
  2823.                      break;
  2824.                   case 1:
  2825.                      this._baseMC.sys_GameEvent.addUniqueChaIcon("PHANTOM");
  2826.                      break;
  2827.                   case 2:
  2828.                      this._baseMC.sys_GameEvent.addUniqueChaIcon("JAVENLINEER");
  2829.                      break;
  2830.                   case 3:
  2831.                      this._baseMC.sys_GameEvent.addUniqueChaIcon("VALKYRIE");
  2832.                }
  2833.                break;
  2834.             case "Reputation":
  2835.                switch(rewardObj.Name)
  2836.                {
  2837.                   case "Runesse":
  2838.                      this._baseMC.sys_Quest.UpdateFacReputation(0,rewardObj.Value);
  2839.                      break;
  2840.                   case "Golden Scales":
  2841.                      this._baseMC.sys_Quest.UpdateFacReputation(1,rewardObj.Value);
  2842.                      break;
  2843.                   case "Blades of Glory":
  2844.                      this._baseMC.sys_Quest.UpdateFacReputation(2,rewardObj.Value);
  2845.                      break;
  2846.                   case "Shadow Corps":
  2847.                      this._baseMC.sys_Quest.UpdateFacReputation(3,rewardObj.Value);
  2848.                }
  2849.                break;
  2850.             case "Item":
  2851.          }
  2852.       }
  2853.    }
  2854. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement