Skip to content

Testing with Charmander.

MajorLOL edited this page Nov 12, 2026 · 44 revisions

Testing with Charmander

Testing the Autostory with Charmander as the starter. The first playthrough (builds up to 88) went through the whole story, C0 to C19. Since build 89 a second playthrough from a new game is under way: it tests everything added since then (the new-game start, Escape Ropes, Max Repels, more Fly) and the fixes along the way.

Progress of the second playthrough

Chapter Segments Status
C0 New game (title screen, Oak's intro, the names, the first save) ✅ Builds 89–94
C0 – C4 C0_01_BEDROOM_TO_LAB to C4_03 ✅ 9 November (builds 93–95)
C4 – C6 C4_04_TEA_AND_GRIND to C6_01_SNORLAX_TO_FUCHSIA ✅ Builds 96–99 (the move list on Route 7: builds 96–97)
C6 C6_02_SAFARI_ZONE ✅ Build 100 (the desk's pages without an arrow)
C6 – C7 C6_03_GRIND_KOGA to C7_02_SILPH_CARD_KEY ✅ 10–11 November (build 100). Koga's training took about 4.5 hours
C7 C7_03_SILPH_GIOVANNI ✅ Giovanni won (one loss first); out of Silph Co. by the Escape Rope (build 103)
C7 – C8 C7_04_HMS_AND_GRIND to C8_02_MANSION ✅ 11 November (build 103). The Mansion twice from its save: a walk cut by a battle counted one tile too many (fixed in build 104); the third try went through, out by the Escape Rope
C8 C8_03_GRIND_BLAINE, C8_04_BLAINE ✅ 11 November (build 104), no errors. The training took 3.8 hours (Lapras 32 → 42 alone 3 hours: Lapras grows slowly); the quiz and Blaine at the first try
C8 C8_05_GRIND_GIOVANNI ✅ 12 November (build 105): Electrode, Vaporeon and Lapras to 47, the lead (Charizard) to 66
C9 C9_01_TO_VIRIDIAN to C9_04_VICTORY_ROAD ✅ 12 November (build 105): Giovanni (Earth Badge), the rival on Route 22 and the badge guards at the first try. Victory Road once from its save: a battle right on a one-step walk after a turn, the video unsure ("down: 0 of 1 (video unsure), 4 unsure, noise 4.0") and the look after the battle unclear, so the walk went one tile too far and the STRENGTH boulder was not there. The second try went through
C10 C10_01_GRIND_LEAGUE ⏳ Training in Victory Road for the Elite Four: Electrode 47 → 58 done (step 1), Vaporeon 47 → 58 (step 2). 12 November 14:20–17:13 (build 105, stopped by hand near the memory guard: +1,400 MB an hour, starting at 0.9 GB after the memory test). Go on from C10_01_GRIND_LEAGUE step 2 (the save of 17:10, at the nurse)
C10 – C19 C10_02 to C19_01_MEWTWO ⏳ Next
C20 C20_01_START to C20_11_VERMILION_SEVII (the Pokédex collection) ⏳ New in builds 98–99, not tested yet

First playthrough (all ✅): C0–C10 and the Hall of Fame up to build 60, C11 builds 61–64, C12 builds 64–69, C13–C15 builds 69–79, C16–C18 builds 81–84, C19 builds 86–88.

Setup

  • Starter: Charmander
  • Capture card: Elgato HD60 X (720p, NV12), audio input set (needed for shiny detection)
  • Controller: ESP32
  • Game: Pokémon FireRed (English)
  • New build: close the program first (the settings file UserSettings/SerialPrograms-Settings.json is only written when the window closes), then copy the UserSettings folder from the old build folder into the new one. At each save the program also writes two files of its own there: where to go on (PokemonFRLG-AutoStory-Save.txt) and the species it caught (PokemonFRLG-AutoStory-Caught.txt).
  • End after segment: C20_11_VERMILION_SEVII (the last segment; a saved setting keeps an older last segment such as C19_01_MEWTWO).

Options worth knowing

Option What it does
Check the start against the program's last save (on by default) At each save the program writes where to go on (UserSettings/PokemonFRLG-AutoStory-Save.txt). A run whose "Start at segment" and "Start at step" are not that place stops at once and names it. Turn it off for a new game, or after saving by hand somewhere else (then pick the segment and the step that start there).
Start a new game (off by default) From the title screen: NEW GAME, Professor Oak's intro with the two names below, and the first save in the bedroom (over the save on the cartridge), then the story from C0_01, whatever start is chosen. Turns itself off once the new game is saved. The game options of the old save are kept; without a save on the cartridge the program stops after the first save, to set Text Speed Fast, Battle Scene Off and Battle Style Set. If the program has saved since the last new game it made, it asks for "Check the start against the program's last save" to be turned off as well.
Player name / Rival name The names typed on the naming screen of a new game: up to 7 of A–Z a–z 0–9 space . , ! ? / - '. Empty: Ash and Gary. Oak's question ("So your name is ...") is read back; a name read wrong is typed again once.
Catch shiny Pokemon (on by default) When the shiny sound plays as a wild Pokémon appears, the program throws the best ball in the bag (Ultra > Great > Poké Ball, never the Master Ball) until it is caught, it gets away or the balls run out, then goes on with the story. In the Safari Zone at most 20 Safari Balls. Needs the game sound (capture card audio input).
Extra levels Levels on top of every training target (lead and team members). The program raises it by 3 by itself after a loss in the Elite Four or against the Champion. Set it back to 0 for a new game.
Grass step check (ms) How long to watch for a wild battle after a step in the grass, or after each walk along a training spot's grass line.
Running (experimental) (off by default) Holds B while walking, twice as fast, once the Running Shoes are in the bag (Pewter City). Only with "Check walking on the video" on, on maps that allow running and are not dark, and not on rock stairs. Single steps, ledges, steps in sight of a trainer and surfing stay as before. Turn it off if the player gets lost on the way.
Game (FireRed by default) FireRed or LeafGreen. The story is the same in both; the wild Pokémon differ, and with them what the Pokédex collection lists and catches.
Pokedex collection A table (double click to open it) with every species this game can register with this starter without trading: the number, the name, Caught (how many the program caught or knows of), Shiny (how many of them were shiny), Needed (1, or 2–3 where the evolutions cannot be caught: keep one, evolve the others; "evolve": only by evolving), when (story or after the Hall of Fame), where and how, and what the extra ones evolve into. It changes with the game and the starter. The line above it counts what is still missing. The program counts its catches, the game's ball mark ("caught before"), the team and the legendaries it caught; a reset to the last save takes back the catches since; a wrong number can be set by hand. A new game sets all counts to 0.
Pokedex collection: shiny only (off by default) In chapter 20 only shiny Pokémon of the species the table still needs are caught; all others are run from. The table then counts its Shiny column, and chapter 20 goes round its towns again and again until every species of its places has its shiny ones, or the program is stopped. Needs the game's sound; without it the program stops.
Shiny only: minutes per place (60 by default) How long each visit of a place hunts for shinies before going on to the next place.

Team (Charmander)

Slot Pokémon How it gets in the team Segment
1 Charmander → Charmeleon → Charizard Starter, learns HM01 Cut, later HM02 Fly C0_02_CHOOSE_STARTER, Cut in C3_03_CUT_AND_GRIND
2 Voltorb → Electrode Caught in the grass on Route 10 (up to 20 Poké Balls). Evolves at level 30 while training C4_02_ROCK_TUNNEL
3 Eevee → Vaporeon Gift on the roof of the Celadon Condominiums (no nickname). Water Stone bought at the Celadon Dept. Store 4F, then TM03 Water Pulse (replaces move 1) C4_04_TEA_AND_GRIND
4 Lapras Gift at Silph Co. 7F. Learns HM03 Surf (replaces Mist) and HM04 Strength (replaces Perish Song) C7_03_SILPH_GIOVANNI, C7_04_HMS_AND_GRIND

A shiny caught on the way joins at the end of the party (or goes to the PC when the party is full). If a team member joins after it, the program swaps the team back into the slots above before training, teaching an HM, using an item and the Elite Four.

The story after the Hall of Fame

The Hall of Fame saves the game; after the credits the program resets the game and goes on from Pallet Town.

The Master Ball and the birds (chapter 11)

Segment What
C11_01_MASTER_BALL Oak checks the Pokédex in Pallet Town. If Charizard does not know Fly yet, the program first gets HM02 on Route 16 and teaches it. Then it flies to Saffron City for the Master Ball from the Silph Co. president (11F)
C11_02_ZAPDOS Fly to Fuchsia City: Ultra Balls, as many as the money allows. Fly to Route 10: Zapdos in the Power Plant, with Ultra Balls
C11_03_ARTICUNO Fly to Fuchsia City, by Surf to the Seafoam Islands. On B3F two boulders go into the holes, which stops the current on B4F. Then the Ultra Ball on B4F, a save right in front of Articuno, and the catch with the Ultra Balls left

The Master Ball is never thrown at a shiny or at the legendary birds: it is kept for Suicune (C18_01_SUICUNE), which flees at once.

Catching without the Master Ball (the birds, Mewtwo): catch rate 3, so at full HP an Ultra Ball catches about 0.8% of the time, at a fifth of the HP about 2%. The program first brings the HP down with the weakest move of the Pokémon that is out, as long as one more hit (the most one hit took so far, plus a quarter) still leaves 6% of its HP. Then it throws the best ball in the bag until it is caught. If it faints or the balls run out, the save in front of it is loaded and it tries again, up to 25 times (these tries don't count for Retries).

The Sevii Islands (chapter 12)

Oak only gives the National Pokédex (needed for the rest of the Sevii story) after a Hall of Fame entry, with 60 species caught and One Island visited. On this first visit the ferry only goes between One, Two and Three Island, and Fly on the islands only has the islands' map: the way back to Kanto is with Bill, once Lostelle is found.

Segment What
C12_01_ONE_ISLAND Fly to Cinnabar Island, Bill in the Pokémon Center (YES), the ferry to One Island, Celio: the Tri-Pass
C12_02_ROCK_SMASH Kindle Road to the Ember Spa: HM06 Rock Smash, taught to Lapras in place of Hydro Pump
C12_03_TWO_ISLAND Ferry to Two Island: in the Joyful Game Corner Lostelle is missing
C12_04_THREE_ISLAND Ferry to Three Island: the bikers and Cue Ball Paxton (YES, four battles), 10 Ultra Balls at the Three Island Mart (fewer if the money does not allow it)
C12_05_LOSTELLE Bond Bridge and Berry Forest: Lostelle (a wild Hypno: run), back in the Joyful Game Corner the Meteorite for her father
C12_06_MOLTRES Ferry to One Island, Kindle Road, Mt. Ember (Strength, Rock Smash) to the summit: Moltres, weakened, Ultra Balls. After the catch the game is saved and loaded again (Strength off); the boulders stay where they were pushed on the way up, and the way down is between them
C12_07_BACK_TO_KANTO Bill and Celio in the One Island Pokémon Center, the ferry to Cinnabar Island

The National Pokédex (chapters 13–15, Charmander only)

Oak gives the National Pokédex once 60 Kanto species are caught and One Island was visited; Celio asks for the Ruby only then. The story itself has about 11 (the Charmander line, Voltorb/Electrode, Eevee/Vaporeon, Lapras and the three birds). The Poké Balls for some 50 more cost more money than the story leaves, so the Elite Four is played twice more first, for the prize money (about ₽30,000 each).

How a place is caught in (DEX step): the player walks back and forth on a line of grass (cave floor). Every species of the place's list that is not caught yet gets the cheapest ball in the bag (Poké Ball, then Great Ball, then Ultra Ball), at full HP, at most 20 a battle, never the Master Ball; other species are run from. The game's ball mark in the foe's box says whether a species was caught before. The program leaves a place once all its species are caught, after 25 battles in a row with none, or after 30 minutes. In the Safari Zone it throws Safari Balls until the game ends (600 steps or 30 balls). The two Nidorans read alike: there the Pokédex page that comes up for a new species decides. The option Caught by the program keeps the species caught (as of the last save); clear it only for a new game.

Segment What
C13_01_*, C13_02_* The Elite Four and the Champion twice more (no items bought), Hall of Fame, Oak's rating
C14_01_VIRIDIAN_FOREST Poké Balls in Viridian City, Viridian Forest
C14_02_ROUTE3_MT_MOON Escape Ropes and Poké Balls in Pewter City, Route 3, a Magikarp (₽500) in the Pokémon Center at Mt. Moon, Mt. Moon B2F
C14_03_POKEMON_TOWER Pokémon Tower 7F
C14_04_POWER_PLANT Power Plant
C14_05_SAFARI_ZONE Two Safari Games (₽500 each): the center and the east
C14_06_SEAFOAM Seafoam Islands B3F
C14_07_MANSION Pokémon Mansion 1F
C14_08_ROUTE11_DIGLETT Poké Balls in Vermilion City, Route 11, Diglett's Cave
C14_09_VICTORY_ROAD Victory Road 2F
C14_10_KINDLE_ROAD Poké Balls in Vermilion City, the ferry to One Island, Kindle Road
C14_11_BOND_BRIDGE Ferry to Three Island, Bond Bridge; Berry Forest only with fewer than 64 species; the ferry back to Vermilion
C15_01_ENOUGH With fewer than 60 species (as the game counts them: the POKéDEX number on the load menu) the program stops here. Full Restores at the Indigo Plateau with the money left
C15_02_ELITE_FOUR, C15_02_CHAMPION The League once more. Only before the National Pokédex: from then on a guard closes Lorelei's door until the Ruby and the Sapphire are in Celio's machine
C15_03_NATIONAL_DEX Oak: "Impressive!", the lab, the National Pokédex
C15_04_EXP_SHARE Fly to Fuchsia City, Route 15: Oak's aide upstairs in the gate (50 species caught): YES, the EXP. SHARE, held by Charizard

The Ruby, the Sapphire, Suicune and Mewtwo (chapters 16–19, Charmander only)

The Ruby and the Sapphire are two gems (key items) that Celio needs for his Network Machine. Once both are in it, the roaming legendary starts roaming Kanto: Suicune for the Charmander player.

Segment What
C16_01_CELIO_RUBY Fly to Vermilion City, the ferry to One Island, Celio asks for the Ruby
C16_02_RUBY_PATH Mt. Ember: two Rockets tell the first password of the Rocket Warehouse and fight. The Ruby Path (boulders on B2F and B3F, Rock Smash), the Ruby on B5F, back up by the other stairs
C16_03_RAINBOW_PASS Celio: the Ruby goes in the machine (YES to "one more favor"), the Rainbow Pass for all seven islands
C17_01_ICEFALL_CAVE Ferry to Four Island, Icefall Cave: the thin ice to B1F, the ice of B1F to the ladder up, HM07 Waterfall, taught to Vaporeon in place of its weakest move
C17_02_LORELEI Up the waterfall of the cave entrance, to the back of the cave: Lorelei and the poachers. Only after that does the scientist step away from the door of the Dotted Hole
C17_03_DOTTED_HOLE Ferry to Six Island, Ruin Valley: Charizard uses Cut in front of the braille on the door. The Dotted Hole, the Sapphire; Gideon takes it
C17_04_ROCKET_WAREHOUSE Ferry to Five Island, Five Isle Meadow: the warehouse (both passwords), the spinners, the admin, Gideon: the Sapphire back
C17_05_NETWORK_MACHINE Ferry to One Island: the Sapphire for Celio. The Network Machine works, and Suicune is out
C18_01_SUICUNE Ferry to Vermilion City, fly to Route 10: back and forth in the grass north of the Pokémon Center, every 3 battles in and out of the Pokémon Center (each warp sends Suicune to another route). Met, it gets the Master Ball at once. Expected: about an hour, at most 6 hours
C19_01_MEWTWO Ultra Balls in Fuchsia City, fly to Cerulean City, by Surf into the cave, a save in front of Mewtwo (B1F, level 70). Weakened, then the Ultra Balls (up to 26 tries from that save). Caught: saved on the spot, the first two of the team healed from the bag, then back to Cerulean City running from wild battles

The other two roaming legendaries (Entei with Bulbasaur, Raikou with Squirtle) never appear in a Charmander save: they need a run with another starter, or a trade.

The Pokédex collection (chapter 20, Charmander only)

After Mewtwo the story goes on by itself with chapter 20: it catches what the Pokedex collection table still needs (one of each species, a second or third where the evolutions cannot be caught). One segment per town: it flies there (also to the town the player is in: the Fly map allows that) and walks to every place nearby, a round trip from the nurse, saved after each place. A place where the table needs nothing is skipped ("still wanted here: ..." or "the next N steps are skipped" in the log), and so is a whole town. In each place it catches only what the table needs for the chosen game; the extra ones to evolve are caught even when the game shows the ball mark. A visit lasts at most 30 minutes, or until 30 battles in a row bring nothing, or until the lead is below 35% HP or fainted (catching at full HP lets the wild Pokémon hit back: Cerulean Cave has levels 46 to 67); then back to the nurse. Every place gets a second visit (Cerulean Cave B1F a third), skipped when nothing is needed there any more. Poké Balls are bought in Cerulean City, Viridian City and Vermilion City (as many as the money allows).

Segment Places
C20_01_START Out of the Cerulean City Pokémon Center (where Mewtwo's segment ended)
C20_02_CERULEAN Route 24, Route 4, Cerulean Cave B1F and 1F
C20_03_MT_MOON Mt. Moon B2F, Route 3
C20_04_VIRIDIAN Viridian Forest, Route 22, Route 23
C20_05_VICTORY_ROAD Victory Road 2F
C20_06_ROUTE10 Power Plant, Rock Tunnel
C20_07_LAVENDER Pokémon Tower, Route 8, Route 12
C20_08_CELADON Route 16
C20_09_FUCHSIA The Safari Zone (each area twice, the second game only if the first left something), Routes 14, 15 and 18, Seafoam Islands
C20_10_CINNABAR Pokémon Mansion, Route 21
C20_11_VERMILION_SEVII Route 11, Diglett's Cave, Route 6, then the Seagallop to the Sevii Islands: Kindle Road, Treasure Beach, Ruby Path; Cape Brink; Bond Bridge, Berry Forest; Icefall Cave; Five Isle Meadow, Lost Cave; Ruin Valley, Pattern Bush, Water Path; Sevault Canyon; back to Vermilion City

The Switch version puts the Mystic Ticket and the Aurora Ticket in the bag after the Hall of Fame, so the Vermilion sailor first talks about them and asks Sevii Islands / Navel Rock / Birth Island; the program reads that menu and picks Sevii Islands, then One Island.

Shiny only: the places are visited the same way, but only shiny Pokémon of the species still needed are caught (the best ball in the bag); a visit lasts "Shiny only: minutes per place", or ends right after a shiny is caught (back to the nurse to save it). After C20_11 the program starts again at C20_02_CERULEAN as long as a species of these places still has fewer shiny ones than needed. One wild Pokémon in 8192 is shiny: at about two battles a minute some 70 hours per shiny on average, and much more for rare species.

Not in chapter 20 yet: see Planned.

How the program gets around

Fly (Charmander only): after Erika (C4_05_ERIKA) the program gets HM02 from the woman in the house on Route 16 and teaches Fly to Charizard, in place of its weakest move. From then on every walk to a goal (a Pokémon Center, a person, a door, a place) looks at Fly: to the visited town from which the goal is nearest, when that is faster (Fly counts as about 27 s against half a second per tile walked).

Escape Rope: out of a cave or a building in one go, to where it was entered from outdoors (one tile below the entrance, facing down), where that is clearly faster than walking out; never to come back in. Without one in the bag (not enough money at the Poké Mart) the program walks out. Used in Silph Co. (C7_02, C7_03), the Pokémon Mansion (C8_02), the Seafoam Islands (C11_03), Mt. Moon, the Pokémon Tower, the Seafoam Islands and Berry Forest (C14), Ruby Path (C16_02), Icefall Cave (C17_02) and Cerulean Cave (C19_01, the 12-minute walk out).

Max Repel (after the Hall of Fame only): 250 steps without wild Pokémon weaker than the lead, used before a walk with at least 60 tiles where wild Pokémon appear (Power Plant, Seafoam Islands, Mt. Ember, Ruby Path, Cerulean Cave). Those tiles are then walked in one go, and the team arrives at a legendary Pokémon unhurt. Never while catching for the Pokédex. The text "REPEL's effect wore off…" on the way is closed and the walk goes on.

When an HM is taught, the program reads the four moves on the screen and replaces the weakest one that is not an HM.

Shopping on the way

As many as the money allows.

Segment What
C2_06_GRIND_MISTY 15 Poké Balls at the Cerulean Mart (for Voltorb)
C4_04_TEA_AND_GRIND Water Stone at the Celadon Dept. Store 4F
C5_03_TO_LAVENDER 3 Escape Ropes, then 5 Great Balls at the Lavender Mart (for a shiny)
C6_01_SNORLAX_TO_FUCHSIA 5 Ultra Balls at the Fuchsia Mart (for a shiny)
C10_02_ITEMS 15 Full Restores and 8 Revives at Indigo Plateau (₽57,000), then 5 Ultra Balls with the money left
C11_01_MASTER_BALL 1 Escape Rope at the Saffron Mart
C11_02_ZAPDOS 2 Max Repels, then Ultra Balls at the Fuchsia Mart (for Zapdos and Articuno)
C12_04_THREE_ISLAND 2 Max Repels, then 10 Ultra Balls at the Three Island Mart (for Moltres)
C14_01 80 Poké Balls at the Viridian Mart
C14_02 5 Escape Ropes, then Poké Balls (99 at most)
C14_08, C14_10 Poké Balls (99 at most), for the Pokédex
C15_01_ENOUGH 6 Full Restores at Indigo Plateau with the money left
C15_04_EXP_SHARE 2 Max Repels at the Fuchsia Mart (Ruby Path)
C17_01_ICEFALL_CAVE 2 Escape Ropes at the Four Island Mart (Icefall Cave, Cerulean Cave)
C19_01_MEWTWO 1 Max Repel, then Ultra Balls at the Fuchsia Mart
C20_02, C20_04, C20_11 Poké Balls at the Cerulean, Viridian and Vermilion Marts (99 at most), for the Pokédex collection

Level training

Target levels per training spot. Each Pokémon trains in front (party slot 1) until it reaches its target, then the game is saved; a Pokémon already at its target skips that part. Extra levels adds levels on top of every target. A training spot is a straight line of 4–5 grass tiles walked from end to end, off the paths of people walking around and trainers, away from boulders, item balls, trees, ledges and doors (in the dark 2 tiles). After every battle the program compares the screen with a picture of the first tile to know where the player stands.

Segment Where Grass line Charizard (lead) Electrode Vaporeon Lapras
C1_02_GRIND_ROUTE2 Route 2 (south) 5 9 – – –
C1_04_GRIND_BROCK Route 2 (north), for Brock 5 18 – – –
C2_03_GRIND_RIVAL Route 4, for the rival 5 25 – – –
C2_06_GRIND_MISTY Route 24, for Misty 4 34 – – –
C3_03_CUT_AND_GRIND Route 11, for Lt. Surge 4 30 – – –
C4_04_TEA_AND_GRIND Route 7, for Erika 5 36 25 30 –
C6_03_GRIND_KOGA Route 15, for Koga 5 50 33 35 –
C7_04_HMS_AND_GRIND Route 7, for Sabrina 5 47 – – 32
C8_03_GRIND_BLAINE Pokémon Mansion, for Blaine 4 52 42 42 42
C8_05_GRIND_GIOVANNI Pokémon Mansion, for Giovanni 4 66 47 47 47
C10_01_GRIND_LEAGUE Victory Road, for the Elite Four 5 74 58 58 58

Rare Candies: 7 are picked up close to the route, in Mt. Moon (C2_02), Cerulean City and Route 6 (C3_01), Route 9 (C4_01), the Rocket Hideout (C5_01), the Pokémon Tower (C5_04) and Route 12 (C6_01). They are all used at C10_01_GRIND_LEAGUE, where a level takes the most battles: on each Pokémon before it trains, up to its target level.

Elite Four and Champion

From C10_03_ELITE_FOUR on, all four Pokémon fight. The program switches to the Pokémon that matches up best.

  • During a trainer battle: below a third of its HP, the Pokémon that is out gets the best healing item in the bag (Full Restore, Max Potion, Hyper/Super Potion).
  • Between the rooms: a Revive for whoever fainted, and a Full Restore only for those below 60% of their HP (the Full Restores are needed in the battles too). Then the game is saved.
  • A move without PP is left out for the rest of the battle.
  • After a loss: the save before the room is not reloaded (between the rooms only HP comes back, not PP, so a retry from that save would lose the same way). The program goes on from the Pokémon Center of the Indigo Plateau (where a loss puts you, healed, with the Elite Four reset), saves there, raises Extra levels by 3, trains again (C10_01_GRIND_LEAGUE), buys items and plays the whole League again (at most 6 times).

Changelog

Second playthrough (builds 89 and later)

Build Change
89 Start a new game (options: player and rival name): NEW GAME from the title screen, the intro with the names typed and read back, the first save in the bedroom, then C0_01. Escape Ropes out of caves and buildings where that is clearly faster. Max Repels after the Hall of Fame before long walks among wild Pokémon. More Fly: every walk to a goal looks at Fly
90 New game: the naming screen is recognized by its picture and its title (build 89 typed AAAAAAA for both names)
91 New game: the NES text in the bedroom ends the intro; without both names typed the new game starts over instead of saving names of A
92 New game: the first save picks SAVE in the start menu without POKéMON (build 91 kept opening OPTION)
93 Saving: the "WARNING! There is a different game file..." pages are paged through and answered YES (B said NO there, so no save of the new game happened); every save counts only once "SAVING..." or "saved the game" is seen. In battle, a move cursor not seen goes to the move by up/left first
94 The text box is read from the inside of its frame (its first letter was cut off: "WARNING!" was not read)
95 Walking: a run where the picture changes before any move was seen (a battle or a trainer right after a turn) counts no step (Route 1: a tile off, into a wall in Viridian City)
96 Battle: a screen without move names is no longer taken for the move list from the second time in a row; after 12 times an error report
97 Battle: the 20-minute battles on Route 7: the foe's PAR badge covers the ball mark, the only sign of the foe's box, so every move list was checked against the overworld with B, which closed it. The foe's HP bar now also counts as its box
98 The Pokédex collection: options Game and Pokedex collection, chapter 20 after Mewtwo, the Seagallop's ticket menu. The type data had no Bulbasaur (fixed)
99 Shiny only for the Pokédex collection (and its minutes per place); chapter 20 renumbered (C20_01_START, every town starts with Fly)
100 Safari Zone desk (C6_02): the last page of a message has no advance arrow, and the program waited 8 s on each of three such pages, so the 40 s of the scene ran out. Now A after 2.5 s on a page with real text, and up to 90 s. Walking: a run measured more than one tile too far is not stepped back (the video was off: "22 of 18" on Route 7)
101 Safari Zone (C6_02): the 600 steps after HM03 Surf are used up running along an 11-tile line between two walls (about 5 steps a second, was 2)
102 Memory (a test): no ONNX Runtime memory arena and memory patterns for the text reading (PaddleOCR gets a new input size with nearly every text). The memory line in the log now gives the growth per hour
103 Escape Rope: after USE the game shows "... used the ESCAPE ROPE." and waits for a button; nothing pressed it, the B's after "no warp" did and the player went out unseen (Silph Co., C7_02 and C7_03). Now A for that message until the screen goes black; "This isn't the time to use that!" on a second try means the player is out already
104 Walks cut by a battle: the first frames of the battle's flash read as half a tile more ("264 px (17 tiles)" after 16 steps in the Mansion, C8_02), so the rest of the walk ended one tile short and the next leg ran into a wall ("The player does not move", twice). When the screen changed, a tile now counts from 10 px on: "counted as 16 tiles (screen changed)". Memory: the memory line gives the minutes spent in each activity too, to tell a leak that goes with time from one that goes with battles
105 Memory test: the option "Memory test (minutes per part)": instead of the story, 6 parts with no buttons (nothing; video frames; an empty screen watcher; the walk and battle watchers; text reading twice a second; the shiny sound), each with its memory growth in the log
106 Memory test 2: the memory test takes the video frames as they come from the capture card and turns them into pictures in five ways (PA's pictures; Qt's conversion; the same on PA's thread pool; Qt's conversion after mapping the frame, as the stream history does; a conversion of its own, its colors compared to Qt's), 10 minutes each
107 Video frames without Qt: PA's pictures of the screen are made by its own YUV conversion (NV12, NV21, YUV420P, YV12, YUYV, UYVY) once its colors match QVideoFrame::toImage() on 8 frames with colors (in all PA programs; PA_QT_FRAME_CONVERSION=1 keeps Qt's). Walks cut by a battle: an unclear look after the stop gets a second look 0.7 s later. Build number at the top of the log: "FRLG AutoStory build N"

First playthrough (builds 53–88)

Build Change
53 Catch shiny Pokémon (option); Great and Ultra Balls bought on the way
54 Training along a line of 4–5 grass tiles instead of 2
55 A loss in the League trains more and starts the League over; members train to 58; moves without PP left out
57 Healing items in trainer battles; Full Restores between rooms only below 60% HP; option Running (experimental)
59 Rare Candies picked up and used at the League training; after the Hall of Fame: the Master Ball and Zapdos
60–62 Articuno; Fly; the Master Ball kept for the roaming legendary; legendary battles up to 150 minutes
63–64 The Sevii Islands with Bill: Rock Smash, Lostelle, Moltres (chapter 12)
65 The National Pokédex (chapters 13–15)
66 The Ruby, the Sapphire and Suicune (chapters 16–18)
67–69 The bikers answered YES; the move list while catching; down from Mt. Ember between the pushed boulders
70–73 League retries from the save in front of a room; the fog of the Pokémon Tower; the Seagallop with the Tri-Pass
75–79 EXP. SHARE and Mewtwo; the caught species from the game (POKéDEX number, ball mark); the program's last save and the start check; YES cutscenes without START/B checks
80–85 Celio at his second spot; the rival's scenes on Four and Six Island; CUT from the party menu; no landing on an item ball from the water
86–88 Mewtwo: saved right after the catch, Surf only from the right floor, the move list checked against the overworld, the team healed from the bag after the save

Planned

  • The Pokédex collection, next steps: surfing, fishing (the rods), Rock Smash; gifts, Game Corner prizes, in-game trades, the Togepi egg, breeding at the Four Island Day Care (Pichu, Cleffa, Igglybuff, Smoochum, Elekid, Magby, Tyrogue, Azurill, Wynaut), the ticket legendaries (Lugia, Ho-Oh, Deoxys), evolving the extra ones (level, stones, friendship). Also the grass of Mt. Ember (behind Rock Smash rocks and Strength boulders: Magmar in LeafGreen), Unown (only after the Tanoby Key puzzle) and Dunsparce (through the Dunsparce Tunnel).
  • FireRed and LeafGreen apart in the story. The option Game is only used by the Pokédex collection so far. Still planned:
    • the wild Pokémon of that game for the route risk, the repel choice and how long catching takes (Ekans, Oddish, Psyduck, Growlithe, Shellder, Scyther, Electabuzz only in FireRed; Sandshrew, Vulpix, Bellsprout, Slowpoke, Staryu, Pinsir, Magmar only in LeafGreen);
    • the team and its moves checked for both games (with Squirtle: Oddish in FireRed, Bellsprout in LeafGreen for Cut).
  • The memory growth: found and fixed in build 107 (to confirm in a long run). Qt's conversion of the video frames into pictures (QVideoFrame::toImage(), on this computer on the GPU) leaks memory with each picture; PA makes 13–20 pictures a second for the screen watchers. Memory test 2 (build 107, 12 November, 10 minutes a part, ~8,000 pictures each): PA's pictures, now without Qt −27 MB; Qt's conversion +77 MB (10 KB a picture); on PA's thread pool +101 MB (13 KB); after mapping the frame +104 MB (13 KB); the own conversion −7 MB. The own conversion's colors match Qt's: BT.709 limited range with the colors between their samples, mean difference 0.17, largest 2 (of 255); it takes about 9 ms a picture, as Qt's did. Before: 260–1,600 MB an hour in long runs, depending on the PA session; the memory guard stopped runs after 2.3–5.9 hours.
  • Earlier: about 1.1–1.2 GB an hour with build 100 (two runs; the memory guard stopped the program after 3.5 hours on a 12 GB computer), about 800–900 MB an hour with builds 102–104 (no ONNX memory arena for the text reading; the guard stopped after 5.7–5.9 hours). Less, but not gone. The minutes per activity (build 104) show it goes with the time, not with one thing the program does: walking about 890 MB an hour, grass runs 870, battles with their text reading about 1,050. So something that runs all the time: the video frames, the stream history or the sound. The next test: PA's Settings, Stream History off for one run (it was still on in the run with build 104: "Starting stream history..." at the top of the log).

To check in the next run

  • Video frames without Qt (build 107): near the start of the log "Video frames (NV12 1280 x 720): converted without Qt from now on (BT.709 limited, bilinear)". Then the screen watchers as usual, and the memory line of a long run ("+Y MB an hour", close to 0) against 800–1,600 before; no stop by the memory guard.
  • Walks cut by a battle (build 104): "counted as N tiles (screen changed)" where the video read half a tile more, and the next leg starting from the right tile.
  • Safari steps (build 101, only if C6_02 is played again): "running along 11 tiles between two walls".
  • The ball mark in wild battles: "The foe's box has the ball mark ..." for a species caught before. *Up to C7_03: over 500 wild battles, all "no ball mark" and right, never "not read"; the