Hello,
Well, I'm trying to do a program which opens the .pkm files and recognizes the data. This program, in the future will be a little minigame, where the pokémon imported from the pkm file will be able to fight against other players, gain experience, level up and evolve, and then, they will be able to be transfered to the original game from which they were exported.
My question is, does anyone know how it is posible to get the level of a pokémon stored in a pkm file? I guess this is a relationship between the level and the exp points, but I don't know how to get it. I know how to get the exp points knowing the level, but don't know the other way.
I've already searched in many websites, but I only find some complicated and incomplete formulas, but I think there must be a easier way to do that, because Pokesav and PokeGen can get the level from the exp Points.
If anybody could help me with that, I will be very grateful.