Banner
Views: 992,873,850
Time:
8 users online: Hayashi Neru, Jordan,  Kevin, Ladida, Neidave, Nostalgick,  TheOrangeToad, UTF - Guests: 57 - Bots: 113 Users: 54,455 (2,086 active)
Latest: vampirelich
Tip: If your level contains elements that temporarily change the music to a global song (such as a P-Switch or a Star), that music will not stop playing after the intended end time if the music bypass setting is set to 00.
Not logged in.
Details for Door if current or specific level beaten
SMW Blocks - Door if current or specific level beaten Link - Show random
File Name: Door if current or specific level beaten
Added:
Authors: HammerBrother
Act As: 25
Includes GFX: No
Description: This door will be able or unable to be entered if the player has cleared the current or specific stage has been beaten.
Tags: door, level beaten, lorom
Rating: 5.0 (Votes: 1)
Download: Download - 7.96 KiB
394 downloads
Screenshots
Previous 
 Next
HammerBrother
Try adding multiple checks, ram address $1EA2 is the current level status.


do this:
Code
LDA $1EA2+x
BPL Return
LDA $1EA2+y
BPL Return
LDA $1EA2+z
BPL Return
[...]

^replace x y and z with a level number with a level number, Use this as a formula for converting sublevels:
Code
if !WhatLvl > $24
	!TransLvlNum = !WhatLvl-$DC
else
	!TransLvlNum = !WhatLvl
endif


I recommend looking on this asm tutorial
Posted by: HammerBrother - | Link
Alex No
is it possible to do this with more than one level. If you must do like 8 levels for opening that door. Like in my hack, i have 8 worlds that must be completed to enter the last world. Can i use this door for doing that? Instead of making 8 doors of this.
Posted by: Alex No - | Link

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

Copyright © 2005 - 2022 - 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
  • sm64romhacks