Display Name = "Tower of Light 6F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 387, 22, 21, 2, 1])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSwitches([3007, 3007, 0])
    PlaySE(["RPG::SE(@name=\"Magic1\", @pitch=100, @volume=80)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["I heard the activation sound of the crystal!"])
    ConditionalBranch([0, 3020, 0])
      ControlSwitches([3496, 3496, 0])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    Empty([])

  Page 1
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 389, 22, 26, 2, 1])
    Empty([])

  Page 2
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 390, 22, 26, 2, 1])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 403, 1, 20, 0, 0])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ConditionalBranch([12, "unlock_level < 1"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1454, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The treasure chest was a box!"])
    BattleProcessing([0, 2596, false, false])
    ControlSelfSwitch(["A", 0])
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["But it's not activated yet, so let's head to the right first."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["There's something we need to do first, let's go back to the right."])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["The warp crystal on this floor has been activated."])
    ShowText(["Now, let's proceed to the left..."])
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["First, let's press the button ahead."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 0])
      ConditionalBranch([0, 3020, 1])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["The warp crystal on this floor is now operational."])
        ShowText(["However, there's still something we need to do before proceeding."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 3020, 0])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["The warp crystal on this floor is now operational."])
        ShowText(["Let's head to the left."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Press this button..."])
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["We need to go this way to solve the mechanism of the Tower of Darkness."])
    ShowText(["Now, please..."])
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["This is a treasure chest."])
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["Since it's not activated now, we have no choice but to go back."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["There's still something to do on this floor, let's go back."])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Now, let's proceed using this warp crystal."])
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["But it's not activated yet, so let's head to the right first."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3007, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Using the warp crystal ahead, we'll proceed upward..."])
      ShowText(["There's something we need to do first, let's go back to the right."])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["The warp crystal on this floor has been activated."])
    ShowText(["Alright, let's move forward..."])
    Empty([])
