Sierra's MEGA-HUGE XSE Scripting Tutorial Page 12

Started by Sierraffinity December 26th, 2008 6:55 PM
  • 776138 views
  • 1232 replies
Male
Somewhere ON the Rainbow
Seen January 4th, 2014
Posted September 9th, 2009
1 posts
13.8 Years
Map connecters are the first I chose to learn XD
Bored with the old stuff. Need new graphics... Still, I am going to work on my Pokemon Deep Sea.

 
I've been working on a ton of trains in <a href="http://www.roblox.com/User.aspx?ID=11304458&userid=11304458&rbx_source=ambassador&rbx_medium=Direct&rbx_campaign=ambpro">roblox</a>

Haku.

(FLAME)...H....A...K..U

Male
Singapore :D
Seen July 22nd, 2011
Posted June 21st, 2011
385 posts
15.4 Years
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?

Cello

Tonight!

Age 32
Male
get the mascot involved
Seen May 12th, 2012
Posted April 17th, 2012
1,498 posts
13.7 Years
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?
Yeah Football Fan!
Male
Seen November 23rd, 2009
Posted September 29th, 2009
5 posts
13.7 Years
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!
Male
Internet
Seen December 21st, 2015
Posted February 9th, 2014
21 posts
13.7 Years
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

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
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...)
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
Male
Internet
Seen December 21st, 2015
Posted February 9th, 2014
21 posts
13.7 Years
ok, thanks for the help!!!!

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?

DawnRyder

I cannot believe I'm back -.-

Seen November 12th, 2011
Posted October 22nd, 2009
79 posts
13.8 Years
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.
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.

Sorry guys, but I'm leaving Pokécommunity. I just don't have time for it. As of right now you will no longer be able to contact me.

score_under

Inactive; Former ROM hack tool author, ❤️

Age 30
Female
Kent, England
Seen December 7th, 2022
Posted August 10th, 2010
525 posts
17.8 Years
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. ;)
Plz not to PM me, I don't come here often enough. Email if you need me

ME0W

Still busy working on my hack.

Age 27
Male
Seen October 15th, 2009
Posted October 15th, 2009
22 posts
13.7 Years
Thanks for the guide again! Now, I can use some coomands
that I never knew I can use!
Look at my new Title Screen!

Not bad don't you think?
My other one went nuts!
So I made a new one!

Quote:
Spoiler:

One of my favorite

quotes!


Mr. Flak: Oh, and Mr. Larkin, perhaps you'd
like to share with the rest of the class,
Patrick Henry's immortal last words.

Link Larkin: Kiss my ASS?

Man I love that!

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
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
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
Male
Seen September 6th, 2013
Posted March 17th, 2010
31 posts
13.6 Years
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.

Sierraffinity

Retiring from Pokémon ROM hacking

Age 26
she/her
Somewhere the rains of Africa can be blessed
Seen January 8th, 2023
Posted December 26th, 2022
1,071 posts
15.4 Years
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.
Restarted and revamped.

Public alpha out now!
Male
USA
Seen November 27th, 2010
Posted December 16th, 2009
21 posts
13.5 Years
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.
Dat New New Is Here



Check The Thread