• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Script] Setmaptile-Level script doesnt activate

  • 7
    Posts
    3
    Years
    • Seen Nov 8, 2021
    I wanted to insert the below level 1 setmaptile script into the game, where defeating certain trainers and reaching a certain flag spawns warp tiles in the top floor of a cave and also removes one barrier (so you dont have to walk the whole way everytime). While the warps generally work the tiles dont change, so the warps only work on the way out and the removal of the barrier also just doesnt happen. I tested with the compare command and without and with special 0x8E and without. I looked up the level scripts from vanilla firered where the same thing happens and basically copied what they did, but it still doesnt work. Can someone help me with that?

    Spoiler:
     
    Yes, I did. So having a person event for example in addition to the level script or instead? How does the warp point at Saffron gym at Sabrina spawn when entering her room then? There isnt any script and it works, but maybe I am overseeing things.
     
    @Zarro

    So having a person event for example in addition to the level script or instead?

    Yes, in addition. As I said, a setmaptile script only activates once when you enter the map. When you stay on the same map and want tiles to change, you need to use the setmaptile command in combination with special 0x8E in some other script to activate this change of tiles while staying on the same map.

    How does the warp point at Saffron gym at Sabrina spawn when entering her room then?

    As far as I know, there are only regular warp tiles in her gym in Gen III? The destination of those panels doesn't change throughout your gym's progress depending on what trainers you've beat. AKA they're not altered in any way by any kind of script.
     
    Back
    Top