• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.
Can someone please show an example of a signpost script?

#org $begin
lock
faceplayer
message $sign
boxset 6
release
end

#org $sign
$sign 1 = (put your text here without the brackets)


hope it helpped
link

I need some help with a rivel battle script.

#org $begin
goto $battle
release
end


#org $battle
lock
faceplayer
playsound 0x13B
#raw 0x33
applymovement 0x08 $mw1
applymovement 0xFF $mw2
pause 0x90
message $mt1
boxset 6
trainerbattle 0 1 $mt2 $mt3
$mt2 1 = I,ll show you what I mean!
$mt3 1 = Humph. Are you happy you won?
message $mt4
boxset 6
applymovement 0xFF $mw3
applymovement 0x08 $mw4
pause 0x40
setflag 0x1013
release
end

#org $done
release
end

#org $mw1
$mw1 ; #binary 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE


#org $mt1
$mt1 1 = ..... ..... .....\pYou got a POKEMON at the LAB.\nWhat a waste. A wimp like you.\p..... ..... .....\pDon't you get what I'm saying?\nWell, I too, have a good POKEMON.

#org $mt4
$mt4 1 = ..... ..... .....\pMy name's ???.\nI'm going to be the world's\pgreatest POKEMON trainer.


#org $mw2
$mw2 1 ; #binary 0x03 0x62 0xFE

#org $mw3
$mw3 1 ; #binary 0x1D 0x03 0xFE

#org $mw4
$mw4 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE

this is what happens:
its all rine until after the trainer battle.
after the battle i become the sprite of the rivel and it looks like me with different colors
https://www.youtube.com/watch?v=QUa8jWF4GW8
ignore the gegining of the video

hope somebody can help
 
Last edited:
#org $begin
lock
faceplayer
message $sign
boxset 6
release
end

#org $sign
$sign 1 = (put your text here without the brackets)


hope it helpped
link

I need some help with a rivel battle script.

#org $begin
goto $battle
release
end


#org $battle
lock
faceplayer
playsound 0x13B
#raw 0x33
applymovement 0x08 $mw1
applymovement 0xFF $mw2
pause 0x90
message $mt1
boxset 6
trainerbattle 0 1 $mt2 $mt3
$mt2 1 = I,ll show you what I mean!
$mt3 1 = Humph. Are you happy you won?
message $mt4
boxset 6
applymovement 0xFF $mw3
applymovement 0x08 $mw4
pause 0x40
setflag 0x1013
release
end

#org $done
release
end

#org $mw1
$mw1 ; #binary 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE


#org $mt1
$mt1 1 = ..... ..... .....\pYou got a POKEMON at the LAB.\nWhat a waste. A wimp like you.\p..... ..... .....\pDon't you get what I'm saying?\nWell, I too, have a good POKEMON.

#org $mt4
$mt4 1 = ..... ..... .....\pMy name's ???.\nI'm going to be the world's\pgreatest POKEMON trainer.


#org $mw2
$mw2 1 ; #binary 0x03 0x62 0xFE

#org $mw3
$mw3 1 ; #binary 0x1D 0x03 0xFE

#org $mw4
$mw4 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE

this is what happens:
its all rine until after the trainer battle.
after the battle i become the sprite of the rivel and it looks like me with different colors
https://www.youtube.com/watch?v=QUa8jWF4GW8
ignore the gegining of the video

hope somebody can help

the problem is that the trainerbattle should be like this
trainerbattle 1 0x001 $mt2 $mt3 $further
release
end


#org $further
message $mt4
boxset 6
 
When I meant like gold and silver in my post(above).

I mean so you get to pick your Pokemon instead of the extras.
I'm using Emerald.
 
thanks foullump. do you know how i can insert the rivel battle sprite? i have it but dont know how to insert it. also how do i make it in this trainer battle script that the rivels pokemon is the right one. like if i choose chikorita then the trainer (rivel) in this script will have cyndaquil?

#org $begin
checkflag 0x1012
if B_TRUE goto $battle
release
end


#org $battle
checkflag 0x1015
if B_TRUE goto $done
lock
faceplayer
playsound 0x13B
#raw 0x33
applymovement 0x09 $mw1
applymovement 0xFF $mw2
pause 0x90
message $mt1
boxset 6
trainerbattle 1 0x001 $mt2 $mt3 $further
release
end



#org $done
release
end

#org $further
message $mt4
boxset 6
applymovement 0xFF $mw3
applymovement 0x09 $mw4
pause 0x40
setflag 0x1015
setflag 0x1014
release
end

#org $mw1
$mw1 ; #binary 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE


#org $mt1
$mt1 1 = ..... ..... .....\pYou got a POKEMON at the LAB.\nWhat a waste. A wimp like you.\p..... ..... .....\pDon't you get what I'm saying?\nWell, I too, have a good POKEMON.

#org $mt2
$mt2 1 = I,ll show you what I mean!

#org $mt3
$mt3 1 = Humph. Are you happy you won?

#org $mt4
$mt4 1 = ..... ..... .....\pMy name's ???.\nI'm going to be the world's\pgreatest POKEMON trainer.


#org $mw2
$mw2 1 ; #binary 0x03 0x62 0xFE

#org $mw3
$mw3 1 ; #binary 0x1D 0x03 0xFE

#org $mw4
$mw4 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE


this script fully works now.
 
Last edited:
thanks foullump. do you know how i can insert the rivel battle sprite? i have it but dont know how to insert it. also how do i make it in this trainer battle script that the rivels pokemon is the right one. like if i choose chikorita then the trainer (rivel) in this script will have cyndaquil?
Spoiler:

this script fully works now.

That is very complicated to do. check the flag of the people id of the pokeball of the pokemon you chose from elm. I think that will work.
 
That is very complicated to do. check the flag of the people id of the pokeball of the pokemon you chose from elm. I think that will work.

ok
i did it like this but it still does not work. i think its because when i did the pokeball script i used the original one from fire red and just edited the text. this means that 2 flags are set so if you choose cyndaquil then the flag of his ball third in the list of checkflags then it will check totodiles one and go to a battle as if you have totodile. its making my brain think alot to know how to get round this.

EDIT: i fixed it at last. i cant post the sollution because its faw to complicted but if anyone Really wants to know then i will post it.

#org $begin
checkflag 0x1012
if B_TRUE goto $battle
release
end


#org $battle
checkflag 0x1015
if B_TRUE goto $done
lock
faceplayer
playsound 0x13B
#raw 0x33
applymovement 0x09 $mw1
applymovement 0xFF $mw2
pause 0x90
message $mt1
boxset 6
checkflag 0x028
if B_TRUE goto $gotchick
checkflag 0x029
if B_TRUE goto $gottoto
checkflag 0x02A
if B_TRUE goto $gotcynda
release
end

#org $gottoto
lock
faceplayer
trainerbattle 1 0x001 $mt2 $mt3 $further
release
end

#org $gotcynda
lock
faceplayer
trainerbattle 1 0x003 $mt2 $mt3 $further
release
end

#org $gotchick
lock
faceplayer
trainerbattle 1 0x002 $mt2 $mt3 $further
release
end



#org $done
release
end

#org $further
message $mt4
boxset 6
applymovement 0xFF $mw3
applymovement 0x09 $mw4
pause 0x40
setflag 0x1015
setflag 0x1014
release
end

#org $mw1
$mw1 ; #binary 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE


#org $mt1
$mt1 1 = ..... ..... .....\pYou got a POKEMON at the LAB.\nWhat a waste. A wimp like you.\p..... ..... .....\pDon't you get

what I'm saying?\nWell, I too, have a good POKEMON.

#org $mt2
$mt2 1 = I,ll show you what I mean!

#org $mt3
$mt3 1 = Humph. Are you happy you won?

#org $mt4
$mt4 1 = ..... ..... .....\pMy name's ???.\nI'm going to be the world's\pgreatest POKEMON trainer.


#org $mw2
$mw2 1 ; #binary 0x03 0x62 0xFE

#org $mw3
$mw3 1 ; #binary 0x1D 0x03 0xFE

#org $mw4
$mw4 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
 
Last edited:
I need help. I kinda understand how to script, but pokescript doesn't work on my comp. Can anybody give one of those advance map script things for a Lv. 30 Celebi person. (It looks like $46236F or something and you put it in script offset.) If it's too hard then you don't have to do it, but if it's easy can I also get one for a person who gives you a shiny beldum lv. 5? Or is that too hard?
 
I need help. I kinda understand how to script, but pokescript doesn't work on my comp. Can anybody give one of those advance map script things for a Lv. 30 Celebi person. (It looks like $46236F or something and you put it in script offset.) If it's too hard then you don't have to do it, but if it's easy can I also get one for a person who gives you a shiny beldum lv. 5? Or is that too hard?

Well, it sounds like you're asking for an already made script which well, doesn't exist. You will have to make it yourself or have someone make it for you.
 
Hi would it be possible for someone good at scripting to make a script that when you beat a trainer you get one of there pokemon but if they beat you they take one of yours or isit impossible?
 
Hi would it be possible for someone good at scripting to make a script that when you beat a trainer you get one of there pokemon but if they beat you they take one of yours or isit impossible?

Yes it is, but it would have to be well planned. Because you can't just take any random pokemon. It has to be a specific one.
 
Lol nice spoiler. Okay a bit of a change of plan could someone write me a script that if you push a on a certian person you battle a wild charmander then when you win someone comes over and fights you and if you lose they take the charmander. You could get the game to check if the charmander is in the team or not.
 
Lol nice spoiler. Okay a bit of a change of plan could someone write me a script that if you push a on a certian person you battle a wild charmander then when you win someone comes over and fights you and if you lose they take the charmander. You could get the game to check if the charmander is in the team or not.

well, actually I forgot. You can't continue a battle if it's lost. So, actually, that can't work.
 
Okay, I need help. Where do I put the special 0x# in a script?
example:
#org $12AC4B
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $Sail
message $AskMe
$AskMe 1 = Would you like to go to (place)?
boxset 5
Release
end

#ORG $Sail
Lock
Faceplayer
message $Sail
$Sail 1 = Let's go then!
boxset 6
release
end

#ORG $NoSail
Lock
Faceplayer
message $NoSail
$NoSail 1 = I'll be right here.
boxset 6
release
end
 
Okay, I need help. Where do I put the special 0x# in a script?
example:
#org $12AC4B
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $Sail
message $AskMe
$AskMe 1 = Would you like to go to (place)?
boxset 5
Release
end

#ORG $Sail
Lock
Faceplayer
message $Sail
$Sail 1 = Let's go then!
boxset 6
Here
release
end

#ORG $NoSail
Lock
Faceplayer
message $NoSail
$NoSail 1 = I'll be right here.
boxset 6
release
end

I put it in the quote. But shouldn't you know?
 
Well, it sounds like you're asking for an already made script which well, doesn't exist. You will have to make it yourself or have someone make it for you.
That's kinda what I was asking, can somebody make these for me?
 
Can a checkitem command be used with a key item?

For example;
Code:
#org $start
lock
faceplayer
checkitem 0x15D
compare LASTRESULT 1
if B_false goto $none
message $hi
boxset 6 ......
15D being Oak's Parcel
 
Can a checkitem command be used with a key item?

For example;
Code:
#org $start
lock
faceplayer
checkitem 0x15D
compare LASTRESULT 1
if B_false goto $none
message $hi
boxset 6 ......
15D being Oak's Parcel

I think so, but if not, you can just use a flag for when you get the parcel, then check that flag.
 
I have a problem with my script. When I use it works fine but insted of the person dissapering th eplayer does and walks with the person I set the ID to. Anybody know how to fix this?

#org $Startscript
lock
faceplayer
message $AskMe
$AskMe 1 = Should I take this pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = I guess I won't...
boxset 6
release
end

$GotIt
#raw 53 0x1234
release
end

#org $Giveit
givepokemon 32 5 0
message $Whatisit
$Whatisit 1 = You Recieved a NIDORAN!
boxset 6
setflag 0x200
if 1 goto $GotIt
release
end

This is for Ruby.
 
Status
Not open for further replies.
Back
Top