- What is pokecrystal11.gbc?
- Can't build ROM; "ERROR:
UNION
already defined" - Can't build ROM; "Segmentation fault" from
rgbgfx
- Can't build ROM; "Section is too big" or "Unable to place section in bank"
- How do I edit maps?
- How do I write new features?
- I need more help!
Version 1.1 of Pokémon Crystal, which fixed some issues with the initial international release. make crystal11
defines _CRYSTAL11
so the assembly builds the changed version.
Download rgbds 0.3.3. Earlier versions will not work.
If you are using 64-bit Windows, download 64-bit Cygwin and 64-bit rgbds.
If you have not changed any of the asm, make sure you have the latest version of pokecrystal and the correct version of rgbds (see INSTALL.md).
If you added or changed any code, it has to fit in the memory banks. The 2MB ROM is divided into 128 banks of 4KB each, numbered $00 to $7F. The linkerscript pokecrystal.link lists which SECTION
s go in which banks. Try moving some code into a new section.
For asm
scripts, read docs/map_event_scripts.md. For blk
layouts, try crowdmap or Polished Map.
There are a number of special-purpose scripting languages, as described in docs. For more general features, you'll need to code directly in assembly language. See docs/assembly_programming.md.
Try asking on IRC or Discord (see README.md).