• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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✓] Accessing fly script through item

Squeetz

ROM Hacker
  • 191
    Posts
    11
    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