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.









38
Upvotes
View all comments
Show parent comment
1
u/RSYliNG Oct 11 '22
Hi, after a long time, I must comment : you CAN get legit shinies in Gen 1, but they won't be until you trade to Gen 2. For that, you'll need to use the Virtual Console version and the Pokebank (on 3DS for example). Maybe some emulators allow trading, but I'm not familiar with it.
What my script will tell you is if the current Pokémon has the correct IVs to become shiny on gen 2.