• 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 Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
44
Posts
13
Years
  • In the "Hack Applier" folder, go to the "Script" folder, then open "Nurse original script.rbc".
    These files should be default set to XSE opening. Plus it's special 0x0 since 0 is the first slot. Just an FYI.

    Whoa! Thx a lot :D, i dont know such a folder exist, lol, and thanks for correcting me :3
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • Whoa! Thx a lot :D, i dont know such a folder exist, lol, and thanks for correcting me :3

    Yeah man, JPAN documented everything, which is good, since some Ruby hackers here would like a Ruby hacked engine... DunDunDun
     
    105
    Posts
    12
    Years
  • i set it into a script tile such that when i step on it first a wild mankey comes to me and ask me tht if it should join my party whn i say yes it joins and i got a free mankey then the screen fades and then after the screen becomes normal and a wild pidgey comes and evolves in pidgeotto then the wild pidgeotto starts to battle me but it doesn't work when i step on it even when i set the unknown to 1 and var no as 5000

    #org 0x802215
    lock
    faceplayer
    applymovement 0x2 0x88022C4
    waitmovement 0x0
    msgbox 0x88022D4 MSG_YESNO '"A Mankey wants toMankey seems very..."
    compare LASTRESULT 0x1
    if 0x1 goto 0x8802241
    compare LASTRESULT 0x0
    if 0x0 goto 0x88022B9
    end

    '---------------
    #org 0x802241
    msgbox 0x88022E5 MSG_NORMAL '"Mankey seems very happy!"
    applymovement 0x2 0x8802328
    waitmovement 0x0
    givepokemon 0x38 0xA 0xCF 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x8802331 MSG_KEEPOPEN '"A Mankey joined your party!!"
    waitfanfare
    closeonkeypress
    fadescreen 0x1
    hidesprite LASTTALKED
    showsprite 0x3
    fadescreen 0x0
    setflag 0x754
    cry 0x10 0x0
    msgbox 0x880234E MSG_NORMAL '"A Pidgey is in a furious rage."
    waitcry
    fadescreen 0x1
    hidesprite LASTTALKED
    showsprite 0x4
    fadescreen 0x0
    setflag 0x756
    cry 0x11 0x0
    msgbox 0x880236F MSG_NORMAL '"The evolved Pidgeotto attacked in\..."
    waitcry
    wildbattle 0x11 0x8 0xD2
    fadescreen 0x0
    hidesprite LASTTALKED
    fadescreen 0x1
    setflag 0x755
    release
    end

    '---------------
    #org 0x8022B9
    msgbox 0x88023A3 MSG_NORMAL '"Mankey seems sad."
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8022D4
    = A Mankey wants toMankey seems very happy!

    #org 0x8022E5
    = Mankey seems very happy!

    #org 0x802331
    = A Mankey joined your party!!

    #org 0x80234E
    = A Pidgey is in a furious rage.

    #org 0x80236F
    = The evolved Pidgeotto attacked in\na furious rage.

    #org 0x8023A3
    = Mankey seems sad.


    '-----------
    ' Movements
    '-----------
    #org 0x8022C4
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x0 'Face Down
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements

    #org 0x802328
    #raw 0x4E 'Jump Down
    #raw 0x60 'Hide
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0xFE 'End of Movements
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • i set it into a script tile such that when i step on it first a wild mankey comes to me and ask me tht if it should join my party whn i say yes it joins and i got a free mankey then the screen fades and then after the screen becomes normal and a wild pidgey comes and evolves in pidgeotto then the wild pidgeotto starts to battle me but it doesn't work when i step on it even when i set the unknown to 1 and var no as 5000

    #org 0x802215
    lock
    faceplayer
    applymovement 0x2 0x88022C4
    waitmovement 0x0
    msgbox 0x88022D4 MSG_YESNO '"A Mankey wants toMankey seems very..."
    compare LASTRESULT 0x1
    if 0x1 goto 0x8802241
    compare LASTRESULT 0x0
    if 0x0 goto 0x88022B9
    end

    '---------------
    #org 0x802241
    msgbox 0x88022E5 MSG_NORMAL '"Mankey seems very happy!"
    applymovement 0x2 0x8802328
    waitmovement 0x0
    givepokemon 0x38 0xA 0xCF 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x8802331 MSG_KEEPOPEN '"A Mankey joined your party!!"
    waitfanfare
    closeonkeypress
    fadescreen 0x1
    hidesprite LASTTALKED
    showsprite 0x3
    fadescreen 0x0
    setflag 0x754
    cry 0x10 0x0
    msgbox 0x880234E MSG_NORMAL '"A Pidgey is in a furious rage."
    waitcry
    fadescreen 0x1
    hidesprite LASTTALKED
    showsprite 0x4
    fadescreen 0x0
    setflag 0x756
    cry 0x11 0x0
    msgbox 0x880236F MSG_NORMAL '"The evolved Pidgeotto attacked in\..."
    waitcry
    wildbattle 0x11 0x8 0xD2
    fadescreen 0x0
    hidesprite LASTTALKED
    fadescreen 0x1
    setflag 0x755
    release
    end

    '---------------
    #org 0x8022B9
    msgbox 0x88023A3 MSG_NORMAL '"Mankey seems sad."
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8022D4
    = A Mankey wants toMankey seems very happy!

    #org 0x8022E5
    = Mankey seems very happy!

    #org 0x802331
    = A Mankey joined your party!!

    #org 0x80234E
    = A Pidgey is in a furious rage.

    #org 0x80236F
    = The evolved Pidgeotto attacked in\na furious rage.

    #org 0x8023A3
    = Mankey seems sad.


    '-----------
    ' Movements
    '-----------
    #org 0x8022C4
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x0 'Face Down
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements

    #org 0x802328
    #raw 0x4E 'Jump Down
    #raw 0x60 'Hide
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0xFE 'End of Movements

    http://www.pokecommunity.com/showthread.php?t=302347
    Var 5000 is nonexistent
    So use 4051 or whatever
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • Here is my problem

    First i write a script of offset 0x80000 and there are no mistake when writing i check it 10 times and there is no wrong then i complie it okay ? then i closed the XSE then i paste the script offset in advance map as 0080000 then when i open it these words are there -


    -----------------------------------
    '

    0x80000

    so my script was gone why ? in the advance map i create a person event then i paste the offest in the script offset option in advance map but my script wasn't there it wasn't taking my script or what ?
     

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    Here is my problem

    First i write a script of offset 0x80000 and there are no mistake when writing i check it 10 times and there is no wrong then i complie it okay ? then i closed the XSE then i paste the script offset in advance map as 0080000 then when i open it these words are there -
    Code:
    -----------------------------------
    '
    
    0x80000
    so my script was gone why ? in the advance map i create a person event then i paste the offest in the script offset option in advance map but my script wasn't there it wasn't taking my script or what ?

    ...is it because your dynamic offset lacks one more zero?
    Code:
    0x80000[B][COLOR="Red"]0[/COLOR][/B]
     
    105
    Posts
    12
    Years
  • hey i have made this script such that player's dad give him pidgeotto if he says yes or even no with the help of a cubone as assitant tht will take pidgeottos pokeball to players dad then it says player receives pidgeotto but it continues giving player pikachu and it does not end pls tell me whts the problem with it?

    here is the script
    '---------------
    #org 0x8004C2
    lock
    faceplayer
    msgbox 0x880058E MSG_YESNO '"DAD: So [player] you are going to ..."
    compare LASTRESULT 0x1
    if 0x1 goto 0x88004E4
    compare LASTRESULT 0x0
    if 0x1 goto 0x8800539
    end

    '---------------
    #org 0x8004E4
    msgbox 0x88005CC MSG_NORMAL '"DAD: Ah,Its the best day for a\ntr..."
    applymovement 0x2 0x880069F
    waitmovement 0x0
    hidesprite 0x3
    setflag 0x980
    applymovement 0x2 0x88006A5
    waitmovement 0x0
    givepokemon 0x11 0xA 0xD2 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x88006AB MSG_KEEPOPEN '"[black_fr][player] received a\nPik..."
    waitfanfare
    end

    '---------------
    #org 0x800539
    msgbox 0x8800621 MSG_NORMAL '"DAD: Oh,you must be kidding I know..."
    applymovement 0x2 0x880069F
    waitmovement 0x0
    hidesprite 0x3
    setflag 0x980
    applymovement 0x2 0x88006A5
    waitmovement 0x0
    givepokemon 0x11 0x10 0x44 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x88006AB MSG_KEEPOPEN '"[black_fr][player] received a\nPik..."
    waitfanfare
    end


    '---------
    ' Strings
    '---------
    #org 0x80058E
    = DAD: So [player] you are going to start\nyour own Pokemon journey?

    #org 0x8005CC
    = DAD: Ah,Its the best day for a\ntrainer's life I have something\lfor you.Cubone ...\l

    #org 0x8006AB
    = [black_fr][player] received a\nPikachu from DAD.

    #org 0x800621
    = DAD: Oh,you must be kidding I know\nits the best day for a trainer's\llife I have something for\lyou.Cubone please can you...\l


    '-----------
    ' Movements
    '-----------
    #org 0x80069F
    #raw 0x66 'Happy (^_^)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements

    #org 0x8006A5
    #raw 0x66 'Happy (^_^)
    #raw 0x13 'Step Right (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0xFE 'End of Movements
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • No not happen destinedjagold

    I do it all again and when i finished i closed it and then put the dynamic offset in the script offset in advance map but it shows this again

    ------------------------------

    #org 0x800000


    look i put the dynamic offset in advance map as this

    script offset : 00800000

    isn't it correct if i write 800000 so it become 00800000

    Please help thanx ! alot !!! in advance :)

    Maybe its all problem offset ? please someone help me
     
    Last edited:

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    Hey.
    Do you even press the gear-wheel on the top?
    I guess you are just "debugging"..

    Spoiler:
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • No wait it goes all correct now when i save it it say it need to find something or what ? A FF appears what is happening ?
     
    Last edited:

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    Haha mate, no problem.
    If you got an issue which is unsolveable in scripting for you, come at me bro :d
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • Ahhhh.. now my prob is this-

    so all get correctly the script i gave is used but when i played the game when i talk to the person the sound come of clicking but the message didn't appear and also when i try to used the dynamic every time i closed it from dynamic it goes to #org its not using the HEX it's using the Doc when i try to click on the HEX option in left it goes to HEX but when i close it and reopen it it shows the Doc as choosed option what is the matter ? please help :)
     

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    doc? dec you mean (decimal)
    Please give me your decompiled version of the script.
    In Advance Map click "Open script" and then XSE opens with decompiled script.

    You must also differ between XSE 1.0.0 and XSE 1.1.1 version.
    XSE 1.0.0 uses msgbox like this:
    Code:
    msgbox @pointer
    callstd 0x6

    XSE 1.1.1
    Code:
    msgbox @pointer 0x6
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • Yeah advance map do open the DEC and my problem is this that my script is saved and used but when i play the game and go to the person i gave the script say's nothing only a sound appears as when appears when we clikc something this "Click" sound appears maybe it;s something with msg box but i don't think my msg box is wrong oh :( here is my script -

    i write like this

    #dynamic 0x800999

    #org @start
    lock
    faceplayer
    msgbox @hi 0x6
    release
    end

    #org @hi
    = Hello everyone!/nHappy Hacking.

    BUT it appears as this -

    '-----------------------
    #org 0x800999
    lock
    faceplayer
    msgbox 0x88009A4 '"Hello everyone!/nHappy Hacking."
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8009A4
    = Hello everyone!/nHappy Hacking.

    what is happening ?? help thankx

    And the time i said appear it doesn't appear in game it appear when i reopen the script :)
     
    Last edited:

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    What you mean o.o?
    XSE's output is perfectly correct.

    Btw, to let a messagebox appear, you must write for

    XSE 1.0.0

    msgbox @pointer
    callstd 0x6

    XSE 1.1.1

    msgbox @pointer 0x6

    ----------------------

    XSE doesnt output your "@hi"
    It outputs the offset, where it is written: "0x88009A4"
     

    AluminiumOxide

    Aka Ansirent
    867
    Posts
    10
    Years
  • oh that's the prob and i didn't write any o.o ?

    -----------------------
    #org 0x800999
    lock
    faceplayer
    msgbox msgbox @pointer
    callstd 0x6 '"Hello everyone!/nHappy Hacking."
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8009A4
    = Hello everyone!/nHappy Hacking.

    is it right now ?
     
    Last edited:

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    No it isnt...

    #dynamic 0x800000
    #org @start
    msgbox @text
    callstd 2
    end

    #org @text
    = Hi.

    -----

    You can also do:

    lock
    faceplayer
    msgbox @text
    callstd 6
    release
    end
     
    105
    Posts
    12
    Years
  • hey i have made this script such that player's dad give him pidgeotto if he says yes or even no with the help of a cubone as assitant tht will take pidgeottos pokeball to players dad then it says player receives pidgeotto but it continues giving player pikachu and it does not end pls tell me whts the problem with it?I have edit the script but it didnt worked.Please help!!!!

    here is the script
    '---------------
    #org 0x8004C2
    lock
    faceplayer
    msgbox 0x880058E MSG_YESNO '"DAD: So [player] you are going to ..."
    compare LASTRESULT 0x1
    if 0x1 goto 0x88004E4
    compare LASTRESULT 0x0
    if 0x1 goto 0x8800539
    release
    end

    '---------------
    #org 0x8004E4
    msgbox 0x88005CC MSG_NORMAL '"DAD: Ah,Its the best day for a\ntr..."
    applymovement 0x2 0x880069F
    waitmovement 0x0
    hidesprite 0x3
    setflag 0x980
    applymovement 0x2 0x88006A5
    waitmovement 0x0
    givepokemon 0x11 0xA 0xD2 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x88006AB MSG_KEEPOPEN '"[black_fr][player] received a\nPik..."
    waitfanfare
    end

    '---------------
    #org 0x800539
    msgbox 0x8800621 MSG_NORMAL '"DAD: Oh,you must be kidding I know..."
    applymovement 0x2 0x880069F
    waitmovement 0x0
    hidesprite 0x3
    setflag 0x980
    applymovement 0x2 0x88006A5
    waitmovement 0x0
    givepokemon 0x11 0x10 0x44 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x88006AB MSG_KEEPOPEN '"[black_fr][player] received a\nPik..."
    waitfanfare
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x80058E
    = DAD: So [player] you are going to start\nyour own Pokemon journey?

    #org 0x8005CC
    = DAD: Ah,Its the best day for a\ntrainer's life I have something\lfor you.Cubone ...\l

    #org 0x8006AB
    = [black_fr][player] received a\nPikachu from DAD.

    #org 0x800621
    = DAD: Oh,you must be kidding I know\nits the best day for a trainer's\llife I have something for\lyou.Cubone please can you...\l


    '-----------
    ' Movements
    '-----------
    #org 0x80069F
    #raw 0x66 'Happy ()
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements

    #org 0x8006A5
    #raw 0x66 'Happy ()
    #raw 0x13 'Step Right (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0xFE 'End of Movements
     

    ep!c

    Banned
    124
    Posts
    11
    Years
    • Seen Jan 4, 2015
    After every MSG_KEEPOPEN (callstd 0x4) you must do a closeonkeypress after waitfanfare :)
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • #org 0x8005CC
    = DAD: Ah,Its the best day for a\ntrainer's life I have something\lfor you.Cubone ...\l
    #org 0x800621
    = DAD: Oh,you must be kidding I know\nits the best day for a trainer's\llife I have something for\lyou.Cubone please can you...\l

    Take that out because it basically keeps looking for text though you want it to end.
     
    Status
    Not open for further replies.
    Back
    Top