Document the origin of MissingNo's base stats.

This commit is contained in:
Rangi 2018-07-08 16:25:39 -04:00
parent c859983199
commit 462088a25c
3 changed files with 10 additions and 2 deletions

View file

@ -136,7 +136,7 @@ const_value = 1
const MISSINGNO_86 ; $86 const MISSINGNO_86 ; $86
const MISSINGNO_87 ; $87 const MISSINGNO_87 ; $87
const MUK ; $88 const MUK ; $88
const MISSINGNO_8A ; $8A const MISSINGNO_89 ; $89
const KINGLER ; $8A const KINGLER ; $8A
const CLOYSTER ; $8B const CLOYSTER ; $8B
const MISSINGNO_8C ; $8C const MISSINGNO_8C ; $8C

View file

@ -1256,4 +1256,4 @@ MissingNoDexEntry:
db "???@" db "???@"
db 10 ; 1.0 m db 10 ; 1.0 m
db 100 ; 10.0 kg db 100 ; 10.0 kg
db 0,"コメント さくせいちゅう@" ; コメント作成中 (Comment to be written) text "コメント さくせいちゅう@" ; コメント作成中 (Comment to be written)

View file

@ -258,6 +258,14 @@ BikerData:
db 33,WEEZING,0 db 33,WEEZING,0
db 26,GRIMER,GRIMER,GRIMER,GRIMER,0 db 26,GRIMER,GRIMER,GRIMER,GRIMER,0
; Route 17 ; 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 28,WEEZING,KOFFING,WEEZING,0
db 33,MUK,0 db 33,MUK,0
db 29,VOLTORB,VOLTORB,0 db 29,VOLTORB,VOLTORB,0