if slot ~= 0 then
pokemon[slot].lv = pokemon[slot].lv +1
pokemon[slot].MAX_HP = pokemon[slot].MAX_HP +2.5
pokemon[slot].MAX_HP = pokemon[slot].MAX_HP - (pokemon[slot].MAX_HP %1)
pokemon[slot].ATK = pokemon[slot].STR +.5
pokemon[slot].DEF = pokemon[slot].DEF +.5
pokemon[slot].AGI = pokemon[slot].AGI +1
pokemon[slot].SPD = pokemon[slot].SPD +.5
pokemon[slot].SPA = pokemon[slot].SPA +.5
else
pokemon[current].lv = pokemon[current].lv +1
pokemon[current].MAX_HP = pokemon[current].MAX_HP +2.5
pokemon[current].MAX_HP = pokemon[current].MAX_HP - (pokemon[current].MAX_HP %1)
pokemon[current].ATK = pokemon[current].STR +.5
pokemon[current].DEF = pokemon[current].DEF +.5
pokemon[current].AGI = pokemon[current].AGI +1
pokemon[current].SPD = pokemon[current].SPD +.5
pokemon[current].SPA = pokemon[current].SPA +.5
end