• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Map] one-way level changing

  • 7
    Posts
    6
    Years
    • Seen Mar 27, 2019
    Hey there!
    I was wondering if you can change the height level of two tiles like falling down somewhere.
    I mean like you have a bridge with a 3C level and if you run down from that tile you're landing on a C block next to it, but can't get up without using a 0 block.
    Alternatively I'd accept a way to exit a block to the left/right, but not being able to enter it from the same side.
    Thanks in advance
     
    The scripting command 'setmaptile' can change the movement permission of a tile to 0x0 or 0x1 so if you step on a script you can change that. Its not exactly perfect and you will probably have issues if you're trying to emulate somebody falling off a bridge unless its set up correctly, but it can work.

    Your alternative idea is definitely workable though. Tile behaviour bytes 0x30 - 0x37 prevent the player from moving in certain directions if they're standing on the tile. A place where you can see this in action is the Chairman's sofa at the top of Silph Co. In this particular case it creates a seam running across the back of the sofa that you can't pass when travelling up/ down. If you only use one tile with movement restrictions rather than two, you can create a situation where the player can walk in, but they can't walk out. I can't think of any better examples of it in-game so check it out.
     
    Back
    Top