SetVar	D	0	1
SetVar	D	1	0
CopyParamToVar	D	1	Quest	341	Acquire
	IfEqual	D	0	1
		SetVar	S	0	Data\CutScenes\MainQuest_28_A.css
		RunFunction	D	0	CutScene	0	Active	1	S	0
	EndIf
SetVar	D	0	1
SetVar	D	1	0
CopyParamToVar	D	1	Quest	233	Solve
	IfEqual	D	0	1
		SetVar	S	0	Data\CutScenes\Arena9CH4A.css
		RunFunction	D	0	CutScene	0	Active	1	S	0
	EndIf
SetVar	D	0	1
SetVar	D	1	0
CopyParamToVar	D	1	Quest	347	Acquire
	IfEqual	D	0	1
		SetVar	S	0	M29\Dia01.dia
		RunFunction	D	0	DialogRun	0	Active	1	S	0
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	0
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	1
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	2
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	3
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	4
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	5
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	6
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	7
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	8
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	9
		RunFunction	D	0	Derelict	0	Enabled	1	D	1
	EndIf

SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	117
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	118
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	119
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	120
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	121
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	122
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	123
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	124
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	125
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	126
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	127
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	128
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	129
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	130
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
SetVar	D	1	1
SetVar	D	2	4
RunFunction	D	3	Math	0	Rnd	2	D	1	D	2
SetVar	D	4	1
	IfEqual	D	3	4
		SetVar	D	1	131
		RunFunction	D	0	Ship	0	Enabled	1	D	1
	EndIf
End