Banner
Views: 583,739,315
Time: 2017-11-20 07:07:32 AM
6 users online: Bad luck man, JonKaruzu, MercuryPenny, Najeraldo, o RealMarioGamer, Sixcorby - Guests: 25 - Bots: 210Users: 33,001 (1,432 active)
Latest: Petrifying
Tip: Palettes 0-3 do not work correctly on the overworld unless you use LM's option to disable the event reveal animation.Not logged in.
Details for Door if current or specific level beaten
SMW Blocks - Door if current or specific level beaten
File Name: Door if current or specific level beaten
Added: 2016-02-18 05:55:22 AM
Authors: GreenHammerBro
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
Rating: 5.0 (Votes: 1)
Download: Download - 7.96 KiB
152 downloads
  Submit Update
Screenshots
Previous 
 Next
GreenHammerBro
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: GreenHammerBro - 2016-02-07 04:42:56 PM
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 - 2016-02-07 02:32:57 PM

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

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


Total queries: 27

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented