Display Name = "Place of Memories 1st Layer"
Parallax Name = "StarlitSky"
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 4, 85, 0, 0])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 7, 75, 2, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 89, 28, 0, 0])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 74, 16, 2, 0])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 61, 14, 2, 0])
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 111, 39, 2, 0])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 604, 129, 26, 2, 0])
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    ChangeMapDisplay([0])
    ControlVariables([57, 57, 0, 0, 576])
    TransferPlayer([0, 544, 17, 7, 2, 0])
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    ChangeMapDisplay([0])
    ControlVariables([57, 57, 0, 0, 576])
    TransferPlayer([0, 544, 17, 7, 2, 0])
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    ChangeMapDisplay([0])
    ControlVariables([57, 57, 0, 0, 576])
    TransferPlayer([0, 544, 17, 7, 2, 0])
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    ControlVariables([1343, 1343, 0, 0, 2])
    ShowTextAttributes(["iriasu_fc4", 5, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Is this... the village of Iliasville!?"])
    ConditionalBranch([4, 53, 0])
      ShowTextAttributes(["slime_fc1", 2, 0, 2])
      ShowText(["\\n<Lime>"])
      ShowText(["The village is in trouble~!!"])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["No... this is a chaotic space constructed from Sonya's memories."])
    ShowText(["It's different from the actual Iliasville."])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["But, it's become more chaotic than when I came here before..."])
    ConditionalBranch([0, 1005, 0])
      ShowTextAttributes(["alice_fc5", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["That's probably because Sonya became an apostle of chaos..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1006, 0])
      ShowTextAttributes(["alice_fc1", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["That's probably because Sonya became an apostle of chaos..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1007, 0])
      ShowTextAttributes(["alice_fc7", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["That's probably because Sonya became an apostle of chaos..."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Maybe..."])
    ShowText(["We can't avoid fighting that chaos apostle, EX Sonya."])
    ShowTextAttributes(["iriasu_fc4", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["That's something I understand."])
    ShowText(["Let's beat her down and take Sonya back!"])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Yeah, let's all get Sonya back!"])
    ShowText(["Now, let's go!"])
    ConditionalBranch([4, 812, 0])
      ShowTextAttributes(["magatu_fc1", 2, 0, 2])
      ShowText(["\\n<Magatsu>"])
      ShowText(["It's not my first time entering someone else's memories, but..."])
      ShowText(["It still feels a bit unsettling."])
      Empty([])

    BranchEnd([])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([878, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([3496, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 14
Name = "EV014"

  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])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([927, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    ConditionalBranch([12, "unlock_level < 2"])
      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])
    ChangeItems([4325, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      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([4016, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([900, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([914, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 19
Name = "EV019"

  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])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1278, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 20
Name = "EV020"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      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([4031, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 21
Name = "EV021"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([919, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 22
Name = "EV022"

  Page 0
    ConditionalBranch([12, "unlock_level < 4"])
      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([777, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 23
Name = "EV023"

  Page 0
    ConditionalBranch([12, "unlock_level < 4"])
      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([4923, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 24
Name = "EV024"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([3060, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 25
Name = "EV025"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["I am the Dungeon Spirit that even emerges within memories."])
    ShowText(["Now, let me guide you to the deepest depths..."])
    ConditionalBranch([4, 515, 0])
      ShowTextAttributes(["sandalforne_fc1", 0, 0, 2])
      ShowText(["\\n<Sandalphone>"])
      ShowText(["……………………"])
      ShowTextAttributes(["iriasu_fc6", 3, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Why is this girl aiming at me?"])
      ShowText(["I am not Ilias, I am the Dungeon Spirit."])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 26
Name = "EV026"

  Page 0
    PlaySE(["RPG::SE(@name=\"Heal7\", @pitch=100, @volume=80)"])
    FlashScreen(["Color(@red=255.0, @green=255.0, @blue=255.0, @alpha=255.0)", 30, true])
    RecoverAll([0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The party's HP and MP have been fully recovered!"])
    Wait([30])
    ConditionalBranch([0, 3485, 1])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["It seems there is a warp function, but the destination is not registered..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3485, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Where do you want to warp to?"])
      ShowChoices([["Entrance", "Deepest part", "Quit"], 3])
      When([0, "入り口"])
        PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
        TransferPlayer([0, 598, 27, 58, 2, 1])
        ExitEventProcessing([])
        Empty([])
      When([1, "最奥"])
        PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
        TransferPlayer([0, 689, 21, 3, 2, 1])
        ExitEventProcessing([])
        Empty([])
      When([2, "やめる"])
        ExitEventProcessing([])
        Empty([])
      ChoicesEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 27
Name = "EV027"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 3, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["So many signs... What is this?"])
    Empty([])

CommonEvent 28
Name = "EV028"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["From here, the A Route begins."])
    Empty([])

CommonEvent 29
Name = "EV029"

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

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

CommonEvent 30
Name = "EV030"

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

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

CommonEvent 31
Name = "EV031"

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

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

CommonEvent 32
Name = "EV032"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["By the way, the hierarchy inside the dungeon is..."])
    ShowText(["Gold Treasure Chest > Dungeon Spirit > Silver Treasure Chest > Green Treasure Chest > Blue Treasure Chest > Red Treasure Chest."])
    Empty([])

CommonEvent 34
Name = "EV034"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["A treasure chest is waiting for you here..."])
    Empty([])

CommonEvent 35
Name = "EV035"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["The correct route is this way."])
    Empty([])

CommonEvent 36
Name = "EV036"

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

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

CommonEvent 37
Name = "EV037"

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

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["The meeting point is inside the house."])
    ShowText(["If you head downward, it's the starting point of the A Route."])
    Empty([])
