• 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.

[Other] Disappear command not functioning?

  • 18
    Posts
    10
    Years
    • Seen Apr 21, 2020
    In this instance, the script is activated when the player talks to Pikachu (0x1). What I would like to happen is for Pikachu's sprite to disappear between the two fadescreen commands, but that's not happening :(

    Spoiler:


    Here's another instance of this happening, but this time the event is activated via script tile. I would like for the sprite to disappear after running off screen, but again, that doesn't happen. Actually, it does disappear, but only until the player moves (at that point, it appears in its original position).

    Spoiler:


    Any ideas?
     
    I'm not that good in scripting but.... Could it be from not setting a flag? Maybe if you do the event will only happen once and the sprite will stay hidden just a guess sorry if I can't help :/
     
    There isn't a disappear command, but rather hidesprite. So use that.
    This didn't seem to work in either instance :( Thanks for the suggestion, though.

    @DarkenedEclipse I'm beginning to think it does have something to do with flags. It's just odd because I've used script just like those in the past and never had that problem. Thanks.
     
    In order to keep a sprite hidden you need to use hidesprite and set a flag, the flag must match the number for their 'Person ID' in A-Map.

    I hope that helps someway, unclear as to how you tried using a flag >< maybe you already tried this.
     
    Back
    Top