summaryrefslogtreecommitdiff
path: root/engine/events.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events.asm')
-rw-r--r--engine/events.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events.asm b/engine/events.asm
index 40e863cdc..d78a0a333 100644
--- a/engine/events.asm
+++ b/engine/events.asm
@@ -491,11 +491,11 @@ endr
bit 3, [hl]
jr z, .nope
- ld hl, ScriptDelay + 2
+ ld hl, wPriorityScriptAddr
ld a, [hli]
ld h, [hl]
ld l, a
- ld a, [ScriptDelay + 1]
+ ld a, [wPriorityScriptBank]
call CallScript
scf
ret