summaryrefslogtreecommitdiff
path: root/scripts/VictoryRoad1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VictoryRoad1F.asm')
-rwxr-xr-xscripts/VictoryRoad1F.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/VictoryRoad1F.asm b/scripts/VictoryRoad1F.asm
index 0a2588a7..07f203b1 100755
--- a/scripts/VictoryRoad1F.asm
+++ b/scripts/VictoryRoad1F.asm
@@ -29,6 +29,9 @@ VictoryRoad1Script0:
ld hl, CoordsData_5da5c
call CheckBoulderCoords
jp nc, CheckFightingMapTrainers
+ ld a, [H_SPRITEINDEX]
+ cp $f
+ jp z, CheckFightingMapTrainers
ld hl, wCurrentMapScriptFlags
set 5, [hl]
SetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH