• 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.
  • There is an important update regarding account security and 2FA. Please 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

[Other✓] Accessing fly script through item

Squeetz

ROM Hacker
  • 191
    Posts
    12
    Years
    Hello,


    Relatively short question;
    Is it possible to access the HM move Fly through an item? (Without JPAN's engine)
    Has there been done any research on this?
    Thanks in advance.
     
    Last edited:
    Honestly this post is a good place to start.
    https://www.pokecommunity.com/showpost.php?p=8505424&postcount=8

    But, because I'm nice I looked through it and figured it out. All you need to use is a callasm 0x80C4EF9 and you can fly anywhere that you've already visited. :)
    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    faceplayer
    msgbox @m1 MSG_KEEPOPEN
    closeonkeypress
    callasm 0x80C4EF9
    waitstate
    release
    end
    
    #org @m1
    = I'm the Magical Flying Tree!\nLet's go!

    Something like that will work. It brings up the flying map, lets you pick a city, and you fly there. I believe the first non-fainted Pokemon is shown using fly, though.
     
    Back
    Top