You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fix #804: update "Clair can give TM24 Dragonbreath twice"
This commit is contained in:
@@ -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):
|
**Fix:** Edit `DragonsDen1F_MapScripts` in [maps/DragonsDen1F.asm](https://github.com/pret/pokecrystal/blob/master/maps/DragonsDen1F.asm):
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
- db 0 ; callbacks
|
def_callbacks
|
||||||
+ db 1 ; callbacks
|
|
||||||
+ callback MAPCALLBACK_NEWMAP, .UnsetClairScene
|
+ callback MAPCALLBACK_NEWMAP, .UnsetClairScene
|
||||||
+
|
+
|
||||||
+.UnsetClairScene:
|
+.UnsetClairScene:
|
||||||
+ setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_NOTHING
|
+ setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_NOTHING
|
||||||
+ return
|
+ endcallback
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user