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

Geeked

Pokemon Crimson Version
  • 352
    Posts
    16
    Years
    • Seen Oct 9, 2012
    I had a title screen done, ever since, my scripts wont work?

    im using pokescript, they compile, but when i test them they wont work.
     

    Megiddo-san

    Barium - Summer '12 Return?
  • 1,308
    Posts
    16
    Years
    Okay. Thank you. Can someone tell me what is wrong with this script? Nothing happens when you step on the tile.

    Spoiler:
     

    TB Pro

    Old-timer
  • 2,708
    Posts
    19
    Years
    anyone know a working berry script?

    Like a berry tree from G/S/C? I beleive I could make one...it would deal with randomization, so you would not know if you would get a berry or not...of course then you could just talk to it over and over again to get a berry...I have been researching time in Pokemon Games. There seems to be a way to make things time-based, but it's sorta difficult to find out how. You could also just make it check for a flag thatn happens later in the game before it would bear any more berries. So then it would act like a progress-wise deal. Just specify which one you would prefer, and I'll try to write it up for you:)
     
  • 131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    warp 0x24 0x52 0x2

    Why does the screen turn black when I use this command? There is nothing wrong with the map or anything..
     

    BakingBluePotatoe

    The Red Death Alchemist
  • 2,281
    Posts
    16
    Years
    Spoiler:


    nothing happens when I talk to the Pokeball... just the "ping" sound o_O

    What I want to happen is:

    you talk to the Pokeball
    you think to yourself
    you then take the ball
    the ball dissapares
    you recive the shiny charmander that's also holding an oran berry.

    EDIT: I am using that Shiny Routine thingymabob, so the Charmander is shiny
     

    Geeked

    Pokemon Crimson Version
  • 352
    Posts
    16
    Years
    • Seen Oct 9, 2012
    yes, TB Pro me and you can write that script, but it will take awhile so ill drop you a pm, and we can get started.
     

    D a n i e l

    Pokemon - Mystic Plan
  • 62
    Posts
    18
    Years
    Hi =/ I have a problem too.
    Code:
    #ORG $begin
    checkflag 0x200
    if B_True goto $done
    applymovement 0x02 $Mumcomes
    pausemove 0
    message $1
    boxset 6
    applymovement 0xFF $Igodown
    applymovement 0x02 $Shegoesdown
    pausemove 0[COLOR="Red"]
    applymovement 0x02 $Driving //here it begins getting wrong.
    applymovement 0xFF $Driving //The player doesnt want to go with the other sprites.
    applymovement 0x01 $Driving 
    pausemove 0
    applymovement 0xFF $Goup
    applymovement 0x02 $Goup
    pausemove 0
    message $2
    boxset 6
    applymovement 0x02 $SheAway
    applymovement 0xFF $MeUp
    pausemove 0
    setflag 0x200
    Release
    end[/COLOR]
    
    #ORG $done
    release
    end
    
    #ORG $Mumcomes
    #RAW 0x56
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0xFE
    
    #ORG $Igodown
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x06
    #RAW 0x06
    #RAW 0xFE
    
    #ORG $Shegoesdown
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x06
    #RAW 0xFE
    
    #ORG $Driving
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0x06
    #RAW 0xFE
    
    #ORG $Goup
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0x05
    #RAW 0xFE
    
    #ORG $MeUp
    #RAW 0x05
    #RAW 0xFE
    
    #ORG $SheAway
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0x04
    #RAW 0xFE
    
    
    #ORG $1
    $1 1 = Mama: Hi Schatz! Wohin des Weges?\nNach Metropolis? Das ist aber\pein sehr langer Weg bis dahin.\nAußerdem hast du gar kein Pokemon\pdas dich beschützen könnte...\nUnd der Weg führt durch die\pHöhle des Ungewissen.Nein Schatzi!\nIch nehme dich mit dahin!\pWie? Tja, mit dem Auto! Komm.
    
    #ORG $2
    $2 1 = Mama: So. Viel Glück auf\ndeiner Reise. Werde der weltbeste\pPokemontrainer und mach deine Mama\pstolz... Achja,Vergiss nicht\ntäglich die Unterwäsche zu wechseln.\pMachs Gut und komm bald wieder.
     
  • 131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    I had that problem to.
    Try :
    Warp 24 52 2

    It worked.... Had to change something else

    #org $start
    callasm 0x71B771
    #raw 0x1
    checkflag 0x200
    if b_true goto $done
    givepokemon 4 5 0x8B
    message $take
    boxset 6
    applymovement 0x60 $balldiss
    callasm 0x71B771
    #raw 0x01
    setflag 0x828
    setflag 0x200
    release
    end

    #org $done
    messag $balldiss
    boxset 6
    release
    end

    #org $take
    $take 1 = (You forgot a space here) \v\h01's mind: This must be\nthe ball she ment! I wonder how this
    \pis special? Oh well, I guess\nI'll find out soon enough!


    #org $balldiss
    $balldiss 1 ; #binary 0x60 0xFE
     
    Last edited:

    BakingBluePotatoe

    The Red Death Alchemist
  • 2,281
    Posts
    16
    Years
    now it will show the thoughts, but the rest isn't happening...

    for reference:

    Spoiler:


    what SHOULD happen:

    you talk to the Pokeball
    you think to yourself
    you then take the ball
    the ball dissapares
    you recive the shiny charmander that's also holding an oran berry.

    what is happening instead:
    You talk to the ball
    you think to yourself
    nothing else
     
    Last edited:
  • 91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    When I applied an trainerscript to a person, I walked into the grass and I had to fight against a wild pokemon I fled and then I became the person (that trainer.)

    Code:
    #org $Trainer1
    lock
    faceplayer
    trainerbattle 1 0x002 $MadChall $MadDefeat
    $MadChall 1 = My bugs will crush you!
    $MadDefeat 1 = NOOO!
    message $MadTalk
    $MadTalk 1 = My bugs need more practise..
    boxset 6
    release
    end
     

    Dr.Razor

    Yellow Remaker
  • 101
    Posts
    16
    Years
    Hi, what's wrong with that script?
    Code:
    #org $debut
    lock
    faceplayer
    message $ond
    bosxet 6 
    special 0x157
    applymovement 0xFF $move
    pausemove 0x0
    applymovement 0x04 $move2
    pause 0x30
    message $arg
    boxset 6
    applymovement 0x04 $move3
    pause 0x30
    release
    end
    
    #org $ond
    $ond 1 =Hey!!!\nPrends pas mon velo!!
    
    #org $move
    #raw 0x10 0xFE
    
    #org $move2
    #raw 0x12 0x12 0x62 0xFE
    
    #org $arg
    $arg 1 =Je vais appeler l'agent\nJenny.
    
    #org $move3
    #raw 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
     
    Last edited:

    Master_Track

    ROM Reaverz Scripter
  • 916
    Posts
    16
    Years
    Hi, what's wrong with that script?
    Code:
    #org $debut
    lock
    faceplayer
    message $ond
    [COLOR=Red][U][B] bosxet 6 [/B][/U][/COLOR]
    special 0x157
    applymovement 0xFF $move
    pausemove 0x0
    applymovement 0x04 $move2
    pause 0x30
    message $arg
    boxset 6
    applymovement 0x04 $move3
    pause 0x30
    release
    end
    
    #org $ond
    $ond 1 =Hey!!!\nPrends pas mon velo!!
    
    #org $move
    #raw 0x10 0xFE
    
    #org $move2
    #raw 0x12 0x12 0x62 0xFE
    
    #org $arg
    $arg 1 =Je vais appeler l'agent\nJenny.
    
    #org $move3
    #raw 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
    I'd say that's the main problem xD
    If I find another mistake I tell you.
     

    TB Pro

    Old-timer
  • 2,708
    Posts
    19
    Years
    For Daniel: NEVER, I repeat, NEVER use the same offset twice(or more) in one script.
    For Kitsune:
    Spoiler:
     
    Status
    Not open for further replies.
    Back
    Top