summaryrefslogtreecommitdiff
path: root/scripts/agatha.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/agatha.asm
parent1ee8de792ba5bf45290a4cb49b6bc3ee6aa539f3 (diff)
Rename joypad registers.
Diffstat (limited to 'scripts/agatha.asm')
-rwxr-xr-xscripts/agatha.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/agatha.asm b/scripts/agatha.asm
index 749f84e7..eb0e21d6 100755
--- a/scripts/agatha.asm
+++ b/scripts/agatha.asm
@@ -63,8 +63,8 @@ AgathaScript0: ; 76490 (1d:6490)
call ArePlayerCoordsInArray
jp nc, CheckFightingMapTrainers
xor a
- ld [H_NEWLYPRESSEDBUTTONS], a
- ld [H_CURRENTPRESSEDBUTTONS], a
+ ld [hJoyPressed], a
+ ld [hJoyHeld], a
ld [$ccd3], a
ld [$cd38], a
ld a, [wWhichTrade] ; $cd3d
@@ -101,7 +101,7 @@ AgathaScript3: ; 764da (1d:64da)
ret nz
call Delay3
xor a
- ld [wJoypadForbiddenButtonsMask], a
+ ld [wJoyIgnore], a
ld [W_AGATHACURSCRIPT], a
ld [W_CURMAPSCRIPT], a
ret