MISSIONSTART

	SET p6_wantedlevel = p6_tmp_wantedlevel

	IF(p6_wantedlevel=0)
		ALTER_WANTED_LEVEL (p6, 0)
	ENDIF
	IF(p6_wantedlevel=1)
		ALTER_WANTED_LEVEL (p6, 1)
	ENDIF
	IF(p6_wantedlevel=2)
		ALTER_WANTED_LEVEL (p6, 2)
	ENDIF
	IF(p6_wantedlevel=3)
		ALTER_WANTED_LEVEL (p6, 3)
	ENDIF
	IF(p6_wantedlevel=4)
		ALTER_WANTED_LEVEL (p6, 4)
	ENDIF
	IF(p6_wantedlevel=5)
		ALTER_WANTED_LEVEL (p6, 5)
	ENDIF
	IF(p6_wantedlevel>=6)
		ALTER_WANTED_LEVEL (p6, 6)
	ENDIF


MISSIONEND