The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Help with this situation (https://www.pokecommunity.com/showthread.php?t=383241)

InfernapeOnFire November 15th, 2016 11:09 AM

Help with this situation
 
Hi!! This time I come to ask if someone knows as do this: I want that a door of a house remains closed until an event happens, after the event I want to enter in the house. Thanks!! :)

Froosty November 15th, 2016 8:54 PM

Create two tiles(i mean the one used in A-map)....with the same door tiles.....
Apply movement permission 1 to one of those and C to one of those...'


Then create a script in header file.. with option setmaptile
And create script with checking flag and setting that tile :)

InfernapeOnFire November 16th, 2016 11:19 AM

Quote:

Originally Posted by The_learner (Post 9488902)
Create two tiles(i mean the one used in A-map)....with the same door tiles.....
Apply movement permission 1 to one of those and C to one of those...'


Then create a script in header file.. with option setmaptile
And create script with checking flag and setting that tile :)

It could be done using a script with a checkitem and only door opens by having the object?

Froosty November 16th, 2016 5:54 PM

Quote:

Originally Posted by InfernapeOnFire (Post 9489516)
It could be done using a script with a checkitem and only door opens by having the object?

Yes why not.

BluRose November 16th, 2016 7:50 PM

this isn't a better or worse way, but is solely an option nonetheless:
you could do it vanilla-fr style and put a script tile in front of the door so that when you step on it it will be all "no u can't do this" and then force you to step back from the door. set the var to deactivate the script tile when conditions are met or make the checkitem branch to an end portion~


All times are GMT -8. The time now is 9:17 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.