• 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 Requests/Sharing/Discussion

Status
Not open for further replies.

Derlo

Tired....
  • 135
    Posts
    16
    Years
    >>>>>>>>>>>>>>TO ~*Pikafan*~

    #org $begin
    lock
    faceplayer
    checkflag 0x207
    if 1 goto $done
    message $ah
    boxset 6
    playsound 0xFFFF
    #raw 0x33
    applymovement 2 $mv1
    pusemove 0
    setflag 0x207
    applymovement 2 $mv2
    pausemove 0
    message $well
    boxset 6
    playsound 0x13B
    applymovement 4 $mv3
    pausemove 0
    message $here
    boxset 6
    fadesound
    message $so
    goto $getdex

    #org $getdex
    setflag 0x800
    setflag 0x801
    jingle
    message $gotdex
    boxset 6
    givepokemon 179 5 8E
    jingle
    message $gotpoke
    boxset 6
    #raw 53
    #raw XX <---- put here number of the person (POKEBALL).
    #raw 00
    message $namepoke
    boxset 5
    compare LASTRESULT 1
    if 0 goto $sea
    namepokemon
    goto $sea
    release
    end

    #org $ah
    $ah 1 = Ah, there you are,\n\v\h01!\pHere, I have something for you.

    #org $mv1
    $mv1 1 ; #binary 0x13 0x13 0xFE

    #org $mv2
    $mv2 1 ; #binary 0x12 0x12 0x4A 0xFE

    #org $well
    $well 1 = Well, \v\h01, here\nis a pokemon in my hand.\pThis is no ordinary pokemon.\nIt is a new pokemon found in\pa different region. Its\nname is Shinx. I want you\pto take this pokemon and\ngo to the Seafoam Islands.\pLately, there have been some\nshady people around Seafoam Islands.\pI want you to go with\nmy friend..wait, where\pis he?

    #org $mv3
    $mv3 1 ; #binary 0x13 0x13 0x13 0x13 0x11 0x11 0x11 0xFE

    #org $here
    $here 1 = Here I am!\nSorry, I was reading a book on\lthe shelf.\pSo, Professor, what is it?

    #org $so
    $so 1 = Now that you both are here,\nfirst I need to give you\lyour pokedexes. \pThen, \v\h01, I'll give you\nyour pokemon.\pHere, both of you, take these.

    #org $gotdex
    $gotdex 1 = You got the pokedex!

    #org $gotpoke
    $gotpoke 1 = You obtained a Shinx!

    #org $namepoke
    $namepoke 1 = Would you like to give Shinx a nickname?

    #org $sea
    $sea 1 = There's a boat waiting outside\nto take you to the Seafoam\lIslands.\p Before you go, go to the machine\nand get your pokedex upgraded.

    #org $done
    message $hey
    $hey 1 = Hey \v\h01, how are you?
    boxset 6
    release
    end
     
    Last edited:

    yoderpet

    Amateur Trainer
  • 13
    Posts
    16
    Years
    • Seen Aug 12, 2023
    I have a code that needs to be checked. What its supposed to do is allow you to battle a mew, but I'm not sure it works could someone check my coding before I use it?
    Code:
    #org $StartWild
    lock
    faceplayer
    checkflag 0x305
    if B_true goto $done
    cry5
    message $Mewcry
    boxset 6
    checkflag 0x304
    if B_true goto $WildBatt
    setflag 0x305
    release
    end
    
    #org $done
    release
    end
    
    #org $WildBatt
    lock
    wildbattle 151 30 0
    release
    setflag 0x401
    fadscreen 0
    end
    Thanks in advanced and if anybody needs this code, once its been checked you can use it.

    Also, I need the Rival's Pokescript code like when you're using the message code how it is "v\h01" what is the rival's?
     

    ~*Pikafan*~

    Man I gotta stop leaving!
  • 202
    Posts
    16
    Years
    • Age 30
    • Seen Oct 23, 2011
    >>>>>>>>>>>>>>TO ~*Pikafan*~

    It still doesn't work. When he walks to the pokeball, it doesn't dissappear, you have to click again to continue it, and when it gets up to "Where is he?" The script stops. The game freezes too. I don't know what's wrong...
     

    Derlo

    Tired....
  • 135
    Posts
    16
    Years
    It still doesn't work. When he walks to the pokeball, it doesn't dissappear, you have to click again to continue it, and when it gets up to "Where is he?" The script stops. The game freezes too. I don't know what's wrong...

    If that doesn't work I don't know where it is the problem!


    #org $begin
    lock
    faceplayer
    checkflag 0x207
    if 1 goto $done
    message $ah
    $ah 1 = Ah, there you are,\n\v\h01!\pHere, I have something for you.
    boxset 6
    applymovement 2 $mv1
    $mv1 1 ; #Binary 0x13 0x13 0xFE
    pausemove 0
    #raw 53
    #raw XX <---- put here number of the person (POKEBALL).
    #raw 00
    applymovement 2 $mv2
    $mv2 1 ; #Binary 0x12 0x12 0x4A 0xFE
    pausemove 0
    message $well
    $well 1 = Well, \v\h01, here\nis a pokemon in my hand.\pThis is no ordinary pokemon.\nIt is a new pokemon found in\la different region.\pIts name is Shinx.\pI want you to take this\npokemon and go to\lthe Seafoam Islands.\pLately, there have been some\nshady people around Seafoam Islands.\pI want you to go with\nmy friend..wait, where\lis he?
    boxset 6
    playsound 0x13B
    nop
    nop
    nop
    nop
    nop
    nop
    applymovement 4 $mv3
    $mv3 1 ; #Binary 0x13 0x13 0x13 0x13 0x11 0x11 0x11 0xFE
    pausemove 0
    message $here
    $here 1 = Here I am!\nSorry, I was reading a book on\lthe shelf.\pSo, Professor, what is it?
    boxset 6
    fadesound
    message $so
    $so 1 = Now that you both are here,\nfirst I need to give you\lyour pokedexes.\pThen, \v\h01, I'll give you\nyour pokemon.\pHere, both of you, take these.
    boxset 6
    jingle
    message $getdex
    $gotdex 1 = You got the pokedex!
    boxset 6
    givepokemon 179 5 8E
    jingle
    message $gotpoke
    $gotpoke 1 = You obtained a Shinx!
    boxset 6
    message $npoke
    $npoke 1 = Would you like to give Shinx a nickname?
    boxset 5
    compare LASTRESULT 1
    if 0 goto $sea
    namepokemon
    call $sea
    setflag 0x207
    setflag 0x800
    setflag 0x801
    release
    end

    #org $sea
    message $1
    $1 1 = There's a boat waiting outside\nto take you to the Seafoam\lIslands.\pBefore you go, go to the machine\nand get your pokedex upgraded.
    boxset 6
    return

    #org $done
    message $hey
    $hey 1 = Hey \v\h01, how are you?
    boxset 6
    release
    end

    There is, other thing: WHICH THE ROM WHAT YOU USE, FR/LG OR R/S?

    I have a code that needs to be checked. What its supposed to do is allow you to battle a mew, but I'm not sure it works could someone check my coding before I use it?
    Code:
    #org $StartWild
    lock
    faceplayer
    checkflag 0x305
    if B_true goto $done
    cry5
    message $Mewcry
    boxset 6
    checkflag 0x304
    if B_true goto $WildBatt
    setflag 0x305
    release
    end
    
    #org $done
    release
    end
    
    #org $WildBatt
    lock
    wildbattle 151 30 0
    release
    setflag 0x401
    fadscreen 0
    end
    Thanks in advanced and if anybody needs this code, once its been checked you can use it.

    TRY THIS:

    #org $StartWild
    lock
    faceplayer
    checkflag 0x305
    if 1 goto $done
    cry5
    message $Mewcry
    $Mewcry 1 = ________________ <- (Write what MEW will say!)
    boxset 6
    wildbattle 151 30 0
    fadescreen 0
    setflag 0x305
    release
    end

    #org $done
    release
    end

    Also, I need the Rival's Pokescript code like when you're using the message code how it is "v\h01" what is the rival's?

    To show the name of the RIVAL it uses \ v\h06.
     
    Last edited:
  • 245
    Posts
    19
    Years
    • Age 34
    • Seen Aug 5, 2022
    Hi guys I finally got Pokescript to work yay but I am now having another problem :(

    Basically I am writing a sign for an elm lab but when I go to test it (while playing it duh) the text box doesn't come up when I run into the sign and when I press the A button (A for GBA programmed to whatever button you have it as). Here is the code and can you tell me if there is anything wrong with it.

    Spoiler:


    thanks for your time I hope to hear from one of you guys soon.
     
    Last edited:

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    use #org rather than #ORG...

    also, use the signpost (orange in colour in a-map), and set the right unkown values(above the hidden check box) and try again.

    But save your game inside a house before reopening your ROM again.
    hope that helps. ;)
     
  • 245
    Posts
    19
    Years
    • Age 34
    • Seen Aug 5, 2022
    use #org rather than #ORG...

    also, use the signpost (orange in colour in a-map), and set the right unkown values(above the hidden check box) and try again.

    But save your game inside a house before reopening your ROM again.
    hope that helps. ;)

    Cheers mate changing the ORG to org worked thanks mate credits for you lol
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    happy to help and need not for credits. that's the whole purpose of this thread.., to be helped by others. You're welcome and good luck with hacking! ;)
     

    Binary

    え?
  • 3,977
    Posts
    16
    Years
    • Seen Apr 7, 2014
    I need a script:
    I need a sprite to come from the bottom of the map and then walk up 3steps and talk to you saying: Hey bro, nice seeing you here. I see you got a pokemon, how about a battle?
    he should have a level 5 magmar.
    Thanks alot in advance!

    ~Celebi
     

    yoderpet

    Amateur Trainer
  • 13
    Posts
    16
    Years
    • Seen Aug 12, 2023
    Thanks Derlo. I'm going to add an easier way to battle mew in my game and that code helped me a lot!
     

    Derlo

    Tired....
  • 135
    Posts
    16
    Years
    Hello people! :D

    Can anybody tell me how to do the EARTHQUAKE to stop?
    It is that after activating SPECIAL corresponding to him, the earthquake continues and he doesn't stop working unless me among or leave a map for other!

    GOOD-BYE AND THANK YOU!
     

    yoderpet

    Amateur Trainer
  • 13
    Posts
    16
    Years
    • Seen Aug 12, 2023
    Hey Derlo. I tried the code on my Fire Red and when I talk to the Mew all it does is freeze the screen and then it turns red. So do all of my other codes! Not one of my codes have worked so far. Does anyone have an explanation?

    Could someone also check this code for me?

    Code:
    #org $begin
    lock
    faceplayer
    applymovement $lookup
    pause 0x1
    message $So
    boxset 6
    applymovement $lookdown
    pause 0x1
    message $Oh
    boxset 6
    giveitem 0x44 0x1
    message $go
    boxset 6
    applymovement $around
    pause 0x1
    release
    end
    
    #org $lookup
    applymovement $lookup ; 0x++ 0xFE
    
    #org $So
    message $So 1 = So this is the entrance to the canyon!
    
    #org $lookdown
    applymovement $lookdown ; 0x++ 0xFE
    
    #org $Oh
    message $Oh 1 = Oh, hello. Are you a trainer, too? Cool! So what's your name?... v\h01? Okay, mine is Yoda. I was named after my grandfather. We should battle sometime, but right now I need to do an errand for my grandfather so see ya!
    
    #org  $around
    applymovement $around ;  0xright 0xdown 0xdown 0xdown 0xleft 0xdown 0xdown 0xdown 0xdown 0xFE

    Yes, I know that "down/left/..." aren't code, I just did that to remind myself to look for those codes.
     
    Last edited:
  • 1,104
    Posts
    16
    Years
    Hello people! :D

    Can anybody tell me how to do the EARTHQUAKE to stop?
    It is that after activating SPECIAL corresponding to him, the earthquake continues and he doesn't stop working unless me among or leave a map for other!

    GOOD-BYE AND THANK YOU!

    Have you tried adding a #raw 27 after it.

    Hey Derlo. I tried the code on my Fire Red and when I talk to the Mew all it does is freeze the screen and then it turns red. So do all of my other codes! Not one of my codes have worked so far. Does anyone have an explanation?

    Could someone also check this code for me?

    Code:
    #org $begin
    lock
    faceplayer
    applymovement $lookup
    pausemove 0
    message $So
    boxset 6
    applymovement $lookdown
    pausemove 0
    message $Oh
    boxset 6
    giveitem 0x44 0x1
    message $go
    boxset 6
    applymovement $around
    pausemove 0
    release
    end
    
    #org $lookup
    $lookup 1 ; 0x++ 0xFE
    
    #org $So
    $So 1 = So this is the entrance to the canyon!
    
    #org $lookdown
    $lookdown 1 ; 0x++ 0xFE
    
    #org $Oh
    $Oh 1 = Oh, hello. Are you a trainer, too? Cool! So what's your name?... v\h01? Okay, mine is Yoda. I was named after my grandfather. We should battle sometime, but right now I need to do an errand for my grandfather so see ya!
    
    #org  $around
    $around ;  0xright 0xdown 0xdown 0xdown 0xleft 0xdown 0xdown 0xdown 0xdown 0xFE

    Yes, I know that "down/left/..." aren't code, I just did that to remind myself to look for those codes.

    Okay, I think I fixed all the problems. I also changed the "pause 0x1"'s to pausemove 0, which is like a perfect pause, which waits for the exact momenet that the movements end.

    I still can't find the flag for when Prof Oak takes you inside his lab. Can someone please tell me?

    In the Prof. Oak script at the beginning, it uses these flags.
    setflag 0x002C
    setflag 0x4001
    and clears the flag 0x2B

    Why would you want to know these?
     
  • 245
    Posts
    19
    Years
    • Age 34
    • Seen Aug 5, 2022
    I need help with the wild battle script the one that destinedjagold made in a previous post doesn't work properly can someone help me?

    Spoiler:


    hope to hear from you guys soon :D
     

    yoderpet

    Amateur Trainer
  • 13
    Posts
    16
    Years
    • Seen Aug 12, 2023
    Thanks thethethethe. I'm going to try it in a little bit. I'll tell you how it works.
     

    Reaper 6

    (Reaper 6) the six samurai YGO
  • 122
    Posts
    16
    Years
    • Seen Dec 8, 2009
    Pokescript

    Can someone make a simple script creator for pokescript that way people that find it hard to script just have to press a few bottons and have a script made just like simple script creator for scriptED users but this time for pokescript so how about it can someone make it
     
  • 860
    Posts
    17
    Years
    Can anyone check this please...
    I cant get it compiled in PokeScript...

    Spoiler:
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    here, I guess this will do, I think...

    #org $begin
    checkflag 0x999
    if B_true goto $done
    applymovement 0x01 $move1
    pause 0x190
    message $move1
    boxset 6
    applymovement 0x01 $move2
    applymovement 0xFF $move2
    pause 0x200
    release
    end

    #org $done
    release
    end

    #org $move1
    $move1 ; #binary 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x03 0x03 0x03 0x03 0x04 0xFE
    Spoiler:


    #org $move
    $move 1 = Hey wait, \v\h01!\nProf. Andreas wants to see you!

    #org $move2
    $move2 1 ; #binary 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x03 0x03 0x03 0x03 0x04 0x60 0xFE
     
    Status
    Not open for further replies.
    Back
    Top