• 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 Conquest 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.

[TehTehTehTeh's] XSE Basic/Medium tutorial

Status
Not open for further replies.
Do you know how to make a legendary battle script?

An example is a Mew on the map, when you talk to it a battle starts.

I really want to know how to do this, but I can't find any info on it anywhere.
 
Sorry for that dumb thread about my script not working, that guy is a screwball, take out the parts after the " ' " in my guide!
 
Do you know how to make a legendary battle script?

An example is a Mew on the map, when you talk to it a battle starts.

I really want to know how to do this, but I can't find any info on it anywhere.
Its the same as wildbattle(Just change the PKMN #),just look at thethethethethe's(did I type too many the's?)tut and change it into XSE.(Example $-into-@)
Unless theres a XSE tut with wildbattle, then check that out.
 
hey hockey panda.i have asked a mod to remove my thread. I did not make the thread to insult you or seth's tutorials. I was just trying to help by pointing out some flaws but it appears i was wrong. so forget about it ok?
 
hey hockey panda.i have asked a mod to remove my thread. I did not make the thread to insult you or seth's tutorials. I was just trying to help by pointing out some flaws but it appears i was wrong. so forget about it ok?

Ok, sounds good, hope you get everything sorted out, talk to me if you need any help
 
how do i use flags? i don't understand
 
how do i use flags? i don't understand

Basic flag commands

Code:
setflag 0x200
most of the time these 2 go together
Code:
checkflag 0x200
if b_true goto @blabla

Code:
clearflag 0x200

0x200 = the flag number, 200 can be any number for the flag, beware of numbers below 200.
 
I have a question: If you have to go to the prof. before leaving the town would it go like this

#Dynamic 0x offset

#ORG @start
lock
faceplayer
setflag 0x200
if b_true goto @first pokemon
message @can't go
boxset 6
release
end

#ORG @can't go
= I shouldn't go out without a pokemon
release
end

#ORG @first pokemon
=PROF: Here \v\ho1\ is your pokemon
givepokemon 1 5 0 0 0 0
release
end
 
I have a question: If you have to go to the prof. before leaving the town would it go like this

#Dynamic 0x offset

#ORG @start
lock
faceplayer
setflag 0x200
if b_true goto @first pokemon
message @can't go
boxset 6
release
end

#ORG @can't go
= I shouldn't go out without a pokemon
release
end

#ORG @first pokemon
=PROF: Here \v\ho1\ is your pokemon
givepokemon 1 5 0 0 0 0
release
end

No, this would not be correct, you are missing some key parts.

First of all:

Setflag = where you set your flag

CheckFlag = checking for the flag
^After this you do the "if b_true goto @blabla" so it looks if the flag is set yet.

Clearflag = clearing the flag that may not be in use anymore or anything that you would clear it for.
 
For some reason every time when i talk to the person which i coded, the words are always blank... can anyone help me?
 
oh sorry...
well i actually copied and paste the codings from the tut but it still won't work
#Dynamic 0x2FB51C
#Org @talk
Lockall
Faceplayer
Msgbox @hi
BoxSet 0x6
Release
End
#Org @hi
= hi.
 
oh sorry...
well i actually copied and paste the codings from the tut but it still won't work
Spoiler:

If you want to use lockall, you need to use releaseall as well. So, you should use lock instead in this case.

Anyway, what offset gave you XSE once you compiled the script?
Did you try decompiling that script?
Also what offset did you assign to the person/object that should run the script once talked to?
 
um... i don't know how to decompile the script
sometimes it gives me a new offset
and i just press copy and paste it in advance map
 
When you compile it what offset do you paste into A-Map? Is it @talk or @hi?

If it's @hi it's the wrong one. Simply as that. But since it's not your case, could you show us the offset you used last time?

Also, to decompile a script simply open the ROM, paste the offset in the textbox near the "Offset" label in the toolbar and then press the Decompile button near there.
 
Status
Not open for further replies.
Back
Top