• 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!
  • 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] PokeFlute won't work help

DaimyoHermit

G Rank
  • 59
    Posts
    4
    Years
    Poke Flute doesn't work on my hack. I tried interacting snorlax on his face and sides and it still won't trigger the event. Is there a certain flag or variable needed to be activated or something else?
     
    I'm having a very hard time with this one. I tried to set all of his flags and variables from the old man that give you the item and didn't work. How do i even know what and where the specified flag is.

    Edit:
    I made the pokeflute that can only be obtained from a overworld pokeball in my hack i think that might be the problem?
     
    Last edited:
    I'm gonna assume your issue is that you're using the default Snorlax script, but talking to it only gives the "A pokemon is sprawled out here" message whether or not you have a pokeflute. If it's something other than that then you need to clarify your problem.

    Let's look at the default script for one of the Snorlax in Firered:
    Spoiler:

    I've tried to mark all the terminating flags before Snorlax wakes up with **
    The first is flag 0x23D, which is the only ordinary flag being checked. If you set this flag, it's not your problem.
    The second is a special that is an error checker of some kind. This is likely where your problem is. It could be that it's checking for the PokeFlute, but since this special is used in other parts of the game too, it's a progress checker whose functionality is a bit of an unknown to me. If it returns 0x2, your script ends.
    The final one checks whether the player clicked "NO" to using the pokeflute. This is not your problem.

    Pointing that out is about all the help I can offer since I've never messed with the Snorlax scripts. Now that you understand that, the easiest thing to do would be to stop just using that vanilla script and instead create your own script based on it. For starters, you could simply remove special 0x187 and replace it with a checkitem command that checks for the player's pokeflute. However, an even better thing to do would be to write a checkitem script from scratch so you no longer depend on the vanilla.

    Hope this helps at least somewhat
     
    Back
    Top