average[0] = 7.9
average[1] = 61.7
average[2] = 46.63
average[3] = 12.3
average[4] = 7.76

backcard = sprite_add(working_directory + "\cards\tennis_men\backcard.png",0,0,1,1,0,1,1)
a_murray = sprite_add(working_directory + "\cards\tennis_men\a_murray.png",0,0,1,1,0,1,1)
a_roddick = sprite_add(working_directory + "\cards\tennis_men\a_roddick.png",0,0,1,1,0,1,1)
d_nalbandian = sprite_add(working_directory + "\cards\tennis_men\d_nalbandian.png",0,0,1,1,0,1,1)
d_tursonov = sprite_add(working_directory + "\cards\tennis_men\d_tursonov.png",0,0,1,1,0,1,1)
del_potro = sprite_add(working_directory + "\cards\tennis_men\del_potro.png",0,0,1,1,0,1,1)
f_gonzalez = sprite_add(working_directory + "\cards\tennis_men\f_gonzalez.png",0,0,1,1,0,1,1)
f_verdasco = sprite_add(working_directory + "\cards\tennis_men\f_verdasco.png",0,0,1,1,0,1,1)
g_monfils = sprite_add(working_directory + "\cards\tennis_men\g_monfils.png",0,0,1,1,0,1,1)
g_simon = sprite_add(working_directory + "\cards\tennis_men\g_simon.png",0,0,1,1,0,1,1)
i_andreev = sprite_add(working_directory + "\cards\tennis_men\i_andreev.png",0,0,1,1,0,1,1)
i_karlovic = sprite_add(working_directory + "\cards\tennis_men\i_karlovic.png",0,0,1,1,0,1,1)
j_blake = sprite_add(working_directory + "\cards\tennis_men\j_blake.png",0,0,1,1,0,1,1)
j_tipsarevic = sprite_add(working_directory + "\cards\tennis_men\j_tipsarevic.png",0,0,1,1,0,1,1)
j_tsonga = sprite_add(working_directory + "\cards\tennis_men\j_tsonga.png",0,0,1,1,0,1,1)
l_hewitt = sprite_add(working_directory + "\cards\tennis_men\l_hewitt.png",0,0,1,1,0,1,1)
m_cillic = sprite_add(working_directory + "\cards\tennis_men\m_cillic.png",0,0,1,1,0,1,1)
m_fish = sprite_add(working_directory + "\cards\tennis_men\m_fish.png",0,0,1,1,0,1,1)
m_safin = sprite_add(working_directory + "\cards\tennis_men\m_safin.png",0,0,1,1,0,1,1)
n_almagro = sprite_add(working_directory + "\cards\tennis_men\n_almagro.png",0,0,1,1,0,1,1)
n_davydenko = sprite_add(working_directory + "\cards\tennis_men\n_davydenko.png",0,0,1,1,0,1,1)
n_djokovic = sprite_add(working_directory + "\cards\tennis_men\n_djokovic.png",0,0,1,1,0,1,1)
n_kiefer = sprite_add(working_directory + "\cards\tennis_men\n_kiefer.png",0,0,1,1,0,1,1)
r_federer = sprite_add(working_directory + "\cards\tennis_men\r_federer.png",0,0,1,1,0,1,1)
r_gasquet = sprite_add(working_directory + "\cards\tennis_men\r_gasquet.png",0,0,1,1,0,1,1)
r_nadal = sprite_add(working_directory + "\cards\tennis_men\r_nadal.png",0,0,1,1,0,1,1)
r_soderling = sprite_add(working_directory + "\cards\tennis_men\\r_soderling.png",0,0,1,1,0,1,1)
r_stepanek = sprite_add(working_directory + "\cards\tennis_men\r_stepanek.png",0,0,1,1,0,1,1)
s_wawrinka = sprite_add(working_directory + "\cards\tennis_men\s_wawrinka.png",0,0,1,1,0,1,1)
t_berdych = sprite_add(working_directory + "\cards\tennis_men\t_berdych.png",0,0,1,1,0,1,1)
t_robredo = sprite_add(working_directory + "\cards\tennis_men\t_robredo.png",0,0,1,1,0,1,1)

ds_list_add(card,"a_murray")
ds_list_add(card,"a_roddick")
ds_list_add(card,"d_nalbandian")
ds_list_add(card,"d_tursonov")
ds_list_add(card,"del_potro")
ds_list_add(card,"f_gonzalez")
ds_list_add(card,"f_verdasco")
ds_list_add(card,"g_monfils")
ds_list_add(card,"g_simon")
ds_list_add(card,"i_andreev")
ds_list_add(card,"i_karlovic")
ds_list_add(card,"j_blake")
ds_list_add(card,"j_tipsarevic")
ds_list_add(card,"j_tsonga")
ds_list_add(card,"l_hewitt")
ds_list_add(card,"m_cillic")
ds_list_add(card,"m_fish")
ds_list_add(card,"m_safin")
ds_list_add(card,"n_almagro")
ds_list_add(card,"n_davydenko")
ds_list_add(card,"n_djokovic")
ds_list_add(card,"n_kiefer")
ds_list_add(card,"r_federer")
ds_list_add(card,"r_gasquet")
ds_list_add(card,"r_nadal")
ds_list_add(card,"s_wawrinka")
ds_list_add(card,"t_berdych")
ds_list_add(card,"t_robredo")
ds_list_add(card,"r_soderling")
ds_list_add(card,"r_stepanek")