• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Co500

Nostalgia Edition
563
Posts
15
Years
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
 

Darthatron

巨大なトロール。
1,152
Posts
18
Years
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:

Binary

え?
3,977
Posts
16
Years
  • Age 29
  • Seen Apr 7, 2014
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.
 

Co500

Nostalgia Edition
563
Posts
15
Years
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!
 
82
Posts
13
Years
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!
 

Chad -

 
687
Posts
14
Years
  • Seen Aug 27, 2012
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 -
 

Co500

Nostalgia Edition
563
Posts
15
Years
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 ^^
 
82
Posts
13
Years
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 -

now it say when i want to compile the script it says unknown keyword ''&h10'' at line 25..why??
 

Binary

え?
3,977
Posts
16
Years
  • Age 29
  • Seen Apr 7, 2014
@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 -
 

FireFox

Dialga Fangirl
58
Posts
19
Years
  • Age 37
  • UK
  • Seen Feb 24, 2018
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. :)
 

Doomsaloto

Learning to be Pr0
27
Posts
13
Years
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:

FireFox

Dialga Fangirl
58
Posts
19
Years
  • Age 37
  • UK
  • Seen Feb 24, 2018
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?
 

x Necromorph x

Super Saiyan 4
295
Posts
13
Years
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.
 

FireFox

Dialga Fangirl
58
Posts
19
Years
  • Age 37
  • UK
  • Seen Feb 24, 2018
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:

Chocos0

Eclipse the Umbreon
68
Posts
14
Years
  • Seen Mar 12, 2012
Very quick question, when I compile the script, which offset should I take?

I use @start
and
@text

So.. which offset?
 

x Necromorph x

Super Saiyan 4
295
Posts
13
Years
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.
 
4
Posts
13
Years
  • Seen Jul 22, 2010
Edit: \Same Person Event as an item on my map. Problem solved!
 
Last edited:
Status
Not open for further replies.
Back
Top