Language…
11 users online: Abdu,  AmperSam,  Burning Loaf, Faro, Heraga, Israelcv12cv, ITEnglishDegree, Power_Boii, spooonsss,  TickTockClock, WagnerBrasil - Guests: 97 - Bots: 114
Users: 56,349 (2,190 active)
Latest user: Breoc

Reload Level on L+R / Death

UberASM Repository → Reload Level on L+R / Death

Submission Details

Name: Reload Level on L+R / Death
Author: Thomas
Added:
Version History: View
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This is a routine you can use to reload the level when L and R are pressed together. Also has the option to reload on death as well.

Note: reloading a level with this code can cause the "256 entrance glitch", so it's recommended to patch it out with this.
Tags: l and r lorom reload sa-1
Comments: 19 (jump to comments)
Rating:
4.0 (1 rating)
No rating
Download 3.16 KiB | 302 downloads

Screenshots

View all

Comments (19)

 Donut Link
There's an issue with the reload room patch. It will repsawn you in a different level, if the level number is two digits long; for example, dying in level F7 will respawn me in level 1F7. The fix is just a missing ORA:
this:
Code
	LDA $010B|!addr
    	STA $0C
    	LDA $010C|!addr
    	STA $0D
    	JSL LRReset

to this:
Code
	LDA $010B|!addr
    	STA $0C
    	LDA $010C|!addr
	ORA #$04
    	STA $0D
    	JSL LRReset

...and that should fix that.. thanks goes to  Kevin for figuring this out lel
Domokun007 Link
Originally posted by Shizufuzu
If you die the music stops playing :X

Using AddmusicK fix that problem for me.
Shizufuzu Link
If you die the music stops playing :X
ODU Link
Testet with UberASM 1.4 and LunarMagic 3.21

Works, but music stops working when dying (used reloadRoom.asm).
Apart from that, i really like the fast retry mechanic!

Edit:
Explanation:
On my hack, the L/R Reset works fine.
Also the death-qick-reset works as intended.
But, if i die in contact with an enemy, the music just stops.
Other sound effects still work probably.

HTH

(Emulators: snes9x, bsnes, mednafen)
 JamesD28 Link
Tested with:

• Lunar Magic 3.21
• SA-1 Pack v1.32
• UberASM Tool 1.4
• Snes9x v1.60
• bsnes plus v05

Works as intended, so, update accepted.
 Kevin Link
Update: fixed a bug with reloadMidpoint where getting the midway, then leaving the level (like, start+select or dying without having the reload on death) and then re-entering it would make the reset not respawn you at the midway (thanks to Stivi for finding it).
 Kevin From older version: Reload Level on L+R / Death Link
I don't think you can do that, but why would you want to keep the glitch anyway?
Jaffra From older version: Reload Level on L+R / Death Link
Yes @KevinM, but then it fixes it everywhere. If you want the glitch to work like in vanilla, but not be triggered by this retry patch, what do you do?
 Kevin From older version: Reload Level on L+R / Death Link
Originally posted by Jaffra
This can trigger the 255 exit glitch.

You can patch it out with this.
Jaffra From older version: Reload Level on L+R / Death Link
This can trigger the 255 exit glitch.
AuraDee From older version: Reload Level on L+R / Death Link
Tested with Lunar Magic 3.04, SA-1 Pack v1.32, Snes9x v1.55, UberASM Tool 1.4. Works as intended.
 Kevin From older version: Reload Level on L+R / Death Link
Update: made the code SA-1 hybrid and added screenshots.
 RussianMan From older version: Reload Level on L+R / Death Link
FedoraFriday From older version: Reload Level on L+R / Death Link
This patch, if you have it set to reload on death at midpoint, is bugged. After 255 deaths you get a ghost house level intro and go back to the start. Obviously thats unintended, and it should probably be fixed
Green Jerry From older version: Reload Level on L+R / Death Link
Type:
JackTheSpades From older version: Reload Level on L+R / Death Link
Wow, super neat. Didn't know you could pull this off with just uberASM without external hijacks to the death routine or the like.
Good job
 Thomas Author From older version: Reload Level on L+R / Death Link
Whoops, missed that rule. Updated it to code for the tool.
TheBiob From older version: Reload Level on L+R / Death Link
This is for the Uberasm patch and not uberasm tool.
You could make a version for the library folder.
 Vitor Vilela From older version: Reload Level on L+R / Death Link
Note: won't work with standard SA-1 Convert Tool.