![]() |
I want to make national dex (instead of normal region pokedex) available at the
start of ruby game What changes should i do in the script(Im using XSE)? |
Looks pretty handy. But I still can't even get it to work by copying every character :/ Any, would it be possible to receive the egg. And that a person wouldn't let you go farther if the egg didn't hatch yet?
|
Quote:
|
how do you know how many bytes you will need for a script before using FSF? as in, what amount for a simple script or a big script?
|
Quote:
|
how would I make a script where you watch a battle at the beggining of the game?
|
I'm having a problem with my wild battle script
Spoiler:
After I defeat or capture him he disappears until I move then the sprite reappears and I can battle him again. What have I done wrong with the script? And if it matters I'm using a firered ROM. |
Quote:
|
Quote:
|
I don't understand the FSF offsets; does this need to be different for every script? Or is it always x8000000(blahblah)? For different types of messages, does this number change?
Oh, and I get an error when I launch the game ): 'cause this guide, although it does entail a lot of things, doesn't explain why things go in certain places very well. My tiny script doesn't look anything like the in-game NPC scripts. I don't get why I error right on start-up, either, since I modified the mother NPC on the first floor of the house. When I launch Fire Red, I get this (after the "Press Start" screen): "The 1M sub-circuit board is not installed" What's that? This is my NPC modification btw: Code:
What's wrong with it? |
Quote:
|
i cant get my normal msg to work each time i try to play it the player on wish i put on my script doesn't say anything i need to know what i did wrong
#dynamic 0x800000 #org @start lock faceplayer msgbox @1 0x6 release end #org @1 = Do you have any pokemon.\nCheck if PROF.OAK\lgives you one. and this is how it looks after i compile it and put it on a sprite in a-map '----------------------- #org 0x4567DE lock faceplayer msgbox 0x84567E9 '"Will you get any\npokemon check if\..." release end '--------- ' Strings '--------- #org 0x4567E9 = Will you get any\npokemon check if\lPROF.OAK will give you\lany. im using fire red help!!! |
Hey, this is a really great tutorial, but I just need some help with one piece of script:
I've changed the wording that your 'Mum' uses slightly in my Hack, so ithe script reads like this: Spoiler:
However after compiling it, it changes to this: Spoiler:
You'll notice the ending line for a male protagonist is messed up. I'm not sure how to fix this, I've tried saving the script and saving changes, and saving the note, but I can't seem to keep it from changing. I'd really appreciate help with this :cer_smile:. |
Use new offsets...
You've extended the old offsets so it corrupted the other offsets. |
there is a problem with this script every time i try to compile it it shows an error of the movements like 0x65, 0xfe and 0x10
Spoiler:
|
Don't use different style of orgs ;)
And also don't put text string into movement strings ;) Also you can try other offset... like 801000 etc... |
ok that was fixed but now when executed the movements dont activate
this is the script before compiled Spoiler:
and this is it compiled Spoiler:
|
can somebody help fix this?
#dynamic 0x800000 #org @main lock faceplayer msgbox @msg 0x6 release end #org @msg = MOM: Go outside and get some\nfresh air honey!\p[player]: ok mom. ill go to\nprof. Elm and see what\nhe is up to. lock faceplayer special 0x113 applymovement 0x7F @move waitmovement 0x0 special 0x114 msgbox @msg 0x6 release end #org @move #raw 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0xFE = SILVER: I need a good pokemon to start my adventure with\nill just take a pokemon here\ #org $script i dont know whats wrong but it wont let me compile............... pm me if u know what 2 do its two deffernt scripts also. i cant get the offset to work on the mom in the first. and the bottom one wont activate |
#dynamic 0x800000
#org @main lock faceplayer msgbox @msg 0x6 special 0x113 applymovement 0x7F @move waitmovement 0x0 special 0x114 msgbox @msg 0x6 release end #org @msg = MOM: Go outside and get some\nfresh air honey!\p[player]: ok mom. ill go to\nprof. Elm and see what\nhe is up to. #org @move #raw 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0xFE #org (Here's gotta be something) = SILVER: I need a good pokemon to start my adventure with\nill just take a pokemon here\ #org $script (What's this?) Could you say what the script should be doing? |
Help? every time I do the give pokemon script, this comes up:
http://i47.*.com/2lks4xw.jpg The script is: Code:
|
Quote:
|
Quote:
What it's doing now is checking for the type of boxset right under the msgbox. |
Quote:
EDIT: And Diego x3 |
can you give me the values of all item for poke mart script? because mine ended with ????????? item.and how to activate national pokedex in ruby?(the script)
|
Quote:
PokéScript #raw 0x11 0x02 0x00 0x6B 0x02 0x02 0x11 0x03 0x01 0x6B 0x02 0x02 #raw 0x11 0xDA 0xBE 0x4E 0x02 0x02 0x11 0x67 0x5A 0x6A 0x02 0x02 XSE writebytetooffset 0x2 0x2026B00 writebytetooffset 0x3 0x2026B01 writebytetooffset 0xDA 0x2024EBE writebytetooffset 0x67 0x2026A5A Item list(in hex) Spoiler:
|
I have some questions:
1. What exacly IS a variable and what does it do 2. How to you make a script where the player stops and a person moves towards him (I would also like to know about those green script tiles i a-map and how you trigger them) |
Script?
Hello, I read your tutorial and tried to make a script with it. Here it is:
Quote:
Quote:
|
Quote:
EDIT: Pokescript? This is a tutorial for XSE. I recommend downloading XSE in Hackmew's ToolBox to get XSE. Quote:
*cough* Look up ApplyMovement *cough* |
wow!! its really very well explained! congrats^^
i think i know now much more than before about scripting :D but its stil very complivated, i think i'll not at once be able to script without reading your tutorial in the same time^^ thanx anyway :D |
Tried that
Quote:
Again, it says not enough free space, so could you please tell me how to fix that? Quote:
|
what command do i use in a movement script so that a sprite disappears forever?
|
Just use hidesprite after the movement.
|
rokrdude,thanks for the values it really helped
|
Quote:
And the same number must be put into ID bar of person in A-Map |
I want a picture of Charmander showing up. With 'showpokepic', it works but the Pic is Black and Blue! Charmander looks cool in Black, but it's not what I want xD How can I solve this?
It's the same case with Mudkip and Bulbasaur, but only the one I click first in the game, the other ones are normal then. And I really don't know which flags to take! All the ones I choose seem to be already taken by the game, because when I enter the Pokémon Menu, the flags are cleared again! So, in Pokémon Sapphire, which Flags are free?? |
Is there a limitation to how much text you can put on a single chat box?
I did Spoiler:
But it only goes up the " said I'd give you your first" Is it some type of limitation of how many \n and \p I can use in a single box? |
No, there is no limitation as such, because I have Textboxes 5 times longer than yours and they work. Your problem is only that your offset has not enough space. I'm pretty sure when you open your script, you'll see that your text disappeared, at least that part which is missing.
You'll have to put this at the beginning of your script: #dynamic 0x800000 #org @start (you can replace start by anything you want) Then replace the offset of your incomplete textbox with @text or something like that, and rewrite the textbox. Then compile the script and put he new offset of '@start' in A-Map. Then it should work. |
How make a triner who will give me a pokemon or item after battle. Please help me. I am learning scripting.
|
Quote:
trainerbattle 0x1 0x(number of trainer) 0x0 @before (msgbox of what trainer says before battle) @after (offset of what will happen after battle) #org @after Put here giveitem, givepokemon or whatever you want ;) Here's example Spoiler:
|
Quote:
|
just use flags above the 1000
|
Quote:
|
I've got 2 problems:
First, every flag I set is unset again as soon as I leave the map or enter the pokémon menu or something. Second, I have 3 Pokéball lying on a table, at the beginning of the game, the starters. I implemented a 'showpokepic' there, but my problem is that the first pokémon I select has alway messed up colours. It has nothing to do with the sprites themselweves, because I never edited them, and as I said, it's alway the first one I select, when I restart the game and select another, that on is messed up, but the others are normally displayed. Hope somebody can help. Thanks in advance. |
I've got a problem as well...
I'm busy with a script which will trigger an event. During the event the script will move a sprite to the scene. I'm trying to accomplish this with movesprite. For some odd reason though, I can't move the sprite when it's too far away. With too far away, I mean more than two tiles away from the screen. When I place the sprite closer, it does work, when I place it further, it doesn't. Code:
Here is the script, I haven't scripted the part after the first movesprite yet. Everything till the movesprite works! Code:
Anyone who knows the solution? (I've been trying for over an hour now, and I'm out of solutions :() |
I have done the same thing, but simply with applymovement, and this works perfectly. You could try it that way.
An no one knows an answer to my question, 2 posts above... :( |
Hey, can someone help me with a little thing? I just wonder how I make a script where a trainer comes from like 4 steps right, and challenge you, then he/she leaves? Just like in the beginning of Pokémon ShinyGold, the first battle with Carlos.
Please help. ^^ |
@Lanzar
Have you ever heard of applymovement?? |
Quote:
|
applymovement
trainerbattle 0x1 (The 1 is important) 0x(number of trainer) 0x0 @b4 @after #org @after Put applymovements here. And you have to use tile script since you want movement before battle. |
Quote:
Well, I'm kinda noob at this, but whats a tile script? |
Quote:
But to explain it... it's square which activates script if you step on it. |
Hey Diego, thanks for the tutorial, it's probably the most helpful tut out there. Just one question. After I put in the [!] for applymovement, how would I make the "beepeepeep" sound that is accompanied with it? Sorry if I overlooked this in the tut, I would just really like to know.
|
Quote:
|
^Thanks. Was wondering that for quite a while. Now onto the new question.:P
This is my script for a giveitem command. The thing is, when I leave the screen, the sprite dissapears permanently. Any help? Code:
|
It's because of giveitem.
By using that command not only you get an item but you also make sprite disappear. You should use additem command. |
Oh. Guess I missed that in the tut. Thanks.
|
Quote:
EDIT: My bad(lol I feel stupid) I had "FF" in search bits, while it should have been "00" for Emerald. |
I followed the steps and putted my script into the game. But when i talk to the person (who should say my script) my game freezes :s
Anyone had the same problem? Then PLEASE help |
I'm also wondering what flags are activated when you defeat a trainer using trainerbattle. I'm asking this because I want the trainers to battle at least two times. This worked for me in single player battles (using 0x3), but for dual battles, I can't find a way. Any help?
Or, simply put, is there a way to re-"activate" trainers after battling them? |
VS seeker in fire red and leaf green :P
|
ok im having trouble making a yes/no script. here it is:
Spoiler:
When i go to compile it says this: Spoiler:
Line 7 is the line with the LASTRESULT. Can some one please help? |
The pokenav in emerald replaces the trainer with the new trainer no. However, the trainer is still in a sense not "activated". Is there some kind of flag I can unset to activate trainers?
|
im having trouble with my script all together. I just followed the tutorial, but my script is messed up in game. Im trying to get something similar to the parcel script.
Spoiler:
Whenever I step on the script, it just locks, and I can't do anything. I don't know what's going on... |
did u read the spoiler in the applymovement section? it tells u how to fix it. also at the end of all ur movements u hav to put:
#raw 0xFE |
hey! help me pls!
can someone give me example how to use hidesprite? because when i trying to do, its failed, just turning the screen to black and black to normal but still the sprite is still there...
|
Thnx dude this'll make the hack i'm planning a lot easier! XD
|
Quote:
|
Quote:
|
Oh, what do you put for the unknown, Var number, Var value, or unknown or all of that stuff?
|
I would just like to point out that this is not the script help thread.
This is -> http://www.pokecommunity.com/showthread.php?t=163576 |
what the hex for wild pokemon script
|
hey... What does 'XSE will do the rest' means?
PS: I'm too lazy to find if anyone posted this... Sorry |
Quote:
|
Small Problem. I have made a script for givepokemon, and I want the person to give me Mew and disappear. But, he disappears, I take a step, he comes back.
Here's the Script: '--------------- #org 0xABCDEF msgbox 0x8ABCFED 0x2 '"[player] received a MEW!" givepokemon 0x97 0x5 0x8D 0x0 0x0 0x0 msgbox 0x8111111 0x2 '"That is all, goodbye." fadescreen 0x1 hidesprite 0xFE fadescreen 0x0 end '--------- ' Strings '--------- #org 0xABCFED = [player] received a MEW! #org 0x111111 = That is all, goodbye. Note that this was typed purely from memory because I have re-typed this about eighty times. This is also supposed to be for FireRed. |
1) Use dynamic ;)
2) Person keeps appearing 'cause you did not set flag. You have to use setflag 0x(number) and the same number must be in ID bar of person. (You can edit that with A-Map) |
Quote:
I just recently read about the flag part, so I'm gonna set flag 0x7 for him, and put his people ID like that... Will that work? |
Quote:
#dynamic 0x800000 for example ;) And flag 0x7 is small flag... so it might be used in game... |
Quote:
'--------------- #dynamic 0x777777 #org 0xABCDEF msgbox 0x8ABCFED 0x2 '"[player] received a MEW!" givepokemon 0x97 0x5 0x8D 0x0 0x0 0x0 closeonkeypress msgbox 0x8111111 0x2 '"That is all, goodbye." closeonkeypress fadescreen 0x1 hidesprite 0xFE fadescreen 0x0 setflag 0x7 end '--------- ' Strings '--------- #org 0xABCFED = [player] received a MEW! #org 0x111111 = That is all, goodbye. This would, of course, also have his people ID as 0007. So, would that work:? <-I like that smiley! (:?) |
Apply Movement-- Don't get it...
So i made an apply movment script but when my guy steps on it nothing happens.
The one i made before made the bag from professor Birch's attack appear over and over and doesn't make the other sprite appear. SCRIPT: #dynamic 0x808455 #org @start checkflag 0x828 if 0x1 goto @done msgbox @1 0x6 applymovement 0x08 @move waitmovement 0x0 pause 0x20 msgbox @2 0x6 release end #org @done msgbox @3 0x6 showsprite 0x903 release end #org @move #raw 0x01 #raw 0xFE #org @1 = ???: Hmmmm...\nI see you defeated the gym leader\l... #org @2 = ???: Theres something outside\nI think you should take a look\l... #org @3 = ???: There's no way a novie like\nyou can resist a Rock Tomb\l... I put everything where it's supposed, at least I'm pretty sure. I set the flags in the Person ID and made sure that the event numbers are what they should be. What should I do? Script Info Person Info Show Sprite Info Unknown: 0300 Person Event Number: 8 Person Event Number:9 Var Number: 4050 Person ID: 0000 Person ID: 0903 Var Value: 0000 Unknown: 00 00 |
I've got this script for the starter part ( 1st beta ) of my game. When you activate the script everything works perfectly, you go into battle, when you win your rival goes off in a huff and then the script ends. Everything seems okay but as soon as you walk on the tile that initially started the script the game freezes up with the music continuing. Help appreciated :)
#dynamic 0x71D800 #org @qetuo checkflag 0x201 if 0x0 goto @igdub21 if 0x1 goto @ftfbtdi end #org @igdub21 lock applymovement 0x01 @abcdefg waitmovement 0x0 msgbox @wtfdygap 0x6 trainerbattle 0x1 0x146 0x0 @GoJUKKK @aigmawls @aftertehbattle end #org @aftertehbattle msgbox @woahuabmismpw 0x6 applymovement 0xFF @imoves applymovement 0x01 @hemoves waitmovement 0x0 hidesprite 0x01 setflag 0x201 release end #org @ftfbtdi end #org @abcdefg #raw 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x12 0x62 0xFE #org @wtfdygap = [RIVAL]: Excuse me, your blocking\nmy path.\l...\lWHAT!!!\lYou got a pokemon!\lYou...you...your the new\lguy though. You just got here.\lKray dosen't even know you.\lYou're not ready, you've had no\lpreparation ... ... ...\lNo preparation makes for an easy\lwin. This battles mine! #org @GoJUKKK = [RIVAL]: Go my special pokemon! #org @aigmawls = [RIVAL]: But...but...my preparation... #org @woahuabmismpw = [RIVAL]: What!?!\nYou fluked a win!?!\lThis can't be.\lBeaten by the new kid.\lWell I'll train more and beat you\lnext time I see you.\lI'm off anyway.\lProffessor Kray has something for me. #org @imoves #raw 0x10 0x01 0xFE #org @hemoves #raw 0x23 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE Thanks in advance :D |
Can you add how to make a script. Like Where you have to chose hitmonlee or hitmonchan.
Because I really need help with that. So could you please add it to your tutorial :) |
Quote:
And I'd also like to note that there is a thread for all your scripting problems. Edit: @Irish Chameleon: Spoiler:
There's no need for the "if 0x0 goto..." the script simply continues in the same header if the flag isn't set And you should make your pointers simple. They're way too confusing. |
Hey guys,
I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error: Unknown keyword " setvar" at line 10. Here is the script: HTML Code:
Line ten is "setvar 0x8007 3" Any Ideas?? Greatly appreciated~ BTW I'm making an earthquake script |
Thanks Binary helps a lot :)
and I make my pointers long and weird to make sure i never use it again by accident in another script :):):) very helpful advice though :) |
Quote:
|
Quote:
|
Thanks for the fixes guys, but the error moved onto line 12 "waitspecial". =.=
|
That is because waitspecial isn't a command... use waitstate
(A good way to tell if the command you are typing is correct... type the command and press space, if the yellow box saying "No Parameters Required" pops up, it is a command... waitspecial isn't one.) |
Quote:
|
Spoiler:
Besides that part, everything's right. Man, you guys should post in the script help thread -.- |
Damn i read all this and the only thing i can do is make simple messages... I NEED HELP BIGTIME... my msn is [email protected] ... and i made a thread askin 4 help please help...please....T_T
|
Hlp!
I made a script to get a guy to give you a pokemon as you walk out of pallet town and this is what i got
Spoiler:
But when i do the game will freeze when he starts walkin toward me or will freeze when he starts talking i did the unknown and Var thing just like the pic showed but i cant get it |
@pringles_king:
Spoiler:
|
@binary
omg ty but i gotta ask do i use 0xFE after EVERY raw or just the first one? |
How do I tell what codes are for what area in the game and for what people?
|
Quote:
Spoiler:
Quote:
|
Hey, uhmm, whats the best offset to start searching for free space?
|
@Fr0z3n: 0x800000 I suppose. Use FSF.
|
@Pearlone: Script please and maybe you overwrote a used offset.
|
#Dynamic 0x800010
#ORG @main Lock FacePlayer Message @Speak BoxSet 0x6 Release End release end #org @Speak = Hi, I'm Andy.\n I came from Johto. |
| 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.