Remove dummy constants for dummy Pokémon and set EGG to -3 instead of 253 (for 16-bit extension into $FFFD)

- Also add table_width/assert_table_length to data/pokemon/pic_pointers.asm

Co-Authored-By: aaaaaa123456789 <aaaaaa123456789@acidch.at>
This commit is contained in:
aaaaaa123456789
2019-09-28 17:56:21 -03:00
committed by vulcandth
parent e9662fe127
commit 3f778c2de9
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ DEF JOHTO_POKEMON EQU const_value
const HO_OH ; fa
const CELEBI ; fb
DEF NUM_POKEMON EQU const_value - 1
const_skip ; fc
const EGG ; fd
DEF EGG EQU -3
; Unown forms
; indexes for:
+3 -1
View File
@@ -1,11 +1,13 @@
; Pics are defined in gfx/pics.asm
:
table_width 3 * 2, :-
dba EggPic ; EGG is now -3, so it must go *above* the label
dbw -1, -1 ; unused
dbw -1, -1 ; unused
dbw -1, -1 ; unused
dbw -1, -1 ; unused
dbw -1, -1 ; unused
assert_table_length -EGG
PokemonPicPointers::
; entries correspond to Pokémon species, two apiece (first index is 0)
table_width 3 * 2