Views: 993,061,365
14 users online:  Alex_X8, bandicoot, Csm, edgar,  Eevee, fanfan21, GrenCarret,  K.T.B., lubeeji, Maxx, Pink Gold Peach, RollingRigatonis, TruffledToad, WIKIDNEZ - Guests: 77 - Bots: 143 Users: 54,459 (2,081 active)
Latest: sanskieth
Tip: Remaking levels from other Mario games is strongly discouraged, especially popular ones (World 1-1 from SMB or SMB3, for example), as their over-presence in Mario games, official or not, often makes them uninteresting to play.
Not logged in.
Reload level when Yoshi eats certain sprites by randomdude999
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Reload level when Yoshi eats certain sprites by randomdude999
Pages: « 1 » Link
File Name: Reload level when Yoshi eats certain sprites
Submitted: by randomdude999
Authors: randomdude999
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: Yes
Featured: No
Description: This code reloads the level when Yoshi eats certain sprites. You can specify up to 255 normal and 255 custom sprites to block.

The reload code itself is from Thomas's "L+R Reload" UberASM code, but I've included the necessary parts. You need to put LRRestart.asm in UberASM's library folder.
Also, uses 2 bytes of free RAM and a hijack that can be removed by patching unpatch.asm to your ROM.
If you want it to reset to the midway point correctly you will have to check the "Use separate midway point settings" flag for the level.
There are a few customization options in both LRRestart.asm and yoshi_eating_reset.asm.

Requested by Keiko_.