Here is a combination script I made for 3rd generation Pokemon games:
http://www.mediafire.com/download.php?wdcglc1sddk36qq
It has the following functionality:
* You can specify the game. Games supported are Ruby/Sapphire U, Emerald U, Fire Red U, Ruby/Sapphire J, Emerald J (partially), Fire Red J.
* There are 3 main modes, player Pokemon stats, enemy Pokemon stats, and RNG stuff. The first key, "9", switches between these modes.
* Player Pokemon stats and enemy Pokemon stats lists things like stats, IVs, EVs, and how nature affects the stats (either "+" or "-"). The keys "7" and "8" switch between Pokemon in the party. Due to a bug, Pokemon numbers 7 and 8 are available even though they are meaningless. Only Pokemon numbers 1-6 are intended.
* RNG stuff consists of some RNG data in my earlier script, as well as a graphical RNG table. This part of the script looks at future RNG values and colors in the squares corresponding to desired values (such as for critical hits). The arrow points to the square in the upper left corner corresponding to the current RNG value.
* Currently supported are tables for critical hit, 95% miss, 90% miss, and Quick Claw, with each one having both a multiple-of-2 background shading, and a multiple-of-3 background shading (this is because in Pokemon Fire Red, some areas scroll 2 RNG values per frame in battle, and some other areas scroll 3 RNG values per frame in battle.
* One can switch between tables using the keys "7" and "8".
Note that critical hit tables have different coloring of critical hits corresponding to the amount of damage inflicted. That functionality only has meaning for multiple-of-3 mode.
I've mostly been using this for a Fire Red hack. But it works for other games too. It could still be improved, though.