The first image shows I have RNG'd abused a 29/14/31/30/31/30 Snorunt which should be an HP Fire but on the opponent's side it shows as HP Bug instead.
On this one, I RNG'd an HP Grass Spheal: 31/13/30/30/31/31 but the lua displays it as HP Ghost on the opponent's side