mirror of
https://github.com/pret/pokecrystal.git
synced 2026-10-01 14:26:16 -04:00
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:
committed by
vulcandth
parent
e9662fe127
commit
3f778c2de9
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user