• 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 Trading Card Game 2 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 Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
Btw, 0x82F is the running shoes flag.

Yes, but the script say that you had already recieved running shoes if 0x82F is set... naturally you already have running shoes in this case xd
 
I have a quick question. I have a certain script that announces "This Dratini looks familiar..." and then gives you a dratini. It works flawlessly, but after compiling, and then re-opening, it has a lot of (un-used) extra code in it involving the coin case, and several different checkcoin commands...


Any reason why? It's not a problem, but it's a bit aggravating.

I'm using PKSV as a script editor, by the way. Thanks in advance.
 
HEY GUYS
I Found this Script here [Page -6-]
#org 0x2D513F
setvar 0x4060 0x37
givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @player 0x4
waitfanfare
closeonkeypress
hidesprite LASTTALKED
setflag 0x828
release
end

#org @player
[player] recieved a Vulpix!
i have a person that will give you a Vulpix

Now
1st How to change the pokemon that you will receive [ i don't know ids ]
2nd the offset for the person is "14D6CD" do i have to change only the "2D513F" to
"14D6CD"

Pleas help
 
Thats my Script.

Code:
#dynamic 0x26ECB8

#org @start
lock
faceplayer
setvar 0x8008 0x9
call 0x1A8CAD
checkflag 0x1000
if 0x1 goto @how
msgbox @yesno 0x5
compare LASTRESULT 0x0
if 0x1 goto @too
call 0x1A8CBD
compare 0x8004 0x6
if 0x4 goto @too
call 0x1A8CC9
comparevars2 LASTRESULT 0x8009
if 0x5 goto @not
call 0x1A8CD9
msgbox @thanksalot 0x4
setflag 0x1000
release
end

#org @not
bufferpokemon 0x0 0x27
msgbox @not2 0x4
release
end

#org @too
bufferpokemon 0x0 0xD3
msgbox @too2 0x4
release
end

#org @how
msgbox @old 0x4
release
end

#org @thanksalot
= Thanks \nI really mean it!

#org @not2
= That's not [buffer1]\nYou have it or not?

#org @too2
= Dammit, I wanted one [buffer1]!

#org @yesno
= Hey there!\nDo you have a [buffer1]?\lWant to trade it for my\l[buffer2]?

#org @old
= I miss [buffer2]\nYour [buffer1] is doing fine.

He say a don't know comparevars2 on line 17. how can i fix this?

It's a trade script
 
Thats my Script.

Spoiler:

He say a don't know comparevars2 on line 17. how can i fix this?

It's a trade script

Did you try comparevar2 whitout the s?
 
If I wanted to make 4 people move at the same time is their a special value they need to be assigned?

Spoiler:


I need this to move 4 people at the same time then make them disappear.
 
Last edited:
If I wanted to make 4 people move at the same time is their a special value they need to be assigned?

Spoiler:


I need this to move 4 people at the same time then make them disappear.

do you mean applymovement 0x(person event no.)?
Then, if you want 4 people to move at the same time..
Code:
applymovement 0x(person event no.) @pointer
applymovement 0x(person event no.) @pointer
applymovement 0x(person event no.) @pointer 
applymovement 0x(person event no.) @pointer
waitmovement 0x0
And if you want them all to disappear (at once)
Code:
hidesprite 0x(person event no.)
hidesprite 0x(person event no.)
hidesprite 0x(person event no.)
hidesprite 0x(person event no.)
setflag 0x828 (because there's checkflag 0x828)
And make sure you put the person ID of all four sprites as 828 (In AM)
 
More help here

Spoiler:


What's wrong?
 
More help here

Spoiler:


What's wrong?

Code:
#dynamic 0x2E4E83

#org @start
checkflag 0x828
if 0x1 goto @none
[B]msgbox @no 0x2
applymovement 0xFF @back
waitmovement 0x0
release
end[/B]

#org @no
= No-one is allowed\nto leave this Village\nuntil we have finished\nsearching.

#org @back
#raw 0x0E 0xFE

#org @none
release
end
I think that should do it.
 
HEY GUYS
I Found this Script here [Page -6-]
Quote:
#org 0x2D513F
setvar 0x4060 0x37
givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @player 0x4
waitfanfare
closeonkeypress
hidesprite LASTTALKED
setflag 0x828
release
end

#org @player
[player] recieved a Vulpix!
i have a person that will give you a Vulpix

Now
1st How to change the pokemon that you will receive [ i don't know ids ]
2nd the offset for the person is "14D6CD" do i have to change only the "2D513F" to
"14D6CD"

Could Some1 help
 
HEY GUYS
I Found this Script here [Page -6-]

i have a person that will give you a Vulpix

Now
1st How to change the pokemon that you will receive [ i don't know ids ]
2nd the offset for the person is "14D6CD" do i have to change only the "2D513F" to
"14D6CD"

Pleas help
HERE you can find a list of pokemon with their relatives IDs...

2- this scritp is a half with dynamic offset and a half with static offsets and it contain some errors; try this (you have to compile it with XSE):
#dynamic 0x800000

#org @start
givepokemon 0xPKMN id 0xPKMN level 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @player 0x2
waitfanfare
hidesprite LASTTALKED
setflag 0x828
release
end

#org @player
= [player] recieved a Vulpix!
 
HERE you can find a list of pokemon with their relatives IDs...

2- this scritp is a half with dynamic offset and a half with static offsets and it contain some errors; try this (you have to compile it with XSE):

Man .. I Swear you are a Scripting Master
I Will test it now:)
 
Oh Geeez ... I Got this Message When I Replaced the ID With Pikachu
[For The Fat guy in little root]
i got this message:S
[PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS)

Link https://medo00972.googlepages.com/script.jpg

-Medo0
 
Status
Not open for further replies.
Back
Top