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

XSE Scripting Tutorial

Status
Not open for further replies.

pokemon hacker id

cute child
34
Posts
15
Years
  • ok when i try to compile my script something pops up at the top it said script outset what do i do from their

    also heres a script thing i'm trying so please tell me how to fix it to work it just soposed to be a simple movement

    #Dynamic 0x2DD4E4

    #ORG @Main
    Lockall
    applymovement MOVE_PLAYER 0x2DD4E6
    Release
    End

    '-----------
    ' Movements
    '-----------
    #ORG 0x2DD4E5
    #raw 11 'Step Up (Normal)
    #raw FE 'End of Movements





    sorry about all the questions I'm not good with tutorials my A.D.D. just keeps getting worse



    visit my hack http://www.pokecommunity.com/showthread.php?t=161802 note I'll make this a banner when I learn how to make them
    and tell me what you think
     
    Last edited:

    Darthatron

    巨大なトロール。
    1,152
    Posts
    18
    Years
  • ok when i try to compile my script something pops up at the top it said script outset what do i do from their

    also heres a script thing i'm trying so please tell me how to fix it to work it just soposed to be a simple movement

    #Dynamic 0x2DD4E4

    #ORG @Main
    Lockall
    applymovement MOVE_PLAYER 0x2DD4E6
    Release
    End

    '-----------
    ' Movements
    '-----------
    #ORG 0x2DD4E5
    #raw 11 'Step Up (Normal)
    #raw FE 'End of Movements





    sorry about all the questions I'm not good with tutorials my A.D.D. just keeps getting worse



    visit my hack http://www.pokecommunity.com/showthread.php?t=161802 note I'll make this a banner when I learn how to make them
    and tell me what you think

    Change the line
    Code:
    applymovement MOVE_PLAYER 0x2DD4E6
    to...
    Code:
    applymovement MOVE_PLAYER 0x2DD4E5
    Because at the moment you're not pointing to anything. It should work now.
     

    pokemon hacker id

    cute child
    34
    Posts
    15
    Years
  • one other problem when i try to open the script it doesn't open the right thing it opens a script that sais


    '-----------------------
    #org 0x2DD4E7
    nop
     

    HackMew

    Mewtwo Strikes Back
    1,314
    Posts
    17
    Years
    • Seen Oct 26, 2011
    one other problem when i try to open the script it doesn't open the right thing it opens a script that sais


    '-----------------------
    #org 0x2DD4E7
    nop

    If you don't know how to use static offsets, use only dynamic ones.
    Recompile your script with dynamic offsets/pointers only and try again.
     
    6
    Posts
    15
    Years
    • Seen Aug 9, 2009
    eh...how do i stop the person to stop giving me pokemon?

    #dynamic 0x000000

    #org @123
    lock
    faceplayer
    givepokemon 0xA3 0x5 0x0 0x0 0x0 0x0
    fanfare 0x101
    checkflag 0x828
    if 0x1 goto 0x834ECE4
    compare LASTRESULT 0x0
    if 0x1 goto 0x816C4A6
    compare LASTRESULT 0x1
    if 0x1 goto 0x81A927C
    release
    end

    '-----------------------
    #org @take_care
    msgbox @talk1 '" hope you're taking good care of\nH..."
    callstd 0x6
    release
    end

    '-----------------------
    #org 0x16C4A6
    hidesprite 0x2
    fanfare 0x101
    msgbox2 @get '""[player] obtained an HootHoot!" "
    waitmsgbox
    waitfanfare
    bufferpokemon 0x0 0x85
    msgbox @Nick '""Do you want to give a nickname to\..."
    callstd 0x5
    compare LASTRESULT 0x0
    if 0x1 goto 0x816C514
    call 0x81A8C27
    call 0x81A74EB
    goto 0x816C514
    end

    '-----------------------
    #org 0x1A927C
    textcolor 0x3
    msgbox @no_space '"There's no more room for POKéMON!\p..."
    callstd 0x4
    release
    end

    '-----------------------
    #org 0x16C514
    setflag 0x263
    release
    end

    '-----------------------
    #org 0x1A8C27
    countpokemon
    subvar LASTRESULT 0x1
    copyvar 0x8004 LASTRESULT
    return

    '-----------------------
    #org 0x1A74EB
    fadescreen 0x1
    special 0x9E
    waitstate
    return


    '---------
    ' Strings
    '---------
    #org @talk1
    = hope you're taking good care of\nHootHoot.

    #org @get
    = "[player] obtained an HootHoot!"

    #org @Nick
    = "Do you want to give a nickname to\nHootHoot?"

    #org @no_space
    = There's no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan't accept any more!
     

    PlatniumPiano

    You are now breathing manually
    479
    Posts
    15
    Years
  • Ok, so I have a question...

    What script is needed (in XSE) to have a sprite show up for one event, and the next time you enter that route/cave/town have it dissapear?
     
    20
    Posts
    15
    Years
    • Seen Oct 26, 2010
    I found a Wild Pokemon Script, but it don't work. can somebody tell me what's wrong with it?
    The script:

    #dynamic 0x800000

    #org @start
    lock
    faceplayer
    msgbox @pokemon
    callstd 0x2
    startwildbattle 0x131 0x32 0x0
    release
    end

    #org @pokemon
    = guwaaa!
     

    HackMew

    Mewtwo Strikes Back
    1,314
    Posts
    17
    Years
    • Seen Oct 26, 2011
    I found a Wild Pokemon Script, but it don't work. can somebody tell me what's wrong with it?
    The script:

    Spoiler:

    I see you're using an old XSE version: please update it. See my thread ;)

    Spoiler:
     
    20
    Posts
    15
    Years
    • Seen Oct 26, 2010
    I see you're using an old XSE version: please update it. See my thread ;)

    Spoiler:

    I cant find it, sorry. do you have a link to it?
     
    27
    Posts
    19
    Years
    • Seen Feb 28, 2011
    Apparently, the LOCK function is not really necessary. It would be cooler looking when you're talking to a character and the other character still moves around.
     

    Shaymew

    likes when Dunsparce Glares
    101
    Posts
    15
    Years
  • Hi...um when i follow the directions exactly, some message appears saying "Too less Peramiters on line 6. The correct number is 2" how do i fix this?
     

    Late

    Pokémon Artist
    549
    Posts
    15
    Years
  • #Dynamic 0x8008F2

    #org @start
    lock
    faceplayer
    trainerbattle 1 0x0 0x1 0x1 @challenge @lost
    message @boo 0x6
    release
    end

    #org @lost
    = I lost!

    #org @challenge
    = I kill you!

    #org @boo
    = So... I didn't kill you...


    What's wrong with this script? I try to make a trainer, but when I go to battle he says o^. It must say I kill you... I just began scripting...

    I solved my problem myself! (That was my fourth script ever!!! XD)
     
    Last edited:

    Shaymew

    likes when Dunsparce Glares
    101
    Posts
    15
    Years
  • Hi can you tell me whats wrong with this script?

    #dynamic 0xE3CF64
    #org @start
    lock
    faceplayer
    givepokemon 0x123 0x2 0x0 0x0 0x0 0x0
    msgbox @text 0x6
    release
    end
    '====================
    #org @Hi
    = Hello! Talk to everyone you see!\nI have something to tell you\pHI! Talk to people you see!\nHere! Take this Scyther!\pI have something for you!\nThe Trainer Society told me of you!\pThey told me to tell you to talk \nto E-V-E-R-Y-O-N-E you see! \p\nYou might just get special things!\p
     

    Late

    Pokémon Artist
    549
    Posts
    15
    Years
  • Just put...
    msgbox @Hi 0x6 , not msgbox @text 0x6
    Because you have that @Hi at your text. You need the same word.
    I think it's ready then, but if you talk to same man again. You will get scyther again...
     
    Status
    Not open for further replies.
    Back
    Top