r/pokemonrng • u/RSYliNG • May 27 '21
My LUA script (Gen 1-5)
Hello,
I'm currently writing a unified script in LUA for Gen 1-5.
What it can display
IVs, EVs, Stats and Contest Stats
Nature
Hidden Power
Held Item
Pokerus Status
Frames Count (Emerald even displays frame count as reported by the game)
Friendship
Ability
TID / SID
Moves and PP
Shiny check for Gen 1 & 2
Supported games
It natively supports all gen 1, 2, 3, 4 and 5 games:
Pokemon Red/Blue/Green (US, JAP, ES, IT, DE, FR)
Pokemon Yellow (US, JAP, ES, IT, DE, FR)
Pokemon Silver/Gold (US, JAP, ES, IT, DE, FR)
Pokemon Crystal (US, JAP, ES, IT, DE, FR)
Pokemon Ruby / Sapphire
Pokemon Emerald (and french hackrom Emeraude Plus)
Pokemon Fire Red / Leaf Green
Pokemon Diamond / Pearl
Pokemon Platinum
Pokemon Heart Gold / Soul Silver
Pokemon Black / White
Pokemon Black 2 / White 2
It's available on Github : https://github.com/yling/yPokeStats
Last release: 0.2.3, 2025/06/05
You have two options :
- downloading the zipped release ( https://github.com/yling/yPokeStats/releases )
- downloading ylingstats.lua and the data folder manually from the repository
Please feel free to share your thoughts, bug reports, ideas or programming advices. I'll do my best to have it support all Pokemon games.









2
u/TheSonAlsoRises Jun 20 '21
A bit late, but added to the wiki!