Skip to content

Commit 84c64a7

Browse files
authored
fix spark booster clamping issue. (#332)
1 parent eb92fcc commit 84c64a7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

patches/ips/split_speed.ips

3 Bytes
Binary file not shown.

patches/src/split_speed.asm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,10 @@ hook_blue_unpause:
327327

328328

329329
spark_booster_lose_blue:
330-
; If either Blue Booster or Speed Booster is equipped, skip the speed clamp/loss.
330+
; If any combination other than exactly Spark Booster equipped, skip the speed clamp/loss.
331331
lda !equipped_items
332-
bit #!blue_booster|!speed_booster
332+
and #!any_booster
333+
cmp #!spark_booster
333334
bne .skip_lose_blue
334335

335336
; If Samus does not have running momentum, skip the speed clamp/loss (to avoid interfering with blue suit).

0 commit comments

Comments
 (0)