Display Name = "Pyramid 4F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 641, 8, 35, 0, 0])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 641, 8, 35, 0, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 641, 8, 35, 0, 0])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlayME(["RPG::ME(@name=\"lvup\", @pitch=100, @volume=100)"])
    ShowPicture([5, "sys_oyakataf3b", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([6, "80_oyakata_st9-5", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([7, "sys_oyakataf3", 0, 0, 140, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([6, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([7, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    Wait([30])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Discovered the foreman's shout! \\|\\|"])
    Wait([30])
    ShowTextAttributes(["randolph_fc9", 4, 0, 2])
    ShowText(["\\n<Master's Cry>"])
    ShowText(["Hyaaaaaaaaaaaaa!!"])
    ConditionalBranch([1, 1319, 0, 4, 2])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>"])
      ShowText(["I can't keep up with all this..."])
      ShowText(["I wish Papi were here."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1319, 0, 5, 1])
      ShowTextAttributes(["dragonp_fc1", 0, 0, 2])
      ShowText(["\\n<Papi>"])
      ShowText(["As always, the master is such a scaredy-cat..."])
      ShowText(["Come on, let's go to the forge."])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([3150, 3150, 0])
    ControlVariables([1354, 1354, 1, 0, 1])
    ConditionalBranch([1, 1354, 0, 80, 0])
      Script(["gain_medal(1524)"])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    ErasePicture([6])
    ErasePicture([7])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Explained the situation to the boss from another world and sent them to the Chaos Forge――"])
    ShowText(["(Number of bosses discovered: \\V[1354])"])
    Wait([30])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 5
Name = "EV005"

  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([82, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Earth4\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"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=19, @parameters=[])\", \"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=0, @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])"])
    Unnamed(["RPG::MoveCommand(@code=19, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
    SetMoveRoute([-1, "RPG::MoveRoute(@repeat=false, @skippable=true, @wait=true, @list=[\"RPG::MoveCommand(@code=12, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=12, @parameters=[])"])
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 309, 17, 33, 0, 0])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ShowPicture([5, "80_sphinx_st03", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["In this world where despair reigns..."])
    ShowText(["When those who possess light appear, it's you all, isn't it?"])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["You always bring unreasonable demands..."])
    ShowText(["So, what do you need this time?"])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["That is――"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["I explained the situation to the Sphinx――"])
    Wait([30])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["The No Life King and the Anti-Life Protocol..."])
    ShowText(["Really, you're involved in something outrageous."])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["Normally, you'd be turned away at the gate, but it's your request, after all."])
    ShowText(["I shall open the path to Underworld..."])
    ErasePicture([5])
    Wait([30])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=19, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=19, @parameters=[])"])
    Wait([15])
    PlaySE(["RPG::SE(@name=\"Earth4\", @pitch=100, @volume=80)"])
    ControlVariables([1316, 1316, 0, 0, 8])
    Wait([30])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=16, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=16, @parameters=[])"])
    Wait([30])
    ShowPicture([5, "80_sphinx_st03", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["You can go to Underworld through this door."])
    ShowText(["It's needless to say that it's dangerous..."])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Sphinx, won't you come with us?"])
    ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["...The state of the world is on the brink of destruction."])
    ShowText(["I can't just decide to hide away here..."])
    ShowPicture([5, "80_sphinx_st01", 0, 0, 0, 0, 100, 100, 255, 0])
    ShowTextAttributes(["sphinx_fc1", 0, 0, 2])
    ShowText(["\\n<Sphinx>"])
    ShowText(["...Very well."])
    ShowText(["Use my power to save the world as well."])
    ErasePicture([5])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=10, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=10, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
    Script(["add_actor_ex(153)"])
    Script(["level_adjust(153,135)"])
    ScriptMore(["set_class_level(153, 35, 10, false, false)"])
    ScriptMore(["set_class_level(153, 36, 10, false, false)"])
    ScriptMore(["set_class_level(153, 37, 10, false, false)"])
    ScriptMore(["set_class_level(153, 39, 10, false, false)"])
    ScriptMore(["set_class_level(153, 46, 10, false, false)"])
    Script(["set_class_level(153, 166, 20, false, false)"])
    ScriptMore(["set_class_level(153, 234, 10, false, false)"])
    ScriptMore(["set_class_level(153, 235, 10, false, false)"])
    ScriptMore(["set_class_level(153, 236, 10, false, false)"])
    ScriptMore(["set_class_level(153, 244, 10, false, false)"])
    ScriptMore(["set_class_level(153, 7018, 15, false, false)"])
    ScriptMore(["set_class_level(153, 7019, 15, false, false)"])
    RecoverAll([0, 153])
    PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Sphinx has joined the party!"])
    ControlSwitches([3201, 3201, 0])
    Wait([60])
    ConditionalBranch([4, 755, 0])
      ShowTextAttributes(["tezcatlipoca_fc1", 5, 0, 2])
      ShowText(["\\n<Tezcatlipoca>"])
      ShowText(["Meow~!"])
      ShowText(["Cat friends (cat companions) are always together, meow!"])
      ShowTextAttributes(["sphinx_fc1", 2, 0, 2])
      ShowText(["\\n<Sphinx>"])
      ShowText(["Neither you nor I are cats, though..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([4, 529, 0])
      ShowTextAttributes(["sara_fc1", 1, 0, 2])
      ShowText(["\\n<Sara>"])
      ShowText(["I will join you, my ancestors!"])
      ShowTextAttributes(["sphinx_fc1", 0, 0, 2])
      ShowText(["\\n<Sphinx>"])
      ShowText(["Yes, I am glad to see you are well."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([4, 530, 0])
      ShowTextAttributes(["sara_fc4", 0, 0, 2])
      ShowText(["\\n<Sara>"])
      ShowText(["I will accompany you, my ancestor..."])
      ShowTextAttributes(["sphinx_fc1", 0, 0, 2])
      ShowText(["\\n<Sphinx>"])
      ShowText(["Yes, I am glad to see you are well."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Well then, let's head to Underworld!"])
    ShowText(["Rewrite the records and disable the anti-life protocol!"])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])
