![]() |
Hi, I wonder if anyone can help? I can't make people permanently disappear. I've done the whole setflag thing with their ID number; it doesn't work for me. Or, at least, not consistently; sometimes they're gone, and sometimes they reappear.
|
Quote:
EDIT: Where do would I define nowhere in this script? Code:
|
Quote:
|
Quote:
|
Quote:
Anyway, I changed which numbers I was using as flags, and it started working. So, don't try using 2000 as a person's ID. |
Quote:
EDIT: Code:
|
Diego you are awesome :P
YOU HELPED ME AAAAAA LOTTT |
What is a "level script"? As you described in the beginning of your post. What's the difference between a level script and a normal one?
|
Something's wrong in my scripts? I followed the tutorial in here but the script isn't working! =(
Spoiler:
Nothing's happened! >.< I hope I'm not posting in a wrong section... |
OK I would like some help with my script. It's supposed to make it so you fight this guy and after you beat him he gives you a Pokemon. I'm pretty sure this should work but I would just like an experienced scripter to look over it.
Spoiler:
|
Quote:
First: setflag must be together (I wonder why XSE did not mention this mistake) Second: start, org and all the msgboxes also must have @. Not # or $ Third: Never use flags above 200 So in other words re-do your script =D Quote:
Quote:
|
This thread should be stickied.
It's a pretty bloody comprehensive guide, and is one of the best tutorials in this subforum. |
Ash493, I've used the flags 200-205, and they work fine for me :P
I also agree with Blue4. |
Quote:
|
Quote:
But, it generally depends on which flags are vacant, and the rom you're using. I suggest you look up the archive of used flags in XSE's in-built guide. |
Hey, so does anyone think they can help me out? Im trying to do something as simple as make a pokeball give you an item but when i try this it either freezes my game or the pokeball disappears when i get the item and then reappears after one step? any suggestions... also the trainer view radius in AM doesnt work for me, any suggestions on that either?
|
If the Pokéball disappears and then reappers after one step it could be because you've used the same flag two times. Change flag and try again. 201-205 should be safe to use in FireRed.
|
or just use any flag with four characters as long as the first isn't zero cause almost all flags under a thousand are already used, so set a flag above a thousand and your safe.
Of course you have to know everything about scripting so check out my tutorial which starts from beginner scripting till advance scripting and everything else. OH and super thanks to diegoisawesome for getting me going on scripting in the first place. |
ok thanks guys i figured out the pokeball problem but does anyone know how to make a trainer you made approach you? whenever i change the view radius of a trainer i made, it brings the trainer to me but i cant stop talking to him and it says unfamiliar letters.... and i know my trainer works bc if i talked to him he would battle me... help plz
|
Can anybody help me?
When i talk to the npc in the game nothing pops up. I just get the sound when you talk to the npc. But no chat box? |
Quote:
Quote:
The reason is that flags below 200 are mostly used. So it's advisable to use flags above 200. |
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
Now, I kinda understand, if you use a checkflag that has one in the game already, it could mess up? Is there anyway to clear every flag/script? EDIT: And I do know what the difference is between Hex and Decimal... |
Maybe through complex hex editting or ASM editting but the only way to do that in normal hacking is by making a level script maybe at the plyer's home, where you clear everylast flag one by one, that's like 1400 flags, or more, but I don't see why, just use a flag above 1000. And visit the flag section in my tutorial, i don't remember if it's in part 1 or part 2, but go there, and you'll find a list of all used flags in each game. OK????
If you need any more help, I'll be at your service any time. EDIT : I'm sorry to have doubted your skills, I just said that in case you didn't know. Again sorry. |
Okay, I guess I'll just use flags over 1000?
|
Quote:
|
Quote:
|
Quote:
|
This tutorial is incredible.
INCREDIBLY helpful. Thankyou so much! :3 |
Quote:
|
Quote:
I'll use the notes thing in XSE. |
I must said your tutorial is the best
|
How do I find the offset I use at the beginning? I'm confident in my scripting ability, except for this certain point...
|
Can someone please help me, when i step on a script tyle, it activates fine and moves my character to where i want it to go, but i put another apply movement after that for a different sprite and the sprite doesn't move, the game just continues with the dialogue, and i also used hidesprite but it doesn't hide the sprite, i have the correct person event number aswell but it's not working
edit:nvm, it turns out the person's number has to be less than ten, but how do make an event only happen once |
use flags, at the end of the script set a flag, and at the beginning of the script check if the flag has been set and if it is, use the if command to take the script to another offset. This is how it'll look
Quote:
EDIT: and for the [ applymovement ] prob, always remember to use [ waitmovement 0x0 ] after each applymovement command unless you want the two movements to happen at the same time. I hope this helped |
Thank you very much, i appreciate your help, and one more thing, sorry to annoy everyone with my questions, but i'm a little confused about the dynamic offsets, they're the things that you start the script off with at the top right? Um do you need a different offset for each event or just the same offset the whole game, and if so, the random people you meet who do nothing but talk about their lives, they only need the same offset, is that right, and also what do the offsets range from, like 0x8000 and up i'm guessing, sorry for the long post, and thankyou to anyone who answers my questions
|
Ive been searching for a tutorial in making rival scripts
i knw its a mix of battle and apply movement can u make a small tutorial in doing this? |
Quote:
|
I read this site and followed its instructions.
I watched this tutorial and followed it to a T but somehow when I insert it the person EVENT just sits there not text, nothing except the sound of the text beep. http://www.youtube.com/watch?v=kHEN-MiaO2Q XSE WRITTEN: #dynamic 0x71D300 #org @start lock faceplayer msgbox @talk1 0x6 release end #org @talk1 = Hey You smell like farts! THIS IS WHAT ADVANCE MAP SHOWS COMPILED IN THE ROM: '----------------------- #org 0x71D300 lock faceplayer msgbox 0x871D30B '"Hey You smell like farts!" release end '--------- ' Strings '--------- #org 0x71D30B = Hey You smell like farts! the command msgbox @WORD 0x6 (<---- for some odd reason that "0x6" part wouldnt work in my rom or something.) i inserted the new line: boxset 0x6 (instead of the 0x6 part of previous line) |
okay so I have tried to search through the forum an google, but haven't found any similar problems. so I hoped someone could answear a problem here..
I am trying to change the whole starterpokemon event, and trying to give the player a pikachu, and the rival an eevee. I have 2 scripts, one on the pokeball, and another one at the entrance(where the bookselfs is in oaks lab).. giving ash and gary the pokemon works fine, and the battle also, however after the battle I want gary to leave, but which he dont. So I wondered if anyone could help me solve this? here are the script for the pokeball: Code:
|
best tutorial ever, it has helped me so much, i got confused for a while but eventualy i got the hang of it
|
Can anyone tell me how to add the scripts to the ROMs? I've been trying for ages to no avail :(
|
Quote:
This is I think the best tutorial about XSE ever thank you diegoisawesome! |
Imma Still not sure of what you're talking about cause I'm not very good with numbers, but thanks anyway! :)
|
Hey,
I was watching Pokedude's video tuts. When I was on Flags, I saw you comment about how he cant use those in your tut cause their already used. 1) How do you create a new flag number to use (the pointer/offset?) 2) And are we allowed to use the badge/pokedex/ect.. on the 1st post? ______________________________________ New problem, Ursa Major! I'mtrying to compile a script but the 1st one I tried it gave me this "invalid keyword lock" something like that. SO I tried a script with out the use of lock (it should work, my friend said so!) then it gave me something like this "invalid keyword end" So basically I cant compile a script The Scripts: 1. Spoiler:
2. Spoiler:
|
Let's say I want to make a special character who you can battle. Let's also say that this character can be rematched after beating the Elite 4 but only once, and then you can repeat this procedure. What would this code look like?
|
Quote:
Start your script like normal, then you'll need to set 2 flags. The first after the first battle, the 2nd after the 2nd battle. using XSE, something like... Code:
|
Quote:
Code:
1) How do you create a new flag number to use (the pointer/offset?) You must use a never used flag number 2) And are we allowed to use the badge/pokedex/ect.. on the 1st post? I don't understand this question |
Help
Here are my scripts
Script 1 Spoiler:
then a simple one Spoiler:
Now what bothers me is ive scripted before and they worked...not these of course...and the game is recognising faceplayer but no msgbox appears for either script. Is my rom funky or do i not have the latest XSE or is my script bad. help |
darken screen script
This is irrelevant but er.. heres a script to make the screen dark..
Spoiler:
It works for me on Pokemon RSE. |
So I'm trying to get the Lab in Cinnabar to allow me to revive all three Kanto fossils. I've commented a lot of the original code, and I'm trying to find where it prevents the Dome fossil from being recognized. I've caught the part at the beginning where it checks if either of the story fossils were revived, and I know that part works because after reviving the Old Amber and Helix fossil, the crazy scientist performs says the line if you don't have a fossil, instead of the one when there are no more fossils to revive.
commented original code: Code:
Code:
|
how would i make a boat take me to another place? no items are needed exept a starter pokemon and a pokedex and it would be a yes and no question, so i think i would need a 0x5 msgbox script but not realy sure what eles
|
no one...i mean no one has ever asked that..........i have no idea.....i hope some one does cause you have me excited............but i'll check if i can find out.............open a firered rom and check the script on the islands........there should be some clue..........
|
Id just like to thank diegoisawesome, a week ago i only knew msg and give pokemon scripts
today ive been able to replicate nurse joy scripts, battle, apply movement more of the intermediate things that makes a hack look good most importantly u made me love scripting it really is simple and very easy to understand when u get the fundamentals which u did a fantastic job delivering still more to learn but for now thanks 4 everything! |
Okay, I followed your "GivePokemon" script to the T... and it works just fine...
However, I have a problem. When I try to name my pokemon(bulbasaur), it has me re-nickname my starter(charmander). However, when I restart the game, and get Bulbasaur first, and Charmander second... when I receive Charmander, it has me re-nickname Bulbasaur. Is there a way to fix this? Script Spoiler:
|
Where do i save the script too once ive edited it ? :S
|
So I've been attempting the apply movement thing and just doesn't seem to work.. my whole game freezes at the point the script starts
Here's the script: Code:
|
You've forgotten waitmovement 0x0 command after applymovement ;)
|
i got this far in the script what do i do now (yes some comands are wrong like it says ****ing ship but they will get changed for the real comand) if this helps its for a boat
Spoiler:
|
Thanks for this guide! I did what Felix Kulpa was trying to do, sort of. I couldn't figure out how to do it until I saw settrainerflag :)
|
Quote:
I you want to compile the script into your ROM, then click the Compile button. Spoiler:
|
This was really helpful :D
But how do I put my scripts into the ROM? It doesn't let me click the compile thing, it's greyed out instead of being blue |
Hi guys Im having a bit of a problem, no matter what apply movement script i use, the game just seems to freeze as soo as i tread on the script square, ive made sure my persons id is correct and ive tried the example script in this tutorial and one taken from the game :( any ideas ?
|
OK, so I am currently in the beginning stage a a ROM Hack. And I have the great idea, make the three starters random, so that you don't know if you are going to get Bulbasaur, Chicorita, or Treeko for your grass choice. Now I know how to do a random script, and I know how to set flags. It's just that this is really confusing. I need to set a random flag 1, 2, or 3, that is activated in another script....I don't know if this is making any sense....so I set 1 of 3 flags, go talk to someone that will tell you 1 of 3 things, but no text box shows up but you still hear that all present bleep click sound and the lock faceplayer stuff still works. I just don't know what to do. Help.
|
Incredible Tutorial! now im gunna try and learn this all tonight so i can de-noob myself & make my awesome game :|
|
Hello. Can you tell me how can i make a script like first battle in FR where we can see advice about batteling and there should be no transfer to poke center if we lose...I hope You are know what i mean, my English is not enought good to write it correctly...Thanks for answers
@Edit: I know how it works let's look trainerbattle 0x0 0x001 0x0 @1 @2 it's a standart trainerbattle 0x9 0x001 0x0 @1 @2 I change first byte but there was no efect trainerbattle 0x9 0x001 0x3 @1 @2 When i change first and third bytes it works like in fr But if i want to do script without Oak's fighting instructions( I mean the same script so if we lose we are still in map with rival)? What should i do? Can someone post a description of fight types (first byte). In this tutorial we can find only two descriptions 0x0 and 0x1, and maybe someone can say something more about the third byte ?:) |
Help
I made this fairly basic code to let my prof give the player a starter pokemon for my hack. my lab area is the same as FR and my code uses lots of flags as I am not very advanced at scripting yet so do not know how to much else.
As far as I can tell it should work fine but when I try to talk to the prof nothing happens! Here is the code Code:
Any help would be greatly appreciated |
godangit
really ticks me off. ok, so good tutorial however something is wrong with my xse. I did all you said, for example here is my code
'----------------------- #org 0xE3DCF0 #org @start msgbox @sign 0x3 end #org @hello = WOOT! Testing! yet, when i compile (i save rubicon thingy, then click compile after loading rom and file). And when i click compile it says no dynamic offset specified. and i tried typing #dynamic 0xE3DCF0 in place of #org 0xE3DCF0 and then above it yet it won't let me compile. ARGH! please help... |
Ok, I've got this little problem, I don't know if it has been mentioned yet, but I really want to know.
Whenever I use applymovement on a person with the ID of 10+ it doesn't work. Here's an example Spoiler:
Also, Quote:
But here's your fixed script Code:
You wrote #org @hello, which will make your script unuseable. If you already have solved the problem, then apologies. |
Quote:
Code:
Code:
Code:
|
FRIIIIIIIIIIIIIIIIIIICK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! now it won't let me godang save the freaking thing. i saved it, compiled it, and when i try to load up the script (that i used - thanks both of you), for firered my bad, it won't work. this is really ticking me off. (breathes in, breathes out...) nevermind, im not mad. but still, how do you compile it so it will ACTUALLy work?.. sorry for being so dumb. >.<
|
Help me.... If anyone knows how to make professor oak (or anyone, for that matter) give you the NATIONALdex without needing all the kanto pokemon, then can someone tell me how? thanks...
|
use special 0x16F
if u don't know how to insert that into the context, go away and learn :D |
How can I make a "check happines" script? Is it possible?
|
Quote:
|
Ok i have compared those scripts in different game, and main line of this script is:
special2 LASTRESULT 0xE6 Ok. But now i want to know how to use special 2 in different situations, becouse it is used in scripts like check happines or check catched pokemons (pokedex status). Is there any description of bytes using with special 2 ?? |
Quote:
Code:
Code:
|
Thanks for answer, :) It's very helpfull...
|
hey is it possible to script a wildbattle that is inescapable cause i need it 4 my game.
basically, the fact that you cannot proceed until a wild pokemon in your way is beaten. NO RUNNING AWAY |
What about creating a legendary poemon battle? I would guess that it uses something similar to a gym battle, but formatted for Pokemon...
If anyone knows this please PM me, I don't know if I can keep track of this |
Quote:
"special2 LASTRESULT 0xB4 compare LASTRESULT 0x[insert number here] if 0x1 goto @pointer" after the wildbattle command. The special 0xB4 checks for the result of the battle then sets a value to the variable. comparing 0x1 checks if the pokemon fainted comparing 0x4 checks if you ran away comparing 0x7 checks if you caught the Pokemon. |
Great tutorial.
Is the list of flags that have been used in the Emerald ROM complete or partial? I've been adding flags from 0x900 to 0x920 since they look unused, but I just want to make sure I'm not screwing myself over for later. |
hi, im getting stucked in scripting in emerald than fire red,
'--------------- #org 0x827D52 lock applymovement 0x9 0x8827D68 waitmovement 0x9 msgbox 0x8827DAD 0x6 '"yoh!" release end '--------- ' Strings '--------- #org 0x827DAD = yoh! '----------- ' Movements '----------- #org 0x827D68 #raw 0x8 'Step Down (Normal) #raw 0xFE 'End of Movements i putted that code (just a example), when i put the offset above and put the 4050 in var num and 0300 (i tried 0003) brendad dont walk and try to talk, its not freezing, but my char just step and, darn! nothing happen, i tried to 4051 to 5000 but nothing work, i tried 0000 to 0003 nothing work, do all combination, nothing work,, what should i put in var number and unknown in emerald, but i tried in fire red, RED walks and talk. but in emerald, nothing happens. hi, im getting stucked in scripting in emerald than fire red, '--------------- #org 0x827D52 lock applymovement 0x9 0x8827D68 waitmovement 0x9 msgbox 0x8827DAD 0x6 '"yoh!" release end '--------- ' Strings '--------- #org 0x827DAD = yoh! '----------- ' Movements '----------- #org 0x827D68 #raw 0x8 'Step Down (Normal) #raw 0xFE 'End of Movements i putted that code (just a example), when i put the offset above and put the 4050 in var num and 0300 (i tried 0003) brendad dont walk and try to talk, its not freezing, but my char just step and, darn! nothing happen, i tried to 4051 to 5000 but nothing work, i tried 0000 to 0003 nothing work, do all combination, nothing work,, what should i put in var number and unknown in emerald, but i tried in fire red, RED walks and talk. but in emerald, nothing happens. |
When I put boxset 5 in my Script it keeps giving me "unknown keyword" -_-....
Anyone a solution? Thanks, |
Quote:
|
Quote:
|
Okay, I would just like to clarify something. I haven't gotten very far in the tutorial yet, but I want to see if I can impress myself with my awesome inference skills.
So I made a givepokemon script. Long story short, your Mom gives you a Houndoom because it is your birthday. After that, she tells you to go see Professor Oak (unless i decide to change the Prof.). What I plan on doing is having the Prof. give you a Pokedex when he sees you have a Pokemon. So in order to do this, would you do something like this? #org @start msgbox @1 0x6 checkflag 0x828 if 0x1 goto @pokedex msgbox @2 0x6 release end #org @pokedex checkflag 0x(pokedex flag, I think it's 829) if 0x0 goto... And I'm not sure from there, but it would be whatever code gives you the pokedex. Right? I mean I'm pretty sure that's not exactly right, but am I at least on the right track? |
Quote:
You're heading in the right direction from what I can see from your script fragment. I can't see any errors and (at this point) it looks like it will be doing what you stated above. |
Quote:
|
T_T why it doesn't COMPILES???
i cant click the Compile Button :( SORRY I AM NEBIE IN SCRIPTING :( Look at my screenshot |
TAKE A LOOK AT THIS PLEASE :D
1 Attachment(s)
T_T why it doesn't COMPILES???
i cant click the Compile Button SORRY I AM NEBIE IN SCRIPTING Look at my screenshot Soory for Double Posting :D |
Quote:
You should also put in a viable offset at the top of your script. |
Okay got it!! thanks............
ummm when i compile it what do i COPY??? |
Quote:
|
Ok.... THANKS..................
|
Heh I have another problem...How can I delete scripts which was compiled to ROM by me...Well, there're too many problems witch overwrite it in hex, (ROM is unstable after it...)...So how can I do that ??
|
what will i gonna do copy the Start offset and then Paste the
offset in a Person in AM???? please Help ME!! can anyone answer my question PLEASE!!! :( |
Quote:
|
| 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.