I'm posting a WIP, since I don't know how long it will take me to finish it (if I am able to finish)
http://www.mediafire.com/download/t2a67de6mu1ira1/PokemonFireRed_-_WIP.vbm
(Didn't upload to dehacked microstorage because it didn't seem to load for me)
I used FractalFusion's lua script most of the time. Well, I actually extended it to see when to hit Max Damage Non Critical Attacks (I need some of those in the run), Side Effects, and for Abra.
I do not know how to luck manipulate the seed created on Charizard screen (wild encounter RNG seed). Still, the best thing I could do was testing a bunch of seeds I was getting, and then I made a simple C++ program to check which seed would give me better results from Pallet Town to Pewter City. The best I could get was 4 wild encounters (capturing 2 of those), although I'm pretty sure it must exist a better seed.
Squirtle IVs:
HP: 29 / Atk: 31 / Def: 4 / Sp.Atk: 31 / Sp.Def: 9 / Speed: 29
Nature: Lonely (+atk / -def)
About the run:
- This is a WIP of a any% run. So I will just fight the Elite Four once.
- The WIP is done just after clearing Safari Zone.
- Rattata is used for Dig and Cut. Using Digglett is slower.
- 2 potions are used. First one is to survive Misty, 2nd one is to survive Surge's Raichu (it'd spam Shock Waves with lower HP).
- I get advantage of Torrent Ability when I can.
Some extra things:
- When entering on a new area, the wild encounter's RNG will not advance for the first 6 steps. However that sometimes don't happen (as you can see I was able to encounter Abra after 4 steps). So what I think is that for the first 6 steps, you can get wild enouncter's RNG advances, and I'm pretty sure that's determined by the other RNG address. Also, there are areas (such as Pokemon Tower) where the first RNG advance can be delayed for more than 6 frames.
- RNG seems to be different after the first time I enter in a Pokemon Center. Before that, RNG does 2 cycles per frame on a battle and 1 cycle when not battling, and after entering for the first time, RNG does 3 cycles when battling, and 2 cycles when not battling. The second one is easier to luck manipulate.