(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-01-24 11:58 AM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - Disabling Sliding and Ducking
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Surlent
Posts: 83/103
Originally posted by Xkeeper
Originally posted by Bloodstar
What'd be really useful, however, is something that only disables SMALL Mario's ducking. I don't worry about it anymore, since the SMAS SMB3 Mario's been used a lot by now, but it'd still be a useful thing to have.

(Besides, small mario ducking has no real purpose anyway, regardless of the Mario tiles you're using. )

No, but it adds aesthetics*...


When a small Mario carries a shell, the ducking animation still is useful, as you have visual proof, you put it down - and don't just kick it. Of course, rather rely on really holding the down button, instead of the animation, but actually it is rather funny.

I even like to dodge when Banzai Bills fly one tile row above small Mario anyway
rubixcuber
Posts: 33/356
I use an assembler, but I was posting this for people who want to do this without knowing anything about ASM and can just do it in a hex editor. But yeah, the cmp was unnecessary, I did that in about 5 seconds off the top of my head in response to the comment.
C:/xkas bio.asm
Posts: 1154/1209
Originally posted by rubixcuber
Ask and you shall receive! Change 85739CE813 to 224EFD3FEA at offset x5806 and put AD1900C900F00585739CE8136B at x1FFF4E to disable ducking only for small mario. If your rom doesnt go up to 1FFF4E you either need to change offsets or use Lunar Expand. If there's something other than 0's at 1FFF4E you need to use another offset. Ask me if that's the case.

offtopic, but insted of using AD 19 00 C9 00 F0 05... you should use A5 19 F0 05. this C9 00 is useless since the zero flag is already set if $19 = 00. Also, to stop having those offset problem, I suggest using a assambler insted, so the code could be inserted anywhere without any trouble. so here the assambler version of your code


header
lorom

org $D806
JSL Label1
NOP
org $3FFD4E ;this is what to change to insert the code at another adress

Label1: LDA $19
BEQ Label2
STA $73
STZ $13E8
Label2: RTL


On a final note, I'm half-sleep while I'm writing this so I hope I'm understandable
rubixcuber
Posts: 32/356
Ask and you shall receive! Change 85739CE813 to 224EFD3FEA at offset x5806 and put AD1900C900F00585739CE8136B at x1FFF4E to disable ducking only for small mario. If your rom doesnt go up to 1FFF4E you either need to change offsets or use Lunar Expand. If there's something other than 0's at 1FFF4E you need to use another offset. Ask me if that's the case.
Xkeeper
Posts: 3780/5653
Originally posted by Bloodstar
What'd be really useful, however, is something that only disables SMALL Mario's ducking. I don't worry about it anymore, since the SMAS SMB3 Mario's been used a lot by now, but it'd still be a useful thing to have.

(Besides, small mario ducking has no real purpose anyway, regardless of the Mario tiles you're using. )

No, but it adds aesthetics*...
Bloodstar
Posts: 389/669
What'd be really useful, however, is something that only disables SMALL Mario's ducking. I don't worry about it anymore, since the SMAS SMB3 Mario's been used a lot by now, but it'd still be a useful thing to have.

(Besides, small mario ducking has no real purpose anyway, regardless of the Mario tiles you're using. )
rubixcuber
Posts: 31/356
Change 85739CE813 to EAEAEAEAEA at offset x5806 to disable ducking
Change 8EED13 to EAEAEA at offset x7102 to disable sliding down hills

Hope that helps someone.
Acmlm's Board - I3 Archive - SMW Hacking - Disabling Sliding and Ducking


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.011 seconds; used 351.98 kB (max 397.49 kB)