mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Rename joypad registers.
This commit is contained in:
parent
1ee8de792b
commit
031e33957d
73 changed files with 306 additions and 301 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue