• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[pokecrystal] Problem Adding Pokemon

I just finished following this tutorial for adding a new Pokemon (munchlax) to pokecrystal. However, an error has occurred while compiling.
make: *** No rule to make target 'gfx/pokemon/front.dimensions', needed by 'main.o'. Stop.
Anyone who knows how to fix this? Thanks!
It would help if you provided the changes that you made. But based on the error it sounds like maybe in step 3 you wrote INCBIN "gfx/pokemon/front.dimensions" instead of INCBIN "gfx/pokemon/<name of pokemon>/front.dimensions"
 
Yeah that was it. Thanks!
EDIT: Holdup, here come some more errors:
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(520):
syntax error, unexpected ",", expecting newline or end of buffer
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(521) -> gfx/pokemon/munchlax/shiny.pal(1):
syntax error, unexpected number, expecting : or ::
To invoke `RGB` as a macro it must be indented
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(521) -> gfx/pokemon/munchlax/shiny.pal(2):
syntax error, unexpected number, expecting : or ::
To invoke `RGB` as a macro it must be indented
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(544) -> macros/asserts.asm::assert_table_length(16):
Assertion failed: PokemonPalettes: expected 256 entries, each 8 bytes
I've got a bit of an idea of these, but they don't really make sense.
 
Last edited:
Yeah that was it. Thanks!
EDIT: Holdup, here come some more errors:
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(520):
syntax error, unexpected ",", expecting newline or end of buffer
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(521) -> gfx/pokemon/munchlax/shiny.pal(1):
syntax error, unexpected number, expecting : or ::
To invoke `RGB` as a macro it must be indented
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(521) -> gfx/pokemon/munchlax/shiny.pal(2):
syntax error, unexpected number, expecting : or ::
To invoke `RGB` as a macro it must be indented
error: main.asm(23) -> engine/gfx/color.asm(1193) -> data/pokemon/palettes.asm(544) -> macros/asserts.asm::assert_table_length(16):
Assertion failed: PokemonPalettes: expected 256 entries, each 8 bytes
I've got a bit of an idea of these, but they don't really make sense.
The errors tell you the file and line number where the issues are. Compare what you have in those files with what is in the tutorial.
 
Back
Top