mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Correct comments
This commit is contained in:
parent
ae31902074
commit
d46685be86
13
FAQ.md
13
FAQ.md
@ -42,7 +42,7 @@ If you are using 64-bit Windows, download [**64-bit Cygwin**][cygwin] and [**64-
|
||||
|
||||
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](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.
|
||||
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 ($4000 bytes) each, numbered $00 to $7F. The linkerscript [pokecrystal.link](pokecrystal.link) lists which `SECTION`s go in which banks. Try moving some code into a new section.
|
||||
|
||||
### "Invalid file or object file version"
|
||||
|
||||
@ -57,12 +57,12 @@ If you added or changed any code, you've made a mistake while writing some of it
|
||||
|
||||
## How do I edit maps?
|
||||
|
||||
For `asm` scripts, read [docs/map_event_scripts.md](docs/map_event_scripts.md). For `blk` layouts, try [Polished Map][polished-map] or [crowdmap][crowdmap].
|
||||
For `asm` scripts, read [docs/map_event_scripts.md](docs/map_event_scripts.md). For `blk` layouts, use [Polished Map][polished-map].
|
||||
|
||||
|
||||
## How do I edit the colors of an image?
|
||||
|
||||
Most `.png` images are paletted PNGs. You can edit these with any program that supports creating PNGs with palette information. These palettes should consist of exactly 4 colors. Additionally, for Pokémon images, the first color should be white, and the last black. Tools such as Paint and [GIMP](https://www.gimp.org/) will do the right job, while other tools such as Photoshop might mess it up and output palettes of 255 colors even though only using 4. You may try using tools like [GraphicsGale](https://graphicsgale.com/us/) or [IrfanView](https://www.irfanview.com/) to fix this, or sometimes resaving the image in Paint seems to help.
|
||||
Most `.png` images are paletted PNGs. You can edit these with any program that supports creating PNGs with palette information. These palettes should consist of exactly 4 colors. Additionally, for Pokémon images, the first color should be white, and the last black. Tools such as Paint and [GIMP](gimp) will do the right job, while other tools such as [paint.net](paintdotnet) or Photoshop might mess it up and output palettes of 255 colors even though only using 4. You may try using tools like [GraphicsGale](graphicsgale) or [IrfanView](irfanview) to fix this, or sometimes resaving the image in Paint seems to help.
|
||||
|
||||
Some image `.png` files are greyscale. This indicates that even though these images do have proper colors in-game, they're shared with something else, and as such changing them will affect other things as well. Don't try opening the `.2bpp` files, these only contain the image data as well, not the palettes.
|
||||
|
||||
@ -81,6 +81,9 @@ Try asking on IRC or Discord (see [README.md](README.md)).
|
||||
[cygwin]: https://cygwin.com/install.html
|
||||
[rgbds]: https://github.com/rednex/rgbds/releases
|
||||
[polished-map]: https://github.com/Rangi42/polished-map
|
||||
[crowdmap]: https://github.com/yenatch/crowdmap/
|
||||
[tutorials]: https://github.com/pret/pokecrystal/wiki/Tutorials
|
||||
[gimp]: https://www.gimp.org/
|
||||
[paintdotnet]: https://www.getpaint.net/
|
||||
[graphicsgale]: https://graphicsgale.com/us/
|
||||
[irfanview]: https://www.irfanview.com/
|
||||
[asm]: https://github.com/pret/pokecrystal/wiki/Assembly-programming
|
||||
[tutorials]: https://github.com/pret/pokecrystal/wiki/Tutorials
|
||||
|
@ -2,7 +2,7 @@
|
||||
; indexes for:
|
||||
; - RadioChannelSongs (see data/radio/channel_music.asm)
|
||||
; - PlayRadioShow/RadioJumptable (see engine/pokegear/radio.asm)
|
||||
; - RadioChannels (see engine/pokegear/radio.asm)
|
||||
; - RadioChannels (see engine/pokegear/pokegear.asm)
|
||||
const_def
|
||||
const OAKS_POKEMON_TALK ; 00
|
||||
const POKEDEX_SHOW ; 01
|
||||
|
Loading…
Reference in New Issue
Block a user