Language…
16 users online: 1LE, AJ1Ayrton, Alewx_, AnkisethTheMonk, cexterminators, codfish1002, Cracka, deported, drkrdnk, dylanthebluekoopa,  Eden_, Ice Man, Link13, Swaguy14256, Tulip Time Scholarship Games, Zatara - Guests: 118 - Bots: 208
Users: 67,566 (2,007 active)
Latest user: Baschfire

Behindedness Net Suite

Waiting SMW Blocks → Behindedness Net Suite

Submission Details

Name: Behindedness Net Suite
Author: qbear
Submitted: by qbear
Act As: 7, 25
Includes GFX: No
Description: Behindedness Net Suite:

This block pack provides a baseline for preserving mario's behindedness state in a custom block. It requires 1 byte of free ram for a "behindedness mirror" that must be set in each block's asm file. It is currently set to use $18E6. This package includes 3 blocks:

- netSuitePush.asm
> This block pulls the games native behindedness and pushes it to the mirror.
> Patch this in twice
1. Act as 7 - use for all net tiles in the level
2. Act as 25 - use outside of all "netSuitePull.asm" blocks. Otherwise you mario will preserve behindedness even when he shouldn't
- netSuitePull.asm
> This block reads behindedness from the mirror and stores it to the games native address.
> Use the act as on this block to have any map16 tile update mario's behindedness state from the mirror.
> Turn priority off for this block
- netSuitePullPriority.asm
> Graphical partner to netSuitePull.asm
> Ensure this has the same act as as netSuitePull.asm


Graphics:

netSuitePull.asm & netSuitePullPriority.asm are graphical partners that change map16 back and forth with each other so that mario appears behind the block when behindedness is active and in front when it is not. ***Update the variables in both of these block files with the map16 tile number you patch them in at***.
Defaults:
- netSuitePull.asm:
> Priority Off , Map16 tile number #$0203
- netSuitePullPriority.asm:
> Priority On , Map16 tile number #$0204
Tags:
Comments: 2 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Claimed for moderation by zuccha on
Download 1.52 KiB | 36 downloads

Screenshots

View all

Comments (2)

HammerBrother Link
Is it A feature that acts like NSMB/NSMBW so that mario will still interact with sprites despite being set "behind net" when Mario is not inside the net tile?
qbear Author Link
We can call it a feature... but no. Thanks for seeing that. I'll do some better testing and work on this when i get a chance this weekend.

I should have been more thorough in my testing. In the debugger i had thought $13F9 was showing correct values. I was hoping the "mirror" ram address would function in a way that specific values of $13F9 wouldn't have to be hard coded. But I think I was wrong or messed something up