summaryrefslogtreecommitdiff
path: root/engine/map_objects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/map_objects.asm')
-rw-r--r--engine/map_objects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/map_objects.asm b/engine/map_objects.asm
index 168c5389c..13e4f73bf 100644
--- a/engine/map_objects.asm
+++ b/engine/map_objects.asm
@@ -2736,7 +2736,7 @@ Function5602: ; 5602, called at battle start
ld a, PLAYER
call Function5629 ; respawn player
- ld a, [wd459]
+ ld a, [wBattleScriptFlags]
bit 7, a
jr z, .ok