summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-09-05 12:52:01 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-09-05 12:52:01 -0400
commit960642ce7341b7dbd0b58d020c77bde0b8a09025 (patch)
tree7aebe809935fd5f48010bbb47e4cf5be4c7d99a6
parent588cf88257ba4f40ebfb7589d2f14fa866ffff30 (diff)
Fix #804: update "Clair can give TM24 Dragonbreath twice"
-rw-r--r--docs/bugs_and_glitches.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 55bf69d1e..5192f1f1b 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -1527,7 +1527,7 @@ The dungeons' map group mostly has indoor maps that don't need roof colors, but
**Fix:** Edit [gfx/tilesets/roofs.pal](https://github.com/pret/pokecrystal/blob/master/gfx/tilesets/roofs.pal) to use the same red colors as Cinnabar (which are not actually seen in-game):
```diff
-; group 3 (dungeons)
+ ; group 3 (dungeons)
- RGB 21,21,21, 11,11,11 ; morn/day
- RGB 21,21,21, 17,08,07 ; nite
+ RGB 31,10,00, 18,06,00 ; morn/day
@@ -1938,13 +1938,12 @@ This supports up to six entries.
**Fix:** Edit `DragonsDen1F_MapScripts` in [maps/DragonsDen1F.asm](https://github.com/pret/pokecrystal/blob/master/maps/DragonsDen1F.asm):
```diff
-- db 0 ; callbacks
-+ db 1 ; callbacks
+ def_callbacks
+ callback MAPCALLBACK_NEWMAP, .UnsetClairScene
+
+.UnsetClairScene:
+ setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_NOTHING
-+ return
++ endcallback
```