Bug: Leveling up a shiny Caterpie in the team at a high level floor resulted in it "warp evolving" to Butterfree, failing to register a shiny Metapod on the pokedex. It might be because the levels all stacked so fast it didn't know what to do??
The game uses a loop that applies experience. If the XP gain is massive (which often happens on higher floors), the loop moves the Pokémon from level 5 to level 15 (for example) in a single frame of calculation.