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

[Archive] Script help thread

Status
Not open for further replies.

Veng3anc3

Woah..
179
Posts
17
Years
  • Night_Blue, It worked when I compiled the script and gave the Sprite the offset, But when I made a script event and gave that the offset, When I stood on that tile the game just freezes -_-
     

    Night_Blue

    STFU
    130
    Posts
    16
    Years
    • Seen Dec 6, 2011
    It worked perfect when I tryed it
    In AM,did you pu
    ______________________
    Unknown l 0300
    Var Number l 5240
     

    Veng3anc3

    Woah..
    179
    Posts
    17
    Years
  • Ah, Ok. Yeh, I did those now, Could anyone explain what they actuall do?
    And can I use them variables again..?
    It's just, It didn't cover that in most the tutorials >_> Or I just wasn't looking hard enough.
    But thanks for the help guys!

    EDIT: omg >_<
    I'm like, The scripting failure T_T
    I made this script, Wrote it by myself this time. Set the variables and unknown stuff.. But, When I step on the tile.
    The pikachu just goes in any random spots then the game freezes <_>

    Spoiler:

    The script isn't finnished yet either -_-
     
    Last edited:

    Night_Blue

    STFU
    130
    Posts
    16
    Years
    • Seen Dec 6, 2011
    Spoiler:

    Code:
    #ORG $begin
    lock
    faceplayer
    applymovement 0x02 $pikawalk
    pausemove 0
    message $pikatalk
    boxset 6
    message $youtalk
    boxset 6
    applymovement 0x02 $pikamove
    [B]pausemove 0[/B]
    release
    end
    
    #ORG $pikawalk
    $[B]pika[/B]walk 1 ; #binary 0x10 0x10 0xFE
    
    #ORG $pikatalk
    $[B]pika[/B]talk 1 =\c\h01\h05Pikachu\c\h01\h02: Hey \v\h01!\nThis Nidorina says it's baby got\pLost in the Dark Woods!
    
    #ORG $youtalk
    $[B]you[/B]talk [B]1[/B] = \c\h01\h08\v\h01\c\h01\h02: We'll have to go help!\nI'll go tell Nidorina, I'll meet you in the woods!\p\c\h01\h05Pikachu\c\h01\h02: Okay!
    
    #ORG $pikamove
    $[B]pika[/B][B]move[/B] [B]1[/B] ; #binary 0x12 0x11 0x11 0x11 0x11 0x13 0x11 0x11 0x11 0xFE

    Here
    Tell me if it don't work
     

    Veng3anc3

    Woah..
    179
    Posts
    17
    Years
  • Shi- Poop. Lol, I fixed it earler and forgot to edit out T_T
    I'm getting the hang of scripts now (after 1 1/2 days AYAYAYA) I can actually see whats wrong with them now. Thanks for the help guys.
     

    adamb241

    Pokémon Raging Fury
    656
    Posts
    16
    Years
  • I have a problem, I used theses two scripts in one town and when I went into the game one sprite disappeared and the other one took the sprite that vanished scripts.....

    Here they are

    Code:
    #ORG $begin
    lock
    faceplayer
    checkflag 0x200
    if B_true goto $done
    message $aidtalk
    boxset 6
    giveitem 0x131 1
    setflag 0x200
    release
    end
    
    #org $done
    message $aidtalk2
    boxset 6
    release
    end
    
    #org $aidtalk
    $aidtalk 1 = I'm in a very good mood so you\lcan have this! 
    
    #org $aidtalk2
    $aidtalk2 1 = Hope you have a great day!

    Code:
    #org $start
    lock
    faceplayer
    message $1
    boxset 6
    release
    end
    
    #org $1
    $1 1 =Hello.\nProffesor Oak is giving away free\lpokemon to new trainers!\lI suggest you go overto his lab\land take a look!

    Anyone know how to fix this error?
     
    5,814
    Posts
    16
    Years
    • Age 30
    • Seen May 19, 2021
    Well, i'm still learning to script, but you forgot to put a space between over & to.
     

    Veng3anc3

    Woah..
    179
    Posts
    17
    Years
  • Nothing wrong with the script this time, Well.. It works fine..
    But!
    What the script does:
    Gives Deoxy's
    Makes you battle rayquaza

    The script works fine, Except the Deoxy's dosn't obey (It's only level 5! o_O?)
    So um, If theres anything I missed.. Here's the script.
    Spoiler:


    I know the cry's are wrong >_>
    If any one can fix those for meh.. Then thanks.
     

    greenozano

    Master of Pokemon
    36
    Posts
    17
    Years
  • umm... what's a script for the day and night I'm making the day and night system using Weather Change. but I was unsuccessful 5 times can someone please give me a script that can pas back and fourth from Light to darkness at random.

    can some see if this script is a valid one for the day and night system on emerald this is what I came up with.

    #org 0x03467C9
    removeflag 0x1354C68
    checkflag 0x1354C67
    if FALSE 0x1354C69
    setweather 0x0B
    doweather
    setflag 0x1354C67
    release
    end

    #org 0x1354C69
    removeflag 0x1354C67
    checkflag 0x1354C68
    if FALSE 0x03467C9
    setweather 0x00
    doweather
    setflag 0x1354C68
    release
    end

    if it is not working tell me what I did wrong and I'll try to fix it

    To all scripters come to this site,
    mugenschool.ucoz.com/index/0-31 You need to register and The program is not mine.
     
    Last edited:
    5,814
    Posts
    16
    Years
    • Age 30
    • Seen May 19, 2021
    Can someone help me with this script?
    Spoiler:

    It's forFireRed
     

    Veng3anc3

    Woah..
    179
    Posts
    17
    Years
  • Ok.. I've writen a script, So when you step on it, It sends you one step up and then warps you to a certain tile on a map (co-ordinates (X:4-Y:28))
    I step on the tile.. It sends me a step up, But it warps me jut to a random black spot >_< Heres the script.
    Spoiler:

    Help please
     
    Last edited:

    Geeked

    Pokemon Crimson Version
    352
    Posts
    16
    Years
    • Seen Oct 9, 2012
    This is supposed to be the beginning script, for cyndaquil, but when you select yes it says you put the pokeball back? and when you say no it says the same thing, also can you replace "0x0" with the correct value that will show cyndaquils image? Thank You.


    Code:
    #org $start
    checkflag 0x828
    if b_true goto $done
    #raw 0x75 0x0 0x00 0x0A 0x03
    message $1
    boxset 5
    compare LASTRESULT 1
    if 1 goto $take
    message $2
    boxset 6
    #raw 0x76
    release
    end
    
    #org $take
    givepokemon 155 5 0
    fanfare 0x13E
    message $3
    boxset 4
    #raw 0x76
    waitfanfare
    #raw 0x68
    setflag 0x828
    message $4
    boxset 5
    compare LASTRESULT 0x1
    if b_true gosub $name
    message $5
    boxset 6
    applymovement 0x03 $dissapear
    release
    end
    
    #org $back
    message $nope
    boxset 6
    release
    end
    
    #org $dissapear
    $dissapear 1 ; #binary 0x60 0x1E 0x1E 0x1E 0x1E 0x1E 
    
    0x1E 0x1E 0x1E 0xFE
    
    #org $name
    call 0x1A74EB
    return
    
    #org $1
    $1 1 =Cyndaquil, The fire type!\pDo you want to take 
    
    it?
    
    #org $2
    $2 1 =You put the pokeball back.
    
    #org $3
    $3 1 =\c\h01\h02You received a Charmander!
    
    #org $4
    $4 1 =\c\h01\h02Would you like to nickname 
    
    Charmander?
    
    #org $5
    $5 1 =Take Care of Cyndaquil!
    
    #org $nope
    $nope 1 =You put the pokeball back.

    Can someone help me?
     
    87
    Posts
    16
    Years
    • Seen Feb 17, 2017
    Scripts

    Hello can someone make me 2 scripts for ruby where you talk to a wall and it says To open the passage you must find a person and talk to him. While the person says hey do you want to know your past? Go to the 7 up walk cave. This is a sercet message.

    So i am asking for 2 scripts one which goes on a cave wall which opens up after you talk to that person and a script of that person talking.
     
    33
    Posts
    17
    Years
    • Seen Apr 9, 2013
    This is a script for HackMew's new XSE, but I can't get it to work right. I'm not sure where the problem is. While compiling I received this error:
    [Archive] Script help thread


    Also as a side question, in XSE you place the Dynamic offset in the map, correct?

    Spoiler:
     

    Derlo

    Tired....
    135
    Posts
    16
    Years
  • Can someone help me with this script?
    Spoiler:

    It's forFireRed

    Try this:

    #org $begin
    checkflag 0x200
    if 1 goto $done
    applymovement 1 $momwalk
    $momwalk 1 ; #Binary 0x62 0x0D 0xFE
    pause 0x30
    message $momtalk
    $momtalk 1 = \c\h01\h04\v\h01, you're up!\pSince we don't have a\nPOKEMON LAB here, I have\lthree POKEMON on the table.\pGo on, choose one.
    boxset 6
    release
    end

    #org $done
    release
    end
     
    Status
    Not open for further replies.
    Back
    Top