dark basic 15 16 ( ), "sprite number illegal at line 15"
--------------------------------------------------
sync on
sync rate 30
load image "C:\saboteur\player.bmp",1
load image "C:\saboteur\player_not_gun.bmp",2
load image "C:\saboteur\fascist_gun.bmp",3
load image "C:\saboteur\tileroad.jpg",4
load image "C:\saboteur\peds_road.jpg",5
load image "C:\saboteur\button_start.bmp",6
load image "C:\saboteur\button_start_new_game_push.png",7
load image "C:\saboteur\CURSOR.bmp",8
set display mode 1024,960,32
HIDE MOUSE
do
if (power=0)
15 sprite 7,0,0,6
16 sprite 8,0,0,8
show sprite 7
show sprite 8
activity=1
offset sprite 8,(-(mousex())),(-(mousey()))
if sprite collision(8,7) AND MOUSECLICK()=1 and (activity=1)
power=1
endif
endif
if power=1
power2=1
else
power2=0
endif
if power2=1
hide sprite 7
hide sprite 8
offset sprite 7,1500,1024
offset sprite 8,1500,1024
activity=0
location=1 rem location 1 it is home
select location
case 1: sprite 5,0,0,5
sprite 4,100,0,4
stretch sprite 5,100,500

locatetec=location
endcase
endselect
endif
sync
loop