////////////////////////////////
// GTA2 PACMAN SCRIPT BY PYRO //
////////////////////////////////

/* ANGLES FOR REFERENCE:
225 180 135
270  x  090
315 000 045
*/

// players
PLAYER_PED p1 = ( 126.5 , 118.5 , 2.0 ) 10 0

// characters
	// SRS
CHAR_DATA srs01 = ( 131.5 , 120.5 , 3.0 ) 7 0 NO_OCCUPATION
CHAR_DATA srs02 = ( 122.5 , 120.5 , 3.0 ) 7 0 NO_OCCUPATION
CHAR_DATA srs03 = ( 122.5 , 135.5 , 3.0 ) 7 0 NO_OCCUPATION
CHAR_DATA srs04 = ( 131.5 , 135.5 , 3.0 ) 7 0 NO_OCCUPATION
CHAR_DATA srs05 = ( 123.5 , 127.5 , 3.0 ) 7 90 NO_OCCUPATION
CHAR_DATA srs06 = ( 130.5 , 128.5 , 3.0 ) 7 0 NO_OCCUPATION
	// attackers
CHAR_DATA attacker01
CHAR_DATA attacker02
CHAR_DATA attacker03
CHAR_DATA attacker04
CHAR_DATA attacker05
CHAR_DATA attacker06
CHAR_DATA attacker07
CHAR_DATA attacker08
CHAR_DATA attacker09
CHAR_DATA attacker10
CHAR_DATA attacker11
CHAR_DATA attacker12

// objects
	// tokens

	// reserved tokens

	// health
OBJ_DATA health = ( 122.5 , 128.5 , 2.0 ) 0 COLLECT_30
	// reserved health

	// invincible
OBJ_DATA invincible = ( 131.5 , 127.5 , 2.0 ) 0 COLLECT_34
	// reserved invincible

// counters
COUNTER loop = 1
COUNTER wave = 1
COUNTER pickups = 0

LEVELSTART

/* Wave levels:
1 - 3 attackers
2 - 3 attackers
3 - 4 attackers
4 - 5 attackers
5 - 6 attackers
6 - 7 attackers
7 - 8 attackers
8 - 10 attackers
9 - 10 attackers
10 - 12 attackers
*/

GIVE_WEAPON ( srs01 , PISTOL )
GIVE_WEAPON ( srs02 , PISTOL )
GIVE_WEAPON ( srs03 , PISTOL )
GIVE_WEAPON ( srs04 , PISTOL )
GIVE_WEAPON ( srs05 , PISTOL )
GIVE_WEAPON ( srs06 , PISTOL )
SET_CHAR_THREAT_SEARCH ( srs01 , NO_THREATS )
SET_CHAR_THREAT_SEARCH ( srs02 , NO_THREATS )
SET_CHAR_THREAT_SEARCH ( srs03 , NO_THREATS )
SET_CHAR_THREAT_SEARCH ( srs04 , NO_THREATS )
SET_CHAR_THREAT_SEARCH ( srs05 , NO_THREATS )
SET_CHAR_THREAT_SEARCH ( srs06 , NO_THREATS )
SET_CHAR_THREAT_REACTION ( srs01 , NO_REACTION )
SET_CHAR_THREAT_REACTION ( srs02 , NO_REACTION )
SET_CHAR_THREAT_REACTION ( srs03 , NO_REACTION )
SET_CHAR_THREAT_REACTION ( srs04 , NO_REACTION )
SET_CHAR_THREAT_REACTION ( srs05 , NO_REACTION )
SET_CHAR_THREAT_REACTION ( srs06 , NO_REACTION )
SET_CHAR_OBJECTIVE ( srs01 , GUARD_AREA )
SET_CHAR_OBJECTIVE ( srs02 , GUARD_AREA )
SET_CHAR_OBJECTIVE ( srs03 , GUARD_AREA )
SET_CHAR_OBJECTIVE ( srs04 , GUARD_AREA )
SET_CHAR_OBJECTIVE ( srs05 , GUARD_AREA )
SET_CHAR_OBJECTIVE ( srs06 , GUARD_AREA )
ADD_PATROL_POINT ( srs01 , 131.5 , 127.5 , 3.0 )
ADD_PATROL_POINT ( srs02 , 122.5 , 127.5 , 3.0 )
ADD_PATROL_POINT ( srs03 , 122.5 , 128.5 , 3.0 )
ADD_PATROL_POINT ( srs04 , 131.5 , 128.5 , 3.0 )
ADD_PATROL_POINT ( srs05 , 129.5 , 127.5 , 3.0 )
ADD_PATROL_POINT ( srs06 , 124.5 , 128.5 , 3.0 )
ADD_PATROL_POINT ( srs01 , 131.5 , 120.5 , 3.0 )
ADD_PATROL_POINT ( srs02 , 122.5 , 120.5 , 3.0 )
ADD_PATROL_POINT ( srs03 , 122.5 , 135.5 , 3.0 )
ADD_PATROL_POINT ( srs04 , 131.5 , 135.5 , 3.0 )
ADD_PATROL_POINT ( srs05 , 123.5 , 127.5 , 3.0 )
ADD_PATROL_POINT ( srs06 , 130.5 , 128.5 , 3.0 )

WHILE_EXEC ( loop = 1 )

   DO_NOWT

ENDWHILE

LEVELEND