mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Running Shoes and 30 Item Bag
need to fix layout link to futureproof it better but for now it works. Mart changes save space in wRAM.
This commit is contained in:
parent
d8cb5a331f
commit
9d13923e8e
19 changed files with 86 additions and 59 deletions
|
|
@ -284,8 +284,29 @@ OverworldLoopLessDelay::
|
|||
ld a, [wd736]
|
||||
bit 6, a ; jumping a ledge?
|
||||
jr nz, .normalPlayerSpriteAdvancement
|
||||
; Bike is normally 2x walking speed
|
||||
; Holding B makes the bike even faster
|
||||
ld a, [hJoyHeld]
|
||||
and B_BUTTON
|
||||
jr z, .notMachBike
|
||||
call DoBikeSpeedup
|
||||
call DoBikeSpeedup
|
||||
.notMachBike
|
||||
call DoBikeSpeedup
|
||||
jr .notRunning
|
||||
.normalPlayerSpriteAdvancement
|
||||
; surf at 2x walking speed
|
||||
ld a, [wWalkBikeSurfState]
|
||||
cp $02
|
||||
jr z, .surfFaster
|
||||
; holding B makes you surf at 2x walking speed
|
||||
ld a, [hJoyHeld]
|
||||
and B_BUTTON
|
||||
jr z, .notRunning
|
||||
.surfFaster
|
||||
call DoBikeSpeedup
|
||||
.notRunning
|
||||
; original code continues here
|
||||
call AdvancePlayerSprite
|
||||
ld a, [wWalkCounter]
|
||||
and a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue