aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/VictoryRoad2F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VictoryRoad2F.asm')
-rw-r--r--scripts/VictoryRoad2F.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VictoryRoad2F.asm b/scripts/VictoryRoad2F.asm
index 66340503..0d91ce33 100644
--- a/scripts/VictoryRoad2F.asm
+++ b/scripts/VictoryRoad2F.asm
@@ -47,7 +47,7 @@ VictoryRoad2FDefaultScript:
call CheckBoulderCoords
jp nc, CheckFightingMapTrainers
ldh a, [hSpriteIndex]
- cp $f
+ cp PIKACHU_SPRITE_INDEX
jp z, CheckFightingMapTrainers
EventFlagAddress hl, EVENT_VICTORY_ROAD_2_BOULDER_ON_SWITCH1
ld a, [wCoordIndex]