summaryrefslogtreecommitdiff
path: root/scripts/VictoryRoad1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VictoryRoad1F.asm')
-rw-r--r--scripts/VictoryRoad1F.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/VictoryRoad1F.asm b/scripts/VictoryRoad1F.asm
index b70f0dd4..9d566e6f 100644
--- a/scripts/VictoryRoad1F.asm
+++ b/scripts/VictoryRoad1F.asm
@@ -29,6 +29,9 @@ VictoryRoad1Script0:
ld hl, CoordsData_5da5c
call CheckBoulderCoords
jp nc, CheckFightingMapTrainers
+ ldh a, [hSpriteIndex]
+ cp $f
+ jp z, CheckFightingMapTrainers
ld hl, wCurrentMapScriptFlags
set 5, [hl]
SetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH