summaryrefslogtreecommitdiff
path: root/scripts/route22gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route22gate.asm')
-rwxr-xr-xscripts/route22gate.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route22gate.asm b/scripts/route22gate.asm
index e445a358..7dd876e6 100755
--- a/scripts/route22gate.asm
+++ b/scripts/route22gate.asm
@@ -22,7 +22,7 @@ Route22GateScript0: ; 1e6a4 (7:66a4)
call ArePlayerCoordsInArray
ret nc
xor a
- ld [H_CURRENTPRESSEDBUTTONS], a
+ ld [hJoyHeld], a
ld a, $1
ld [$ff8c], a
jp DisplayTextID
@@ -38,7 +38,7 @@ Route22GateScript_1e6ba: ; 1e6ba (7:66ba)
ld a, $80
ld [$ccd3], a
ld [$c109], a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
jp Func_3486
Route22GateScript1: ; 1e6cd (7:66cd)
@@ -46,7 +46,7 @@ Route22GateScript1: ; 1e6cd (7:66cd)
and a
ret nz
xor a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
call Delay3
ld a, $0
ld [W_ROUTE22GATECURSCRIPT], a