diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-08 16:25:39 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-08 16:25:39 -0400 |
| commit | 462088a25c971fc8989e5bf56260c2365e258053 (patch) | |
| tree | db7babc1f3fcb99ccd113dbb6d0aa0eff2f17afd /data/trainer_parties.asm | |
| parent | Merge pull request #185 from UrsSchmidt/master (diff) | |
| download | pokeyellow-462088a25c971fc8989e5bf56260c2365e258053.tar.gz pokeyellow-462088a25c971fc8989e5bf56260c2365e258053.tar.xz pokeyellow-462088a25c971fc8989e5bf56260c2365e258053.zip | |
Document the origin of MissingNo's base stats.
Diffstat (limited to 'data/trainer_parties.asm')
| -rwxr-xr-x | data/trainer_parties.asm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/trainer_parties.asm b/data/trainer_parties.asm index da4f80c9..e448d431 100755 --- a/data/trainer_parties.asm +++ b/data/trainer_parties.asm @@ -258,6 +258,14 @@ BikerData: db 33,WEEZING,0 db 26,GRIMER,GRIMER,GRIMER,GRIMER,0 ; Route 17 + ; From https://www.smogon.com/smog/issue27/glitch: + ; 0E:5FC2 is offset of the ending 0 for this first Biker on Route 17. + ; BaseStats + (MonBaseStatsEnd - MonBaseStats) * (000 - 1) = $5FC2; + ; that's the formula from GetMonHeader for the base stats of mon #000. + ; (BaseStats = $43DE and BANK(BaseStats) = $0E.) + ; Finally, PokedexOrder lists 0 as the dex ID for every MissingNo. + ; The result is that this data gets interpreted as the base stats + ; for MissingNo: 0,33,MUK,0,29,VOLTORB,VOLTORB,0,...,28,GRIMER,GRIMER. db 28,WEEZING,KOFFING,WEEZING,0 db 33,MUK,0 db 29,VOLTORB,VOLTORB,0 |
