summaryrefslogtreecommitdiff
path: root/scripts/silphco11.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-25 10:51:53 -0700
committeryenatch <yenatch@gmail.com>2014-05-25 10:53:09 -0700
commit031e33957dfaf9a5e29fb67aaf600ec809b8e35f (patch)
treeaded26de93eacbb34d4556bd1ea512a7e515c88b /scripts/silphco11.asm
parent1ee8de792ba5bf45290a4cb49b6bc3ee6aa539f3 (diff)
Rename joypad registers.
Diffstat (limited to 'scripts/silphco11.asm')
-rwxr-xr-xscripts/silphco11.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/silphco11.asm b/scripts/silphco11.asm
index f24c6774..d4bd6ba0 100755
--- a/scripts/silphco11.asm
+++ b/scripts/silphco11.asm
@@ -110,7 +110,7 @@ MissableObjectIDs_6219b: ; 6219b (18:619b)
SilphCo11Script_621c4: ; 621c4 (18:61c4)
xor a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
SilphCo11Script_621c8: ; 621c8 (18:61c8)
ld [W_SILPHCO11CURSCRIPT], a
@@ -135,9 +135,9 @@ SilphCo11Script0: ; 621db (18:61db)
ld a, [wWhichTrade] ; $cd3d
ld [$cf0d], a
xor a
- ld [H_CURRENTPRESSEDBUTTONS], a
+ ld [hJoyHeld], a
ld a, $f0
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
ld a, $3
ld [H_DOWNARROWBLINKCNT2], a ; $ff8c
call DisplayTextID
@@ -181,7 +181,7 @@ SilphCo11Script5: ; 62227 (18:6227)
.asm_62240
call SilphCo11Script_6221a
ld a, $f0
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
ld a, $6
ld [H_DOWNARROWBLINKCNT2], a ; $ff8c
call DisplayTextID
@@ -193,7 +193,7 @@ SilphCo11Script5: ; 62227 (18:6227)
ld hl, $d838
set 7, [hl]
xor a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
jp SilphCo11Script_621c8
SilphCo11Script3: ; 6226a (18:626a)
@@ -230,7 +230,7 @@ SilphCo11Script4: ; 62293 (18:6293)
call EngageMapTrainer
call InitBattleEnemyParameters
xor a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
ld a, $5
jp SilphCo11Script_621c8