• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • 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] Two Problems.

  • 12
    Posts
    9
    Years
    • Seen Aug 23, 2015
    Hi guys, I would like to know how to make a person invisible from the start so that he can move out of the door and appear.
    And also is there any #raw for hidesprite/showsprite that I can put in applymovement?
     
    1: Add a person ID in A-Map that matches to an unused flag. Set that flag somewhere. Clear it when you want them to show up.
    2: #raw 0x60 = hide #raw 0x61 = show
    Those only apply to the sprite it's moving though.
     
    How do I do it when everything happens in a script? Do you have an example, would gladly appreciate it.
     
    Here's a very basic script:

    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    faceplayer
    msgbox @1 0x6
    [B]hidesprite 0x1
    setflag 0x200[/B]
    release
    end
    
    #org @1
    = I will disappear!

    The hidesprite line does the actual work of disappearing. (Add fadescreen too, to, you know, make it more beautiful.) You need to set an unused flag too, okay? Remember that. If you don't set a flag, it will disappear, but when you walk, it will appear again. So, REMEMBER, set a flag. After making the script, remember to change the 0x1 to the person's actual person event #. You can find the person event # in A-map. Let me show you a picture.

    Spoiler:


    See the red circle? That's the person event #. After you've done that, set the flag to the Person ID. We used 200, right? So, we're gonna write 200 to the Person ID too. Here's a pic.

    Spoiler:


    If you have any further questions, just hit me up whenever :)
     
    Back
    Top