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:
emaskyesmogon 2022-09-27 16:55:15 -06:00
parent d8cb5a331f
commit 9d13923e8e
19 changed files with 86 additions and 59 deletions

View file

@ -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