On opencard



if game_on is not 1 then
 play linegrap
--play frog_e
put 3 into ntx
naratoranimex
wait 1 seconds
--  play bokuwo
--   put 5 into ntx
--   naratoranimex
--  end if
  put 106 into presentcard

if game_on is not 1 and onlyonetime106 is not 999 then
--show btn t_writer
message2 171, 20, 14, "Ver AYUDA para aprender a usar el ejercicio de la grfica lineal "
--hide btn t_writer
put 999 into onlyonetime106

end if

put 0 into x_countrycode
put 0 into init106
end if
End Opencard


On move_object
OMath Menu Move
end move_object



On SGP
play click_e
OMath Open without menu   38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave
Putstring "25.7  26.3  26.8  27.1  27.4  27.3  27.0  26.9  26.8  26.7  26.2  25.7  " into fld temp
Putstring "Singapur" into fld city
put 1 into countrycode
End SGP

On JKR
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "26.3  26.5  26.9  27.5  27.7  27.3  27.1  27.1  27.5  27.7  27.4  26.8  " into fld temp
Putstring "Yakarta" into fld city
put 2 into countrycode



End JKR

On MAM
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "19.6  20.2  22.1  24.0  25.9  27.4  28.2  28.3  27.7  25.7  23.0  20.6  " into fld temp
Putstring "Miami" into fld city
put 3 into countrycode


End MAM

On MNS
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "26.1  26.1  26.0  26.2  26.3  26.3  26.5  27.4  27.6  27.5  27.2  26.9  " into fld temp
Putstring "Sao_Paulo" into fld city
put 4 into countrycode

End MNS

On DRS
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "27.4  27.7  27.4  26.5  25.5  24.1  23.6  23.7  24.2  25.2  26.3  27.4  " into fld temp
Putstring "Dar_es_Salaam" into fld city
put 5 into countrycode

End DRS

On RYD
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "14.0  16.3  21.0  25.2  31.4  33.9  35.2  35.0  31.9  26.5  20.7  15.5  " into fld temp
Putstring "Riyadh" into fld city
put 6 into countrycode

End RYD


On THN
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave
Putstring "3.1   5.6   10.2  16.1  22.0  27.2  30.0  28.8  25.1  18.6  11.4  5.7   " into fld temp
Putstring "Tehern" into fld city
put 7 into countrycode


End THN

On ROM
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath NoSave

Putstring "8.0   8.8   10.6  13.4  17.3  21.0  23.6  23.8  21.0  16.8  12.4  9.1   " into fld temp
Putstring "Roma" into fld city
put 8 into countrycode

End ROM

On CPT
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave
Putstring "20.4  20.4  19.2  16.9  14.4  12.6  11.9  12.4  13.7  15.7  18.0  19.5  " into fld temp
Putstring "Cape_Town" into fld city
put 9 into countrycode


End CPT

On SF
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "9.2   11.1  11.9  13.1  14.5  16.2  17.1  17.6  17.8  16.1  12.6  9.5   " into fld temp
Putstring "San_Francisco" into fld city
put 10 into countrycode

 
End SF

On TKY
play click_e
OMath Open without menu      38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave

Putstring "5.2   5.6   8.5   14.1  18.6  21.7  25.2  27.1  23.2  17.6  12.6  7.9   " into fld temp
Putstring "Tokio" into fld city
put 11 into countrycode

End TKY



On SHA
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave


Putstring "3.7   4.4   8.5   14.2  19.2  23.4  27.8  27.7  23.6  18.3  12.3  6.1   " into fld temp
Putstring "Shanghai" into fld city
put 12 into countrycode


End SHA

On BRB
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave


Putstring "25.1  25.0  23.8  21.7  18.7  16.2  15.0  15.9  18.3  20.8  22.7  24.3  " into fld temp
Putstring "Brisbane" into fld city
put 13 into countrycode



End BRB

On MBN
play click_e
OMath Open without menu   38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave



Putstring "20.7  20.9  19.0  16.1  13.1  10.8  10.2  11.1  12.9  15.0  16.7  18.9  " into fld temp
Putstring "Melbourne" into fld city
put 14 into countrycode



End MBN

On BSN
play click_e
OMath Open without menu    38 , 43 , 475, 351
OMath Menu Grid 7
OMath NoSave



Putstring "25.4  25.8  26.7  27.4  27.6  26.9  26.2  26.5  26.4  26.9  26.5  26.0  " into fld temp
Putstring "Barcelona" into fld city
put 15 into countrycode




End BSN




On show_right_graph
play click_c


if x_countrycode is  0 then

if 1 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Singapore
unlock screen
end if
if 2 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Jakarta
unlock screen
end if
if 3 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Miami
unlock screen
end if
if 4 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Manaus
unlock screen
end if
if 5 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Dar_es_Salaam
unlock screen
end if
if 6 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Riyadh
unlock screen
end if
if 7 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Tehran
unlock screen
end if
if 8 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Rome
unlock screen
end if
if 9 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Cape_Town
unlock screen
end if
if 10 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_San_Francisco
unlock screen
end if
if 11 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Tokyo
unlock screen
end if
if 12 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Shanghai
unlock screen
end if
if 13 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Brisbane
unlock screen
end if
if 14 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Melbourne
unlock screen
end if
if 15 = countrycode then
lock screen
show btn p_singapore
set bitmap of btn p_singapore to p_Barcelona
unlock screen
end if
put 999 into x_countrycode
else
put 0 into x_countrycode
hide btn p_singapore

end if

End show_right_graph


