Views: 993,056,217
13 users online: Alden, Children's Digest 1950-2009, Julintendo,  K.T.B., MarkAlarm, Natsu, OnlySpaghettiCode, Pink Gold Peach, Retro Master HD, Serge, TailsDaFox, The_Uber_Camper, WIKIDNEZ - Guests: 95 - Bots: 158 Users: 54,459 (2,081 active)
Latest: sanskieth
Tip: Don't just modify the original SMW overworld; start from scratch.
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_.