• 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] People don't disappear

  • 87
    Posts
    9
    Years
    • Seen Feb 5, 2021
    Hi, I'm working on Emerald 650 and notice a sort of bug in a definite kind of script.
    These scripts consist in a person saying/giving something which I want to make disappear definitely after that.
    At the end of the script I put "setflag 0xoffset" (I tried with 4011-40FF offsets and then also with 4100 and over) and then I put the offset in the person ID of Advance Map. Then two different things may happen while playing:
    1) The person reappears after walking or changing Map
    2) I save the game, reload it and the person reappear after my first step

    Am I just incompetent or is it a problem with the base ROM I use? And in any case, how can I solve this problem?
    Thanks to those who will answer.
     
    Thanks, as soon as possible I'll try. Does it count for vars too? Because if I have to use about 250 flags for vars too I guess they're not enough...
     
    Allright, now it works, thanks!
    Do I have to use the same method to make Pokèball items disappear? I've seen that ingame item scripts are just something of this kind:
    '---------------
    #org 0x290EAC
    giveitem 0xD 0x1 MSG_FIND
    end

    And the Pokèballs have a defined Person ID. How does that work precisely?
     
    Back
    Top