Language…
17 users online: Alex No,  AmperSam,  Anorakun, DanMario24YT, GiraffeKiller, Green, Green Jerry, h.carrell, Hammerer, JikissGamer, MaffYuu, Maw, Metal-Yoshi94, Ray Hamilton,  StayAtHomeStegosaurus, Tulip Time Scholarship Games, Zatara - Guests: 303 - Bots: 437
Users: 64,795 (2,369 active)
Latest user: mathew

Donut Lift Block v1.2

SMW Blocks → Donut Lift Block v1.2

Submission Details

Name: Donut Lift Block v1.2
Authors: Davros, mikeyk
Added:
Version History: View
Act As: 100 or 130
Includes GFX: Yes
Description: An updated and optimized version of the donut lift block included in Spritetool. This custom block spawns a custom sprite when touched from above or the corners. Details in the readme.

-----------------------------------------------------------------------------
v1.2 - 11/11/2022 - spooonsss
- Fix crash when there are no available sprite slots
- Fix occasional crash when sprite turns back into block
v1.1 - 06/07/2019 - Tattletale
- Bundling the sprite together and out of pixi :crash:
07/06/2015 - greenhammerbro
-Fixed a small glitch that if the player jumps 1 frame the instant
mario touches the top of the block won't trigger the block. This is
because $7E:0072 doesn't set to zero the first frame mario touches
the top of the block. (this glitch might be responsible for the
screen not scrolling up in levels that have "vertical scroll at
will" (it was supposed to scroll the screen up if you are higher up
the screen AND standing on platform), as well as the wooden smasher
not hurting the player when alternating between two jumps (A and B
buttons) each frame).
-Fixed the description about the block behavors, now states that you
can have it behave $100 (1-way up ledge).
07/07/2015
-Davros pointed me out that I have typos in the above history.
05/11/2017
-Now the block -> sprite transition is actually smooth!
Tags: donut lift lorom sa-1 smb3 sprite
Comments: 30 (jump to comments)
Rating:
5.0 (1 rating)
No rating
Download 8.45 KiB | 1,598 downloads

Screenshots

Comments (30)

Ice Man Link
Just noticed that the blocks disappear when you're hurt and jump on them.
Anyone an idea for a fix?
 Donut Link
Tested with:
Lunar Magic v3.33
GPS v1.4.4
pixi v1.32
SA-1 v1.40
bsnes v115
Magicfreak From older version: Donut Lift Block v1.1 Link
After I jump on the donut block, it transforms into another block which is black. What do I need to change?
Heitor Porfirio Link
I think it would be cool if the graphics that come with this block came with optimized graphics (in the sprite version) and a Foreground GFX that your slot would be more appropriate in BG3, and some other necessary files.

An example of that would be this one.
SmokyShroom Link
I've gotten into the habit of viewing waiting files first, ...for good reason! Hoping this gets approved soon; good work. Remember experiencing one of those crashes.
buggy789 From older version: Donut Lift Block v1.1 Link
Does this have any graphics for the block rather than the sprite?
Random Internet Name From older version: Donut Lift Block v1.1 Link
Originally posted by Flaming Hot Toons
how can I make this turn red when touched

Manually edit the block palette to be different than the sprite palette. USe Pixi's CFG editor to make the sprite palette be the one used by red koopas and reinsert the sprite with the updated sprite
Flaming Hot Toons From older version: Donut Lift Block v1.1 Link
how can I make this turn red when touched
mason From older version: Donut Lift Block v1.1 Link
Originally posted by Friday_D0nat
I want to change the palette the sprite uses from "E" to "C", but I can't find the place to change it (in the ".cfg" and in the ".asm" file)
Is there a way to change the palette, without changing the in game palette or enabling custom palettes?

(Also, this is COOL! I love it! #smw{<3})


Open up the .cfg file in CFG editor, there's an option in the top middle of the window where you can input the palette number you want to use. Make sure to save your .cfg file after!
 Donut From older version: Donut Lift Block v1.1 Link
I want to change the palette the sprite uses from "E" to "C", but I can't find the place to change it (in the ".cfg" and in the ".asm" file)
Is there a way to change the palette, without changing the in game palette or enabling custom palettes?

(Also, this is COOL! I love it! #smw{<3})
ModernKiwi From older version: Donut Lift Block v1.1 Link
Originally posted by AnasMario130
Makre sure you defined the right Map16 tile. Then it should work.

Just to make sure that I'm conserve as many gfx slots as possible, does the included GFX have to be put in both the SP2 and BG2/BG3 slots in order for both the sprite and the block to appear as intended?
Anas From older version: Donut Lift Block v1.1 Link
Makre sure you defined the right Map16 tile. Then it should work.
ModernKiwi From older version: Donut Lift Block v1.1 Link
I inserted this into my Rom Hack, and I have 1 major issue
- When Mario is no longer standing on a block, it turns into a glitched tile and can no longer fall from being stood on
What can I do to fix this?
IAMADINOSAUR From older version: Donut Lift Block v1.1 Link
Originally posted by Misterfan2000
I tested it in my Rom-Hack, but there is two problems:
- The Sprite that the block spawns appears as black color.
- When I jump on frame 1, the block suddenly transforms into an another block

There're any solutions??


Sounds like you didn't insert the palette file to your level and change the map16 number in the sprite asm file.
Misterfan2000 From older version: Donut Lift Block v1.1 Link
I tested it in my Rom-Hack, but there is two problems:
- The Sprite that the block spawns appears as black color.
- When I jump on frame 1, the block suddenly transforms into an another block

There're any solutions??
Romano338 From older version: Donut Lift Block v1.1 Link
Ok ok I wasn't sure if it was just not properly working in my rom. Maybe the sprite respawner would work nope it doesn't

And you didn't have to use that tone in your message. I was just asking a question.
Tattletale From older version: Donut Lift Block v1.1 Link
Originally posted by Romano338
So they don't respawn?

Blocks don't have the ability to respawn, no.

You could keep the sprite it spawns alive until the player goes offscreen so it respawns the original block and dies, but that would leave a lot of sprites dangling and eating sprite slots, which would be pretty bad - probably as bad as using only sprites for this instead of blocks - so for general purpose I think that's the best that can be done, as far as an implementation with blocks and default sprites types go.

Anything better than that would require solutions that do not rely on either this game's block system or standard sprite systems (unless they are used for run-once). So no, I don't think anyone would ever fix that - if that's an issue at all, depends on how you wanna look at it.

Can be done with cluster sprites - be my guest to fix that.
Romano338 From older version: Donut Lift Block v1.1 Link
So they don't respawn?
 RussianMan From older version: Donut Lift Block v1.1 Link
Tested With:
-Lunar Magic 3.04
-SNES9X 1.60
-GPS 1.4.1
-PIXI 1.2.10
-SA-1 1.32

Verified to work on SA-1 rom, at least with only resources used for testing. I also edited graphic file and added palmask for sprite so it can be used as both foreground and sprite tile (sprite now uses palette E). I did it because non of SMW palettes matched original graphic. Added screenshot.
Green Jerry From older version: Donut Lift Block v1.1 Link
Originally posted by Tattletale
Originally posted by Hooded Edge
Still breaks on SA-1 roms when used.

Nope. You are doing something wrong. Check the sprite define for the block, or the block define for the sprite.

I'm pretty sure it's because this doesn't have the "sa-1" tag.
Tattletale From older version: Donut Lift Block v1.1 Link
Originally posted by Hooded Edge
Still breaks on SA-1 roms when used.

Nope. You are doing something wrong. Check the sprite define for the block, or the block define for the sprite.
 Hooded Edge From older version: Donut Lift Block v1.1 Link
Still breaks on SA-1 roms when used.
nlxt From older version: Donut Lift Block Link
The crasheo he makes is very useful to me :V
NaroGugul From older version: Donut Lift Block Link
Having the same problem as Romano338. It turns back into some other unassigned tile instead of the tile ive inserted with GPS.
Any fix for that?

^^^ just ignore this.. just seen the setting inside the sprite asm
Romano338 From older version: Donut Lift Block Link
doesn't work, I can just jump as soon as I get onto the block to make it regular ground
thewhiskas27 From older version: Donut Lift Block Link
Is this the SMB3 donut lift or NSMB2 / SM3d series ones ?
 Erik From older version: Donut Lift Block Link
asm
I optimized the code. Preserving X wasn't needed, neither was SEC or TAX.
HammerBrother From older version: Donut Lift Block Link
@ samanato:

Gps has been updated, now has the missing routines.
samanato From older version: Donut Lift Block Link
Doesn't work with the latest GPS. Apparently it's using a routine, %move_spawn_into_block, that doesn't exist. (not included with the block itself)
Masterlink From older version: Donut Lift Block Link
>GHB's fix

Thank you! That bug has always annoyed me; I never liked the idea of having a Donut Lift act completely solid.