![]() |
Why does when i make a trade i says unknown word givepokemon
|
Quote:
|
okay, regarding level scripts.
i got confused when you said it needs three parts...example maybe? I don't know... maybe its just cuz i dont really understand the point of variables... could someone explain that too? by the way love the tutorial. It got me soooooooooo far oh and a regular scripting problem. when I give the item TEACHY TV it will go into my bag but when I try and use it the screen goes black and it freezes. Is there something im missing? |
is tere a list of fanfares i can use?
|
Thanks for the great guide! With this and Hackmew's included guide, I think I am starting to get the hang of scripting. I was wondering if it was possible to get a list of fanfares?
|
Sorry, but I don't have a list of fanfares.
|
For hidesprite, can you use it to hide the player's sprite?
If you can, what do you put for the person id? |
Can someone help me with this script i'm really new to scripting but i still have read almost every tutorial but no matter what this scipt doesn't work the way i want it to
im trying to make a scipt so that once i enter a new area outside Prof Oak runs up to me shouting my name with a "!" above his head then walking 2 steps down in front of me and his Prof Oak theme comes on and then he says about 2 paragraphs of text(i know how the \p \n \l works so i got that right) than before we battle the track goes to the ENCOUNTER 4 theme and than we fight(i gave him pokemon in A-trainer)with Gary's Elite Four theme. the problem is whenever i step on the script either nothing happens or the game freezes and i already changed Var number and Unknown to what the tut said. and when i talk to him myself the game freezes but when i make another person with the same script as the Prof Oak i made and talked to him then it works but then the 1st Oak does the script i wanted him to do but no battle occurs, the music doesn't change and then i deleted and added some stuff to the script but can someone please tell me what script do i give to Oak and what script i put on that green S mark this is what it says on the Green S I opened the script and copied and pasted it here. please correct any mistakes //--------------- #org 0x8036F7 checkflag 0x8C0 if 0x1 goto 0x8803731 msgbox 0x880373A MSG_NORMAL //"OSCIZOR!" playsong 0x156 applymovement 0x14 0x8803734 waitmovement 0x0 applymovement 0x14 0x8803736 pause 0x30 trainerbattle 0x0 0x1FF 0x0 @2 @ 3 msgbox 0x8803746 MSG_NORMAL //"Hold on OSCIZOR!\pI know you are\n..." playsong 0x155 0x0 waitmovement 0x0 fadesong 0x12C release end //--------------- #org 0x803731 release end //--------- // Strings //--------- #org 0x80373A = OSCIZOR! #org 0x803746 = Hold on OSCIZOR!\pI know you are\ntrying to go onto battle this\lman but you see..I can't let you.\pThe reason being is\nthat you were not supposed to\l get this far and fight him...\pMy grandson was supposed to.\pAnd if you beat him...\lyou...\nyou will just ruin everything!\pWHY ARE YOU TRYING\nTO RUIN EVERYTHING! //----------- // Movements //----------- #org 0x803734 #raw 0x62 //Exclamation Mark (!) #org 0x803736 #raw 0x52 //Jump in Place (Facing Down) #raw 0x1D //Step Down (Fast) #raw 0x1D //Step Down (Fast) I also made a youtube video if it helps i explain a little more there but i can't post a link so just combine all this with no spaces ww w. youtube. com /watch?v =9PybIbNXY-8 my username there is Xboxproscar along with the video Fire Red Script 001 Footage |
Quote:
Changes and stuff are in bold. You should also put this in the script help thread :X |
thanks
I got it to work |
Thanks to this tutorial, I won't be needing scripters. I can script now, thanks for your efforts.
|
Ok, guys. I've got a problem.
I've made a script so that if I don't have a certain pokemon(for this example, Pikachu), the guy will not move aside for me. I've used a checkpokemon script. However, if I don't have a Pikachu, the "Not allowed" message comes fine. However, when I DO have the Pikachu, he doesn't follow the applymovement, and top of that, the GAME FREEZES! Here is the Code, please proof-read it for me; the last time I did anything related to hacking was 2007 and only for like a month; I've forgotten everything I knew and now have to relearn everything to also match with the new tools and the updates everyone is releasing: Code:
|
Quote:
Credits to Dragonmaster91 for the picture. |
Quote:
|
Oh, I misread the script, sorry :P.
|
Thanks guys/Diego! However, one more problem:
Now the script works, but I can click on the guy again, and AGAIN he moves back. I tried doing it so the script is IN FRONT of the tile he is on, rather than on himself, but now everytime I step on the tile, the script executes, and he moves even yet again!! To the point he's standing in other mountain tiles; which is fake looking. I realize I need to use the 'setflag', but can you add it to the script to show me how's it's effectively done? And what's wrong with this script(I know I'm missing good chunks of commands). When I step on it, it's supposed to be EARTHQUAKE, but instead the game freezes: Code:
|
level scripts.
how do u make it so that you can do more than one in the entire game. when i follwed your instructions it worked, but i could only do the one script. how do you change the script offset of the level script so i can make two of them? |
Seeing as this script has been giving me a nightmare for the last two days, would someone like to offer any assistance? ;D
Before I go and show it off, here's what I'm *trying* to make happen: Player comes through warp, and as soon as they step out of the cave, he is noticed by the leader of an evil organization. The leader walks over to him, talks to him, and then scares the player out of the way, and he disappears through the warp the player just came through. Here's the script: (I'm sure there's plenty wrong with it.) Code:
|
Quote:
Code:
|
Thank you so much, diego!!
Your tutorial has been so much help thus far!! |
Hello there, newbie at scripting (this tut helps a LOT).
I was looking around, and forgive my stupidity, but I have utterly no idea how to set up a Vs. Seeker script for a trainer. I used the regular trainer script, such as: #dynamic 0x34ED04 #org @start trainerbattle 0x0 0x004 0x0 @before @after msgbox @beaten 0x6 release end #org @before = INTRUDER ALERT! #org @after = So you are worthy! #org @beaten = I'll let you pass this once. That's my script. But how do I make it so that the trainer responds to the Vs. Seeker? |
level scripts.
how do u make it so that you can do more than one in the entire game. when i follwed your instructions it worked, but i could only do the one script. how do you change the script offset of the level script so i can make two of them? COULD SOMEONE PLEASE ANSWER THIS! it is kinda putting me at a stand-still in my game. plz! |
umm... i have a question- is there a tutorial for newbies? cuz i can't understand any of this, and when i tried to do it, it didn't work...........
3 days later- nvm, i found out how to do it, ty |
The nickname pokemon script offset in LeafGreen is 0x1A74C7. (Whereas the one for FireRed, as Diego used in his tutorial, is 0x1A74EB.)
Just thought I'd point this out, since it felt good to bend Translhextion to my will for once. Maybe it'll help somebody! ;D |
I have a problem with pokemon giving script... I copied what you have here just to be sure that it's working but it isn't... person who I gave offset of script don't do a thing... Can anyone help me?
|
WUHHAAAAIIIIIEE!!!!
WHY!! everytime i try scripting and i leave my house it resets heres my script i deleted oak lol =P
Spoiler:
|
thanky you man this tut will help me a lot
|
#dynamic 0x800000
#org @start lock faceplayer msgbox @1 0x6 applymovement 0x06 @move msgbox @2 0x6 givepokemon 0x85 0x5 0x0 0x0 0x0 0x0 Hidesprite 6 release end #org @1 = WAIIIT!!! #org @2 = Take this Eevee for protection./n/nCya around kk? #org @move #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1E You must use flags in it. For example #dynamic 0x800000 #org @start lock faceplayer checkflag 0x1111 if 0x1 goto @(var) <--- Choose an variable msgbox @1 0x6 applymovement 0x06 @move msgbox @2 0x6 givepokemon 0x85 0x5 0x0 0x0 0x0 0x0 Hidesprite 6 setflag 0x1111 release end #org @1 = WAIIIT!!! #org @2 = Take this Eevee for protection./n/nCya around kk? #org @move #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1E #org @(var) release end |
Hey guys remember me. Well thanks to this tut I learned how to script extremly well, but after making plent of scripts there is one script that im stuck on
Quote:
can anyone find a way to hide him for good. |
Take a look at this:
#dynamic 0x71A32C #org @start checkflag 0x820 if 0x1 goto @done msgbox @1 0x6 applymovement 0x04 @move pause 0x20 release end #org @done release end #org @move #raw 0x12 #org @1 = Here you go! The guy says what I told him to,and than he takes a step at me than the game crashes.What did I do wrong? |
Quote:
#dynamic 0x71A32C #org @start checkflag 0x820 if 0x1 goto @done msgbox @1 0x6 applymovement 0x04 @move pause 0x20 release end #org @done release end #org @move #raw 0x12 #raw 0xFE #org @1 = Here you go! I used to have the same problem see you were missing #raw 0xFE after your movements. Without #raw 0xFE (which ends the movements) the game thinks that somebody still has to move so it waits until somebody does...which will never happen...moral of the story is that no #raw 0xFE=no continue...understand |
Um,I used this and when my character got to a door they didn't do in,they stood on it,and the character didn't show,which was Oak in the beginning.
#dynamic 0x71A26C #org @start checkflag 0x828 if 0x1 goto @done msgbox @1 0x6 applymovement 0x03 @move waitmovement 0x0 msgbox @2 0x6 applymovement 0x03 @move2 pause 0x20 playsong 0x13E 0x0 applymovement 0x03 @move3 applymovement 0x03 @move4 applymovement 0xFF @move5 waitmovement 0x0 fadesong 0x12C release end #org @done release end #org @move #raw 0x11 #raw 0x11 #raw 0x11 #raw 0x11 #raw 0x11 #raw 0xFE #org @move2 #raw 0x13 #raw 0x13 #raw 0xFE #org @move3 #raw 0x11 #raw 0xFE #org @move4 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x11 #raw 0xFE #org @move5 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x10 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x13 #raw 0x11 #raw 0xFE #org @1 = Hey, wait up! #org @2 = Come follow me. Quote:
|
How do you combine (in Ruby) a trainerbattle script with an applymovement script. Also, I wanna learn it so I can make in notepad. If not, that's fine.
|
Quote:
ps can anyone fix my script plz Quote:
|
Hello there! Maybe someone can help me.
I just wanted to try out the "Giveitem" script, but everytime I try to compile it says: Missing #define or Parameter on the Line 21 (marked) ------------------ #dynamic 0x800000 #org @start lock faceplayer checkflag 0x200 if 0x1 goto @done msgbox @1 0x5 compare 0x800D 0x1 if 0x1 goto @take msgbox @2 0x6 release end #org @done msgbox @3 0x6 release end #org @take giveitem 0xD 0x1 MSG_OBTAIN msgbox @3 0x6 setflag 0x200 release end #org @1 = Hi!\pI'm from the Cherrygrove\nPokeMart.\pWhy don't you take this\nfree sample? #org @2 = That's okay. I'm sure someone\nelse will enjoy it. #org @3 = If you want more, you'll\nhave to go to the PokeMart\nto buy them. ------------------------ I hope you can help me T_T |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
:D IT WORKS!! I CHANGED ROMS!! IT WORKS NO RESET!!
|
I need help, Whenever I try to Compile, I get various errors, examples; There are duplicate scripts; Unknown Value on Line 6; And like Error, too many parameters on line 1, What does this mean? Can someone help me fix it?
|
Code:
|
hey
there are alrdy spaces in between those
|
Ehe, NVM. forgort that thread's a tutorial, not a script help thread...
Anyways, I used to think scripting was hard to the level of "Insanium in the Cranium" But its not! Ty for the tut, see you and good night! |
Gee This Tutorial is Great
Helps me alot with my Hack Because im using XSE >3 My Hack is Pokemon Pink Destiny Thanks for Posting this Thread This help me alot ^_^ *giggles* -Yasumin >3 |
Quote:
|
I have a problem, I use Advance Map, overwrite a script, and then what do I do? Because it always goes back to the old script. (I have debug, compiled, saved it and yet nothing works. Yes I am new at using XSE, but can someone help?)
I was using the give pokemon charmander code. |
you should post in the script help thread,you will get answers there sooner.
|
Tyson is right.. or you could Private Message HackMew to answer your question >3
Hope that helped ^_^ *giggles* -Yasumin >3 Your Sweet Friend ^_^ |
Quote:
|
Make sure you have XSE 1.0.1.
If it's the case I can't help you. |
nice tut! what is a level script?
|
Quote:
|
Quote:
|
I made a script for a battle, but it appears as Gary on the S.S. Anne. How do I make it have certain Pokemon, levels, battle sprites, and etc... Thank you in advance.
|
Hello Guys
This is my 1st post and I am a Beginner to scripting... I just made this script to battle Ho-Oh Quote:
I have put Ho-oh in a room along with Lugia,Raikou,Entei,and Suicune I want someone to make and explain me an event in which if I battle Any of the 5 pokemon the other 4 dissapear after the battle leaving a message.. I need a code for it 1 more thing in the statement wildbattle 250 50 0 0 0 0 What do the other 4 zero's mean...I just typed that by seeing what other people did but I don't know what the other 4 zero's mean Thank You :D |
???
Once you've got the script you want wha do you do with it? How do you import it into ADV map? or get it working in the rom?
|
i made some changes to the wildbattle script
the cry came right after the message giving alot lesss time to play the cry and the fadescreen was right but the player dissapeared right after the fadescreen not during it so i fixed that too :D #dynamic 0x800000 #org @start lock faceplayer cry 0x6 0x0 msgbox @1 0x6 wildbattle 0x6 0x1E 0x8B fadescreen 0x1 hidesprite 0x800F fadescreen 0x0 setflag 0x200 release end #org @1 = CHARIZARD: Raaarrgghh! |
Quote:
|
Umm Hi Guys I want to make a script with following information
I begin my adventure and as soon as I try to go down the stairs,mom comes up and says to go back to sleep as we have to choose our 1st pokemon tomorrow and then we go to sleep... So I want it like when i go to stairs the mom blocks and when i have gone to sleep and wake up the mom is not blocking me anymore...Please help me I pray for help please!!... :( and please explain me the script too Thank you very much :) |
Flags :/
I don't understand the flags at all :(
I just want my trainer to dissappear after battle actually, i want it so he gives you an item after the battle, then dissappears. Everything works except i cant get him to dissappear :(:(:( this sucks :( |
Hey Hunter I have the same problem
Just see the Script Help Thread Can anyone help us |
1 Attachment(s)
I PM'ed Diego about a week ago to ask him if I should make this into a downloadable item, but Diego has't replied. This was to help combine the mess that the multiple posts in different areas had into one document. I took the liberty to make it anyway because Diego hasn't replied.
It was copied and pasted WORD FOR WORD, so there is no comments from me or anyone else in there |
Quote:
|
When I do any wildbattle script, it freezes at the cry part.
I got the cry to work later, but then it freezes at the wildbattle. Can you help me? Here is the script: Spoiler:
|
Ya didn't use checkflag... but it's just guess I don't know if it'll solve your problem
|
Quote:
And don't use effect number 0x2. Just to be safe, use 0x0. |
Quote:
Also, C0 is the number for Sunflora... I believe that 383 in Hex is 17E... |
Quote:
EDIT: It may be a messed-up sprite. That's what happened to me. Just re-insert the sprite at an offset that ends in 0. |
Quote:
And how do you do the offset thing? |
Look somewhere else for that answer.
Sorry, but I have no time left. |
Nice Tutorial! This has a lot of information.
|
Can Someone Help Me With this script?
#Dynamic 0x000001
#org @start lock faceplayer msgbox @blah 0x6 cry 0xF5 0x0 wildbattle 0xF5 0x32 0x0 hidesprite 0x1 release end #org @blah = GYAOO! everytime i stop fighting the pokemon the sprite dissapears but then immediately reappears after I move. Help Please. |
Tacoman4rmsj94, you have to set a flag on sprite and then use command setflag after hidesprite.
|
How do i stop a script from repeating??
I forgot cause i haven't scripted for a while. |
I believe it is
releaseall end |
No it wasn't that.
I forgot to put setflag 0x1000. xD |
i keep encountering the same problem
i battle then he keeps re appearing can you give me an example please? |
#Dynamic 0x000001
#org @start lock faceplayer msgbox @blah 0x6 cry 0xF5 0x0 wildbattle 0xF5 0x32 0x0 hidesprite 0x1 setflag 0x<your flag> release end #org @blah = GYAOO! And then in A-Map choose your sprite and where is Person ID, write the same flag. There is an image img520.imageshack.us/img520/2349/examplef.png |
OMG IT WORKED!!!
i owe you big time thank you |
Okay, I fixed my problem on my own xD
But now I've got another Problem I tried the "givepokemon" Script but it didn't work. XSE said that there is missing something at the "compare LASTRESULT 0x1" part. But what's missing there??? |
Quote:
|
Quote:
|
Okay, thank you!!! ! :D
Hmmm... Well the Script was okay but i don't get any Pokemon :D I talk to a guy but he always says "Are you taking good care of Charmander". Is it because I already have a Charmander? What do i have to change?? |
Quote:
|
Question, does #dynamic 0x<offset> overwrite the designated offset? Or does it look for free space starting from the offset?
|
Quote:
|
Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
|
Quote:
#remove 0xoffset nothing else. |
Meh. I go to compile it to the ROM, and it gives me "No dynamic start offset specified" after I take out the #dynamic command.
|
I made this Script
Code:
But if I click at "Yes" my game just freezes -.- I don't know why. |
ShinyBlaziken, there is an error in your givepokemon command. The values must be in hex.
|
And how should i change it?
|
You can use Windows Calculator Advance Mode or XSE Calc.
382 in hex = 17E and 199 in hex = C7. |
Okay thanks, it works now!
And how can I make a script for a hidden item on the ground?? |
Its not a script. Its a type of signpost. (06 Hidden Item)
|
Hi,
I've got another Problem now xDDD I made a Script but there appears the message "This tree looks like it can be CUT down" when I'm talking to the Person. Here's my script Code:
|
Heya. first of all: nice tut! ;D
I need a flexible kind of warp. A warp with vars in it like this: warp 0x7005 0x7006 0x7007 0x0 0x0 Is it possible? because this gives me errors :/ is there a way to use vars in warps? Thanks in Advance |
Quote:
|
I'm not saying anyone's breaking rules here, but there is a script help thread, you know.
I've never really taken the time to comment on this tutorial (or did I? I dunno. :P), so I think I will. Overall, it's just a big translation of thethethethe's PokeScript tutorial, so really, it's not completely yours, but you gave credit, so I've no problem with that. All in all, there are a few errors here and there, but it's very useful, and even I, the author of a different XSE tutorial, find myself looking at this. |
| All times are GMT -8. The time now is 8:11 PM. |
![]()
© 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.