Language…
8 users online: CalHal, Claire_Chan, HammerBrother, JaizePLS, kurtistrydiz, SkyeLondon18, spel werdz rite, UTF - Guests: 78 - Bots: 318
Users: 65,939 (2,184 active)
Latest user: Claire_Chan

Disable Death Flag

SMW Patches → Disable Death Flag

Submission Details

Name: Disable Death Flag
Author: Chdata
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch hijacks the death routine to not activate it when a certain flag is set to 1. Open the asm file to see which freeram address is used, and change it if it's already used by some other resource.

When the flag is set to 1, death will be completely disabled, but Mario can still get hurt if big or on Yoshi. Also, falling in a pit will result in an upwards speed boost rather than death.

Note that this won't work if some custom sprite embeds a custom death routine in their code.
Tags: lorom pacifist sa-1
Comments: 7 (jump to comments)
Download 1.32 KiB | 191 downloads

Screenshots

Comments (7)

Thiago678 Link
How to make this only make Mario not die by falling in a pit?
Thiago678 Link
Originally posted by KevinM
Originally posted by ExONightZ
It didn't work :,v

Did you set the flag to 1 in the level you want the effect in? (For example with a simple level ASM)

How?
thecentralbus Link
Kirby's Epic Yarn
 RussianMan Link
Tested With:
Lunar Magic 3.04
Asar 1.71
SNES9X 1.60
SA-1 1.32
UberASM Tool 1.4

Works correctly. Do note that player can get stuck inside of screen boundary if pushed in with a autoscroller, since crushing doesn't kill player anymore. I don't think it's easy to fix with patches, so just don't make your level with death disabled a autoscroller level (like ASMT did).
 Kevin Link
Originally posted by ExONightZ
It didn't work :,v

Did you set the flag to 1 in the level you want the effect in? (For example with a simple level ASM)
nlxt Link
It didn't work :,v
 Kevin Link
Converted to Asar and SA-1, changed the hijack for checking if Mario is in a pit and rewritten a bit the code accordingly, and added a screenshot.