Removing MissingNo to make room

This commit is contained in:
MementoMartha 2023-04-09 20:41:31 +01:00
parent fb3a20a51d
commit c7499a1fd2
21 changed files with 17 additions and 67 deletions

View file

@ -57,8 +57,6 @@ SetPokedexOwnedFlag:
ld [wd11e], a
predef IndexToPokedex
ld a, [wd11e]
and a
ret z ; do nothing for missingno
dec a
ld c, a
ld hl, wPokedexOwned

View file

@ -262,7 +262,6 @@ GetPartyMonSpriteID:
predef IndexToPokedex
ld a, [wd11e]
ld c, a
dec a
srl a
ld hl, MonPartyData
ld e, a

View file

@ -545,8 +545,6 @@ ItemUseBall:
; Add the caught Pokémon to the Pokédex.
predef IndexToPokedex
ld a, [wd11e]
and a ; is it missingno?
jr z, .skipShowingPokedexData ; don't mark in pokedex if so
dec a
ld c, a
ld b, FLAG_TEST

View file

@ -86,8 +86,6 @@ _AddPartyMon::
predef IndexToPokedex
pop de
ld a, [wd11e]
and a
jr z, .noMarkSeen ; if it's missingno don't do any pokedex actions
dec a
ld c, a
ld b, FLAG_TEST
@ -104,7 +102,6 @@ _AddPartyMon::
pop bc
ld hl, wPokedexSeen
call FlagAction
.noMarkSeen
pop hl
push hl