set points=((10-crimes)*350) + (4000-movie_time) + (600*level)
set title=9
if temp_value<45 then set title=9
if temp_value<40 then set title=8
if temp_value<35 then set title=7
if temp_value<30 then set title=6
if temp_value<25 then set title=5
if temp_value<20 then set title=4
if temp_value<16 then set title=3
if temp_value<11 then set title=2
if temp_value<7 then set title=1
set time=""
-- ##international: change from Swedish time units and sentenses below:
put string(hours) &" timmar och " into line 1 of time
put string(minutes) &" minuter" into line 2 of time
if hours=1 then put string(hours) &" timme och " into line 1 of time
if minutes=1 then put string(minutes) &" minut" into line 2 of time
set result=""
put ("- Jakten tog " & line 1 of time & line 2 of time &".") into line 1 of result
put ("- Skurken hann begσ " &string (crimes) &" brott.")into line 2 of result
put ("- Du har blivit utsedd till " &line title of the text of member "titles" &".") into line 3 of result
put ("- Du fick totalt " & string (points) &" deckarpoΣng.") into line 4 of result
-- ##end international
set the text of member "text" =result
if points > value (item 3 of line 12 of the text of member "highscore" of castlib "savegame") or points = value (item 3 of line 12 of the text of member "highscore" of castlib "savegame") then