Quote (jajaja @ Jul 12 2016 02:51pm)
still unsure of how it works. i had to beat the first pokemon when i first took over, but that pokemon stayed in the gym after i beat it
so you were the lowest one
and the gym has a level 2 3 4 5 6
each level you have 2000 points
so level 2 gym has 4000 points
4000/6000 points
each time you beat a pokemon at a gym, the prestige goes down
as soon as it goes down to 2000/4000 the lowest cp pokemon gets kicked out
until it turns 0 where the top pokemon gets kicked out and you can now put your pokemon in that gym
you have to heal your pokemon first if you want to put one of the pokemons you were fighting with to be at the gym