Views: 827,556,404
15 users online: AcidicSiren, BreadEater, brickblock369, Cr4zy, DPBOX,  E-man38, EMBEAM, flips_bad, HD_DankBaron, I'm Poppy, Infinity, lx5, Sapfire, Swaguy14256, timeisart - Guests: 65 - Bots: 85 Users: 44,279 (2,533 active)
Latest: CarlosGD2000
Tip: Unique level names aren't necessary, but they're a plus.Not logged in.
Details for Disable Death Flag
SMW Patches - Disable Death Flag
File Name: Disable Death Flag
Version History: View
Authors: Chdata
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
Download: Download - 1.32 KiB
Kirby's Epic Yarn
Posted by: thecentralbus - | 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).
Posted by:  RussianMan - | 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)
Posted by:  KevinM - | Link
It didn't work :,v
Posted by: Qwerty13x - | 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.
Posted by:  KevinM - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 19


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy