• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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