File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ BrunswickTrail_ScriptPointers:
1111 dw CheckFightingMapTrainers
1212 dw DisplayEnemyTrainerTextAndStartBattle
1313 dw EndTrainerBattle
14-
14+ dw HideCactus
15+
1516BrunswickTrail_TextPointers:
1617 dw FakeTreeEvent
1718 dw BrunswickTrainer1
@@ -139,7 +140,13 @@ FakeTreeEvent:
139140
140141 ld hl , CactusTrainerHeader
141142 call TalkToTrainer
142- jp TextScriptEnd ; I have tried a lot of things and it's not disappearing AAA
143+
144+ ;let's try a separate map script as a backup in case cactormous does not disappear like other static wild pokemon.
145+ ld a , 3
146+ ld [ wBrunswickTrailCurScript ], a
147+ ld [ wCurMapScript ], a
148+
149+ ; jp TextScriptEnd ; I have tried a lot of things and it's not disappearing AAA
143150;.NoCut
144151; ld hl, FakeTreeNoCut ; Why do you have to be this way? I scream, for I do not know.
145152; call PrintText
@@ -154,6 +161,19 @@ CactusBattleText:
154161 call PlayCry
155162 call WaitForSoundToFinish
156163 jp TextScriptEnd
164+
165+ HideCactus:
166+ ;this runs after the cactormous battle to make sure it gets hidden
167+ ld a , HS_CACTUS
168+ ld [ wMissableObjectIndex ], a
169+ predef HideObject
170+ call UpdateSprites
171+ call Delay3
172+ xor a
173+ ld [ wBrunswickTrailCurScript ], a
174+ ld [ wCurMapScript ], a
175+ ret
176+
157177
158178GZapFound:
159179 text_asm
You can’t perform that action at this time.
0 commit comments