• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

jakerman999

looking for spriters
52
Posts
16
Years
problem with a script

can anyone see what is wrong in this script?
(script that i found is in spoilers, only the code I wrote is visible)

#org 0x168BE5
lock
faceplayer
checkflag 0x800
if 0x0 goto 0x8168D00
Spoiler:


'-----------------------
#org 0x168D00
checkflag 0x291
if 0x1 goto 0x8168D64
return

Spoiler:


'-----------------------
#org 0x168D64
msgbox 0x818D49C '"MOM: PROF.OAK gave you a pokémon?\n..."
givepokemon 0x55 0x5 0x22 0x0 0x0 0x0
setflag 0x800
release
end

Spoiler:


#org 0x18D49C
= MOM: PROF.OAK gave you a pokémon?\nI better help out to.



the script compiles fine, it just doesn't do anything when I talk to 'mom'
any help?
 
15
Posts
15
Years
  • Seen Aug 4, 2010
Does anyone have the basic wildpokemonbattle script for xse...and can you explain it a bit.including the raw and were to put the person num...or how to find the person number..but i do need the script.
 

dudez

...
17
Posts
16
Years
  • Seen Apr 29, 2011
so it works to use movements like this

#raw 0x10 0x13 0xFE

instead of this?

#raw 0x10
#raw 0x13
#raw 0xFE
 

KhaosKnight

The 1 and only Khaotic Hacker
355
Posts
16
Years
  • Seen May 28, 2015
Here is an edited script with a dude that gives you the National Dex in Emerald.

Code:
'-----------------------
#org 0xE3D07E
lock
faceplayer
msgbox 0x8E3D08D '"Here you may need this on your\njou..."
callstd 0x6
special 0x1F3
release
end
 
'---------
' Strings
'---------
#org 0xE3D08D
= Here you may need this on your\njourney. The Prof. is so\lscatter-brained he forgot to\limplement this feature in your dex.\lIt's the National Dex, use it to\lkeep a record of all your pokemon\lecounters.


i need some help with some movements...there is a lab assistant in Birch's lab...i need him to walk up to you when you are attempting to leave the lab after you get the Hoenn dex from Birch.(just like how the assistant did in GSC when giving you the pokeballs, i want that same effect but with the National Dex)

And after he gives it to you, when you talk to him again he says "I hope you are making good use of that National Dex"
 

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
It seems like so far, basic scripts are almost exactly like pokescript, only now it is @ instead of $ and there is a dynamic offset at the beginning... Is there any major differences?
 

mattattack

Huh, Son?
184
Posts
15
Years
Hi I'm having a problem scripting every time I click on the guy or pokemon to activate the script it won't active meaning it won't give the the blastoise or I can't fight Ho-oh (note: It was a test run)

#dynamic 0x3B4DF4

#org @emergencygivepokemon
lock
faceplayer
message @give
boxset 6
givepokemon 9 70 0 0 0 0
release
end

#org @give
= Quick!/pTake Blastoise to kill/nHo-oh!

Ho-Oh script:

#dynamic 0x3B4DF5

#org @bossfight
lock
faceplayer
message @Ho-Oh
boxset 6
cry 0xA1 250
nop
nop
wildbattle 250 70 0 0 0 0
fadescreen 0
#raw 53 0F 80
setflag 200
release
end

#org @Ho-Oh
= HO-OH: KYOOOO



and also I can't press the compile button because it won't come up, but the debug thing next to it when I click on it it compiles

also I downloaded this from studio pokemon XSE
 

Makorin

Ex-ROM Hacker
337
Posts
16
Years
Hi I'm having a problem scripting every time I click on the guy or pokemon to activate the script it won't active meaning it won't give the the blastoise or I can't fight Ho-oh (note: It was a test run)

#dynamic 0x3B4DF4

#org @emergencygivepokemon
lock
faceplayer
message @give
boxset 6
givepokemon 9 70 0 0 0 0
release
end

#org @give
= Quick!/pTake Blastoise to kill/nHo-oh!

Ho-Oh script:

#dynamic 0x3B4DF5

#org @bossfight
lock
faceplayer
message @Ho-Oh
boxset 6
cry 0xA1 250
nop
nop
wildbattle 250 70 0 0 0 0
fadescreen 0
#raw 53 0F 80
setflag 200
release
end

#org @Ho-Oh
= HO-OH: KYOOOO



and also I can't press the compile button because it won't come up, but the debug thing next to it when I click on it it compiles

also I downloaded this from studio pokemon XSE
If u havent already figured it out...

save your scripts then go to tools - batch compiler - ... and choose ur rom
then click browse and go to the folder with your scripts in it
then check all the script u want 2 compile
then press compile and itll give you the offsets to put in A-map
then test it and it should work.
 

Iken

The OTHER other white meat.
17
Posts
15
Years
Argh ._.''

ok, here's my problem.

I'm trying to make someone give me running shoes.
i know my script works, but i'll use the build in Free Space finder
in Advance Map (1.92) And then it'll come up with a list of like 8 offsets.

i'll make a person event, and then type their script offset as one of the
ones from FSF.

then i'll edit the script in XSE and press compile, then the window pops up,
i press close, and then when i go into A-map, and try to re-open the script
it's empty.

Does anyone know what i'm doing wrong....?

*desperate-ish*
 

Iken

The OTHER other white meat.
17
Posts
15
Years
On top of my last post... x_x''...

I'd like to know if anyone has a list of flags for
Fire red/Leaf green and Ruby/Sapphire

i can't seem to find one D:
 
Last edited:

1KewlDude

Really busy... STRESS!!
124
Posts
16
Years
Argh ._.''

ok, here's my problem.

I'm trying to make someone give me running shoes.
i know my script works, but i'll use the build in Free Space finder
in Advance Map (1.92) And then it'll come up with a list of like 8 offsets.

i'll make a person event, and then type their script offset as one of the
ones from FSF.

then i'll edit the script in XSE and press compile, then the window pops up,
i press close, and then when i go into A-map, and try to re-open the script
it's empty.

Does anyone know what i'm doing wrong....?

*desperate-ish*
I'm finding that really hard to understand... sorry, I'm tired. In XSE you start with a dynamic offset:
Code:
#dynamic 0x[offset]
That's the only time you need to use an offset from FSF. Then you need to have a pointer which starts the script... normally:
Code:
#org @start
Compile the script and you should be given an offset, press copy and paste it into A-Map.

I hope that helped.
On top of my last post... x_x''...

I'd like to know if anyone has a list of flags for
Fire red/Leaf green and Ruby/Sapphire

i can't seem to find one D:
I copied this from thex4's tutorial:
Spoiler:

Please don't double post, edit your last one instead.
can i have a link to a complete XSE tutorial
Sorry, but there isn't one... You should thethethethe's tut and translate it into XSE using one of the XSE tutorials.

Good luck.
 

1KewlDude

Really busy... STRESS!!
124
Posts
16
Years
???umm ok... how do i do that
I know this is impractical, but you should download Pokescript and use thethethethe's tut (because it's really in-depth) to learn the language and then start using XSE because as far as I know there are no good tuts on XSE.

Sorry if that didn't help.
 
Status
Not open for further replies.
Back
Top