Language…
6 users online: jonathanjones7827, ocked, RetroJunky.T,  Saphros,  Segment1Zone2, SupStarBoi - Guests: 645 - Bots: 133
Users: 70,458 (2,474 active)
Latest user: jonathanjones7827

Sprite Respawner v1.1

SMW Sprites → Sprite Respawner v1.1

Submission Details

Name: Sprite Respawner v1.1
Author: Sonikku
Added:
Version History: View
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: A sprite that you place at roughly the same X/Y positions as another sprite. It aims to respawn the sprite whenever the target sprite is killed or otherwise despawns. This sprite is intended to be used with a sprite such as the Magikoopa disassembly, Lakitu disassembly, or the Boss Bass, but can realistically work with most others.

If the sprite is turned into a coin (i.e. Silver POW, Fire Flower), it'll only respawn when that coin is collected.

Uses Extra Bit: YES
If Extra Bit is set, it will respawn the sprite in the same X and Y positions as where it originally was.
If Extra Bit is clear, it will respawn the sprite in the same Y position, but from a random side of the screen.

Extra Byte 1 controls the timer before the sprite respawns

Extra Byte 2:
Bit 0 (01): Don't spawn if Mario is too close (when Extra Bit is set)
Bit 1 (02): Display smoke effect on-generate (when Extra Bit is set)
Bit 2 (04): Play sound effect on-generate
Bit 3 (08): Use free RAM to disable respawning sprites
Bit 4 (10): Suppress sound effect if Extra Bit is clear

Update: Now SA-1-compatible and uses extra bytes now!
Tags: lorom respawn respawner sprite
Comments: 12 (jump to comments)
Rating:
4.7 (7 ratings)
No rating
Download 4.33 KiB | 1,380 downloads

Screenshots

Comments (12)

Rock Link
This makes so many things easier!
Thank you!
 zuccha Link
Tested with: Lunar Magic 3.51, GPS 1.4.4, PIXI 1.42, SA-1 Pack 1.40, Mesen 2.0.0.

The update works fine, SA-1 compatibility and extra byte settings are nice features.

I modified the original sprite description in the JSON config file so that it's more specific for when the extra bit is clear and added a description for when the extra bit is set.

I also added version number v1.1.

The only very minor "complaint" I have with the sprite concerns the setting for suppressing the sound effect when the extra bit is clear (extra byte 2, bit 4), which is redundant with the generic setting for playing the sound effect (extra byte 2, bit 2). Note that this was already present in the previous version and I'm just pointing it out.
Alex No Link
This cane be useful in bossfights
BrownBuddy From older version: Sprite Respawner Link
For any dissapointed SA-1 users, use this tool: https://www.smwcentral.net/?p=section&a=details&id=6853. And convert the .asm file.

The respawner works fine on my SA-1 rom.
FedoraFriday From older version: Sprite Respawner Link
Would definitely appreciate an update to this old sprite.
A-l-e-x-99 From older version: Sprite Respawner Link
Kinda bugged: I have no clue how fast the timer counts down, and this thing tends to respawn sprites, like, lightning fast, even on a high timer, which is kind of a bad thing when you're using this thing primarily with Boss Basses/Porcu-Puffs and still want a fair hack.

Currently, I have "extra property byte 1" set to 250 (I converted this sprite to a .json file at some point, which only allows for decimal numbers...) and that SEEMS to work, but I'm not 100% sure...
qantuum From older version: Sprite Respawner Link
Thaks for the neat answer. I thik I understand it better. To make this work I've followed the descr and put this sprite at same X/Y than target sprite to respawn. But I have to put it below.
qantuum From older version: Sprite Respawner Link
This does not seem to work when the sprite has been obliterated by the "sprite kill muncher" block. Or maybe I don't understand well the insertion process in LM? --> forum post
Dark Prince From older version: Sprite Respawner Link
sad that it isn't sa-1 compatible
TheBiob From older version: Sprite Respawner Link
Updated to use pixi, also added tags and screenshots.
Medic From older version: Sprite Respawner Link
Acts somewhat strangely on the first screen (it spawns a new sprite even if the old one hasn't died yet) so keep that in mind.
zacmario From older version: Sprite Respawner Link
Thank you.