pokeapi
pokeapi copied to clipboard
Body slam repeated for Avalugg
Not sure if this is a bug, but every entry for Body Slam in Avalugg appears twice: one for level 0 and another one for level 1.
Here's the URL to reproduce it: https://pokeapi.co/api/v2/pokemon/713
Is this expected or is it a bug? Serebii and Bulbapedia specify that is also learned during evolution, is that why it appears as level 0?
https://bulbapedia.bulbagarden.net/wiki/Avalugg_(Pok%C3%A9mon)#By_leveling_up https://www.serebii.net/pokedex-swsh/avalugg/#attacks
I think this was probably put in as a work around. The entry with Level 0 references learning method 0, which is for levelling up. Looking at https://pokeapi.co/api/v2/move-learn-method/ it doesn't seem like there is currently an entry for "Learnt when evolved".
You should be able to pick this out as most, if not all, moves learnt at Level 0 should be linked to learning method 1 - Egg
@helblingjoel but Body Slam is not an egg move for Avalugg. Take another example: Double Kick and Combusken: again, not an egg move and also appears as learnt at level 0 starting from gen 7 (previously, it only appeared as learnt at level 16, which non-coincidentally, is the level on which Combusken evolves).
I think this is not a bug, but rather an implementation detail, but it should be documented somewhere. I think that creating another learn method is overkill.
@simonorono Yeah I agree