Fix: Clair can give TM24 Dragonbreath twice

This commit is contained in:
Rangi 2019-01-19 19:27:45 -05:00
parent 53c92b4792
commit a5c1d9572c
1 changed files with 11 additions and 1 deletions

View File

@ -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