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

Spenceroone3's Scripting Tutorial

Status
Not open for further replies.

derv1205

Trade/Battle/Breed/Clone (X,B2,D)
267
Posts
16
Years
  • This may be a tutorial thing but i need someone
    to give me pocket script and pkmadv database.
    the original site has shut dow or something!
    HELP ME!!!!!!!!!!!!!!!!!!!!!!!

    and cool scripting tutorial
    :'(

    Send me a PM and i'll give you all the programs ^^, and i think there
    is a thread with all this here ^^

    And, forgot about my question, i already know the answer ^^.
     

    Mechanic

    Shin!~ hohohohoho!~
    317
    Posts
    19
    Years
    • Seen Nov 24, 2014
    I must say this. You are my GOD...

    Just with this tutorial in about 5 minutes i learned how to script ANYTHING there is to script for me, and now i am off to create godly scripting text BUAHAHAHAHAHHAA


    -Unit - Merry Christmas
     

    jk-pingx

    developing a hack
    10
    Posts
    16
    Years
    • Age 30
    • Seen Feb 5, 2008
    #org $begin
    lock
    faceplayer
    checkflag 0x232
    if B_true goto $gotit
    message $q
    boxset 6
    message $mygod
    boxset 6
    givepokemon 280 5 0
    message $namecharm
    boxset 5
    setflag 0x232
    setflag 0x828
    release
    end

    #org $gotit
    message $hi
    boxset 6
    release
    end

    #org $hi
    $hi 1 = how's that TORCHIC?

    #org $q
    $q 1 = please help me\ntake this TORCHIC!

    #org $mygod
    $mygod 1 = You recived the TORCHIC!

    message $namecharm
    $namecharm 1 = give TORCHIC a nickname
    boxset 5
    compare LASTRESULT 1
    if b_false goto $seeya
    Namepokemon
    setflag 0x203

    message $seeya
    $seeya 1 = thanks!
    release
    end

    heres your give pokemon script changed slughtly i was wondering if there was something worng with it because when it gies to name pokemon it does noot go to the naming screen also how do you make the sprite vanish after reciving the pokemon
     
    Last edited:

    Swampert 22

    Is making tools for you...
    393
    Posts
    18
    Years
  • Hey Spenceroone3 are you still around? We'd love for you to update this tutorial. I'm especially interested in knowing how to do money and field move scripts...
     
    28
    Posts
    16
    Years
    • Seen Jul 11, 2015
    I'm having a similar problem. whenever I click complie on any of my scripts it come up with this:
    -------------------------
    Run-time error 6

    overflow
    -------------------------
    Any ideas?
     

    Swampert 22

    Is making tools for you...
    393
    Posts
    18
    Years
  • I'm having a similar problem. whenever I click complie on any of my scripts it come up with this:
    -------------------------
    Run-time error 6

    overflow
    -------------------------
    Any ideas?

    I had this problem when I did movement scripts. If you have too many movements in one line, it tends to screw up. Try splitting them up if thats the case. If not then post a script. There may be something wrong with it...
     
    28
    Posts
    16
    Years
    • Seen Jul 11, 2015
    Ok well I've just been taking some off of this site. Just so I can know that it's working before I start making scripts. Here they are though:

    #org $Showtext
    lock
    faceplayer
    message $Hello
    $Hello 1 = How ya going?\pGood? That's awesome!!
    boxset 6
    release
    end
    ----------
    #ORG $ShowText
    Lock
    Faceplayer
    message $NoCookie
    $NoCookie 1 = I'm not made of cookies!\lYou only get one.
    boxset 6
    release
    end
    ----------
    #org $begin
    lock
    faceplayer
    checkflag 0x232
    if B_true goto $gotit
    message $q
    boxset 6
    message $mygod
    boxset 6
    givepokemon 131 5 0
    message $NameCharm
    boxset 5
    setflag 0x232
    setflag 0x828
    release
    end

    #org $gotit
    message $hi
    boxset 6
    release
    end

    #org $hi
    $hi 1 = How's your LAPRAS doing?

    #org $q
    $q 1 = What's that you need\na pokemon. Take this\nLapras. I found it\non the beach. It\nneeds a good\p trainer.

    #org $mygod
    $mygod 1 = You received the LAPRAS!

    message $NameCharm
    $NameCharm 1 = Would You like to give \nLAPRAS a name?
    boxset 5
    compare LASTRESULT 1
    if b_False goto $seeya
    Namepokemon
    setflag 0x203

    message $seeya
    $seeya 1 = Thanks!
    release
    end
    -----------------
     
    11
    Posts
    16
    Years
    • Seen Oct 25, 2008
    Okay...I used the tutorial on the Give Pokemon script - but the Pokemon option isn't added to the start menu. Also, it doesn't give me the option to nickname the Pokemon, I just get it and that's it. What am I doing wrong? >_>;;;
     

    derv1205

    Trade/Battle/Breed/Clone (X,B2,D)
    267
    Posts
    16
    Years
  • Okay...I used the tutorial on the Give Pokemon script - but the Pokemon option isn't added to the start menu. Also, it doesn't give me the option to nickname the Pokemon, I just get it and that's it. What am I doing wrong? >_>;;;
    For the pokemon menu you have to set the flag 800
    and the other thing, the nickname, uhmm, is maybe something you
    forgot, show me the script and i can help you ^^
     
    11
    Posts
    16
    Years
    • Seen Oct 25, 2008
    Here's the script:
    Where do I place the 800 setflag? >_>;

    #org $begin
    lock
    faceplayer
    checkflag 0x232
    if B_true goto $gotit
    message $givetyrogue
    boxset 6
    message $gottyrogue
    boxset 6
    givepokemon 236 1 0
    message $NameTyrogue
    boxset5
    setflag 0x232
    setflag 0x828
    release
    end

    #org $gotit
    message $hi
    boxset 6
    release
    end

    #org $hi
    $hi 1 = You can keep that TYROGUE! Really!

    #org $givetyrogue
    $givetyrogue 1 = Hey, 'haven't seen you around before.\nYou're new to the Kaikon Region?\p................\n................\pNice to meet you! I'm KENNETH!\nYou don't have any Pokémon, do you?\pHere, take this TYROGUE. Use it to get to\nthe next town, where you can buy\pPokéballs to catch your own!

    #org $gottyrogue
    $gottyrogue 1 = KENNETH gave you a TYROGUE!

    message $NameTyrogue
    $NameTyrogue 1 = Do you want to give\nthe Tyrogue a nickname?
    boxset 5
    compare LASTRESULT 1
    if b_False goto $seeya
    Namepokemon
    setflag 0x203

    message $seeya
    $seeya 1 = Good luck! I'll see you around!
    release
    end
     

    derv1205

    Trade/Battle/Breed/Clone (X,B2,D)
    267
    Posts
    16
    Years
  • Himochi: Here is the script corrected ^^

    Spoiler:



    Look, when you put for eg.

    givepokemon 236 5 0
    message $NameTyrogue
    setflag 0x800
    release
    end

    message $NameTyrogue
    $NameTyrogue 1 = etc etc

    Thats bad man, you have to put this:

    givepokemon 236 5 0
    message $NameTyrogue
    boxset 5
    (6)
    setflag 0x800
    release
    end

    #org $NameTyrogue
    $NameTyrogue 1 = etc etc

    That's why some parts didnt work ^^

    And also, in the part of "NamePokemon" put this instead of NamePokemon:
    fadescreen 0x01
    special 0x009E
    #raw 0x27

    Is better that way ^^ Thanks to thethethethe for telling me that when i need help
    in one of my scripts ^^ ^^

    It must work ^^ I had tried it, if something happens, post it here ^^
     
    28
    Posts
    16
    Years
    • Seen Jul 11, 2015
    Can anybody tell me what's wrong with this script it keeps freezing the game whenever I use it.

    #org $begin
    checkflag 0x198
    if B_true goto $done
    applymovement 0x02 $mw1
    pause 0x10
    message $mt1
    boxset 6
    applymovement 0xFF $mw2
    pause 0x10
    release
    end

    #org $done
    release
    end

    #org $mw1
    $mw1 ; #binary 0x02 0xFE

    #org $mt1
    $mt1 1 = We have now departed for\nValencia Island.\pYou may explore the ship.

    #ORG $mw2
    $mw2 1 ; #binary 0x11 0xFE
     

    +Sneasel™

    It's a meeee, itman!
    1,032
    Posts
    16
    Years
  • Can anybody tell me what's wrong with this script it keeps freezing the game whenever I use it.

    #org $begin
    checkflag 0x198
    if B_true goto $done
    applymovement 0x02 $mw1
    pausemove 0
    message $mt1
    boxset 6
    applymovement 0xFF $mw2
    pausemove 0
    release
    end

    #org $done
    release
    end

    #org $mw1
    $mw1 1 ; 0x02 0xFE

    #org $mt1
    $mt1 1 = We have now departed for \nValencia Island. \pYou may explore the ship.

    #ORG $mw2
    $mw2 1 ; 0x11 0xFE

    I edited it in bold, try it!

    Also, fill this out in advance map for the script.
    Unknown= 03 00
    Var= 52 40

    Leave the rest blank
     
    Status
    Not open for further replies.
    Back
    Top