If GetUserX(#USERID)=8
	Goto LifeScroll
Endif

If GetUserX(#USERID)=10
	Goto LimboScroll
Endif

If GetUserX(#USERID)=12
	Goto DeathScroll
Endif

label LifeScroll
If HasItem(#USERID,77)=0
	SendMessageToUser(#USERID,"You need the Life Scroll!", #MSG_CRITICAL)
Endif
If HasItem(#USERID,77)=1
	SendMessageToUser(#USERID,"The door opens before you...", #MSG_EMOTE)
	OpenDoor(416,8,2)
Endif
Goto End

label LimboScroll
If HasItem(#USERID,79)=0
	SendMessageToUser(#USERID,"You need the Summoning Scroll!", #MSG_CRITICAL)
Endif
If HasItem(#USERID,79)=1
	SendMessageToUser(#USERID,"The door opens before you...", #MSG_EMOTE)
	OpenDoor(416,10,2)
Endif
Goto End

label DeathScroll
If HasItem(#USERID,78)=0
	SendMessageToUser(#USERID,"You need the Death Scroll!", #MSG_CRITICAL)
Endif
If HasItem(#USERID,78)=1
	SendMessageToUser(#USERID,"The door opens before you...", #MSG_EMOTE)
	OpenDoor(416,12,2)
Endif
Goto End

label End

Continue = 1