;'First Bind - Opacaconvexus' Dungeon script

If GetItemAtXY(1137,6,10) <> 316 
	GoTo END
EndIf
If GetItemAtXY(1137,8,10) <> 315 
	GoTo END
EndIf
If GetItemAtXY(1137,10,10) <> 317 
	GoTo END
EndIf
If GetItemAtXY(1137,12,10) <> 318 
	GoTo END
EndIf
If GetItemAtXY(1137,14,10) <> 319
	GoTo END
EndIf

SendMessageToMap(1137,"Puzzle Solved",#MSG_EMOTE)
RemoveItem(1137,314)
RemoveItem(1137,315)
RemoveItem(1137,316)
RemoveItem(1137,317)
RemoveItem(1137,318)
RemoveItem(1137,319)

;Spawn the key
SpawnItem(1137,314,17,10)

Label END

Continue = 1