diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-26 15:49:00 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-26 15:49:00 -0500 |
commit | 64cad0d3e10eb233e81a67b7f099e87243222d05 (patch) | |
tree | 73de94708db3a3b4c6e42df59b089a95f3ab058f | |
parent | e9205ac520c94daa906c87c397ed7c10a15ff062 (diff) |
How to stop the white hue of the blue palette from animating
-rw-r--r-- | Tips-and-tricks.md | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Tips-and-tricks.md b/Tips-and-tricks.md index 1ce2a1a..4b26f36 100644 --- a/Tips-and-tricks.md +++ b/Tips-and-tricks.md @@ -3,11 +3,12 @@ This page is for small hints about how to edit pokecrystal that don't need an en ## Contents -- [How to change shiny odds?](#how-to-change-shiny-odds) -- [Lowercasing Pokémon names cuts off their first letter?](#lowercasing-pokémon-names-cuts-off-their-first-letter) +- [How to change shiny odds](#how-to-change-shiny-odds) +- [How to stop the white hue of the outdoor blue palette from animating](#how-to-stop-the-white-hue-of-the-outdoor-blue-palette-from-animating) +- [Lowercasing Pokémon names cuts off their first letter](#lowercasing-pokémon-names-cuts-off-their-first-letter) -## How to change shiny odds? +## How to change shiny odds The odds of encountering a shiny Pokémon in Gen 2 are 1 in 8,192. That value isn't literally defined anywhere: it's a consequence of making shininess based on DVs. A shiny Pokémon has: @@ -21,7 +22,14 @@ The routine that checks those specific values is `CheckShininess` in [engine/gfx Also, the red Gyarados has hard-coded values for its DVs of 14/10/10/10; they're defined as `ATKDEFDV_SHINY` and `SPDSPCDV_SHINY` in [constants/battle_constants.asm](../blob/master/constants/battle_constants.asm). -## Lowercasing Pokémon names cuts off their first letter? +## How to stop the white hue of the blue palette from animating + +There are eight palettes used for tilesets: `GRAY`, `RED`, `GREEN`, `WATER`, `YELLOW`, `BROWN`, `ROOF`, and `TEXT`. It's called `WATER` instead of `BLUE` because its lightest hue gets animated for some tilesets, cycling between three colors. This makes water (and rocks, whirlpools, and waterfalls) look more dynamic, but it prevents you from making static blue tiles (like Mart roofs). + +To stop it, edit [engine/tilesets/tileset_anims.asm](../blob/master/engine/tilesets/tileset_anims.asm) and replace all the instances of `dw NULL, AnimateWaterPalette` with `dw NULL, WaitTileAnimation`. + + +## Lowercasing Pokémon names cuts off their first letter If you simply lowercase all the names in [data/pokemon/names.asm](../blob/master/data/pokemon/names.asm) and rebuild the ROM, the first letter of their names may be missing. The cause is changing "`FARFETCH'D`" to "`Farfetch'd`", because "`'d`" is actually a single character. The fix is to pad its name to the same length as all the rest with an "`@`", so that it becomes "`Farfetch'd@`". |