shithub: pokecrystal

Download patch

ref: d46685be86a6d989203aef43882fdf2f0a5f0806
parent: ae319020740918973849652a5d0ab8ff7f8dbbd7
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Mar 3 12:13:24 EST 2019

Correct comments

--- a/FAQ.md
+++ b/FAQ.md
@@ -42,7 +42,7 @@
 
 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 @@
 
 ## 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 @@
 [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
--- a/constants/radio_constants.asm
+++ b/constants/radio_constants.asm
@@ -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