////////////////////////////////////////////////////////////////////////////
// Rally Masters multiplayer gamemode script
////////////////////////////////////////////////////////////////////////////

begin		"Indonesia Championship"
randomize

noai		on
aiplayers	11 12 13 14 15 16 17
cars		05 C 06 A 07 A 08 B 09 A 01 D 02 D 03 A 16 A 21 B 11 A 12 B 13 B 15 B 23 B 26 A 29 A 27 A 25 A 28 A
car		random
menu		car
drivers		4
level		3
reset		scores

laps		1
location	indonesia

track		st1
gosub		race

track		st2
menu		standings1
gosub		race

track		st3
menu		standings1
gosub		race

track		st4
menu		standings1
gosub		race

track		st5
menu		standings1
gosub		race

laps		3

track		short
menu		standings1
gosub		race

track		medium
menu		standings1
gosub		race

track		long
menu		standings1
gosub		race

keep		2
laps		1

track		sbs
menu		standings1
gosub		final
menu		standings1b

end

//////////////
//// Race ////
//////////////
race:
screen		location
sort		random
sort		humans
race
sort		racetime
scores		10 6 4 3 2 1
menu		standings3
sort		score
return

///////////////
//// Final ////
///////////////
final:
reset		scores
screen		location
race
sort		racetime
scores		10 6
sort		score
return

////////////////////////////////////////////////////////////////////////////
