;'Warp Key 1' - pickup script

If GetUserFlag(#USERID,45) = 0
	If #MAPID = 1148
		If #YPOS = 3
			If #XPOS = 8
				SetUserFlag(#USERID,45,1)
				SpawnMonster(1148,195,8,7)
				SpawnMonster(1148,195,10,7)
				SpawnMonster(1148,195,10,5)
				SpawnMonster(1148,195,12,5)
				SpawnMonster(1148,195,12,3)
				
				i=8
				While i < 16
					SetMonsterTarget(1148, i, #USERID)
					i=i+1
				Wend
			EndIF
		EndIf
	EndIf
EndIf

Continue = 1