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

Sierra's MEGA-HUGE XSE Scripting Tutorial

Okay, I fixed my problem on my own xD

But now I've got another Problem
I tried the "givepokemon" Script but it didn't work.
XSE said that there is missing something at the "compare LASTRESULT 0x1" part.
But what's missing there???
 
Last edited:
Don't know why but it doesn't work for me...
I wanted to make a sign so I made this:
Code:
'---------------
#dynamic 0x800159


#org @start
msgbox @sign 0x3
end

#org @sign
= Hi!
When I clicked the Sign there didn't appear any text...

Okay, I fixed my problem on my own xD

But now I've got another Problem
I tried the "givepokemon" Script but it didn't work.
XSE said that there is missing something at the "compare LASTRESULT 0x1" part.
But what's missing there???
Replace LASTRESULT with 0x800D.
 
Replace LASTRESULT with 0x800D.

To avoid stuff like that, will you please write at the very beginning of the tutorial, to make sure the reader is using the latest XSE and that they have extracted all the files or else this tutorial may not be compatible.
 
Okay, thank you!!! ! :D

Hmmm...
Well the Script was okay but i don't get any Pokemon :D
I talk to a guy but he always says "Are you taking good care of Charmander".
Is it because I already have a Charmander?
What do i have to change??
 
Last edited:
Okay, thank you!!! ! :D

Hmmm...
Well the Script was okay but i don't get any Pokemon :D
I talk to a guy but he always says "Are you taking good care of Charmander".
Is it because I already have a Charmander?
What do i have to change??
Change the flag numbers. That was just an example flag #.
 
Question, does #dynamic 0x<offset> overwrite the designated offset? Or does it look for free space starting from the offset?
 
Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
 
Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.

All the script should be is:

#remove 0xoffset


nothing else.
 
Meh. I go to compile it to the ROM, and it gives me "No dynamic start offset specified" after I take out the #dynamic command.
 
I made this Script

Code:
#dynamic 0x803E28

#org @start
checkflag 0x209
if 0x1 goto @done
msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @take
msgbox @2 0x2
release
end

#org @take
givepokemon 0x382 0x5 0x199 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x209
msgbox @4 0x5
compare 0x800D 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
clearflag 0x209
release
end

#org @1
= [black_fr]There's a Pokeball on the table\nDo you want to take it?

#org @2
= [black_fr]You left the Pokeball on the table

#org @3
= [black_fr]You received Aron

#org @4
= [black_fr]Would you like to give a\nnickname to Aron?

#org @5
= DREW: Please take care of\nAron!

At first there's the Question if I take the Pokeball or not. if I click "no" then "You left the Pokeball on the table" appears and nothing else happens.
But if I click at "Yes" my game just freezes -.-
I don't know why.
 
ShinyBlaziken, there is an error in your givepokemon command. The values must be in hex.
 
You can use Windows Calculator Advance Mode or XSE Calc.
382 in hex = 17E and 199 in hex = C7.
 
Its not a script. Its a type of signpost. (06 Hidden Item)
 
Hi,
I've got another Problem now xDDD

I made a Script but there appears the message "This tree looks like it can be CUT down" when I'm talking to the Person.

Here's my script

Code:
#dynamic 0x8001F6

#org @start
lock
faceplayer
msgbox @speak 0x2
applymovement 0x4 @move
waitmovement 0x0
release
end

#org @speak
= [blue_fr]LINDSAY: Hi, this is my farm.\nI've got a lot of Pokemon here\pMy favorite is...\n[black_fr]JOHN: Lindsay!\pDon't say any other word!/n[blue_fr]LINDSAY: Oh..., Gotta go!

#org @move
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x0
#raw 0xFE
 
Heya. first of all: nice tut! ;D

I need a flexible kind of warp.
A warp with vars in it like this:
warp 0x7005 0x7006 0x7007 0x0 0x0
Is it possible? because this gives me errors :/

is there a way to use vars in warps?
Thanks in Advance
 
Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.

Still looking for help with this. Thanks in advance.
 
I'm not saying anyone's breaking rules here, but there is a script help thread, you know.

I've never really taken the time to comment on this tutorial (or did I? I dunno. :P), so I think I will.

Overall, it's just a big translation of thethethethe's PokeScript tutorial, so really, it's not completely yours, but you gave credit, so I've no problem with that.

All in all, there are a few errors here and there, but it's very useful, and even I, the author of a different XSE tutorial, find myself looking at this.
 
Back
Top