Walk Red and Blue from the bedroom to Lt. Surge - #606
Merged
Conversation
… met `tools/preview_world_story.gd -- red 0 38 3 6 1 none home story` drives a Generation 1 cache with the same tool as Crystal's: three badges, 35 fights and 75 steps, from Oak on the north path through the lab, the parcel, the forest, Brock, Mt. Moon, Cerulean, Bill, Misty, the robbed house, the Underground Path, the S.S. Anne, CUT and the Vermilion Gym. Fixed at their seams and pinned in the checks: - A connection landed at the source x: the importer stored `x_alignment` and nothing read it. The two bytes ride as `x_offset` and `y_offset`. - No TM or HM could be taught: `CanLearnTMHMMove` was bounded at eight flag bytes where `BaseStats` keeps seven. - A trainer paid a hundred times the prize with Crystal's quarter split on top: `bcd3` is read two bytes wide and `wAmountMoneyWon` is paid whole. - A map whose entry script opens on a branch had no dispatch byte. - A swapped-in text table stopped at the rows the objects name. - `hTextID` and `hSpriteIndex` are one byte, so a row a map script opens by id fights that object. - `TextCommand_ASM` runs code inside a printed text. - A hand-set BIT_SCRIPTED_MOVEMENT_STATE starts the joypad buffer's walk. - `wDestinationWarpID` is a test node and the ship's departure a node of its own; `DisplayDiploma` is a request. - A request list ending on its request answers the host with a terminal result, so a gift reaches the party. - `dec a` over `wSavedCoordIndex` tests one index higher.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tools/preview_world_story.gd -- red 0 38 3 6 1 none home storydrives a Generation 1 cache with the same tool as Crystal's: three badges, 35 fights and 75 steps, from Oak on the north path through the lab, the parcel, Viridian Forest, Brock, Mt. Moon's fossil floor, the Nugget Bridge rival, Bill's cell separator, Misty, the robbed house's yard, the Underground Path, the S.S. Anne and its departure, CUT on the gym's tree, the two trash-can locks and Lt. Surge. Blue walks the same route; Yellow stops on Pallet Town's north row atPalletTownPikachuBattleScript, whose BATTLE_TYPE_PIKACHU catch no battle here runs.Fixed
x_alignmentand nothing read it, so Route 1's road came out ten cells into Viridian's fenced corner. The two bytes ride asx_offsetandy_offsetnow, which isEnterMapConnection's own arithmetic.CanLearnTMHMMovewas bounded at Crystal's eight flag bytes whereBaseStatskeeps seven.pic_money'sbcd3is read two bytes wide asGetTrainerInformationcopies it, andwAmountMoneyWonis paid whole.hTextIDandhSpriteIndexare one HRAM byte: a row a map script opens by id fights that object, where Mt. Moon's super nerd had been the last rocket met.TextCommand_ASMruns code inside a printed text, which is how the captain's back rub sets its own flag and Pallet Town's Oak raises the!bubble.BIT_SCRIPTED_MOVEMENT_STATEisStartSimulatingJoypadStateswithout the call: the dock, Pokemon Tower 6F, Seafoam B3F and the three Saffron gates push the player a step that way.wDestinationWarpIDis adestination_warptest andVermilionDockSSAnneLeavesScriptanss_anne_leavesnode: the flag, its 1144 frames anddec [wNumberOfWarps]taking the gangway off the dock.DisplayDiplomais adiplomarequest, so the game designer's completed-dex line prints.Gen2WorldPartyHosthad refused every gift asruntime_request_failed.wSavedCoordIndexthree ways withdec aandjr nzbehind each other;dec aover that byte tests one index higher.Changed
Gen2WorldAPI.step_blocked_from,allows_hop_at,warp_pendingandgen2_code_atare what the story walk plans a path with, so one planner serves both generations;gen1_map_script_statereads the map's ownw<Map>CurScript.RomFile.s8andsigned_bytereplace three copies of the same helper.tools/checks/gen1_walk.gdcrosses Route 1 onto Viridian, takes the parcel, puts the lab's ball in the party through the host, fights the nerd off the map script, rubs the captain's back, sails the ship out and is pushed back by the Route 8 gate;gen1_tables.gdpins 3037 learnable species/machine pairs on Red and Blue and 3043 on Yellow;gen1_maps.gd's census carries the new nodes.