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

ZxC Mirai

Huh?
267
Posts
12
Years
I already try and nothing happens when i Compile it and then Copy the @Start
Offset!!Nothing Happens too!

I already try and nothing happens when i Compile it and then Copy the @Start
Offset!!Nothing Happens too!
 
Last edited:

aperso

Please feel free to VM random fruit types.
171
Posts
13
Years
I already try and nothing happens when i Compile it and then Copy the @Start
Offset!!Nothing Happens too!

I already try and nothing happens when i Compile it and then Copy the @Start
Offset!!Nothing Happens too!

did you type it in XSE like this:
#dynamic 0x(FF offset)
#org @start
lock
faceplayer
msgbox @pointer 0x6 (or you can use any of the following)(1,2,3,4,5,6,0,A(emerald only))
release
end

#org @pointer
=(text goes here)
is that helpful? =)
 

Satoshi Ookami

Memento Mori
14,254
Posts
15
Years
Here's detailed walkthrough :D
1) Write script (I suppose you already did that)
2) Compile it (Tools - Compile in XSE)
3) Copy the offset that XSE shows for @start (it's 6 digit number in hexadecimal form which means also A, B, C, D, E, F can be there)
4) Paste that offset into "Offset" bar in Advanced-Map. In offset bar of person or tile script =)
It's all =)
 
11
Posts
14
Years
  • Seen Dec 14, 2013
I have a question..

is it possible to make a wild battle can't be avoided?
i mean, we can't use the "Run" command in battle.

For example :
i want to make a script to battle pidgey and you can't run from the battle...
So you have to KO the pidgey in order to make the script continue.

Please someone help me and tell me how, thanks
 

aperso

Please feel free to VM random fruit types.
171
Posts
13
Years
I have a question..

is it possible to make a wild battle can't be avoided?
i mean, we can't use the "Run" command in battle.

For example :
i want to make a script to battle pidgey and you can't run from the battle...
So you have to KO the pidgey in order to make the script continue.

Please someone help me and tell me how, thanks

look through the script in r/s/e where you pick a pokemon out of treeko torchic and mudkip. it might show you how to. but the bad news is that it'll flee if you pokemon's hp gets low.
 
11
Posts
14
Years
  • Seen Dec 14, 2013


look through the script in r/s/e where you pick a pokemon out of treeko torchic and mudkip. it might show you how to. but the bad news is that it'll flee if you pokemon's hp gets low.

Well... the one from R/S/E use "special" flag from the rom,
and the problem is i'm hacking a Fire Red ROM :(

but still.. thanks for helping aperso :)
 

aperso

Please feel free to VM random fruit types.
171
Posts
13
Years
Well... the one from R/S/E use "special" flag from the rom,
and the problem is i'm hacking a Fire Red ROM :(

but still.. thanks for helping aperso :)

oh well exept for the r/s/e way there's no way of doing it. i'll find out if it can be done with asm though
 
2
Posts
12
Years
  • Seen Jun 21, 2011
Is there a way in scripting to edit the Start Menu? (changing what the Pokedex/Pokemon/Save does and word)
 

Satoshi Ookami

Memento Mori
14,254
Posts
15
Years
I have a question..

is it possible to make a wild battle can't be avoided?
i mean, we can't use the "Run" command in battle.

For example :
i want to make a script to battle pidgey and you can't run from the battle...
So you have to KO the pidgey in order to make the script continue.

Please someone help me and tell me how, thanks

Oh okay, thanks for the response, :( I want to change more than the words
I think both of you need ASM for your requests...
At least for Menu changes yes.
But the wild battle that cannot be avoided can be done (not really done, guess we can say it's way that can simulate it).
You can make wild battle as trainer battle with pokemon sprite.
 
11
Posts
14
Years
  • Seen Dec 14, 2013
But the wild battle that cannot be avoided can be done (not really done, guess we can say it's way that can simulate it).
You can make wild battle as trainer battle with pokemon sprite.

Well.. i've think about it too.. but if you run, there'll be a text that say:
"No running from Trainer Battle" <-- lol how to change that ?

And from the name too.. it'll be "Trainer Pidgey wants to Battle!" lol..

Oh well.. anyway.. thanks Ash493 :)

I've got 2 things on my mind now.. I hope there'll be a solution soon :(
1) How to make wild battle unavoidable / we can't run from battle
2) How to make the hero use bike over water (by hack, not by cheat/GS/AR)
 

Banjora Marxvile

hOI!!!!!! i'm tEMMIE!!
3,496
Posts
15
Years
  • Age 30
  • Seen Apr 20, 2024
Well.. i've think about it too.. but if you run, there'll be a text that say:
"No running from Trainer Battle" <-- lol how to change that ?

And from the name too.. it'll be "Trainer Pidgey wants to Battle!" lol..

Oh well.. anyway.. thanks Ash493 :)

I've got 2 things on my mind now.. I hope there'll be a solution soon :(
1) How to make wild battle unavoidable / we can't run from battle
2) How to make the hero use bike over water (by hack, not by cheat/GS/AR)


Well, actually, you could use a text editor to replace that text tomake it say something different, couldn't you, to make it more normal (such as "name here" is blocking your way", and "Cannot run now")
 

aperso

Please feel free to VM random fruit types.
171
Posts
13
Years
Well.. i've think about it too.. but if you run, there'll be a text that say:
"No running from Trainer Battle" <-- lol how to change that ?

And from the name too.. it'll be "Trainer Pidgey wants to Battle!" lol..

Oh well.. anyway.. thanks Ash493 :)

I've got 2 things on my mind now.. I hope there'll be a solution soon :(
1) How to make wild battle unavoidable / we can't run from battle
2) How to make the hero use bike over water (by hack, not by cheat/GS/AR)
well i could tell you the second question but it has nothing to do with scripting.
 

Satoshi Ookami

Memento Mori
14,254
Posts
15
Years
Well.. i've think about it too.. but if you run, there'll be a text that say:
"No running from Trainer Battle" <-- lol how to change that ?
Banjora already answered that. =D

And from the name too.. it'll be "Trainer Pidgey wants to Battle!" lol..
You can change one of the trainer classes (through A-Text for example) to e.g. Pokémon =)

I've got 2 things on my mind now.. I hope there'll be a solution soon :(
1) How to make wild battle unavoidable / we can't run from battle
2) How to make the hero use bike over water (by hack, not by cheat/GS/AR)
1) We pretty much answered this =D
2) Just make the water place "C" in movement permission =)



well i could tell you the second question but it has nothing to do with scripting.
You could've told him instead of this post =D
 
11
Posts
14
Years
  • Seen Dec 14, 2013
Banjora already answered that. =D

You can change one of the trainer classes (through A-Text for example) to e.g. Pokémon =)

Yeah! I forgot about that XD Thanks Banjora and Ash493 :)
But i have one more problem with this..
When the battle start, the Trainer sprite (Pidgey for example)
will sent out another Pidgey from a Pokeball..


it will looks like this:
WILD PIDGEY would like to battle!
WILD PIDGEY sent out PIDGEY!
<-- this is the problem...

1) We pretty much answered this =D
2) Just make the water place "C" in movement permission =)

Hmm.. i think that's not it..
because what i want is i can move over water by bike..
and not by walk..

because the movement "C" will also make the hero walk over water..
 

Satoshi Ookami

Memento Mori
14,254
Posts
15
Years
it will looks like this:
WILD PIDGEY would like to battle!
WILD PIDGEY sent out PIDGEY!
Well yes, if you are that thorough about things then you have to wait if someone else knows how to do it directly.


Hmm.. i think that's not it..
because what i want is i can move over water by bike..
and not by walk..

because the movement "C" will also make the hero walk over water..
Of course :D You cannot bike somewhere you cannot walk :D (with the exceptions of special tiles in Emerald/Ruby/Sapphire)
And if your map has biking allowed it's all cool =D
 
21
Posts
14
Years
  • Seen Mar 26, 2021
Hmm.. i think that's not it..
because what i want is i can move over water by bike..
and not by walk..

because the movement "C" will also make the hero walk over water..

how about you overwrite the surfing sprite with the biking sprite?
 
11
Posts
14
Years
  • Seen Dec 14, 2013
how about you overwrite the surfing sprite with the biking sprite?

Well.. before you surf you have to have a Pokemon that know surf,
and right before you start surfing, the pokemon sprite will appear...
(just like any other HM..)

Of course :D You cannot bike somewhere you cannot walk :D (with the exceptions of special tiles in Emerald/Ruby/Sapphire)
And if your map has biking allowed it's all cool =D

Ah.. so it's impossible ? :(
But there's a gameshark that can make it do so.. :(
i though the gameshark can be changed with certain script.. but oh well..
Here's the gs code (maybe it can help.. or maybe you can try) :
Spoiler:


My plan is to make a jetboard that can pass the land and the sea :D
*jetboard is the bike of course XD

I hope there'll be solution to it :)
And lastly i'm sorry if i'm going a bit out of topic :(
 

Rickk12345

Wants to Map and Sprite!!
60
Posts
13
Years
Hey

I used to be a scripter. Then I was gone, now I'm back and trying to get back to scripting. Only, when i open A-Map, at the script offset of a person event, there are 2 extra characters! Normally it would be something like: $800000 but now it's $80000000

The worst thing is that XSE doesn't give 2 extra characters, so I can't implement my scripts, any ideas? I have A-Map 1,95 btw.
Thanks
 
Back
Top