Jump to content

Photo

Locked Dungeon Entrance

FFC

  • This topic is locked This topic is locked
3 replies to this topic

#1 LinktheMaster

LinktheMaster

    Hey Listen, Kid

  • Members
  • Real Name:Matt
  • Gender:Male
  • Location:United States

Posted 30 March 2013 - 09:09 AM

Locked Dungeon Entrance


Description

This was requested by multiple people in this topic. It's an alternative to the the old "lockeddungeon" script, though this isn't compatible with the old version.

Basically, this mimics the behavior of the GB Zelda games were oftentimes you'd have to get a special key to open up certain dungeons. Essentially, the player can only open it when Link has any item of your choosing.

Note: You can only trigger the dungeon entrance from below.

Screenshots and Demo

Just the screen I was using to test around (ignore the top fence entrance).

001.png
002.png
003.png

Code

ItemLockBlock Code


Setup

1. Create two combos for the dungeon entrance. The locked combo, then the open combo to its right (like you would setup a locked block). Do not set the locked version to a "lock block" combo type!
2. Put this FFC over the locked combo on the screen with this script attached, and the following variables set:

d0: The combo number of the locked combo
d1: The item required to open the lock block
d2: The message that is displayed if you do not have a lock block (leave as 0 if not desired)
d3: The sound effect played when opening the lock block (leave as 0 to use the shutter SFX)
d4: Set as 1 if you want the item to be removed from Link's inventory

3. If you wish the change to span across multiple combos, follow steps 1 & 2 for all other combos on the screen. If one of these is setup and triggered, they are all simultaneously triggered.

Note: Do not have a normal lock block on the screen!

Resources
std.zh



#2 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Gender:Female
  • Location:Rainbow Factory

Posted 02 May 2013 - 08:32 PM

Your screenshots are broken it seems. :(

#3 David

David

  • Forum Moderators
  • Real Name:David
  • Gender:Male

Posted 30 September 2013 - 08:01 PM

Oooh, I think this will be very effective for my quest. Thanks a lot! :D Your such a great programmer. :)

#4 Aefre

Aefre

    *Feeling it*

  • Members
  • Real Name:Unkown
  • Gender:Unspecified
  • Location:Stop Looking

Posted 09 January 2014 - 11:20 PM

...huh how do i do it?


Edited by GreatJK, 09 January 2014 - 11:21 PM.




Also tagged with one or more of these keywords: FFC

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users