• 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?".
  • 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.
Z
Reaction score
0

Profile posts Latest activity Postings About

  • #org @Talk
    = Congratulations! You earned a Bulbasaur!

    Goes before the Givepokemon command.

    Then:

    #org @Talk2
    = [PLAYER] received a Bulbasaur!

    Goes between the fanfare and waitfanfare :)
    So you would have this, basically:

    Spoiler:
    Flags are areas of the ROM which store yes/no kind of information - they are either set, or clear.

    In scripting you use the commands: setflag 0xFLAG, clearflag 0xFLAG and checkflag 0xFLAG (where flag is a unique number, normally 400-1000).

    Some flags have special properties when set, and activate menus, badges, etc.


    (For Emerald, Ruby/Sapphire flags see here)

    For simplicity imagine that 'setflag' changes the value from 0 -> 1. 'clearflag' changes the value from 1 -> 0.

    Here is a script to demonstrate flag use in changing what happens:
    Spoiler:
    Ah that's a problem that crops up a lot, the issue is that 'hidesprite' is only temporary, to make it permanent you need to also set a flag, somewhere in the script (there might be one already), then you use that as the event's "Person ID" in Advancemap.

    Script:

    ...
    hidesprite 0x
    setflag 0x800
    ...

    Person ID: 800
    Hi Nova! I see you need a hand with scripting, hopefully I can help! Unfortunately I don't use skype, however I am often on VMs/PMs quite often here (GMT timezone).

    How much do you know about scripting so far? I can link you to some tutorials to get you started or help you with specific things if you've tried them and gotten stuck :)
  • Loading…
  • Loading…
  • Loading…
Back
Top