Views: 826,924,599
22 users online: autisticsceptile1993, B-L SMW Hacks Nr.2, Cr4zy, DasFueller,  E-man38, ExONightZ, HenryJay13, Infinity, JamesD28, kamekku14, Mariofan85, MaximumA1, NeptuneNeon, NikSik1,  Noivern, Nowieso, SAMYR DUTRA ARAUJO, shaoshao, slopcore, SquidMan_Raps,  Telinc1,  xHF01x - Guests: 90 - Bots: 88 Users: 44,190 (2,521 active)
Latest: MaximumA1
Tip: A power-up is most useful to a player shortly after the midway point.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 »
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_.