• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
hey everyone. I'm sorry to bother you, but I've looked at at ALL scripting tutorials and scripting just DOESN'T work for me. ex. when i use pokescript and open my rom the character is there but when i talk to it it just goes beep and nothing happens. This has been a frequent problem and stops me from scripting although i love to hack Roms. I have used XSE and a basic script ( like "hi" ) takes me to the celadon game center to choose a prize.
Hacking Fire Red
Vista ( if thats important )
tried poket script
tried eXtreme Script Editor
even tried advance text.
so if you know the answer and don't mind posting, Please Help:)
Here's your answer =D Never use pokescript, always use XSE ;)
If you try with XSE you'll surely get a hold of scripting in no time =)
So try it again and it'll surely work =)
 
hey everyone. I'm sorry to bother you, but I've looked at at ALL scripting tutorials and scripting just DOESN'T work for me. ex. when i use pokescript and open my rom the character is there but when i talk to it it just goes beep and nothing happens. This has been a frequent problem and stops me from scripting although i love to hack Roms. I have used XSE and a basic script ( like "hi" ) takes me to the celadon game center to choose a prize.
Hacking Fire Red
Vista ( if thats important )
tried poket script
tried eXtreme Script Editor
even tried advance text.
so if you know the answer and don't mind posting, Please Help:)

Open up XSE, and press the F2 Key, a guide to XSE and basic scripting is included with the program.
Read it from beginning to end, it might be a bit of a long read, but once you read it, and master that guide, you'll have all of the knowledge needed to get you started scripting, from there you can read more advanced scripting guides on here, and really make some hard core scripts.

Happy hacking!
 
I made a script for one of the hacks I'm working on, and I keep getting this annoying error saying: Unknow Keyword "" at line 13.

Here's the script, and I hope someone can help me.

Picture in attachments.

Spoiler:


[PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS)
 
Last edited:
I made a script for one of the hacks I'm working on, and I keep getting this annoying error saying: Unknow Keyword "" at line 13.

Here's the script, and I hope someone can help me.
Wow... I can't believe what I'm seeing o.O
Dude, you really need to fix your style of writing scripts o.O
You see... it's better if you write syntax like this:

Code:
Commands
__________________
Movements
__________________
Texts

That way it'd be better for us to find errors.
 
this is probably going to make me feel stupid for asking, but how do I play straight up sound effects in XSE? the command for it lol.. i want my ! box's to make the sound effect also.
 
this is probably going to make me feel stupid for asking, but how do I play straight up sound effects in XSE? the command for it lol.. i want my ! box's to make the sound effect also.

Use the 'sound' command followed by which sound effect you want to use. The pop-up for the exclamation box is 0x15. This post documents a few of the sounds in-game and their corresponding numbers.
 
Hey, is there any way to change an attack's animation?

~BLAZE

lol jap Unzl has the moves pics in it if you find it i think if you go a bt further than the trainers they are there but if you mess around with it you will figure it out btw it may seem diffrent when you try it
 
hey can some one help me with my script im not sure what i did wrong
I use Pokescript
I f you talk to this person he gives you a pokemon then when you talk to him again he asks you in a yes or no question if you like dragon pokemon.

#org $script
lock
faceplayer
checkflag 0x1200
message $talk
$talk 1 = Hey future champ, take this!
boxset 6
givepokemon 25 5
setflag 0x1200
release
end

#org $done
lock
faceplayer
message $question
$question 1 = Do you like dragon pokemon?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
message $no
$no 1 = You don't? That's too bad.
boxset 6
release
end

#org $yes
message $yes1
$yes1 1 = You do? That's great!
boxset 6
release
end
 
hey can some one help me with my script im not sure what i did wrong
I use Pokescript
I f you talk to this person he gives you a pokemon then when you talk to him again he asks you in a yes or no question if you like dragon pokemon.

#org $script
lock
faceplayer
checkflag 0x1200
message $talk
$talk 1 = Hey future champ, take this!
boxset 6
givepokemon 25 5
setflag 0x1200
release
end

#org $done
lock
faceplayer
message $question
$question 1 = Do you like dragon pokemon?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
message $no
$no 1 = You don't? That's too bad.
boxset 6
release
end

#org $yes
message $yes1
$yes1 1 = You do? That's great!
boxset 6
release
end

ohk so the way im reading it is because its going straight to the top one every time as there is nothing redirecting it to the bottom script
i think this may work i will show you with your script
Spoiler:

so i think this should work i switched the flags around and added a if b true line so once the script comes to the checkflag it will go straight to the next script as the flag has been set go try it out f their are any errors ask me but flags help alot you could even do it in two diffrent scripts example he gives you the first poke then you go speak to someone and the say that guy has a dragon for you and you set the flag then when you go ack to him the next script activates lol
 
hey can some one help me with my script im not sure what i did wrong
I use Pokescript
I f you talk to this person he gives you a pokemon then when you talk to him again he asks you in a yes or no question if you like dragon pokemon.

Spoiler:

You forgot the "if" command that will check the flag you have set.
Here's a fix...
Code:
#org $script
lock
faceplayer
checkflag 0x1200
[COLOR="Red"]if 0x1 goto $done[/COLOR]
message $talk
$talk 1 = Hey future champ, take this!
boxset 6
givepokemon 25 5
setflag 0x1200
release
end

#org $done
lock
faceplayer
message $question
$question 1 = Do you like dragon pokemon?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
message $no
$no 1 = You don't? That's too bad.
boxset 6
release
end

#org $yes
message $yes1
$yes1 1 = You do? That's great!
boxset 6
release
end

ohk so the way im reading it is because its going straight to the top one every time as there is nothing redirecting it to the bottom script
i think this may work i will show you with your script
Spoiler:

so i think this should work i switched the flags around and added a if b true line so once the script comes to the checkflag it will go straight to the next script as the flag has been set go try it out f their are any errors ask me but flags help alot you could even do it in two diffrent scripts example he gives you the first poke then you go speak to someone and the say that guy has a dragon for you and you set the flag then when you go ack to him the next script activates lol

Your suggested script will only give the player a pokemon each time the NPC is talked to...
 
Status
Not open for further replies.
Back
Top