Views: 960,653,451
8 users online: Ahrion, iIIustrious, Infinity, jorgeespro,  Meirdent, StarWolf3000, TCgamerboy2002,  xHF01x - Guests: 66 - Bots: 136 Users: 53,170 (2,268 active)
Latest: jorgeespro
Tip: Using Lunar Magic's "Change Properties in Sprite Header" dialogue, you can adjust the sprite slots in which sprites can spawn. For example, by using a sprite memory setting that doesn't use slot 07, you can easily prevent Reznor breaks in your hack.
Not logged in.
Details for Summon Closest Sprite v1.2
UberASM Repository - Summon Closest Sprite v1.2 Link - Show random
File Name: Summon Closest Sprite v1.2
Version History: View
Authors: JamesD28
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This code allows Mario to summon the closest carryable sprite, horizontally, into his hands. The closest sprite will be put into his hands instantly as long as he isn't already holding something, and it will also detect kicked sprites. Could be useful for puzzle levels, or Kaizo levels involving summoning sprites in a tight order to perform specific tricks.
Summon is performed by holding X or Y (by default), then tapping L or R.

Usage note: If using in your hack, it may be wise to let the player know that it only measures horizontal distance, not vertical.

Update v1.1: Bug fixes, and made some of jankier "features" of the code into optional defines. Also made a few small optimizations, moved the SFX/Bank to defines, and allowed the user to customize the hold input.

v1.2: Fixed a bug where springboards could be "revived" and summoned in dead/despawned states.
Tags: carryable, lorom, sa-1, sprite, summon
Rating: No rating
Download: Download - 1.77 KiB
Tested with: Lunar Magic 3.30, UberASM Tool 1.4, SA-1 1.40, Snes9x 1.60. The code works fine and the springboard issue mentioned in the description has been fixed, so accepted.
Posted by:  Kevin - | Link

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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