Banner
Views: 713,541,535
Time:
16 users online: Akaginite, Atomic-Citrus, BiancaRerre, CosmicTiff, Darolac, DPBOX, Fullcannon, Green Jerry, Kazzzy, KorayD, LMPuny, Ragey, RequiredTaste, RollingRigatonis, Rykon-V73, SuperYoshi SMW - Guests: 35 - Bots: 164Users: 37,259 (1,598 active)
Latest: VarioBro
Winter 2019 C3 Content Spotlight
Rykon-V73's Yoshi's Island Hack Demo!
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:
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
230 downloads
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 -
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 -

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

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


Total queries: 26

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

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