Banner
Views: 994,530,015
Time:
16 users online:  AmperSam, Arioksu,  BeeKaay, Big Brawler, ForthRightMC, FrozenQuills,  Hooded Edge, hopie9293, Infinity, Ladida,  Linkdeadx2, NikSik1, Noobeb, ScatmanJones49, TheJavabrew, Tiozinho - Guests: 121 - Bots: 161 Users: 54,527 (2,080 active)
Latest: cthulhusnacks
Tip: Keep track of ALL patches and hex edits in case you need to transfer your data to a new ROM. It's definitely worth the trouble.
Not logged in.
$01A7DC by KevinM
Forum Index - Valley of Bowser - Moderation Questions - ROM Map - $01A7DC by KevinM
Pages: « 1 » Link
Address Length Type Description Submitter
$01A7DC 93 bytes Sprite subroutine (JSL) Subroutine that handles interaction between Mario and the sprite slot currently in X.
If the "Don't use default interaction with player" tweaker bit in $167A,x is not set, the routine checks for contact between Mario and the sprite and handles the default interaction by jumping to the routine at $01A83B, otherwise it just checks for contact.
In both cases, when the routine returns the carry is set if there's contact, and clear if there's not contact.
Note that the routine will return "No contact" and skip interaction every other frame if the "Process interaction with player every frame" tweaker bit in $167A,x is not set, or if the sprite is horizontally offscreen during a frame in which it should be interacted with.
KevinM
Address updated with more accurate information regarding the return carry.
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - ROM Map - $01A7DC by KevinM

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks