Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luigi Speed #7

Open
XBloonyX opened this issue May 19, 2019 · 3 comments
Open

Luigi Speed #7

XBloonyX opened this issue May 19, 2019 · 3 comments

Comments

@XBloonyX
Copy link
Contributor

hey friend, a question ... how can I change the speed at which luigi walks and runs, since mario goes a little faster than luigi and that is quite uncomfortable at the time of running the 2 for a long way (already that obviously luigi is left behind) look for an answer in mechanics.asm (Movement :) but only manage to bugear everything :/

@XBloonyX
Copy link
Contributor Author

arrange miscroutines.asm so that luigi bounce off the enemies much more like mario

;;;;;;;;;
;
; BoostSpeed
;
; Boost's Luigi's speed as though he stomped on an enemy.
;;;;;;;;;

BoostSpeed:
;PHX
;TYX
JSL $01AB72 ;white-star
;PLX
LDA $0DA3
ORA $0DA5
BIT #$80
BNE LargeJump
LDA #$D0
STA $AA,x
RTS
LargeJump:
LDA #$A8
STA $AA,x
RTS

@rhelmot
Copy link
Owner

rhelmot commented May 20, 2019

Hi! I've tried to track down the differences in the players' speeds for a while, and never really succeeded. Mario's movement speed is computed in a really, really complicated way (see: speedrunning discussions of how to maintain maximum speed) and I'm not sure how to replicate it in player 2. I wish it was as simple as a value to tweak.

For the second post (which you should really have just submitted in a pull request by itself), I'll apply it for you.

@rhelmot
Copy link
Owner

rhelmot commented May 20, 2019

7d97293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants