po-devs/pokemon-online — pull request #1332 by VeteranPadgett (2014-12-15 09:35:02+00:00)
Title: Tooltip changes based on generation

Stats and type show correctly. For example, Magnemite was pure Electric in gen 1 and Electric/Steel in gen 2. I also changed the max possible hp shown for the opponent. Because the life percent is rounded down it is possible for the opponent Pokemon to have x.999% health.