Name: | P-Balloon Acceleration + Extras |
Author: | Erik |
Added: | |
Version History: | View |
Tool: | Asar |
Requires Free Space: | Yes |
Bug Fix: | No |
Featured: | No |
Description: | This patch will give Mario extra acceleration when pressing the X or Y buttons while on the P Balloon. Additionally, you can also configure it to: - make the player not lose the P balloon if he gets hurt - fix the bug when pressing left and right at the same time |
Tags: | boost lorom p-balloon physics player sa-1 sprite |
Comments: | 11 (jump to comments) |
Download
1.63 KiB | 308 downloads
Comments (11)
Not particularily happy how you can't revert the settings. Found no issues, otherwise.
Similar to SMM2
Tested with: LM 3.11, asar 1.71, SA-1 1.32, Snes9x 1.60.
x_speed_hijack: LDA $B6,x STA $00 LDA !9E,x CMP #$7D BEQ .balloon
.balloon BIT $15 BVC .return if !fix_lr_bug = 1 CPY #$03 BEQ .pressing_both endif TYX LDY $15E9|!addr CPX #$01 BNE .right LDA $77 AND #$01 BEQ + BEQ + LDA.w $B6,y SEC : SBC.w $00 STA.w $B6,y TYX JML $02D247|!bank + LDA.w $B6,y CMP.l new_max_x_speeds-1,x BEQ .cont_y_speeds BPL .slow_down BRA .cont_x_speeds
.right LDA $77 AND #$02 BEQ + LDA.w $B6,y SEC : SBC.w $00 STA.w $B6,y TYX JML $02D247|!bank + LDA.w $B6,y CMP.l new_max_x_speeds-1,x BEQ .cont_y_speeds BMI .slow_down
Include the code that I've highlighted in yellow into their respective sections.
I tried a Max Speed of 50 hex and it worked!
For real?!
Big thanks.