Views: 859,004,380
22 users online: Amine Retro,  Anorakun, brickblock369, DeppySlide, Donb_Rgas, edgar, ExONightZ, Fullcannon, Green Jerry, Gulaschko, jesus, MassPunishment, NovaSquirrel, Rykon-V73, Segment1Zone2, SiulLunar, spingeb0b, StackDino, TayL, Thwompz, WFR98, zanian - Guests: 62 - Bots: 81 Users: 47,483 (2,229 active)
Latest: ZA HANDO
Tip: Test your levels as all forms of Mario (small, super, fire, cape). If it's possible to enter a level with Yoshi, make sure to test that as well.Not logged in.
Details for X/Y Position Locked Sprite v1.2
SMW Sprites - X/Y Position Locked Sprite v1.2 Show random
File Name: X/Y Position Locked Sprite v1.2
Version History: View
Authors: KevinM
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This sprite will spawn another sprite and lock it to Mario's X or Y position.

Extra bit: clear = vanilla, set = custom.

Extra byte 1: sprite number to spawn.

Extra byte 2: X/Y offset from Mario to keep the sprite at. For example, use $F8 with the Hammer Brother's platform to have Mario centered on the platform.

Extra byte 3: if the lowest bit is not set, the sprite will target the X position, otherwise it'll target the Y position. Additionally, if the highest bit is set, it'll set the extra bit for the spawned sprite.

Extra bytes 4-7: these 4 values set the 4 extra bytes for the spawned sprite (if custom).

- v1.1: added Y follow setting.
- v1.2: now the sprite uses 7 extra bytes so you can set the extra bytes for the spawned sprite. Also added an option to set the extra bit for the spawned sprite.
Tags: lorom, pacifist, sa-1, sprite
Rating: 5.0 (Votes: 1)
Download: Download - 4.69 KiB
Moderated with:
Lunar Magic 3.11
Pixi 1.2.15
SA-1 Pack 1.32 (also tested without)
Snes9x 1.60

Cool update to utilize extra bytes beyond the standard four! Nothing seemed too drastically different and I tested with some custom sprites that made use of the 4 extra bytes, so it's accepted. Note that some sprites can have some wonky interaction with the player when it's constantly being x or y updated, but that's not really a fault of this sprite itself. Rather, it's just how some sprites behave (such as y-locking a spring board at a specific offset).
Posted by:  MiniMawile303 - | Link
The new update works great with stuff like the platform megapack that uses the extension part when inserting! 10/10
Posted by: Nirv - | Link

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

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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