Banner
Views: 772,549,469
Time:
17 users online: arthur4272, bandicoot, Chosentw0,  Dan, GangsterJerby, GeneralBeam, Golden Yoshi, HeroSamurai,  imamelia, Infinity, KingKoopshi64, Nowieso, placeholdertest, RollingRigatonis, Sancles, TheZ, Yung Gotenks - Guests: 46 - Bots: 142Users: 40,572 (1,854 active)
Latest: jirico
Tip: If you edit level 0, make sure you also edit level 100. Both of them are used for the bonus game.Not logged in.
Details for P-Balloon Acceleration + Extras
SMW Patches - P-Balloon Acceleration + Extras
File Name: P-Balloon Acceleration + Extras
Added:
Authors: Erik
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

Tester's Note: The default speed when accelerating is fast enough to phase through walls, similar to the bug when pressing left and right at the same time. You may want to modify the tables in the patch and decrease the maximum speed.
Tags: boost, lorom, needs remoderation, p-balloon, physics, player, sa-1, sprite
Download: Download - 899 bytes
128 downloads
Screenshots
Image
chineesmw
As I played around with the ASM a bit, I think I found a solution to the "phasing through walls glitch" when Mario's Balloon Speed is higher than 10 hex:
Code
x_speed_hijack:
       LDA $B6,x
       STA $00
       LDA !9E,x
       CMP #$7D
       BEQ .balloon

Code
.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

Code
.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! #tb{:DD}
Posted by: chineesmw - | Link
slakkmichael
"Make the player not lose the P balloon if he gets hurt"

For real?!
Posted by: slakkmichael - | Link
Final Theory
This patch was well overdue. We really needed this big time. In the original if you get hit once then its all over.

Big thanks.
Posted by: Final Theory - | Link
Mogu94
Thanks for adding SA-1 compatibility, Telinc1.
Posted by: Mogu94 - | Link
Telinc1
The patch appears to be functional. Note that turning off an option after applying the patch will have no effect. Also, keep in mind that picking up a powerup will still remove the player's P-Balloon. During the moderation, I added SA-1 compatibility to the patch.
Posted by:  Telinc1 - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 9

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented