Language…
19 users online: Alansanchez412, AleGames, Alex No, Blizzard Buffalo,  blueribbonhighlife, Dark Prince,  Fernap,  idol,  Kevin, Knight of Time, MellyMellouange, Mr. MS,  Segment1Zone2, Shadowmaster, signature_steve, slakkmichael, Steven Atauchi C., The_Uber_Camper, TheBourgyman - Guests: 114 - Bots: 98
Users: 69,287 (2,421 active)
Latest user: DaviGamer456

Item Box to Player Position

SMW Patches → Item Box to Player Position

Submission Details

Name: Item Box to Player Position
Author: HammerBrother
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: Not to be confused with the instant item box patch.

What this patch does is make the item box drop position on the player's position rather than from the top-middle of the screen. The reason why I submit this is because:

-The instant item box patch only does the powerup animation effect, not using the "grab item" effect (occurs if you touch them physically). This makes it incompatible with player health patches.

-Fixes a possible glitch when dropping a solid-interacting-layer-1 sprites other than powerup sprites like the portable spring board inside walls.

-A better alternative than UmlautBanana's "Item Drop Location Fix", its weird that it keeps following the player even if its already dropped.

Now with sa-1 support.
Tags: item box lorom sa-1
Comments: 6 (jump to comments)
Download 2.74 KiB | 433 downloads

Screenshots

Comments (6)

 RussianMan Link
Tested With:
-Lunar Magic 3.50
-Asar 1.91
-bsnes v115
-SA-1 1.40
-Item Box GFX Fix
-Stunned Item Box Items
-SMB2-Styled Health Bar

The patch is up to current standards, removed remoderation tag. Unfortunately, due to hijack conflict, it is not compatible with Stunned Item Box Items patch, which is a shame, since this patch is designed to accomodate carriable items from the item box. You'll have to modify the patch if you wish to combine them.
EmilyEmmi Link
I'm pretty sure this is broken as of LM 3.11.
Mogu94 Link
This is thanks to Darolac for pointing me in the right direction but basically you want to patch this
Code
org $01C5A2
db $FB

then insert RussianMan's disassembled Feather and use that instead of the vanilla Feather. Use MarioFanGamer and LX5's Question Mark Blocks to use this Feather sprite with blocks. With this method, you'll only get points for the Feather when it's coming out of a block or placed in a level but not from the item box.
Alucard648 Link
You should also need to disable 1000 points gain for picking up powerups fro item box to avoid easy score rackup.
HammerBrother Author From older version: Item Box to Player Position Link
This is so that springboards or other solid-layer-interacting sprite don't have a possibility of getting stuck in walls. Note that this patch is incompatible with "Item Box Special" (The patch that allows you to have custom sprites in your reserve box), since the patch itself has a code that sets the position of the sprite.

The reason why I didn't position it centered on the player's coordinates is because if you drop a carryable sprite, it will always push Mario to the same left/right side of the sprite or if it's an empty shell, always to the left for no reason. I made it so that it changes depending on the player's current facing direction.
Vitor Vilela From older version: Item Box to Player Position Link
In-game looks a bit weird (the item appears at (8,16) or (-8,16) relative to player center position for a single frame), but it's functional.

Maybe putting the item above the player's head would be better or something like how NSMB Wii items works.