![]() |
Quote:
|
Quote:
|
Quote:
|
Quote:
Code:
|
Quote:
|
Quote:
|
Quote:
EDIT:I tried to create a setvar script, but since I hardly know how to use it... Here's what I made: Code:
Code:
|
Ok, in the script square, put 0003 for the unknown and 5040 for the one under it.
|
Quote:
|
I dunno. It just works. :\
|
Code:
Mistakes: No such thing as "else" in XSE Forgetting boxset 0x6 Numbers not represented in hex (ie 0x4001) |
Quote:
Code:
|
I'm having a problem with this script. All that happens is I can't move and the music stops and nothing else, no message etc. I've debugged it in XSE and it likes it now, but it still doesn't work. Can you see the problem? BTW, I know there isn't flag yet; I'll be adding that later, but that shouldn't affect anything.
Code:
|
Quote:
|
Quote:
Try adding waitmovement 0, under each applymovement command. And end each movement with a 0xFE. I edited it for you in the bold. And if I remember, when using multichoice command, I think you should use msgbox2. If I find any more errors, I'll tell you. And what with the returns? I am not sure, but try replacing them with "end". Hope that helps |
Quote:
|
hi exist a script that you can thief the pokemon?
|
Quote:
^^^^^^^^^^^^^^^^^^^ |
i wuold only know if exist a scipt for thief or no!
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! |
probem/question
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? |
Quote:
|
Quote:
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! |
Quote:
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 |
Quote:
|
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! |
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!
|
Quote:
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! |
Quote:
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? |
Quote:
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? |
Quote:
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!
|
Quote:
|
Quote:
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:
Only there isn't... It's weird because the debug machine doesn't mind it. |
Quote:
Use waitmsgbox2 instead of waitmsgbox. You are using XSE, right? What's #org 0x80005A for? In XSE, you don't use offsets as pointers, you use random names. That's what I know. If it didn't work, then maybe your XSE lacks commands, such as msgbox2. |
Quote:
|
Quote:
checkflag 0x821 <---- CHECKFLAG AND THEN if B_true goto $done blab bla blab alab END #org $done release end Or maybe I just don't understand what you mean XD |
Quote:
|
Quote:
I suggest making the switch... |
Quote:
|
Quote:
|
Quote:
EDIT: OK, found the cause: didn't have callstd... silly me. BTW there's no such command as "waitmsgbox2" EDIT2: It still doesn't like it. I even tried an ordinary msgbox... |
Quote:
|
Quote:
copyvar 0x1004 LASTRESULT It should be like this. And dshayabusa, is there a command called waitmsgbox2? |
Quote:
|
Oh ok, thanks for the info.
Anyways, I saw a script in a website just now, there is a command in poke script called vardisplay 0x0 0x8005. What's that? Thanks in advance |
Quote:
|
Quote:
|
Quote:
|
Quote:
In XSE, I think it's buffervar or buffervariable or something like that? It's command &h83. |
OK, I've finally solved it. For some reason XSE didn't want to have dynamic offsets as well as static ones (which had appeared because I decompiled my own script from the ROM due to loss of data), so I just used a Hex Ed and voilá...
|
Quote:
When I saw it, it was used in the multi command, like for example: #org $option1 setvar 0x8005 0x1 vardisplay 0 0x8005 message $display boxset 0x6 end I tried it out the script first, but didn't work. Then I added this command: addcmmd vardisplay #83 to the database and it worked. Anyway, Thank you for clearing it up, thethethethe. |
I posted this script a while ago, and it still doesn't work....
Code:
Someone knows what's wrong with this? |
Quote:
In what applymovement $pointer do you want the aide to face you left? To face left, use #raw 0x02. Is this for ruby or firered? |
Quote:
Tamer, I'm hacking emerald, and in emerald it's special 0x1F3 (tried it out with regular person event, and it worked) Also, it should be @move0 to face left And finally, I looked around in the emerald dump that came with the latest version of XSE and the script said that 0x4E was to face left. |
Quote:
Sorry about that. I'll look at it now, and see if there's something wrong. |
Quote:
Hmm, Tamer, looks like you were right anyway about #raw 0x02, it does make him face left. Dunno why the dump said 0x4E then.... |
can anyone help me here?
i done a give pokemon script and when i check to see what pokemon i got it just freezes. so if you want the script here it is : #org 0x800079 lock faceplayer checkflag 0x828 if 0x0 goto 0x880008D if 0x1 goto 0x88000AE release end '----------------------- #org 0x80008D givepokemon 0x25 0x5 0x13 0x0 0x0 0x0 fanfare 0x13E waitfanfare setflag 0x828 msgbox 0x88000B8 '"hey kid whats up i just went\nto ro..." callstd 0x6 release end '----------------------- #org 0x8000AE msgbox 0x880012F '"sorry kid you only get one from\nyo..." callstd 0x6 end '--------- ' Strings '--------- #org 0x8000B8 = hey kid whats up i just went\nto route 1 to catch you a starter\pfor your journey so here it is.\nits a vulpix cool #org 0x80012F = sorry kid you only get one from\nyour gramps good luck on your\njourney oh and im using XSE. please help |
I only found a possible error.
In fire red, to check for the poke dex, you use checkflag 0x829. In ruby, I think it's checkflag 0x821 or 0x820. I don't know if in emerald it the same as ruby. Not sure though. Lucario 9, can you post the script before you compiled it, please? Thanks. |
Quote:
EDIT: the checkflag was the wrong one anyway, it should be 0x861. However, even that doesn't works, it's still the same as before. :( |
Quote:
even i dont think that was for me but it works now so thanks |
DarkSalamance
I fixed it a little. Spoiler:
You used returns, why is that? I saw in thethethethe's tutorial, a script close to yours, and he didn't use return. check his tutorial, it's under "setvar lesson2" (even if it's pokescript) Well, try now. |
i'm staing find a pokescript guide not like insert script but a guide on the script for poket script
somebody can help me? |
i dont get any of it. i want to make a rom but i dont know here to start. HELP!!!!
|
Quote:
|
ok thank you very much but you can't post a link of a welliest poketscript guide?
second you i speak well english? |
Quote:
|
Quote:
|
Quote:
If it doesn't do anything, then delete it. for your problem, you put the unknown: 0003 and varnumber: 5040 , right? |
Quote:
|
Quote:
If it didn't work try using a different script tile, or recompile the script. Sorry if this doesnt help. |
Quote:
Code:
|
Quote:
I know this command was missing, but I forgot to tell you. If you want any help, tell me. |
Heey can someone check this script,, when I try to compile it it says find pointer for $takeit...
Spoiler:
|
I edited in bold. You forgot the 'e' in take it.
Quote:
|
Quote:
Thanks ;) |
This is related to scripting, so I'll post it here.
Whats the fanfare that plays when you are about to go into a pokemon battle with a random trainer? |
Quote:
|
I'm pretty positive that there is a command that will allow you to change what happens in a script based on if you are standing above, below, or to either side of the person. What is this command, and how do you use it?
I've looked through the guides, and can't find it. But, it seems like I remember reading about it somewhere. Quote:
|
#raw 68
Compare 0x800C 0x1 If b_true goto $down Compare 0x800C 0x2 If b_true goto $up Compare 0x800C 0x3 If b_true goto $left Compare 0x800C 0x4 If b_true goto $right Depends on which direction the player is facing. ^_^ |
Could someone check what's wrong with this script... Thanks!
#org $Start applymovement 0x03 $Move pausemove 0x0 message $1 boxset 6 applymovement 0x03 $Move2 pausemove 0x0 setflag 0x200 end #org $1 $1 1 = Text #org $Move #raw 0x10 0x02 0x03 0x10 0x10 0x02 0x03 0x10 0x10 0x63 0xFE #org $Move2 #raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE |
There could be too many movements on one line.
|
So I have to delete some? Or can I just click enter :D
|
A new set like
#raw 0x 0x 0x 0x 0x #raw 0x 0x 0x 0x 0x 0xFE underneath would work. So just move some down one. |
I tried this...
#org $Start applymovement 0x03 $Move pausemove 0x0 applymovement 0x03 $Move2 pausemove 0x0 message $1 boxset 6 applymovement 0x03 $Move3 pausemove 0x0 setflag 0x200 end #org $1 $1 1 = Text #org $Move #raw 0x10 0x02 0x03 0x10 0x10 0xFE #org $Move2 #raw 0x02 0x03 0x10 0x10 0x63 0xFE #org $Move3 #raw 0x11 0x11 0x11 0x11 0x11 0x11 0xFE BUt the same thing happens.... Nothing. I walk over the spot normally and no script occurs. I then tried your method as well but no dice. Still nothing happens :( |
Check your person on the map's #.
|
Spoiler:
I use this in FireRed. However, the script worked 1x, it won't work again if I step in that script tile (or in one of the other 2 script tiles who got the other 2 setvars). Anyone knows what I'm doing wrong here? |
Right, two things...
1) What do I add to a Script to prevent it from happening more than once? 2) How do I cause someone to disapear if I haven't talked to them through the use of a script event. I assign them there ID but I'm not sure how to make them actually disapear without having to leave the screen. Thanks! |
Quote:
Code:
Code:
|
Quote:
I edited somethings in the bold. Try now. And DarkSalamnce #org @end release end And make sure to place your setvar value in varnumber in advance map, which in your case, is 4001. |
what is the mistake in this script:
#org $der lock faceplayer checkflag 0x200 if b_true goto $fight trainerbattle 1 0x0A8 $before $after message $ti sfido! boxset 0x6 end #org $fight message $der boxset 0x6 nop nop setflag 0x1204 release end #org $ti sfido! = Mi chiamo Rino\pe sono un drago\nallenatore\palmeno lo dovrei essere\pdiventerò campione\ndel mondo\pall'attacco! #org $before = All'attacco #org $after = Noooo....! #org $der = la prossima volta...\pvincerò io! |
Quote:
|
Spoiler:
Try this. And read thethethethe's tutorial clearly, since you have a lot of mistakes. DarkSalamance There maybe a problem with the setvars or varnumber. Try changing th setvar or the value of it. Like: setvar 7C40 0x1 Sorry if it didn't help. |
Quote:
|
| All times are GMT -8. The time now is 2:35 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.