The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary Hack Tutorials (https://www.pokecommunity.com/forumdisplay.php?f=66)
-   -   Sierra's MEGA-HUGE XSE Scripting Tutorial (https://www.pokecommunity.com/showthread.php?t=164276)

Sunnysunsunny September 9th, 2009 5:26 PM

Map connecters are the first I chose to learn XD

Haku. September 11th, 2009 7:47 AM

Hmm A Request From me.Is There Anyway to make a make an earthquake,make it's flag to setflag 0x(blblabla) and after defeating the evil guys the map resets to normal?? like can i use

checkflag 0x...
if 0x1 goto @battle
release
end

#org @battle
pokemonbattle or whatsoever..
msgbox
fadescreen
clearflag
release
end

is that anyway i could make it happen?

kesco1101 September 13th, 2009 3:18 PM

Great tut. The only thing i really don't understand is the variable part :(

Cello September 14th, 2009 2:16 PM

This is an amazing guide, it's helped me learn all of my XSE scripting so far. However I have one tiny tiny question;
When using the \c color command, how do you use that correctly?

Like, for example:
\c[orange_fr]You received a Pokémon!

Would that be correct?

ProjectGale September 14th, 2009 3:19 PM

Quote:

Originally Posted by Cello (Post 5117374)
This is an amazing guide, it's helped me learn all of my XSE scripting so far. However I have one tiny tiny question;
When using the \c color command, how do you use that correctly?

Like, for example:
\c[orange_fr]You received a Pokémon!

Would that be correct?

You can either write it as [orange_fr]You received a Pokémon! or \c\h05You received a Pokémon!

Bayonetta September 16th, 2009 7:00 PM

Does anyone know what does "special 0x13D" do in fr?

G Deoxys September 18th, 2009 10:23 PM

hey how do i make this script work?

#Dynamic 0xoffset

#org @start
lock
faceplayer
checkflag 0x828
if 0x0 goto @give
if 0x1 goto @sry
release
end

#org @give
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yay
boxset 0x6
release
end

#org @sry
msgbox @sorry
boxset 0x6
end

#org @yay
= You got Bulbasaur!

#org @sorry
= I can't give you anymore.

0m3GA ARS3NAL September 18th, 2009 10:31 PM

Quote:

Originally Posted by G Deoxys (Post 5130941)
hey how do i make this script work?

#Dynamic 0xoffset

#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @sry
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yay 0x6
release
end

#org @sry
msgbox @sorry 0x6
end

#org @yay
= You got Bulbasaur!

#org @sorry
= I can't give you anymore.

A few things, first off, I hope you know that "offset" is actually going to be a number, like 0x800000...

2nd;
checkflag 0x828
if 0x0 goto @give
if 0x1 goto @sry
is incorrect, you only need to define one of the 2, so I'll modify your script a little... Edits will be in the quote, in BOLD RED. (EXCEPT for things I remove, since I can't highlight stuff that isn't there.)

The only other thing wrong is the "boxset" command isn't used anymore, and is now a part of msgbox, so if you use boxset 0x6, now just add an 0x6 after the message's pointer...

Try the script out now...
(ALSO, if you don't know how to insert a script, read a tutorial, or Press F2 in XSE...)

G Deoxys September 18th, 2009 11:00 PM

ok, thanks for the help!!!!

Quote:

Originally Posted by 0m3GA ARS3NAL (Post 5130965)
A few things, first off, I hope you know that "offset" is actually going to be a number, like 0x800000...

2nd;
checkflag 0x828
if 0x0 goto @give
if 0x1 goto @sry
is incorrect, you only need to define one of the 2, so I'll modify your script a little... Edits will be in the quote, in BOLD RED. (EXCEPT for things I remove, since I can't highlight stuff that isn't there.)

The only other thing wrong is the "boxset" command isn't used anymore, and is now a part of msgbox, so if you use boxset 0x6, now just add an 0x6 after the message's pointer...

Try the script out now...
(ALSO, if you don't know how to insert a script, read a tutorial, or Press F2 in XSE...)

i put it in and when i go to talk to the person i click "a" and they don't say anything?

Toon Link September 25th, 2009 2:33 PM

What is the script to set the national pokedex in emerald?

DawnRyder September 25th, 2009 2:46 PM

Quote:

Originally Posted by Toon Link
What is the script to set the national pokedex in emerald?

#org @givendex
lock
faceplayer
msgbox @dexgive 0x2
callstd 0x4
special 0x1F3
release
end


#org @dexgive
= Here is a National Pokédex.

ME0W October 4th, 2009 1:26 AM

Man! This tutorial really helped me a lot!
Thanks dude! Your the man!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I like CHANSEY.. :)

score_under October 4th, 2009 7:43 AM

Quote:

Originally Posted by 0m3GA ARS3NAL (Post 5049139)
Octadecimal (OCT, not used in ROM hacking...) 7

Actually, I'm sure you mean octal.
Octadecimal goes from 0 to H, and is pretty illogical to use when programming. Almost as illogical as using decimal. ;)

ME0W October 11th, 2009 11:40 PM

Thanks for the guide again! Now, I can use some coomands
that I never knew I can use!

0m3GA ARS3NAL October 12th, 2009 9:00 AM

Quote:

Originally Posted by score_under (Post 5184373)
Actually, I'm sure you mean octal.
Octadecimal goes from 0 to H, and is pretty illogical to use when programming. Almost as illogical as using decimal. ;)

lol, yeah, meant Octal, lol, my bad

panthers4091 October 31st, 2009 7:16 AM

Excellent guide, I've been using things from it for a while but just thought you deserved a post.

jaykimo October 31st, 2009 9:14 PM

1. For the trainer battle, how do you change the pokemon the trainer is battling with? Does it depend on what trainer ID you're using?
2. How do you change what Prof. Oak would say OUTSIDE and INSIDE the lab?

panthers4091 October 31st, 2009 9:24 PM

Quote:

Originally Posted by jaykimo (Post 5279698)
1. For the trainer battle, how do you change the pokemon the trainer is battling with? Does it depend on what trainer ID you're using?
2. How do you change what Prof. Oak would say OUTSIDE and INSIDE the lab?

The trainer ID determines the trainer you face, and therefore the pokemon. Download a tool if you want to change it.

To change what people say, open up the preexisting scripts and change them.

StheB November 8th, 2009 10:54 AM

Thanks your tutorial has help a lot :)

Necrid November 23rd, 2009 5:32 PM

Is he using XSE 1.0.0 or 1.1.1?? sorry im new here XD

sky_queen3 November 24th, 2009 2:33 AM

I love this tutorial, it helps me a lot. :)

Sierraffinity November 24th, 2009 4:50 PM

Quote:

Originally Posted by Necrid (Post 5345611)
Is he using XSE 1.0.0 or 1.1.1?? sorry im new here XD

I'm using the latest XSE, 1.1.1. At the top of the thread, it says to update to the latest version.

Necrid November 24th, 2009 9:11 PM

What is wrong with this script :( when i click on the npc i hear the sound of the messageboxx but the message box itself doesnt show here is the script

#dynamic 0x6B0A02
#org @start
msgbox @hello 0x2
end

#org @hello
= Hello\nMy name is Battousai

Chevalier November 27th, 2009 7:11 PM

Great guide! Huge help on countless problems except for a few things.

The most obvious problem that I've encountered is having to do with movement.

Example:
Overworld tries to pass Person A, Person A stops Overworld *doesn't lead him anywhere or makes him take a step back* and engages in a conversation. Then Person A walks off screen.
This event only happens once.

I realize that some of it is explained but as far I've read, and I've read the guide thoroughly, it doesn't mention how to go about this.

Thanks in advance.

Jemzx November 28th, 2009 7:21 PM

thank you, nice tutorial!


All times are GMT -8. The time now is 8:11 PM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.