diff options
author | yenatch <yenatch@gmail.com> | 2014-05-25 10:51:53 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-25 10:53:09 -0700 |
commit | 031e33957dfaf9a5e29fb67aaf600ec809b8e35f (patch) | |
tree | aded26de93eacbb34d4556bd1ea512a7e515c88b /engine/items/items.asm | |
parent | 1ee8de792ba5bf45290a4cb49b6bc3ee6aa539f3 (diff) |
Rename joypad registers.
Diffstat (limited to 'engine/items/items.asm')
-rwxr-xr-x | engine/items/items.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm index a12dd463..d496dc87 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -530,7 +530,7 @@ ItemUseBicycle: ; d977 (3:5977) jp nc,NoCyclingAllowedHere call ItemUseReloadOverworldData xor a ; no keys pressed - ld [H_CURRENTPRESSEDBUTTONS],a ; current joypad state + ld [hJoyHeld],a ; current joypad state inc a ld [$d700],a ; change player state to bicycling ld hl,GotOnBicycleText @@ -593,7 +593,7 @@ ItemUseSurfboard: ; d9b4 (3:59b4) xor a ld [$d700],a ; change player state to walking dec a - ld [wJoypadForbiddenButtonsMask],a + ld [wJoyIgnore],a call Func_2307 ; play walking music jp LoadWalkingPlayerSpriteGraphics ; uses a simulated button press to make the player move forward |