Banner
Views: 863,796,228
Time:
28 users online: Ayami, BrandoGaming, chickaDEE Magazine, Daizo Dee Von, DeppySlide,  E-man38, Eduard,  JamesD28, KaidenThelens, Lumy,  Major Flare,  MarioFanGamer,  Nameless, NathanWarford, NerDose, NewPointless, olgdeldnem, pifpaf, qantuum, SAMYR DUTRA ARAUJO, Sir_Danny_TM, solgaleo35, Sping bot,  Stivi,  Tahixham,  Telinc1, thiaguintx, yoshiatom - Guests: 64 - Bots: 134 Users: 47,813 (2,084 active)
Latest: Ethaninator19
Tip: You can insert custom sprites on the overworld by using Overworld SpriteTool.Not logged in.
Details for Door if current or specific level beaten
SMW Blocks - Door if current or specific level beaten 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
338 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 - 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