Key = 0
;Right Section
If GetItemAtXY(1346, 11, 6) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 12, 6) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 13, 6) = 546
	Key=Key+1
EndIf
If GetItemAtXY(1346, 14, 6) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 15, 6) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 13, 7) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 14, 7) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 15, 7) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 13, 5) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 14, 5) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 15, 5) = 546
	Key=Key+1
EndIf
;Left Section
If GetItemAtXY(1346, 9, 6) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 8, 6) = 546
	Key=Key+1
EndIf
If GetItemAtXY(1346, 7, 6) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 6, 6) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 5, 6) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 7, 5) = 546
	Key=Key+1
EndIf
If GetItemAtXY(1346, 6, 5) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 5, 5) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 7, 7) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 6, 7) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 5, 7) = 546
	Key=Key+1
EndIf
;Bottom Section
If GetItemAtXY(1346, 10, 7) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 10, 8) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 10, 9) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 10, 10) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 10, 11) = 548
	Key=Key+1
EndIf
If GetItemAtXY(1346, 9, 9) = 546
	Key=Key+1
EndIf
If GetItemAtXY(1346, 9, 10) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 9, 11) = 547
	Key=Key+1
EndIf
If GetItemAtXY(1346, 11, 9) = 546
	Key=Key+1
EndIf
If GetItemAtXY(1346, 11, 10) = 549
	Key=Key+1
EndIf
If GetItemAtXY(1346, 11, 11) = 546
	Key=Key+1
EndIf

If Key = 33
	OpenDoor(1346, 11, 12)
	OpenDoor(1346, 10, 12)
	OpenDoor(1346, 9, 12)
	OpenDoor(1346, 11, 13)
	OpenDoor(1346, 10, 13)
	OpenDoor(1346, 9, 13)
EndIf

Continue = 1