• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking 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.

[Script] How to make sprite invisible at the beggining of the game?

  • 9
    Posts
    8
    Years
    • Seen Feb 4, 2018
    I've had some problems with hiding sprites.I want to do it similar to professor Oak in Pallet town.Using Adv Map you can clearly see that Oak is right next to players house, but it's somehow hidden.I want to make that. Script at the exit of pallet town begins with "showsprite 0x3", which proves that Oak is hidden and this just makes him visible.
    I've read somewhere that you need to setflag on sprite to make it invisible in the beggining... But how do i do that?
    I tried this(using fat guy in Pallet as a test):
    #dynamic 456794

    #org @start
    hidesprite 0x2
    setflag 0x750
    end
    ----------------
    but ofc it didn't work. I did put flag 750 in person id but nothing happened.
    Please help. Since english is not my native language i apologise for my grammar mistakes. Also because of that reason i need it explained step by step
     
    I've had some problems with hiding sprites.I want to do it similar to professor Oak in Pallet town.Using Adv Map you can clearly see that Oak is right next to players house, but it's somehow hidden.I want to make that. Script at the exit of pallet town begins with "showsprite 0x3", which proves that Oak is hidden and this just makes him visible.
    I've read somewhere that you need to setflag on sprite to make it invisible in the beggining... But how do i do that?
    I tried this(using fat guy in Pallet as a test):
    #dynamic 456794

    #org @start
    hidesprite 0x2
    setflag 0x750
    end
    ----------------
    but ofc it didn't work. I did put flag 750 in person id but nothing happened.
    Please help. Since english is not my native language i apologise for my grammar mistakes. Also because of that reason i need it explained step by step

    If the person ID is 750 and you set the flag at the beginning of the game (maybe a level script in the player's room), any overworld sprite with that ID should be hidden until you clear the flag. If you're doing it in the same map as the sprite you want to hide, make sure hidesprite command is for the 'Person event' number in Advance Map, not event number.
     
    If the person ID is 750 and you set the flag at the beginning of the game (maybe a level script in the player's room), any overworld sprite with that ID should be hidden until you clear the flag. If you're doing it in the same map as the sprite you want to hide, make sure hidesprite command is for the 'Person event' number in Advance Map, not event number.

    BUt i did that person event number, as you can see. Can you tell me how do i set the flag like they did to Oak?
     
    BUt i did that person event number, as you can see. Can you tell me how do i set the flag like they did to Oak?
    There's a special script somewhere that sets certain flags when the game starts (Oak, for exmaple). I don't know where it is though.
     
    You need to learn about level scripts. See my tutorial here: https://www.youtube.com/watch?v=FttPQvAyWB4&t=29s
    You also need to know about vars in addition to flags, which you can learn about here: https://www.youtube.com/watch?v=II4_T3MCnLo

    Awesome tutorials , helps a lot ! Have my like :) I'll update if i succeed

    UPDATE :
    STILL NOT WORKING. I'm noob at this :( Can somebody please write that level script that hides sprite and explain it? Thank you in advance.
     
    Last edited:
    Back
    Top