• 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.
131
Posts
17
Years
    • Seen Jun 16, 2014
    Look, the script worked on my Pc. Only the last message shouldn't work because I forgot to write Boxset 6 under message (my bad)
    all other glitches must be in your game...
     
    28
    Posts
    16
    Years
    • Seen Dec 7, 2009
    #org $battle
    message $roar
    boxset 6
    wildbattle 1 5 0
    fadescreen 0
    #raw 53
    #raw <ppl nr>
    #raw 00
    setflag 0x200
    release
    end

    #org $roar
    $roar 1 = Bulba!

    Doesn't work. Just skips wildbattle part!
     

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    made from scratch... hope this will solve your jirachi script problem... :\
    Code:
    #org $jirachi
    checkflag 0x200
    if b_true goto $done
    message $roar
    boxset 6
    wildbattle 0x199 30 1
    setflag 0x200
    release
    end
    
    #org $done
    message $roar
    boxset 6
    release
    end
    
    #org $roar
    $roar 1 = JIRACHI: Wish... For the star...

    - edited -
    May I ask for some help..? I wanna know how to activate the clock in a POKMON Ruby U.S. Version ROM...
    Thanks in advance... ;)
     

    TB Pro

    Old-timer
    2,708
    Posts
    19
    Years
  • I burned it.
    If he see me, the game makes a reset.

    @ Teh Blaziken :
    I have read your scripting school.
    I only don't check this :
    checkflag 0xXXX
    What numbers I have to insert?

    Um...dude I directly said: "you can fill this out with any three numbers starting at 200".
    Oh
    @DJG Might try to extract the script from a regular ROM using PKSV.
     
    28
    Posts
    16
    Years
    • Seen Dec 7, 2009
    #org $jirachi
    checkflag 0x200
    if b_true goto $done
    message $roar
    boxset 6
    wildbattle 0x199 30 1
    setflag 0x200
    release
    end

    #org $done
    message $roar
    boxset 6
    release
    end

    #org $roar
    $roar 1 = JIRACHI: Wish... For the star...

    STILL, just skips wildbattle! DARN!
     

    Luck

    ¯\_(ツ)_/¯
    6,779
    Posts
    16
    Years
    • Seen May 20, 2023
    Yeesh the wish...For the star thing sounds like a Satanic ritual.
    as for battles i don't know how to do it let alone find the errors.
     

    Jack of Bl♠des

    Former goderator
    194
    Posts
    16
    Years
  • I'm working on a movement script for somebody, but I'm getting a weird problem.

    Code:
    #org $start
    Checkflag 0x203
    if B_true goto $done
    applymovement 0x01 $move
    applymovement 0xFF $playamove
    pausemove 0
    Message $poke
    Message $recieve
    Message $goodluck
    Boxset 6
    Applymovement 0x01 $moveback
    setflag 0x203
    Release
    End
    
    #org $done
    Release
    End
    
    #org $move
    $move 1 ; #binary 0x0F 0xFE
    
    #org $playamove
    $playamove 1 ; #binary 0x02 0xFE
    
    #org $poke
    $poke 1 = Take this POKEMON.
    
    #org $recieve
    Givepokemon 306 5 0
    Jingle
    Message $here
    
    #org $here
    $here 1 = You recivied a Shroomish.
    
    #org $goodluck
    $goodluck 1 = Good luck, \v\h01!
    
    #org $moveback
    $moveback 1 ; #binary 0x0E 0xFE
    Here's what's supposed to happen: When the character steps on the tile, another character takes a step to the right and says something. They give the character a pokemon, say something else, then return to where they were.

    Here's what I get:
    [Archive] Script help thread


    When I step on the script tile, the character moves one step, but says the last message that's supposed to appear, followed by the game freezing while that weird box appears. Any corrections in my script would be appreciated; movement scripts aren't my strength right now, and I think that's what's messing it up.
     

    TB Pro

    Old-timer
    2,708
    Posts
    19
    Years
  • @Jack Of Blades Try this bud.
    Spoiler:
     

    Jack of Bl♠des

    Former goderator
    194
    Posts
    16
    Years
  • @Jack Of Blades Try this bud.
    Spoiler:

    Ah, there we go! Thanks Blaziken, you defintely are teh coolest. Seems that I left out those "boxset 6"'s that you put, and also had to decapitalize the "A" in applymovement, which made a surprisingly big difference.

    One question more. How would you insert sound effects in the middle of a script (like the gym leaders, or finding an item)?
     

    Luck

    ¯\_(ツ)_/¯
    6,779
    Posts
    16
    Years
    • Seen May 20, 2023
    Yeah you shouldn't doubt his teh coolness-ness.

    Anyways i haven't tried this script out yet but can someone tell me what is wrong with it if there is something wrong with it?

    #ORG $begin
    lock
    faceplayer
    message $yesno
    boxset5
    compare LASTRESULT 1
    if B_true goto $yes
    message $no
    boxset 6
    release
    end

    #ORG $yes
    message $yep
    boxset 6
    release
    end

    #ORG $yesno
    $yesno 1 = Hey did you watch\nthe superbowl?

    #ORG $no
    $no 1 =Then you are NOT\na man!

    #ORG $yep
    $yep 1 = It was cool\n wasn't it?
     
    131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    Can someone tell me how to make, or where I can find commands for this script:

    I want a person to ask What item would you like, and then a Box comes up like this

    __________
    | Potion |
    | Full Heal |
    | Pokeball |
    L _______ J

    Cant find any toturials that shows me how at the moment...
     

    WindBlows

    It's been a long time!
    749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    Code:
    #org $start
    lock
    faceplayer
    checkflag 0x210
    message $saluteandpkmn
    boxset 0x6
    givepokemon 369 5 164
    jingle
    message $recieved
    boxset 0x6
    message $salut
    boxset 0x6
    applymovement 0x07 $move
    pausemove 0
    setflag 0x210
    release
    end
    
    #ORG $saluteandpkmn
    $saluteandpkmn 1 =Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!
    
    #ORG $recieved
    $recieved 1 =\v\h01 recieved GIBLE.
    
    #ORG $salut
    $salut 1 =Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!
    
    #ORG $move
    #raw 0x08 
    #raw 0x08
    #raw 0x0A
    #raw 0x08
    #raw 0x0A
    #raw 0x0A
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0xFE
    Is this script good for a person?
    I mean If a talk to a person it activates?

    Can you correct something if is wrong?
     

    WindBlows

    It's been a long time!
    749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    so It will be like this ?

    Code:
    #org $start
    lock
    faceplayer
    checkflag 0x210
    message $saluteandpkmn
    boxset 0x6
    givepokemon 369 5 164
    jingle
    message $recieved
    boxset 0x6
    message $salut
    boxset 0x6
    applymovement 0x07 $move
    pausemove 0
    setflag 0x210
    release
    end
    
    #ORG $saluteandpkmn
    $saluteandpkmn 1 =Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was 
    
    very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!
    
    #ORG $recieved
    $recieved 1 =\v\h01 recieved GIBLE.
    
    #ORG $salut
    $salut 1 =Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!
    
    #ORG $move
    $move 1; #binary 0x08 0x08 0x0A 0x08 0x0A 0x0A 0x08 0x08 0x08 0xFE
     

    Jack of Bl♠des

    Former goderator
    194
    Posts
    16
    Years
  • It's pretty solid, including what megiddo said. But there's a bunch of common mistakes you made in the second half.

    Code:
    #ORG $saluteandpkmn
    $saluteandpkmn 1 = Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was 
    
    very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!
    
    #ORG $recieved
    $recieved 1 = \v\h01 recieved GIBLE.
    
    #ORG $salut
    $salut 1 = Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!
    
    #ORG $move
    $move 1 ; #binary 0x08 0x08 0x0A 0x08 0x0A 0x0A 0x08 0x08 0x08 0xFE

    Spaces make a surprising amount of difference in a script.
     

    Thrace

    @tion
    1,048
    Posts
    16
    Years
    • Seen Oct 2, 2016
    Can someone tell me how to make, or where I can find commands for this script:

    I want a person to ask What item would you like, and then a Box comes up like this

    __________
    | Potion |
    | Full Heal |
    | Pokeball |
    L _______ J

    Cant find any toturials that shows me how at the moment...
    What you want is a pokemart script:
    thethethethe said:
    #org $StartMarket
    lock
    faceplayer
    pokemart $marketValues 'pointer to items in the pokemart.
    release
    end

    #org $marketValues
    #binary int 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 'items. So in this case it's Masterball, Ultraball, Greatball, pokeball, etc
    #binary int 0x9 0xa 0xb 0xc 0x13 0x14 0x0 'continueing items... Must End in 0x0 otherwise it won't work.
     
    Status
    Not open for further replies.
    Back
    Top