Banner
Views: 844,034,051
Time:
41 users online: Adam,  Aja, Amine Retro, AntiDuck, Arobam, Ashley Alexander, Barrels O' Fun, Batata Douce,  bebn legg, Carld923, DasFueller,  Deeke, EvanEMV, FelMay, Green Jerry, h.carrell, Hayashi Neru, Ice Man, Infinity,  JamesD28, kamekku14, Knucklesfan, Kusrry, LadiesMan217, LeGurdah, LMPuny, Mario is the best, Mirann, msi810, musicalman, natbergu, Ruberjig,  RussianMan, RyanRocksHacking, Rykon-V73, segredo, SimFan96,  Stivi,  Tahixham, toad64, Yuzu - Guests: 55 - Bots: 87 Users: 46,392 (2,791 active)
Latest: Slim Slem
Tip: You can draw more event tiles under the default Layer 2 Event tiles on the overworld for custom use!Not logged in.
Details for Disable Death Flag
SMW Patches - Disable Death Flag Show random
File Name: Disable Death Flag
Added:
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
84 downloads
Screenshots
Image
Thiago678
How to make this only make Mario not die by falling in a pit?
Posted by: Thiago678 - | Link
Thiago678
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?
Posted by: Thiago678 - | Link
thecentralbus
Kirby's Epic Yarn
Posted by: thecentralbus - | Link
RussianMan
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
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)
Posted by:  KevinM - | Link
Qwerty13x
It didn't work :,v
Posted by: Qwerty13x - | Link
KevinM
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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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