summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-19 19:27:45 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-19 19:27:45 -0500
commita5c1d9572c75fde821697c74b460522081c06aa3 (patch)
treef0b8fff31fbf196f7658a0812f49ee66b18cf795
parent53c92b4792ede559f9a773d77ee44a2e9064bbbf (diff)
Fix: Clair can give TM24 Dragonbreath twice
-rw-r--r--docs/bugs_and_glitches.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 993387b57..0ee038a03 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -785,7 +785,17 @@ This can bring Pokémon straight from level 1 to 100 by gaining just a few exper
([Video](https://www.youtube.com/watch?v=8BvBjqxmyOk))
-*To do:* Identify specific code causing this bug and fix it.
+**Fix:** Edit `DragonsDen1F_MapScripts` in [maps/DragonsDen1F.asm](/maps/DragonsDen1F.asm):
+
+```diff
+- db 0 ; callbacks
++ db 1 ; callbacks
++ callback MAPCALLBACK_NEWMAP, .UnsetClairScene
++
++.UnsetClairScene:
++ setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_NOTHING
++ end
+```
## Daisy's grooming doesn't always increase happiness