FANDOM


Created by Stragothemad.

Function Main()

Player = Actor()
D = OpenDialog(Player, ContextActor(), "Guild Door")
DialogOutput(Player, D, "This is the door to SIN guild map would you like to enter?", 255, 255, 255)
Result = DialogInput(Player, D, "Yes, No")

    If Result = 1
        If HasItem(Player, "Guild Key", 1)
            DialogOutput(Player, D, "Welcome to Sin guild.", 255, 255, 255)
            DoEvents(2000)
            CloseDialog(Player, D)
            Warp(Player, "Ourania Cave", "In_cave")
        Else
            DialogOutput(Player, D, "You need to have the guild key.", 255, 255, 255)
            DoEvents(2000)
            CloseDialog(Player, D)
        EndIf
    ElseIf Result = 2
        CloseDialog(Player, D)
    EndIf 
End Function