From a5c1d9572c75fde821697c74b460522081c06aa3 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sat, 19 Jan 2019 19:27:45 -0500 Subject: [PATCH] Fix: Clair can give TM24 Dragonbreath twice --- docs/bugs_and_glitches.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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