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

[Archive] Script help thread

Status
Not open for further replies.
Spoiler:


okay,so im this script, a man gives you a Drantini, says to check the games thread, and the screen fades and he's "magically " gone BUT when you enter the map where this event takes place, he's back and if you rtalk to him, he gives you another dratini and repeats the script, how is avoidable?

Put 0828 in the person ID of the man in A-Map.
 
Spoiler:


okay,so im this script, a man gives you a Drantini, says to check the games thread, and the screen fades and he's "magically " gone BUT when you enter the map where this event takes place, he's back and if you rtalk to him, he gives you another dratini and repeats the script, how is avoidable?

Like dshayabusa said.
And try adding this command:
#raw 0x53
#raw 0x<people number>
#raw 0x00
Hope that helps.
 
Tamerhaider, you can also use hidesprite. Or is it some different thing you're talking about?
 
what is the mistake in this script:
#dynamic 0x856471

#org @dialga
lock
faceplayer
message @sfidami!
boxset 0x6
wildbattle 0x003 0x18 0x2 0x2 0x1
hidesprite 0x0F
setflag 0x1204
release
end

#org @sfidami!
= Sono Dialga!\psignore del tempo\pio sono il primo guardiano\nsai perchè siamo qui?\pperchè noi dobbiamo rompere i 5 sigilli\ne battere Darkrai\pper farlo abbiamo bisogno di\pun allenatore che ci sfidi\ncosì possiamo valutare\pla sua forza\pbene iniziamo!
 
Tamerhaider, you can also use hidesprite. Or is it some different thing you're talking about?

He's using poke script.
I think it's better to use #raw 0x53 ...etc for a person to disappear completely.
Not sure if hidesprite will do the same thing, though.
In XSE, I use hidesprite and it works fine.

And garra911

change this:

fadescreen 0x1
applymovement 0x01 $MOVE
pausemove 0
fadescreen 0x0

Into this:

fadescreen 0x1
#raw 0x53
#raw 0x01
#raw 0x00
fadescreen 0x0
 
what is the mistake in this script:
#dynamic 0x856471

#org @dialga
lock
faceplayer
message @sfidami!
boxset 0x6
wildbattle 0x003 0x18 0x2 0x2 0x1
hidesprite 0x0F
setflag 0x1204
release
end

#org @sfidami!
= Sono Dialga!\psignore del tempo\pio sono il primo guardiano\nsai perchè siamo qui?\pperchè noi dobbiamo rompere i 5 sigilli\ne battere Darkrai\pper farlo abbiamo bisogno di\pun allenatore che ci sfidi\ncosì possiamo valutare\pla sua forza\pbene iniziamo!
Qual è il problema? Dovete spiegare.
 
jin14

I think your problem is with the wildbattle.
What is the people event number in advance map?
What pokemon do you want to battle?
(the one you are using the script on)

Try this:
wildbattle (pokemon number) (pokemon level) (item held)

 
I DO IT BUT NEED THE BACKGROUND AND THE MUSIC BUT NOW IT GO BUT THE LEVEL ISN'T CORRECT I HAD PUT 18 WHILE IS 24!
 
0m3GA AR$3NAL tu sei italiano?
cmq il problema sta nel fatto che penso che non sia corretto!
i think that in this script there are some mistake!
No io non sono italiano, ma io sono l'apprendimento della lingua.
Penso che si dovrebbe usare movesprite2 invece di hidesprite.
Movesprite2 rende il movimento permanente. Basta essere sicuri di spostare il sprite a un posto nella zona in cui essa non può essere visto.

(Dico cose correttamente?)
 
si parli corretamente cmq perchè stai imparando l'italiano? cmq non si dice all'apprendimento ma studiando o imparando
cmq il mio problema è il livello che non coincide on quello che metto!
 
si parli corretamente cmq perchè stai imparando l'italiano? cmq non si dice all'apprendimento ma studiando o imparando
cmq il mio problema è il livello che non coincide on quello che metto!

Oh. Capisco il problema. Provate ad usare 0x12 invece di 0x18.

0x12 esadecimale è lo stesso di 18 decimali.
capisci?
 
si capito ma stai usando un traduttore o stai formulando frasi?
cmq si può creare uno script per rubare pokemon all'avversario?
 
si capito ma stai usando un traduttore o stai formulando frasi?
cmq si può creare uno script per rubare pokemon all'avversario?
Sì ... quando si tratta di una lunga conversazione, ho per l'utilizzo di un traduttore.
Sono ancora imparando. Hehehe.
No, non credo che si può rubare Pokémon. Almeno non senza ASM.
Spiacente.
Sono stanco. Io vado a dormire. Spiacente non ho potuto aiutare.
 
cmq consiglio se vuoi imparare l'italiano chiedi a me perchè le frasi non sono corrette!

where is a good and complete script guide?
 
Last edited:
cmq consiglio se vuoi imparare l'italiano chiedi a me perchè le frasi non sono corrette!

where is a good and complete script guide?

Search in the documents and tutorials section.
You will find good poke script tutorials, if that helps.
But I don't think you can find complete XSE guides.
 
oh thanks i read pokescript guide i hope to learn much with these guide!
 
He's using poke script.
I think it's better to use #raw 0x53 ...etc for a person to disappear completely.
Not sure if hidesprite will do the same thing, though.
In XSE, I use hidesprite and it works fine.

And garra911

change this:

fadescreen 0x1
applymovement 0x01 $MOVE
pausemove 0
fadescreen 0x0

Into this:

fadescreen 0x1
#raw 0x53
#raw 0x01
#raw 0x00
fadescreen 0x0

well, when i do that, the sprite it there but when you click him after you have already got dratini, he instantly disappears, and i don't want him there at all after the flag has been set and the script has been done already
 
well, when i do that, the sprite it there but when you click him after you have already got dratini, he instantly disappears, and i don't want him there at all after the flag has been set and the script has been done already

Try this:

Spoiler:


I tried it and it worked.
Sorry if it didn't help, though.
 
For some reason XSE gets mad at me when I ask it to compile a script. It seems to dislike the msgbox2 line:

Code:
#define 0x800000
...
#org 0x80005A
[B]msgbox2 @whichpoke[/B]
waitmsgbox
multichoice 0x0 0x0 0x3E 0x1
copyvar LASTRESULT 0x1004
...
#org @whichpoke
= So which one would you like?
...

It says "Error 13 'type mismatch' ... missing #define or parameter"

Only there isn't... It's weird because the debug machine doesn't mind it.
 
Status
Not open for further replies.
Back
Top