• 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.

Script Requests/Sharing/Discussion

Status
Not open for further replies.
1,104
Posts
16
Years
  • Is there something wrong with this script that I made for the Script event, not for a person?

    Code:
    #org $Move1
    checkflag 0x200
    if B_TRUE goto $Done
    applymovement 0x12 $whogivesthe
    pause 0x10
    setflag 0x200
    end
    
    #org $Done
    end
    
    #org $whogivesthe
    $move 1; #Binary 0x56 0x10 0x06 0xFE
    
    goto $GiveBeldum
    
    #org $startBel
    checkflag 0x800
    message $GiveBel
    $GiveBel 1 = \v\h01!/pYou forgot your Beldum!/nI found it outside/pof your house when/nI woke up, so I came/pto give it to you!
    give pokemon 398 5 8E
    jingle
    message $GotBel
    $GotBel 1 = You obtained Beldum!
    boxset6
    message $NameBel
    $NameBel 1 = Would you like to give/nBeldum a Nickname?
    boxset5
    compare LASTRESULT 1
    if b_false goto $GiveDex
    Namepokemon
    setflag 0x203
    goto $GiveDex
    
    #org $Givedex
    Setflag 0x800
    setflag 0x801
    message $Pokedex
    $Pokedex 1 = I also found your Pokedex!
    boxset6
    jingle
    message $GotDex
    $Gotdex 1 = You got the Pokedex!
    boxset 6
    end

    Well this script looks really wierd to me. Only this part is valid. The rest has no way of being involved. Also is the people number 12 or 18.

    Code:
    #org $Move1
    checkflag 0x200
    if B_TRUE goto $Done
    applymovement 0x12 $whogivesthe
    pause 0x10
    setflag 0x200
    end
    
    #org $Done
    end

    Try something like this. I'm not sure if this is teh way that you want everything to happen.

    Spoiler:

    I'm wondering, If I could request gold scripts here.....

    You could but I don't know how many people, besides CBM and Blazichu, would be able to answer. Lots of people here try to help but make it worse anyway. So people will try to help.
    BUt I've got a question, would the script be in hex or pokescriptGS...?
     

    ♠εx

    Working on my hack, busy also.
    299
    Posts
    16
    Years
    • Seen Aug 15, 2008
    I've got a few scripts.

    This warp doesn't work.
    Code:
    message
    #org 0x800000
    message 0x800100
    boxset 0x6
    release
    end
    
    #org 0x800100  = Abra!
    warp 0x3 0x14 0x8
    end

    When I step out of a door of a house onto this nothing happens...
    Code:
    #org 0x800000
    applymovement 0x3 0x800100
    givepokemon 0x800001
    boxset 0x6
    setflag 0x200
    release
    end
    
    #org 0x800100
    #raw 0x08
    #raw 0x08
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0xFE
    
    #org 0x800001
    givepokemon 0x78 0x5 0x3
    message 0x80001 = Have my old Pokemon, an Eevee\lfor your starter.
    end
     
    1,104
    Posts
    16
    Years
  • I've got a few scripts.

    This warp doesn't work.
    Code:
    message
    #org 0x800000
    message 0x800100
    boxset 0x6
    warp 0x3 0x14 0x8
    release
    end
    
    #org 0x800100  = Abra!

    When I step out of a door of a house onto this nothing happens...
    Code:
    #org 0x800000
    applymovement 0x3 0x800100
    givepokemon 0x800001
    boxset 0x6
    setflag 0x200
    release
    end
    
    #org 0x800100
    #raw 0x08
    #raw 0x08
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0x0A
    #raw 0xFE
    
    #org 0x800001
    givepokemon 0x78 0x5 0x3
    message 0x80001 = Have my old Pokemon, an Eevee\lfor your starter.
    end

    I'll change your scripts int he quote. For the first one, the warp was in the wrong spot. I'm assume you know about hex and decimal numbers, so I won't say anything about that.

    For the second one. Script's don't work if there used at the foot of a door. They seem to be negated if it's at the foot of a door your exiting from. Try doing this.
    D - Door
    f - Foot of the Door
    S- Script
    D
    S F S
    S

    USe three scripts around it so once you take step, you can move.

    The only other alternative if you want it to happen as soon as you leave the house you could try learning level scripts.
     

    ♠εx

    Working on my hack, busy also.
    299
    Posts
    16
    Years
    • Seen Aug 15, 2008
    I'm finally understanding most of this :P.
    I'll just adjust the script so it happens when you try walk out of the town, but would I then need to add removeflags?

    I'll work it out somehow.
    Thanks.
     

    Piplup-Trainer

    This is my custom user title.
    228
    Posts
    16
    Years
  • Help me at a Pikachu Script!

    I writed this script, which a Pikachu says something and then battles with you :

    #org $PikaText1

    message $PikaText
    Pikatext1 = Hehehehehehe...with the legendary Ho-Oh/nwe can awake the three legendary dogs!/pAnd then, I and my master will rule over the Hoenn-region!

    Lock
    Faceplayer

    message $PikaText2
    PikaText2 = Who are you!?/nAnd what are you doing here!?/pWhat!?/pYou know about my plans!?/pSo that means that you have spied me!?

    trainerbattle 0 FFF $MadChall $MadDefeat
    $MadChall1 = Okay, you bastard. It's time for a battle!/pC'mon, bring it on!!!
    $MadDefeat1 = What!? I can't believe that!!!/pYou killed all my mighty pokemons!!!

    message $PikaText3
    PikaText3 = Okay, you a**h***!/nYou defeated me./pDo you really think now, that we're going now/n to stop our plans because you defeated me?/pHahahahaha!?/pMan, you're stupid./pThis time, you were lucky./nBut at the next time, you won't be so lucky!

    boxset6
    release
    end

    1) After PikaText1, I want a script, that shows over Pikachu a "!". What I must write down?

    2) I want, that the Pikachu goes to the warp and exit the room (like May at Route 103 --> click her on the front side, she goes 1 step right and 2 steps down. --> click her on the left / right side, she goes 2 steps down. Then you don't see her anymore).

    3) Which programm I need, to save the file as a .rbc-file and how I burn the script into the rom!?

    PS : I don't tested the script!
     

    ~*Pikafan*~

    Man I gotta stop leaving!
    202
    Posts
    16
    Years
    • Age 29
    • Seen Oct 23, 2011
    There's a Tutorial that says how to do that. I'll PM you the 2 links.

    And also, Thethethethe, the script still doesn't work.
     

    Juan

    Brazilian with a bad English
    92
    Posts
    16
    Years
  • I made one script, but he does not function: (
    When the mother calls you, you would have that to go to speak with it, but she does not go.
    And the POKÉMON MENU does not appear.

    Spoiler:


    I added the video of that it happens in script
     

    $_$

    ?????????
    65
    Posts
    17
    Years
    • Age 31
    • Seen Oct 4, 2016
    How do I get my script to happen once.
    Can someone help me please.
    #org 0x7B2000
    lock
    faceplayer
    applymovement 0x3 0x7B2200
    message 0x7B2300
    boxset 0x6
    applymovement 0x3 0x7B2400
    applymovement 0xFF 0x7B2500
    pause 0x120
    message 0x7B2600
    boxset 0x6
    #raw 75
    #raw 3A
    #raw 00
    #raw 0A
    #raw 03
    message 0x7B2700
    boxset 0x6
    #raw 76
    message 0x7B2800
    faceplayer
    boxset 0x6
    applymovement 0x3 0x7B2900
    pause 0x20
    lock
    applymovement 0x4 0x7B2A00
    givepokemon 0x3A 0x5 0x0
    end

    #org 0x7B2200
    #raw 0x66
    #raw 0xFE
    #org 0x7B2300
    = Let's hurry before the ship leaves\nto Johto!
    #org 0x7B2400
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x4A
    #raw 0x62
    #raw 0xFE
    #org 0x7B2500
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0xFE
    #org 0x7B2600
    = Oh, I almost forgot. I wanted to\ngive you your birthday present.
    #org 0x7B2700
    = Grandpa gave you GROWLITHE!
    #org 0x7B2800
    = Well good bye my grandson.\nI'll see you in Olivine City.
    #org 0x7B2900
    #raw 0x8
    #raw 0x60
    #raw 0xFE
    #org 0x7B2A00
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xB
    #raw 0xFE
     

    ~*Pikafan*~

    Man I gotta stop leaving!
    202
    Posts
    16
    Years
    • Age 29
    • Seen Oct 23, 2011
    Ok, I was testing a movement script, but I have no Idea what happened with this. If anyone could help me out, I was trying to make it so that an aid would come down 3 steps and then go to the right 2, then turn and face you, talk to you, then make you walk 28 steps to the right with you following him by going up one step then going to the right 27. I tried putting in one separate step each with 28 in total, but when I did, it said there was an error. So can someone see what went wrong?

    Spoiler:
     
    245
    Posts
    19
    Years
    • Age 34
    • Seen Aug 5, 2022
    Hi i am having some trouble with pokescript now i am trying to use the right versions and stuff but no matter what script i try to compile the same runtime error comes up. It is a 457 error (can't remember the info the error gives) and this happens when I try to register a database with it as well
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • What's wrong with my script:
    Code:
    #org $start
    lock
    faceplayer
    message $piaf
    boxset 6
    checkflag 0x808
    wildbattle 21 7 0
    release
    setflag 0x500
    fadescreen 0
    pause 0x30
    applymovement 0x3 $piafa
    pause 0x30
    #raw 53
    #raw 03
    #raw 00
    release
    end
    
    #org $piaf
    $piaf 1 =Piafaaaa!!!
    
    #org $piafa
    #binary 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D

    the sprit didn't move and didn't remove from the map.
     
    Can anyone make these two for me? They both don't work when I try to make them...

    You: *talks to person*
    person: Do you want me to bring you to a training place?
    person: *if said yes* ok lets warp. *warps to the map*
    person: *if said no* ok that's fine.


    And:
    You: *talks to guard*
    Guard *If you have the BP(Eon Ticket)* Ok you may enter *takes one step to the left and one step up*
    Guard: *If you don't have BP*Get a BATTLEPASS first.

    These don't work. And I don't know why. I've tried multiple things but they all screw up in the end -.-
     

    Juan

    Brazilian with a bad English
    92
    Posts
    16
    Years
  • I made one script, but he does not function: (
    When the mother calls you, you would have that to go to speak with it, but she does not go.
    And the POKÉMON MENU does not appear.

    Spoiler:


    I added the video of that it happens in script
    http://www.pokecommunity.com/attachment.php?attachmentid=38647&d=1195935165

    Help
     

    Derlo

    Tired....
    135
    Posts
    16
    Years
  • I made one script, but he does not function: (
    When the mother calls you, you would have that to go to speak with it, but she does not go.
    And the POKÉMON MENU does not appear.

    Spoiler:


    I added the video of that it happens in script

    Ei cara tu é brasileiro???
    tente esse ai, eu testei aqui e funciounou legal...

    #org $inicio
    checkflag 0x200
    if 1 goto $jafoi
    faceplayer
    applymovement 1 $exclamacao
    $exclamacao 1 ; #Binary 0x01 0x62 0xFE
    pausemove 0
    checkgender
    compare LASTRESULT 1
    if 0 goto $garoto
    message $filha
    $filha 1 = Filha!\nVenha aqui\lTenho uma coisa para lhe dar.
    boxset 6
    applymovement 0xff $baixo
    $baixo 1 ; #binary 0x0A 0x08 0xFE
    pause 0x40
    message $pokea
    $pokea 1 = Antes de sair para sua viagem\nvocê precisa de um POKÉMON!\lEntäo eu falei com o\pseu tio, e ele deu um\nNIDORAN[f]\lFique com ele!
    boxset 6
    givepokemon 29 1 0x8
    message $pokes
    $pokes 1 = \v\h01 recebeu um \c\h01\h08NIDORAN[f]!
    boxset 6
    message $depois
    $depois 1 = Cuide bem dele\n e tome cuidado!
    setflag 0x828
    setflag 0x200
    release
    end

    #org $garoto
    message $filho
    $filho 1 = Filho!\nVenha aqui\lTenho uma coisa para lhe dar.
    boxset 6
    applymovement 0xff $baixo1
    $baixo1 1 ; #Binary 0x0A 0x08 0xFE
    pause 0x40
    message $pokeo
    $pokeo 1 = Antes de sair para sua viagem\nvocê precisa de um POKÉMON!\lEntäo eu falei com o\pseu tio, e ele deu um\nNIDORAN[m]\lFique com ele!
    boxset 6
    givepokemon 32 1 0x8
    message $pokes1
    $pokes1 1 = \v\h01 recebeu um \c\h01\h08NIDORAN[m]!
    boxset 6
    message $cuide1
    $cuide1 1 = Cuide bem dele\n e tome cuidado!
    boxset 6
    setflag 0x828
    setflag 0x200
    release
    end

    #org $jafoi
    release
    end
     

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    No one seem to provide an answer to my question, so here's my question again, and I hope ya all don't mind...

    Code:
    INTRO: I made a script of a trainer battle with the trainer number 001,
    then, the trainer disappeared forever in the script...
    
    QUESTION: Could I use the same trainer number 001 again for my next script..?

    Thanks in advance.
     
    Status
    Not open for further replies.
    Back
    Top