TASVideos

Tool-assisted game movies
When human skills are just not enough

Game Information

GBC Pokémon: Silver Version

  • Platform: GBC (Game Boy Color)
  • Abbreviation: pokesilv
  • Display name: Pokémon: Silver Version
  • Goodtools name: Pokemon - Silver Version
  • Game resources: GameResources/GBx/PokemonGen2
  • In group: Pokémon

[Tier: Moons][Console-verified]GBC Pokémon: Silver Version (USA/Europe) in 2:54:21.2 by CasualPokePlayer & EZGames69.
BizHawk Movie (.bk2) (date: 2020-08-02)
MKV file via BitTorrent (Modern HQ) (size: 146.82 MB, length: 2:57:23)
MP4 file via BitTorrent (Compatibility) (size: 218.91 MB, length: 2:57:23)
Mirror archive.org (MKV Modern HQ)
Mirror archive.org (MP4 Compatibility)
Watch on (www.youtube.com)
Submission #6793 — Author's comments
Discuss this movie
Obsoletes movie #564 (2:54:27.15)
Rating: Too few votes (2) to display
View Publication
- Contains speed/entertainment tradeoffs
- Takes damage to save time
- Forgoes major skip glitch
- Forgoes final boss skip glitch
- Uses a game restart sequence
- Forgoes time-saving glitches
- Foregoes memory corruption
- Heavy luck manipulation
- Genre: RPG
Pokémon Silver and Gold form the second generation of Pokémon, after Pokémon Red and Blue. The main differences between the generations is that the game is now in full color, and that there are 251 Pokémon instead of 151.

This movie plays through Pokémon Silver in a fairly fast manner, catching only a half dozen Pokémon in the process, but acquiring all the gym badges, and ultimately beating the protagonist of the previous generation of Pokémon games.

The authors of this movie have written very extensive details of anything regarding this movie, including even some of the mathematical formulas used by the game. As usual, we recommend reading these comments.


You can watch the complete run played back on console

[Tier: Moons]GBC Pokémon: Silver Version (USA/Europe) "Coin Case glitch" in 30:39.49 by MrWint.
Bizhawk movie (.bkm) (date: 2014-04-03)
MKV file via BitTorrent (Modern HQ) (size: 28.53 MB, length: 34:36)
MP4 file via BitTorrent (Compatibility) (size: 28.45 MB, length: 34:36)
Mirror www.archive.org (MKV Modern HQ)
Mirror www.archive.org (MP4 Compatibility)
Watch on (www.youtube.com)
Submission #4233 — Author's comments
Discuss this movie
Obsoletes movie #2504 (54:24.96)
Rating: 7.5 (13.5 votes)
View Publication
- Takes damage to save time
- Major skip glitch
- Final boss skip glitch
- Executes arbitrary code
- Heavy glitch abuse
- Corrupts memory
- Heavy luck manipulation
- Genre: RPG

This movie has been obsoleted!

Click here to see the movie that obsoleted it.
Pokémon: Silver Version takes place 3 years after Blue, Red and Yellow, and puts the player in a brand new world: Johto. The gameplay is very similar to the previous games, but with several improvements, including new functions for the player's PokéGear, a Pokédex that can now be sorted by evolution type, and of course, new Pokémon.

In this run, MrWint uses a glitch involving the Coin Case to execute arbitrary code and finish the game 24 minutes faster than the previous version. As with his TASes of Red Version, the entire input file was generated by a computer program that brute forced the game for optimal luck manipulation. The expansive testing done by the program is the reason for the astronomical rerecord count.

We also have a run of a second generation Pokémon game that avoids corrupting the memory.

#64200414251443809 -
pokesilver.lua (13.4kB Lua script)
Uploaded 2020-06-22 06:24:19 by CasualPokePlayer (8 files)
For GBC Pokémon: Silver Version (1 file)
462 views, 60 downloads
lua used in Silver TAS
Info Download

The purpose of this page is to document all known tricks of the Pokemon generation 2 games on Game Boy Color, which include Gold, Silver, and Crystal.

Table of contents [expand all] [collapse all]

  • G/S = Gold/Silver
  • C = Crystal
  • RNG = Random Number Generator

Luck Manipulation

Gen 2, like Gen 1, revolves its RNG around the rDIV. The rDIV is essentially a 16-bit CPU cycle counter, with only the upper 8 bits able to be seen. The exact function is also fairly similar: take the rDIV, then add it to hRandomAdd, then subtract it to hRandomSub. This is done every time Random is called, and an equivalent function is also done at Vblank. For all intents and purposes, hRandomSub is the main RNG byte used for randomness, with hRandomAdd secondary (and rarely used). In G/S, hRandomAdd is at 0xFFE3, and hRandomSub is at 0xFFE4. In C, hRandomAdd is at 0xFFE1, and hRandomSub is at 0xFFE2.

Luck manipulation primarily revolves around a function called PrintLetterDelay. This function is responsible for delaying text, notably making it so with FAST text, each character is delayed so text is printed at 1 frame per character. This 1 frame per character speed is also done if A or B is held, but this results in a different amount of cycles used. This can often be used to offset Random calls, by simply pressing A/B on the 1 or 2 frames before the Random call happens. It should be noted that you can hold down A/B while text is printing for a while to get a minor effect on RNG, but this should be cautioned, as often any "major effects" end up actually being the result of a Vblank leak, which ends up almost the same if you just had a frame of delay when manipulating (emphasis on almost, the differences can sometimes prove useful).

In G/S only, whether or not you press a button before a lag frame (e.g. decompressing sprites, loading new maps, etc.) can have a substantial affect on RNG.

Trainers choose their move before the player does (before the FIGHT/PKMN/PACK/RUN menu appears). Most trainers have AI, with the trainer class dictating the level of AI they have (with the exception of Gym Leaders and the Elite 4, who all have individual levels of AI). In general, more complicated AI results in more Random calls, which results in greater variance when abusing PrintLetterDelay. As a minor note, unlike trainers, wild Pokemon choose their move after the player chooses theirs. More specific info on AI can be found here.

When catching Pokémon, the frame you enter the PACK and when you select USE on the Pokeball will highly greatly affect RNG, with PrintLetterDelay minorly affecting the catch roll. Walking around in the grass with different paths has a mild influence; the desired type of Pokémon is not likely to change, but its DVs are likely to change. Pressing A at certain points can sometimes affect RNG, most notably when loading in a randomly moving sprite.

When attacking, the game does most of the calculations (and random calls) happen after the "(pokemon) used (move)" textbox is printed, first to roll a critical hit, then it does a damage roll, then it does an accuracy roll (if needed), then it does an effect roll (if needed). There are a few things to watch out for:

(Game Mechanics)

  • When both Pokémon have the same speed, and both moves have the same priority, the one going first is decided when the attack is selected in the menu.
  • When using Quick Claw (1/4 chance to go first if slower, all other things being equal), the chance is determined when the attack is selected.
    • Priority overrides the Quick Claw effect; the Quick Claw is only used if both moves have equal priority.
  • Paralyze effect (unable to move) is determined just before the attack is attempted, and confusion effect (self-damage) is determined after "(Pokémon) is confused!"

(Overworld)

  • Some things like the direction that a randomly looking trainer looks, as well as people movement, can be manipulated.
  • Wild Pokémon encounters are determined when you step into a patch of grass.

(Pokémon personal stats)

  • Personal stats (DVs) for the starter Pokémon are determined when you obtain the Pokémon, specifically when the "(player) received Pokemon!" textbox is closed. Shininess is linked the DVs.
  • Personal stats for wild Pokémon are determined on encounter.

(Pokerus)

  • Essentially a "virus" for Pokemon, this ends up being helpful for the host, doubling the Stat Exp. (essentially the EVs of Gen 1-2) it obtains in battle. This however has a glaring restriction, your Pokemon cannot contract Pokerus until you visit Goldenrod City, leaving the player locked out of Pokerus for the early game.

Useful memory addresses (GS)[1]

D0F5-D0F6: DVs of current opponent. This is used to determine the DVs of wild Pokémon that you want to catch.

D0FF-D10C: Stats of current opponent. Each value is two-byte big-endian in the following order: current HP, total HP, attack, defense, speed, special attack, special defense. The current HP is the most important.
(Note: Focus on D100, D102, ... instead of D0FF, D101, ...)

D141-D142: Amount of damage (big-endian) that an attack is about to do. How this address works is rather convoluted. Calculations begin after the dialog “X used attack”.

  1. The base damage is calculated (if critical hit, it is considered) and placed in D142.
  2. If attack is super-effective or not-very-effective or such, multiply D142 appropriately.
  3. If a multiplying factor such as Rage is involved, multiply D142 appropriately.
  4. If any other factors, multiply D142 appropriately.
  5. Random reduction factor, multiply D142 by a random number between 217 and 255, and integer divide by 255.
    1. The number before this step is the max damage possible and is only achieved rarely (if the random number is 255).
  6. If miss, set D142 to 0.
  7. The value in D142 now is the damage inflicted.
  8. If it would knock out Pokémon, set to current HP of that Pokémon (after HP bar begins to decrease).

Note that not all these values appear, but the base damage, max damage, and damage inflicted will usually appear on a frame-by-frame basis.
(Note: Focus on D142 instead of D141)

D151: General purpose temporary variable. Notably, if using Magnitude, the Magnitude number appears here right after “X used attack” appears.

In-game time:
D1EC: Hours
D1ED: Minutes, one byte
D1EE: Seconds, one byte
D1EF: Frames, one byte

D9BC/D9EC: One-byte values for the overworld step count (mod 256). Useful for going through dark tunnels without having to mash the arrow buttons.

DA02-DA03: X-Y coordinates of character on overworld map. Going right increases X and going down increases Y.

DA3F-DA40: DVs of first Pokémon in party. This is for your starting Pokémon.

For other RAM and ROM addresses, check out the symbols files provided by the pret disassemblies:

And of course, the actual disassemblies for the games:


[1] Credit goes to primorial#soup who found the memory addresses.