MISSIONSTART

	SET p1_wantedlevel = p1_tmp_wantedlevel

	IF(p1_wantedlevel=0)
		ALTER_WANTED_LEVEL (p1, 0)
	ENDIF
	IF(p1_wantedlevel=1)
		ALTER_WANTED_LEVEL (p1, 1)
	ENDIF
	IF(p1_wantedlevel=2)
		ALTER_WANTED_LEVEL (p1, 2)
	ENDIF
	IF(p1_wantedlevel=3)
		ALTER_WANTED_LEVEL (p1, 3)
	ENDIF
	IF(p1_wantedlevel=4)
		ALTER_WANTED_LEVEL (p1, 4)
	ENDIF
	IF(p1_wantedlevel=5)
		ALTER_WANTED_LEVEL (p1, 5)
	ENDIF
	IF(p1_wantedlevel>=6)
		ALTER_WANTED_LEVEL (p1, 6)
	ENDIF


MISSIONEND