• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.
Go to the Groudon Script and open it. There's your example right in the game. :P

I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:
 
Last edited:
The command "battle" doesn't exist in XSE. Try "wildbattle".
 
I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:

I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.
 
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:
 
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:

Did you set the Unknown to 0003, and var number to 5040, or 4050 in Advance Map? Also, are you using the new version of XSE, or old one?
 
[SOLVED]

I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:

Using the new XSE there are two wildbattle constructs: wildbattle and wildbattle2. The latter is the one which includes a special. The first one instead is the one which is a "common" battle.

Note: since I don't know what the people # is on AM (the Mewtwo one) I just used 0x1 as a matter of example. Change it eventually.

Spoiler:


I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.

The fact is wildbattle wasn't a command earlier. It was a construct and still is, with a new companion, that is wildbattle2. Explanation above or in the Command Help.


Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:

Pretty screwed up...
Please update your copy of XSE and read the new guide as well.
Don't forget to se up the trigger like this:

[PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS)



Spoiler:



EDIT: Proving a proper example for the use of the [SOLVED] tag.
 
I tried it now but I get a mismatch error on "wildbattle" line

I just noticed your #dynamic was wrong.
And that I was missing a param for message. The rest is perfect though.
See the script below:

Spoiler:
 
Help with this give away script using XSE

Whats wrong with it?

He say's something wrong on line 5

Code:
#dynamic 0x800000
#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2
boxset 0x6
release
end

#org @take
givepokemon 0x98 0x4 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3
boxset 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4
boxset 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5
boxset 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6
boxset 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\nI can't take care\nof my Krabby.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= \c\h01\h02You received a Krabby!

#org @4
= \c\h01\h02Would you like to give a\nnickname to Krabby?

#org @5
= Please take care of\nKrabby.

#org @6
= Are you taking good care\nof krabby?
 
You have the new XSE, right?

You have to move the boxset type up to the msgbox line now. So, it'd be:

Code:
msgbox @1 0x5

That goes for all of the msgbox commands.
 
@vrai :

I must change the

Code:
msgbox @1
to
Code:
msgbox @1 0x5
And yes I'm using the new XSE
 
Ichiro, I fixed your script

Spoiler:


Also, read the new XSE guide. It's very helpful.
 
Thanks a lot both of you.

Can somebuddy tell me how to make a give away script with no trainer? i mean you walk on one spot en then you get that pokemon
 
how do I change the title screen, you know the title screen that pops up after the intro with the name of the game on it, how do I change the picture on it
 
I DID IT!! =D

and here's the script:
Spoiler:


but how do I change the background and the music

by the way... the battle music is strange...
 
what does that have to do with my question
 
what does that have to do with my question

Also, please don't be rude. Not everybody who posts here is entirely concerned with your problem.

We're starting to get out of the correct format. Everyone else who needs help with a problem here needs to post in the format specified in this post.

If you don't, you probably won't get help. :D
 
and here's the script:
Spoiler:


but how do I change the background and the music

by the way... the battle music is strange...

Don't forget the [SOLVED] tag, okay? Anyways, the battle music isn't that strange. But after all you aren't supposed to battle Pokémon in Littleroot Town :P You may want to try wildbattle2. It has an extra param that can be useful to get the "legend" style.


Help with this give away script using XSE

Whats wrong with it?

He say's something wrong on line 5 [...]

Actually it doesn't say so. It says there are too less parameters. And if you checked the Command Help (or even better the guide) you would have understood how to fix it. I improved the error messages for a reason. You should care more about them.
 
Status
Not open for further replies.
Back
Top