![]() |
Code:
|
Quote:
|
Quote:
Code:
Quote:
|
Hi, i'm really new to scripting. Had a quick look through this thread and read a couple of XSE tutorials.
But couldn't find out what i want. I want to know if its possible in firered to make the RIVAL appear from nowhere. So once OAK takes you into the lab and you approach him, the RIVAL appears. any form of help is appreciated. thank you |
Quote:
Setflag 0xrival'sPeopleID Where rival'sPeopleID isthe number you've chosen before. Then, when you want Rival to appear, just deactivate this command: Clearflag 0xrival'sPeopleID |
Dont start
Base: FireRed
Script compiler: XSE Type: Levelscript.. Problem: This script dont start.. Why? Spoiler:
|
omfg sorry i have another script
Code:
any ideas |
Quote:
Anyways, here are some tips: - Your "checkflag" does absolutely nothing - Don't use multiple "msgbox" commands in a row, just make one. - Your current fanfare playing part of the script will be awkward ingame - Your "setvar" variable should probably be "0x7000" not "7000". The way you have it, it will use the decimal 7000 as a variable instead of the hexadecimal value (which is 28672 in decimal format). I'm not really going to explain that either. Google it. All of those won't prevent a script from starting though. Usually when a script fails to activate, something is wrong with the way the script it being used, not the script itself (unless you really screwed something up). I can't really help you much more that that. |
Quote:
|
i looked through all the tutorials and understood th gist of it and was wonder if anyone could help me wit flags. i want to know how to make a flag in your room and then when your about to go down the stairs it says "[player], are you finished packing? [rival] was here an hour ago and left because you were still sleeping." i have the script but when i use the check flag and go to the stairs the game messes up. can somebody help?
|
Quote:
checkflag [flag number]'this check if a certain flag is activated compare LASTRESULT 0x1'this compare the value of previous flag (that is 0=not set, 1=set) if B_TRUE goto @example'this go to @example if previous compare returns TRUE (so, if the flag is set) where [flag number] is a number between 0x0000 and 0xFFFF (but you can use numbers between 0x1000 and 0x1500, that aren't used by the game). To set a flag (so, to make its value = 0x1) you have to use setflag [flag number] To clear a flag (so, to make its value = 0x0) you have to use clearflag [flag number] |
ok thks also what is a go byte to look for for free space? when i try to do a script of any sort the game freezes or the person event i set does nothing. also after i write my script and compile it
i try to open it and it dosent show my script it just says" '----------------------------" #org 0x(offset) anyways i think it might be all related and i need help ps sorry for posting alot! i am finally trying to script! |
heres an event tile script on fire red,with xse
Spoiler:
i step on the tile and the sprite does both movements right away then my sprite freezes. whats wrong with it? |
uggh sorry im suck a bad scripter
Code:
any ideas? |
Ok, so I made a quiz script... and theres several things I've found wrong with it...
>If you get a question wrong, she does not let you retake the quiz (though the setflag should only activate if you get it right) and when you beat the quiz, she repeats the '@winner' message twice and does not give you the prize. Then when you try to talk to her, she says nothing. Anyways, I took out the messages but hopefully it's still fixable :/ I'll be trying to fix it. Thanks for any help! Spoiler:
|
Quote:
Code:
|
Quote:
Quote:
|
I wonder how to change the appearance of a certain sprite in a script? I find a setvar command in the rival's appearance script(in Emerald) may have something to do with this...
|
[solved]
Game: Fire Red Type: Person script Script editor: PKSV (can post the xse script if needed) description: Spoiler:
Spoiler:
|
I have questions regarding scripts in my very first hack
First question placing trainers in my hack; now ive read the tutorial by thethethethe (sorry if i misspelled your username) but I dont understand certain aspects of it: Game: pokemon firered personscript using pokescript Script: trainer script Spoiler:
the #raw 0x68 what happens here? giveitem 0x147 1 I understand a certain item is given here, other than the badge (badge is setflag0x820) my question is where can i find a list which specifies which item is which code. like code 0.01 is item x? Question 2 how do I place items on the ground for the player to pick up? So the player can pick up potions etc. Thanks in advance |
Quote:
#raw 0x68 (closeonkeypress in XSE) let msgbox 4 close when a key is pressed |
Quote:
Just put giveitem with the item number and amount, but put 0x0 as the "message type". :D Oh, you have to put the Person ID in AMap as an unset flag. Also, items can be found in a list in thethethethe's tutorial. It's spoilered. |
thanks for the replies. Well to be honest i dont really get the things with unset flags and ID's. an explanation or example would be most appreciated.
|
i am back once again:/
heres a script for fire red,the green event tile. in xse i dont see a problem but nothing happens when i walk over the tile but the hero freezing. Spoiler:
|
Quote:
In AMap, on the script tile, put "0003" as the top unknown and the "5040" as the thing underneath. |
Quote:
|
Quickster try 4050 instead of 5040
now can i have help with mine. Because....... Quote:
|
Quote:
Code:
|
I have problem with showpokepic command in Ruby, the color of picture is not true.
And I use this code to store Pokemon to pokedex in Ruby but it doesn't work Code:
|
Quote:
|
how can i made a script that i can enter a house after the 7e gym?
But it there stands a NPC in the front of the entrance. that spirte must dissapear after the 7e gym. can somebuddy help? |
Quote:
|
I have a question,
right now i have a script that let the player obtain an antidote. but when i walk away, the antidote reappears. What do I do to make it one time only? Spoiler:
|
Quote:
Spoiler:
And give the Pokeball any ID code which hasn't been used. |
Quote:
|
Quote:
Also, Im new to scripting, I understand bits of it, but how do I make it so that a person gives the player an item, (without giving the player an option to refuse it). |
Quote:
|
Quote:
Oh, and giving an item without a question...Well, you just remove the question part. For example... Code:
|
Quote:
One more question though, i cant find the question part. (still dont understand all of XSE scripting) so i dont know what the script will look like. |
Quote:
I don't quite understand what you mean in that question. |
I meant that im too much of a beginner that i cant figure out the script, that a NPC will give me an item, without the box [accept yes/no].
I'd like it like: NPC: i see that..blabla take this *player recieved a potion* NPC: good luck on your quest now i have this, but XSE cant even compile it. Spoiler:
|
Quote:
Make the script like this: Spoiler:
When you're using a msgbox you don't need the release and end The rest of the script is fine. Mabye you want to change the #dynamic 0x2DD1F4 to #dynamic 0x800000. |
when I try that script, i get the error
"too much parameters on line 7. The correct amount is 2" line 7 is the line with the add item command. I'm curious, why would I want to change the offset to 80000? (im using Free Space finder to find offsets, also I wont use any original offsets for my hack, im planning to make my own world without any routes/towns from Kanto, if possible) edit: i found that in the additem command, the last 0x0 must be removed. |
Quote:
For the item command. Try changing it to giveitem and change the last part (0x0) to 0x6. Change: Code:
|
i tried the give item command, but now he just says his first line and then nothing happens.
|
Give item 0x0 at the end. >_>
|
I meant that when using the above script, the man says his first line once, and then nothing happens, i get no item.
|
Have you changed 0x6 to 0x0 yet?
|
Quote:
|
Spoiler:
This works as in that the player obtaines an item, but when i speak to the man again. i get the item again. |
Quote:
#dynamic 0x2DD1F4 #org @start checkflag 0x950 if B_TRUE goto @end lock faceplayer msgbox @hello 0x6 additem 0x0E 0x1 0x0 msgbox @bye 0x6 setflag 0x950 release end #org @end end #org @hello = The outer world is dangerous.\nHere, take this. #org @bye = Good luck on your quest. if you want the man say something different when you talk him again just modify the #org @end part of script Quote:
giveitem 0xCD 0x1 0x0 because 0x6 cause the repetition of last msgbox... for the flag, I think flag 109 is a too low number... use 1009 instead, it maybe work |
I stripped a few script offsets from unused places, and put them on some people I am using elsewhere, but I can't edit the script with my editor! When I compile it into the game and save, then go back to check, he says the original quote! It worked before! Any tips?
(Note: I'm not sure if this is important but I got a string of dialogue boxes in AdvanceMap telling me of an error and to contact Lu-Ho?[I know that's a forum member, I just want to know if it has anything to do with my situation.]) |
omfg soory i come back with a script apperantly my 0x5's suck.
Code:
any ideas |
Quote:
Code:
|
Quote:
|
hey im new to scripting could some one please tell me how to obtain an item from some one and then not get it again afterwards?
|
Code:
He freezing if i walk on the spot. Can somebuddy help? |
Quote:
you mean the script is like this: Code:
|
Quote:
|
OK so Iam trying to make a script where a person says something and then gives you a pokemon. and depending on whether your party is full or not give you the pokemon.
Here's what I have: PHP Code:
http://i457.photobucket.com/albums/qq295/hildetorr/Pokemon-FireRedGBA.pngStart talking http://i457.photobucket.com/albums/qq295/hildetorr/Pokemon-FireRedGB1A.pngreceive pokemon http://i457.photobucket.com/albums/qq295/hildetorr/Pokemon-FireRed2GBA.pngnot sure Also where do I get the pokemons numbers for scripting? I only know that the above one is Pikachu from a document within XSE. |
Game: Pokemon Fire Red Script Editor: XSE Script: Trigger Script Spoiler:
The script works fine until it ends and it starts to play the music which is in most of the game's cave maps and it won't stop playing until I enter a map which has different music to the current map. |
Im working on a hack from LG, any way that i can remove/edit this part of the intro?
http://img510.imageshack.us/img510/1219/59419819zh5.jpg |
Quote:
|
Quote:
althoughwhat is this suppose to do exactly? |
These 2 codes are meant to go together, and neither of which works...
Code:
Code:
My script is basically 2 people. Person 1 is the person who battles you. Person 2 gives you a Pokemon, trades it to you with Eevee, and teleports you out of the SIM. Person 2 gives you a SALAMENCE. Person 1 battles you. Person 2 realizes that you have battled person 1 because of the flag and trades you SALAMENCE with EEVEE. Person 2 warps you out of the SIM. Quote:
|
Quote:
|
Quote:
Quote:
Yes, all you have to do is use setflag and checkflag. In the script, put a checkflag so it checks if the flag has been set. Here's an example. Code:
|
Quote:
|
Quote:
|
hey could some one please give me a script were someone gives the player an item. because each time i do it dioesnt work. (using XSE)
|
Code:
|
Just a thought guys and girls.
Is it possible to export the Deoxys script (the changing form at meteorites) and put it into Emerald? |
Quote:
I've been trying to figure this out for ages but I just couldn't figure it out. I want to learn how to make scripts that deal with Ruby's real time clock like check the time, and if its a certain time go do a certain command, or like the script on cycling road on the signpost that tells you how many collisions you had and how long it took you to finish the course. Can someone help me out here? |
1-Ok, one more question, I have asked this a few tims and I still don't really know what to do. I got to a point where I can Change Rayquaza to Deoxys or Mew wich was my last resort, but really what I was looking for was Jarachi, I don't know the script offset for Jarachi and I don't know how to change the wild battle script to make it so that clicking on Rayquaza(wich will be edited into Jarachi) makes you fight Jarachi.
2-Is there a way to place a scritp from Fire Red into Emerald, specificly the Snorlax event, and the pokeflute item. Basicly I want to make the entrance to a certain area blocked by a sleeping snorlax and have Birch give you the PokeFlute when you beat the elite four |
PKSV-UI Gymleader script
Hey, I have writed a gymleader script for the 5ft gym and when i compile it into my rom and I open it from my rom, the script is whole changed...
Are there some faults in my script? Here is my script Code:
|
Quote:
Use the Search function. It's there for a reason. =P |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Guys, Excuse me but I need a script for Shade Mew:
This is how it goes: Sorry, but the legendary Pokemon Rayquaza lives here and I must test you in a Lv.70 battle to pass. [Yes/No] Yes= trainer battle No= go 1 tile left If the trainer battle's done, the flag is set for the script and the player can pass automatically. |
Quote:
|
Which game is this? It may have a special character. Also realize that it is case sensitive.
|
I'm working on the first script I've ever made, and I'm having trouble with XSE. I made one script and gave it a new offset I found with the FSF, compiled into my rom (at least I guess that's what I managed to do; you compile it just by clicking the button that looks like two blue gears, right?), went into the game and checked it out--it worked fine, the character talked just like he was supposed to. Except I'd messed up some of the dialogue and wanted to change it, so I went back into the script, changed the dialogue, and compiled it again.
But when I went back into the game it hadn't changed. I've tried several times. I've closed and opened XSE and compiled it again to see if it'd change, and saved in AdvanceMap after compiling to see if that would do any good. It hasn't. What do I need to do to change a script once it's been compiled? |
Quote:
|
Can someone still help me with my script?
|
Quote:
|
Quote:
Quote:
|
Quote:
Code:
|
I need help.
Game: Pokemon Fire Red Script Editor: XSE Script Type: Signpost Script Spoiler:
The script is meant to check if the player has walked 500 steps and then give them a random berry and reset the the amount of steps the player has moved. Instead it gives me a random berry, doesn't close the message box when the berry is given and doesn't reset the amount of steps, therefore letting me get a random berry continuously. Please help. |
Quote:
|
Two things:
1.is it possible to make a script where a person will ask you for a meteorite and if you have one take it(the meteorite) and give you a deoxys/if you dont have one say something like "Dont have one huh? OK come see me when you do"? 2.How do I make a script so you cant access a certain area until after the elite four? really need help so far the only thing ive done successfully is make simple talking scripts. |
lol sorry guys..
Code:
|
Quote:
Or do i need to switch to FR? |
Ok... The problem with this script is that it starts and works, until the 8th line (msgbox @Common 0x6) After that... the script just stops and you can move around, but after you do two steps the game restarts...??? Could someone tell me what's wrong?
Game: FireRed Type: Trigger Editor: XSE Script: Spoiler:
Screenshots and/or Videos: - |
Quote:
|
Quote:
So does anyone know how I can do these things? |
Hey could some one tell me how to creat a script were you want to go in to another room but another charactoe stops you and says you need to have beaten the pokemon league? (im usig XSE)
|
Game: FireRed
Type: two Person events Editor: XSE Script: I've got two scripts, a character and an itemball. You get your first Pokémon from the itemball. The itemball isn't supposed to disappear after you click on it. I have a flag so that if you click the character or the itemball after clicking the itemball once, they will say different things. The flag works, but if I leave the room and come back in, it seems to be reset: the character will say his first, pre-flag script again, and the itemball will give you a second Pokémon. What am I doing wrong? The character's script: Spoiler:
The itemball's script: Spoiler:
(In addition, I also don't know how to make a script that can give a Pokémon a nickname--which is why I tried to avoid the issue altogether in the dialogue above--because I haven't found any instructions on how to do that in any tutorials so far. I've gone through several looking for just that. So if anyone could just tell me what that bit of script is, I'd be grateful.) Screenshots and/or Videos: I don't have any, and in any case, I think this is a simple problem. The flag just seemingly removes itself if I leave the room and come back into it. |
Game: FireRed
Type: BPRE (I think) Editor: XSE Script: Spoiler:
Spoiler:
[spoiler] These two scripts work back-to-back. One of them gives you the Pokemon you need for the battle and one of them battles you. It says there is an "error 13" on line 7 of one of them, a type mismatch. I thought it was the word "goto" or "call", but I can't figure out whats wrong with it. I looked in tutorials and these were the exact lines used in those tutorials! |
| All times are GMT -8. The time now is 2:55 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.