• 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 Trading Card Game 2 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.

[Archive] Script help thread

Status
Not open for further replies.
Does anybody know the flag for the ability to surf?
 
Sorry about that I pretty much just copied and pasted my own script. Really the main thing you need in a followme script is just to not have a pausemove after the person leading but after the person who is following. ie:

applymovement 0xff $follow
applymovement 0x01 $follow
pausemove 0

The rest is just positioning the hero or follower so that the hero is directly in front of the person following.


Thanks, I understand now :D
But wouldn't it be the other way around, so you'd have 0xFF after 0x1 because wouldn't that make someone follow the hero?
 
Thank you.

Now does anybody know how to make the screen fade black and then fade back again like when the rockets dissapear.
 
No,
You've got to make the team rockets sprites to disappear,
#raw 53
#raw <people no.>
#raw 00
That also makes the screen fade and come back again, while the rockets sprites also disappear
well thats what I think XD

~C3LEBI
 
I know this isn't the simple questions thread, but that thread is closed, so.......

Is there any way to change the data of the pokedex through scripting?
 
c3libi will that work with pokescript.
I used fadescreen 0 and it didn't in like 3x the speed it was suppose to.

EDIT: I just tried the ability to surf special thing. By surf I meant lik what it does when you get the 6th badge on fr and lg. So does anybody know?
And on the subject does anybody know how to make pokemon and pokedex show up on the start menu?
 
Last edited:
EDIT: I just tried the ability to surf special thing. By surf I meant lik what it does when you get the 6th badge on fr and lg. So does anybody know?
And on the subject does anybody know how to make pokemon and pokedex show up on the start menu?

Flags:
0x205 for the 5th badge
0x828 for Pokemon menu
0x829 for Pokedex

special 0x16F for national dex
 
could anyone tell me how to do a gymleader script in fr anf lg?
 
could anyone tell me how to do a gymleader script in fr anf lg?

A gymleader script is a normal trainer battle script, with a setflag of the gym leader offset at the end.

So you would have:

Code:
#org $begin
lock
faceplayer
checkflag 0x200
if b_true goto $alreadybeat
trainerbattle 0x00 0x00 $fightme $finished
message $fightme
$fightme 1 =Prepare to loose!\pFor I am a GYM LEADER!
boxset 6
release
end

#org $finished
lock
message $ilost
$ilost 1 =You have proved worthy!\pHere, take this TM!
boxset 6
giveitem 0x0 0x0
message $badge
$badge 1 =Here, take this badge!
boxset 6
setflag 0x00 <Gym Offset>
message $received
$received 1 =PLAYER received a Badge!
boxset6
setflag 0x200
release
end

There are much more simple versions, but this is what I use.

How is that concert?

[PokeCommunity.com] [Archive] Script help thread

I'm guessing your using a namepokemon command, and it came up with that?

Use this instead of namepokemon:

Code:
#raw 0x04 0xEB 0x74 0x1A 0x08
 
I tried the flag 0x205 and it didn't do the trick. the others did so thanks for them.
 
kk I got a problem withn this script.
Code:
#ORG $begin
lock 
faceplayer
message $leave
boxset 6
release
end

#ORG $leave
$leave 1 = ...What!/n Who are you?/p Get away
kk everything works except for the /n and /p commands.
it just goes all over the textox again.
you can ever see the /n and /p in the text.

Screenie

Does anybody know why this is happening?

 
Easy answer: You put the slashes the wrong way around.
It should be \n and \p.
 
Spoiler:

This is the script for the first opponent in the Elite 4 in Fire Red. I edited one value and the script offset.

I use DiamondCutter but for some reason, it won't apply this script to the game. Can someone help me? (I'm thinking it's something within the script)
Bumping because it's not yet been even commented on and is on the last page, and is vital to my hack.
 
What do I have to do to enable the player to be able to use surf, before he gets the badge for it? Thanks in advance

~C3LEBI
 
Status
Not open for further replies.
Back
Top