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

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
  • I'm still having problems with my script... It stops running after the battle like it was doing before.

    Spoiler:

    Changes in quote. (also, you can write all movements on one line, using only one raw... like in the quote...
     

    Toon Link

    POKEMON TRAINER
    25
    Posts
    14
    Years
    • Seen May 14, 2014
    Oh, my... of course it doesn't compile... did you even check the script to understand why? See the fixed one below carefully.

    Spoiler:
    The battle works perfectly but the person doesn't move at all.
     

    LaccyO

    Sspriterr
    9
    Posts
    15
    Years
    • Seen Jul 26, 2010
    Script Problem

    problem: XSE says that there is something wrong with the script when i chose compile, but what?

    Game: fire red
    Script Type: person script

    Script:

    Spoiler:
     
    3
    Posts
    14
    Years
    • Seen Jun 25, 2009
    Big problem whit poketronic

    I have a gigantic problem whit poketronic, and that is that i can´t use my pokemon rom on it.
     

    Quickster

    Dream or Drop?
    351
    Posts
    16
    Years
    • Seen Apr 4, 2016
    Has anyone made a script to nickname a pokemon that you just recieved but when you choose yes,it doesnt nickname the right pokemon,for instance,an egg sprite might appear?How do you fix this,ill post my script too.

    Spoiler:

    My question got bumped back a page.Everything works fine exceprt the nickname.I shows an egg and doesnt nickname bulbasaur.Any ideas?
     

    Sierraffinity

    Desperately trying to retire from ROM hacking
    1,069
    Posts
    16
    Years
  • Spoiler:
    My question got bumped back a page.Everything works fine exceprt the nickname.I shows an egg and doesnt nickname bulbasaur.Any ideas?
    Try that out and see if it helps.
     

    Larsie13

    Guest
    0
    Posts
    problem: XSE says that there is something wrong with the script when i chose compile, but what?

    Game: fire red
    Script Type: person script

    Script:

    Spoiler:
    If you are using the latest XSE, you have to make 4 changes. Otherwise just 2.
     

    theswordbuggy

    Rom Hacker
    21
    Posts
    14
    Years
  • i am requesting. i am just asking because i am looking for a item script that gives you a item and talks before and after. and it cant have boxset in it they dnt work. this is for pokemon emerald and xse.

    Thanks
    Buggy
     

    Xatoku

    Game Developer
    451
    Posts
    15
    Years
  • My problem is that in this yesno script, even if the player choses yes, it still goes to no, and won't go to @yes. Heres the script.

    Spoiler:
     

    Sky the Shaym

    Sky the Shaymin, NOT Shaym
    12
    Posts
    14
    Years
    • Seen Dec 16, 2010
    I made this script, but it says i'm missing something... Can someone help?


    RUBY
    TRIGGER
    XSE

    Spoiler:
     
    5,256
    Posts
    16
    Years
  • I made this script, but it says i'm missing something... Can someone help?


    RUBY
    TRIGGER
    XSE

    Spoiler:

    Aren't you missing a waitmovement 0x0 above the setflag 0x829? Oh, and you don't need spaces after \n, \p or \l.
     

    Sky the Shaym

    Sky the Shaymin, NOT Shaym
    12
    Posts
    14
    Years
    • Seen Dec 16, 2010
    Aren't you missing a waitmovement 0x0 above the setflag 0x829? Oh, and you don't need spaces after \n, \p or \l.
    Thanks, but it says i need a define or parameter for the line with the movements, the #raw then all the movements.
     

    NatureKeeper

    Guest
    0
    Posts
    My problem is that in this yesno script, even if the player choses yes, it still goes to no, and won't go to @yes. Heres the script.

    Spoiler:
    Code:
    #org @start
    checkflag 0x373
    if 0x1 goto @end
    msgbox @yesno 0x5
    compare LASTRESULT 0x1
    if 0x1 goto @yes
    msgbox @text1 0x6
    release
    end
    
    #org @end
    release
    end
    
    #org @yes
    lock
    giveitem 0x8B 0x3 MSG_OBTAIN
    waitmsg
    hidesprite 0x3
    setflag 0x373
    releaseall
    end
    
    #org @yesno
    = There's a berry here!\pWould you like to pick it?
    
    #org @text1
    = The berry was left on the tree.



    I corrected some stuff. Inform me if it works, now.

    I made this script, but it says i'm missing something... Can someone help?


    RUBY
    TRIGGER
    XSE

    Spoiler:

    Code:
    #dynamic 0x80005B
    #org @start
    checkflag 0x829
    if 0x0 goto @pokemon
    end
    
    #org @pokemon
    applymovement 0x6 @move
    waitmovement 0x0
    msgbox @fuu 0x6
    fanfare 0x13E
    msgbox @pok 0x4
    givepokemon 0x286 0x10 0x0 0x0 0x0 0x0
    waitfanfare
    closeonkeypress
    msgbox @nomnu 0x6
    applymovement 0x6 @move2
    setflag 0x829
    release
    end
    
    #org @move
    #raw 0x07
    #raw 0x07 
    #raw 0x07 
    #raw 0x07 
    #raw 0xFE
    
    #org @move2
    #raw 0x04
    #raw 0x04
    #raw 0x04
    #raw 0x04
    #raw 0xFE
    
    #org @fuu
    = Hey! Your the new guy, right?\pWell, since you joined TEAM AQUA\nyou need this.
    
    #org @pok
    = [player] recived a POKéMON!
    
    #org @nomnu
    = Don't forget to check out the AQUA\nCENTER and your dorm... Meet me in the gengerator room for\nyour first mission.

    Corrected some stuff here, too.
     
    Last edited:

    Xatoku

    Game Developer
    451
    Posts
    15
    Years
  • Code:
    #org @start
    checkflag 0x373
    if 0x1 goto @end
    msgbox @yesno 0x5
    compare LASTRESULT 0x1
    if 0x1 goto @yes
    msgbox @text1 0x6
    release
    end
    
    #org @end
    release
    end
    
    #org @yes
    lock
    giveitem 0x8B 0x3 MSG_OBTAIN
    waitmsg
    hidesprite 0x3
    setflag 0x373
    releaseall
    end
    
    #org @yesno
    = There's a berry here!\pWould you like to pick it?
    
    #org @text1
    = The berry was left on the tree.

    I corrected some stuff. Inform me if it works, now.

    Well everything worked but now after the tree dissapears, if you take 1 step it will reappear. How can I make it dissapear indefinitley?
     

    Xatoku

    Game Developer
    451
    Posts
    15
    Years
  • I figured it out, I had unkown set at 03 and Movement set to 11 but once they were both put at 0, they worked.
     

    Sky the Shaym

    Sky the Shaymin, NOT Shaym
    12
    Posts
    14
    Years
    • Seen Dec 16, 2010
    Code:
    #org @start
    checkflag 0x373
    if 0x1 goto @end
    msgbox @yesno 0x5
    compare LASTRESULT 0x1
    if 0x1 goto @yes
    msgbox @text1 0x6
    release
    end
    
    #org @end
    release
    end
    
    #org @yes
    lock
    giveitem 0x8B 0x3 MSG_OBTAIN
    waitmsg
    hidesprite 0x3
    setflag 0x373
    releaseall
    end
    
    #org @yesno
    = There's a berry here!\pWould you like to pick it?
    
    #org @text1
    = The berry was left on the tree.



    I corrected some stuff. Inform me if it works, now.



    Code:
    #dynamic 0x80005B
    #org @start
    checkflag 0x829
    if 0x0 goto @pokemon
    end
    
    #org @pokemon
    applymovement 0x6 @move
    waitmovement 0x0
    msgbox @fuu 0x6
    fanfare 0x13E
    msgbox @pok 0x4
    givepokemon 0x286 0x10 0x0 0x0 0x0 0x0
    waitfanfare
    closeonkeypress
    msgbox @nomnu 0x6
    applymovement 0x6 @move2
    setflag 0x829
    release
    end
    
    #org @move
    #raw 0x07
    #raw 0x07 
    #raw 0x07 
    #raw 0x07 
    #raw 0xFE
    
    #org @move2
    #raw 0x04
    #raw 0x04
    #raw 0x04
    #raw 0x04
    #raw 0xFE
    
    #org @fuu
    = Hey! Your the new guy, right?\pWell, since you joined TEAM AQUA\nyou need this.
    
    #org @pok
    = [player] recived a POKéMON!
    
    #org @nomnu
    = Don't forget to check out the AQUA\nCENTER and your dorm... Meet me in the gengerator room for\nyour first mission.

    Corrected some stuff here, too.
    Thanks, but whenever i paste it into XSE and compile, i close XSE, then reopen the script, and all that's there is:'-----------------------
    #org 0x80005B
    checkflag 0x829
     
    Status
    Not open for further replies.
    Back
    Top