Views: 933,368,907
11 users online: Fernand1527, Francium, Holy Shinx,  JamesD28, KaidenThelens, meatloaf, Phyll, Skewer, SuperKitty96,  Thomas, tjb0607 - Guests: 103 - Bots: 203 Users: 52,088 (2,108 active)
Latest: Spingebill95
Tip: Use PIXI to insert custom sprites into your hack.
Not logged in.
Details for Item Block Priority Mask
SMW Patches - Item Block Priority Mask Link - Show random
File Name: Item Block Priority Mask
Authors: Katrina
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch uses a sprite priority mask to put items behind item blocks.

This means that they will no longer be obstructed by low-priority objects on Layer 1 or Layer 2, without having to change the item block Map16 to high priority.

Most useful for hacks which use unusual subscreen/mainscreen settings for color math, since having Layer 2 on subscreen normally puts items behind the BG.
Tags: lorom, needs remoderation, priority, sprite, super fx
Download: Download - 900 bytes
Fermín Acosta Jr.
Originally posted by lx5
this patch isn't even compatible with sa-1, sprite tables aren't properly remapped

get a sa-1 compatible version here

Big shoutout to LX5
Posted by: Fermín Acosta Jr. - | Link
this patch isn't even compatible with sa-1, sprite tables aren't properly remapped

get a sa-1 compatible version here
Posted by: lx5 - | Link

You mean “behind of blocks”.
Posted by: HammerBrother - | Link
It works, at least most of the time. It's a nice patch to make power ups appear in front behind of blocks without giving the block more priority.

The reason I wrote "almost" is because it might cause OAM glitches. Specifically, SMW reserves only one OAM tile for sprite slots A and B each which is usually reserved for power ups (this don't happen if the power ups are spawned in a later slot but for that, slots A and B have to be filled in the first place).
You can 'fix' this by installing NMSTL but have to have it activated all the time (at least whenver power up blocks appear) because NMSTL causes the sprites to reserve OAM slots variable instead of hardcoded.
Posted by:  MarioFanGamer - | Link
Pretty neat patch! It would be neat if you where able to apply the same code to Mario/Luigi when he's using a warp pipe and there's decoration around it.
Posted by: Moltz - | Link
It fixes a usually uncommon visual glitch, namely that items from item boxes goes behind the foreground (easy preventable, hence why you can say it's "uncommon") and in certain level modes even behind the background (usually due to using special effects like transparacy, also less common than the former).
I believe it's a good idea to disable layer 1 when you spawn an item and see if there is a used block when the item pops out of the block. If there is a used block, the patch works as it should.
Posted by:  MarioFanGamer - | Link
I've been looking for this fix for ages. Unfortunately, the patch doesn't seem to take any effect on the rom (lorom, unclean). There's no readme, so all I'm doing is just patching it normally.
Posted by: Chihaya - | Link

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

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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