Banner
Views: 924,033,014
Time:
10 users online: crocodileman94, Daizo Dee Von, Dr.Moe, Dustyized, Francium, Jolpengammler, kuroki, NGB, ocked, simon.caio - Guests: 49 - Bots: 108 Users: 51,678 (2,062 active)
Latest: JohnL990
Tip: Unlike for traditional hacks and Kaizo: Light hacks, usage of tools such as savestates and rewinds in Kaizo: Hard and Pit hacks is encouraged, if not necessary.
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
Added:
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
27 downloads
Screenshots
Previous 
 Next
KevinM
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: KevinM - | 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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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