• 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.
Spoiler:

Spoiler:

The flags are there so the script won't repeat itself after stepping on the script tile. Put the person ID of the OW as '0200' if you want a permanent disappearance.

It's not much, but here:
Spoiler:

Makes it a tad more convenient. The givepokemon part should work.
And make sure you've got the correct OW numbers for the 'hidesprite' or do you mean you want the OWs to permanently disappear?
I want them to permanently dissappear
 
Thanks Chad, unfortunately I'm still getting the same error on the same line :(
You're missing "@"s in the following places:
Code:
#org [B][I][U]@[/U][/I][/B]intro
= Hmmm?\nWho are you?\pOh it doesn't matter.\pYou're not getting past me.
and
Code:
#org [B][I][U]@[/U][/I][/B]defeat
= Oh COME ON!
and
Code:
#org [B][I][U]@[/U][/I][/B]outro
= Hmph!\pYou only lost because my\nPOK\eMON are weak.\pYou've not seen the\nlast of me!
 
Last edited:
I want them to permanently dissappear
So you need to put a setflag like this:
Code:
.
.
applymovement 0x04 @move7
waitmovement 0x0
hidesprite 0x02
hidesprite 0x03
hidesprite 0x04
hidesprite 0x05
[B]setflag 0x200[/B]
release
end
.
.
Then you'll need to put the person ID (of all 4 sprites) as '0200'. The person ID will depend on the setflag you're using.
 
So you need to put a setflag like this:
Code:
.
.
applymovement 0x04 @move7
waitmovement 0x0
hidesprite 0x02
hidesprite 0x03
hidesprite 0x04
hidesprite 0x05
[B]setflag 0x200[/B]
release
end
.
.
Then you'll need to put the person ID (of all 4 sprites) as '0200'. The person ID will depend on the setflag you're using.
are you sure that would work? because how can I do applymovement to one sprite when they all have the same event No. oops sorry was thinking of the wrong thing thanks!
 
hi...what is wrong in this script...when i stap on the script it just lock me and nothing more...
#dynamic 0x8001B1

#org @start
msgbox @1 0x6
applymovement 0x07 @move
waitmovement 0x0
applymovement 0xff @move2
pause 0x30
msgbox @2 0x6
playsong 0x13E 0x0
applymovement 0x04 @move3
applymovement 0xff @move3
waitmovement 0x0
fadesong 0x12C
release
end

#org @done
release
end

#org @move
#raw 0x10 0x10 0x10 0x10 0x13 0x10 0x10 0x10 0x10

0x10 0xFE

#org @move2
#raw 0x62 0xFE

#org @move3
#raw 0x13 0x13 0x13 0x13 0xFE
#org @1
= waaaiiiiiit!!!
#org @2
= hi..i am Serina\nthe leader of Alaska.\pyou are

now a child\ngrunt...how many missions\pyou

complete thats your rank\nhigher..the highest

is\pto be a leader of\na team...maybe someday\pyou

have your own team.\nnow...your first mission\pis

to steal your first\npokemon...go into

prof.Oaks\plab and steal his pokemon\nafter that

you can find\pme in Desire route\ngood luck!
 
Tuna97, did you set the Unknown to 0003 and Var number to 4050 (or 5040) in Advance Map? Click on the green script tile and set them (on the right). Hope that helps.

Chad -
 
hi...what is wrong in this script...when i stap on the script it just lock me and nothing more...
#dynamic 0x8001B1

#org @start
msgbox @1 0x6
applymovement 0x07 @move
waitmovement 0x0
applymovement 0xff @move2
pause 0x30
msgbox @2 0x6
playsong 0x13E 0x0
applymovement 0x04 @move3
applymovement 0xff @move3
waitmovement 0x0
fadesong 0x12C
release
end

#org @done
release
end

#org @move
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @move2
#raw 0x62
#raw 0xFE

#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

#org @1
= waaaiiiiiit!!!

#org @2
= hi..i am Serina \nthe leader of Alaska. \lyou are
now a child \lgrunt...how many missions \lyou
complete thats your rank \lhigher..the highest
is \lto be a leader of \la team...maybe someday \lyou
have your own team. \lnow...your first mission \pis
to steal your first \npokemon...go into
prof.Oaks \llab and steal his pokemon \lafter that
you can find \lme in Desire route \lgood luck!
i think thats all there were a few errors is this right BTW ^^
 
i think thats all there were a few errors is this right BTW ^^
I think not. He/she needs to do what Chad - said if he/she still haven't.
 
What is the special for making the VS. screen appear when battling the Elite Four in FireRed?
 
@tuna97:

You had this in the middle of nowhere:
Code:
#org @move
#raw 0x10 0x10 0x10 0x10 0x13 0x10 0x10 0x10 0x10

[U][B]0x10 0xFE[/B][/U]

#org @move2
.
.

Make it like this (whole script):
Spoiler:

As Co500 had corrected.
Also, don't forget this:

Tuna97, did you set the Unknown to 0003 and Var number to 4050 (or 5040) in Advance Map? Click on the green script tile and set them (on the right). Hope that helps.

Chad -
 
You're missing "@"s in the following places:
Code:
#org [B][I][U]@[/U][/I][/B]intro
= Hmmm?\nWho are you?\pOh it doesn't matter.\pYou're not getting past me.
and
Code:
#org [B][I][U]@[/U][/I][/B]defeat
= Oh COME ON!
and
Code:
#org [B][I][U]@[/U][/I][/B]outro
= Hmph!\pYou only lost because my\nPOK\eMON are weak.\pYou've not seen the\nlast of me!

Oh for crying out loud! I feel like such a moron! Thank you Darthatron, and to everyone else, script compiled with no errors. :)
 
Once again I have a problem with a script. Hopefully this time I'll get an answer. I didn't for the second question I asked. I had to fix it myself... Bleh.
Well anyways, the problem with the following script, a simple (at least I think it might be simple) rival battle script. The problem is, when talking to my rival to activate the script, nothing happens. Nothing at all. The game doesn't freeze, it just plays the little 'A button press' sound and then nothing happens. I really don't know why. This script was made in XSE, and the game hacking is Fire Red. Some info about the Person event the script is in:
Movement type: Walk Around
Movement: 00
Trainer: Unchecked
Unknown: 00
View Radius:0000
Person ID: 3FD
Unknown: 00_00


P.S: Variable 4005 is the variable where the starter you picked is kept. At least thats what I set it too.

The Script:
Spoiler:
 
Last edited:
Sorry for the n00bishness, but how do I make an '!' appear above another characters head?

Also:

pause 0x1E

Does the above pause the script for 1 second?
 
Sorry for the n00bishness, but how do I make an '!' appear above another characters head?

Also:

pause 0x1E

Does the above pause the script for 1 second?

For FR/LG its:
#raw 0x62

I don't know what it is for R/S/E

And ya that pause is just about 1 second.
 
For FR/LG its:
#raw 0x62

I don't know what it is for R/S/E

And ya that pause is just about 1 second.

That didn't seem to work. When I put #raw 0x62 in, after I saved and reloaded my script, it chaned to settrainerflag 0xF28 and added a nop under it.


EDIT:
Also, I don't know if this is script or ASM, but is there a way to change the trainer battle music for a specific trainer?
 
Last edited:
Very quick question, when I compile the script, which offset should I take?

I use @start
and
@text

So.. which offset?
 
Whichever one comes first

That didn't seem to work. When I put #raw 0x62 in, after I saved and reloaded my script, it chaned to settrainerflag 0xF28 and added a nop under it.


EDIT:
Also, I don't know if this is script or ASM, but is there a way to change the trainer battle music for a specific trainer?


Sorry if I wasnt clear enough, its an applymovement command.
 
Edit: \Same Person Event as an item on my map. Problem solved!
 
Last edited:
Status
Not open for further replies.
Back
Top