PLAYER_PED p1 = (124.5, 122.5, 2.0) 9 45
PLAYER_PED p2 = (130.5, 122.5, 2.0) 8 270
PLAYER_PED p3 = (124.5, 122.5, 2.0) 9 45
PLAYER_PED p4 = (130.5, 122.5, 2.0) 8 270

COUNTER DEAD = 0
COUNTER mainloop = 1  
GENERATOR zooka1 = ( 127.5 , 125.5 , 2.0 ) 0 COLLECT_02 0 100 99
OBJ_DATA traprocket11
OBJ_DATA traprocket12
OBJ_DATA traprocket13
OBJ_DATA traprocket14

OBJ_DATA traprocket21
OBJ_DATA traprocket22
OBJ_DATA traprocket23
OBJ_DATA traprocket24

OBJ_DATA traprocket31
OBJ_DATA traprocket32
OBJ_DATA traprocket33
OBJ_DATA traprocket34

OBJ_DATA traprocket41
OBJ_DATA traprocket42
OBJ_DATA traprocket43
OBJ_DATA traprocket44

OBJ_DATA fr1

LIGHT light1
																					   delay1:
                        DELAY_HERE (100)
                        RETURN

LEVELSTART
SWITCH_GENERaTOR (zooka1, ON)
SOUND sound1

WHILE ( mainloop = 1 )
GIVE_WEAPON ( p1 , rocket_launcher , 99 )
GIVE_WEAPON ( p2 , rocket_launcher , 99 )
GIVE_WEAPON ( p3 , rocket_launcher , 99 )
GIVE_WEAPON ( p4 , rocket_launcher , 99 )

   IF ( ( HAS_CHARACTER_DIED ( p1 ) ) OR ( HAS_CHARACTER_DIED ( p2 ) ) )
			IF ( DEAD = 0 )
			REMOVE_BLOCK ( 126 , 125 , 2  , DONT_DROP )
   REMOVE_BLOCK ( 127 , 124 , 2  , DONT_DROP )
			REMOVE_BLOCK ( 128 , 125 , 2  , DONT_DROP )
   REMOVE_BLOCK ( 127 , 126 , 2  , DONT_DROP )  
   REMOVE_BLOCK ( 125 , 125 , 2  , DONT_DROP )
   REMOVE_BLOCK ( 127 , 123 , 2  , DONT_DROP )
   REMOVE_BLOCK ( 129 , 125 , 2  , DONT_DROP )
   REMOVE_BLOCK ( 127 , 127 , 2  , DONT_DROP ) 
			sound1 = CREATE_SOUND ( 127.5 , 125.5 , 2.0 ) PRISON_ALARM play_forever END
			fr1 = CREATE_OBJ ( 127.5 , 125.5 , 2.0 ) 0 COLLECT_36 END
			GOSUB delay1:
									ADD_NEW_BLOCK ( 126 , 125 , 2 )
									ADD_NEW_BLOCK ( 127 , 124 , 2 )
									ADD_NEW_BLOCK ( 128 , 125 , 2 )
									ADD_NEW_BLOCK ( 127 , 126 , 2 )
									ADD_NEW_BLOCK ( 125 , 125 , 2 )
									ADD_NEW_BLOCK ( 127 , 123 , 2 )
									ADD_NEW_BLOCK ( 129 , 125 , 2 )
									ADD_NEW_BLOCK ( 127 , 127 , 2 )
   						CHANGE_BLOCK TYPE  (  127 , 126 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  127 , 127 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  127 , 124 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  127 , 123 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  126 , 125 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  125 , 125 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  128 , 125 , 2 )  field 0
   						CHANGE_BLOCK TYPE  (  129 , 125 , 2 )  field 0
   						CHANGE_BLOCK SIDE  ( 127 , 126 , 2 ) BOTTOM WALL  not_bullet flat flip 0 244  
   						CHANGE_BLOCK SIDE  ( 127 , 127 , 2 ) TOP WALL  not_bullet flat flip 0 244 
   						CHANGE_BLOCK SIDE  ( 127 , 124 , 2 ) TOP WALL  not_bullet flat flip 0 244  
   						CHANGE_BLOCK SIDE  ( 127 , 123 , 2 ) BOTTOM WALL  not_bullet flat flip 0 244 
   						CHANGE_BLOCK SIDE  (  126 , 125 , 2 ) LEFT WALL  not_bullet flat flip 0 244  
   						CHANGE_BLOCK SIDE  (  125 , 125 , 2 ) RIGHT WALL  not_bullet flat flip 0 244
   						CHANGE_BLOCK SIDE  (  128 , 125 , 2 ) RIGHT WALL  not_bullet flat flip 0 244  
   						CHANGE_BLOCK SIDE  (  129 , 125 , 2 ) LEFT WALL  not_bullet flat flip 0 244
   						traprocket11 = CREATE_OBJ ( 122.5 , 125.2 , 2.0 ) 90 ROCKET END
									traprocket12 = CREATE_OBJ ( 122.5 , 125.4 , 2.0 ) 90 ROCKET END
									traprocket13 = CREATE_OBJ ( 122.5 , 125.6 , 2.0 ) 90 ROCKET END
									traprocket14 = CREATE_OBJ ( 122.5 , 125.8 , 2.0 ) 90 ROCKET END
									
									traprocket21 = CREATE_OBJ ( 132.5 , 125.2 , 2.0 ) 270 ROCKET END
									traprocket22 = CREATE_OBJ ( 132.5 , 125.4 , 2.0 ) 270 ROCKET END
									traprocket23 = CREATE_OBJ ( 132.5 , 125.6 , 2.0 ) 270 ROCKET END
									traprocket24 = CREATE_OBJ ( 132.5 , 125.8 , 2.0 ) 270 ROCKET END
									
									traprocket31 = CREATE_OBJ ( 127.2 , 120.5 , 2.0 ) 0 ROCKET END
									traprocket32 = CREATE_OBJ ( 127.4 , 120.5 , 2.0 ) 0 ROCKET END
									traprocket33 = CREATE_OBJ ( 127.6 , 120.5 , 2.0 ) 0 ROCKET END
									traprocket34 = CREATE_OBJ ( 127.8 , 120.5 , 2.0 ) 0 ROCKET END
									
									traprocket41 = CREATE_OBJ ( 127.2 , 130.5 , 2.0 ) 180 ROCKET END
									traprocket42 = CREATE_OBJ ( 127.4 , 130.5 , 2.0 ) 180 ROCKET END
									traprocket43 = CREATE_OBJ ( 127.6 , 130.5 , 2.0 ) 180 ROCKET END
									traprocket44 = CREATE_OBJ ( 127.8 , 130.5 , 2.0 ) 180 ROCKET END
									
									DELAY_HERE ( 15 )
   						DELETE_ITEM ( sound1 )
			SET DEAD = 0
			endif
endif



	
ENDWHILE
LEVELEND
