• 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 places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Sierra's MEGA-HUGE XSE Scripting Tutorial

bian

.............
147
Posts
16
Years
Thanks for the answer.Sorry because i just can't find that script in XSE even when i'm searching in google, and i don't even know that it is included in the tutorial already XD. I'm just lazy to read it all.

and no, i don't need someone to correct my script since i'm just starting,i only want to know what script it is.

Anyway,thanks for the answers,i really appreciate it!
 

madarawolf

Espada Cuarta
56
Posts
15
Years
  • Seen Jul 23, 2023
here is my script. It wont let me add it to my hack. so just tell me what I need to change o.k. thanks.

#dynamic 0x800010

#org @start
msgbox @sign 0x3
textcolor 0x02
end
#org @hello
= Welcome To Mt. Butt Rape. \lDon't lean against the walls.
 

1KewlDude

Really busy... STRESS!!
124
Posts
16
Years
here is my script. It wont let me add it to my hack. so just tell me what I need to change o.k. thanks.

#dynamic 0x800010

#org @start
msgbox @sign 0x3
textcolor 0x02
end
#org @sign
= Welcome To Mt. Butt Rape. \lDon't lean against the walls.
Your first pointer didn't actually point to anywhere. Also, I don't know if you can do text colour that way, but you should press the debug button at the top and you should get a message if it's wrong.

Your hack sounds good by the way... LOL!
 

madarawolf

Espada Cuarta
56
Posts
15
Years
  • Seen Jul 23, 2023
Thanks for the help and the compliment. now I just need to make one more script and Mt. Butt Rape will be finished. I need a little help on that one too.
alright so the script I want is going to pop up when you step on it then you can still move. how would I do that? and if it helps the message will be, You just got anally raped!!!
 

Full Metal

C(++) Developer.
810
Posts
16
Years
...*offtopic* and why would you incorporate this into a pokemon hack?...wow the world is really getting less and less sensible of their actions...
 
19
Posts
15
Years
  • Age 32
  • Seen Jun 30, 2009
....Yeeah...

Anyway, I was wondering. I didn't see this in the tutorial, but maybe I just read over it on accident. However, how would one go about allowing the player to use an HM? Like, after a battle. Or just in general, really.
 

Sonikku17

Wanderer
18
Posts
15
Years
  • Age 31
  • Seen Aug 20, 2015
Hey, is there any chance you could make a tutorial for move tutor scripts? That would be wonderful!
 

Knomez

lolwut...
17
Posts
15
Years
  • Seen Jul 21, 2009
Very nice tutorial, now i actually understand scripting, before it was just a bunch of jumbled words o-o...
 
43
Posts
15
Years
Love the tutorial! Its like most of the scripting commands and more in one tutorial! Nice work.
 
32
Posts
15
Years
  • Seen Feb 2, 2012
i cant hide the sprite i talk to Please help this is the Script i was using

Note: its a spoiler for my New Pokemon game
another Note: Not like any1 cares :P


#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @text 0x6
release
end
#org @text
=Hey im Lance , I no you don't know me \pBut i have been watching\n you \pand your pokemon grow \pThere are some crazy people\nout there \pIn fact there are 10 people \pwho are trying to create a\nnew pokemon\pThere going to call it Suicune\pI need you to help me stop this\pThere Planing to use\nthis Pokemon\pfor evil , to take over\nthe world \pwith this pokemons power it wont be hard\pWe will meet again , when it is time
hidesprite 0x05







Edit:Some one Please help with the Hidesprite ^ cause its not working :(


and also can some one give me a Better example for Giving an Egg cause he just put giveegg 0x115
i dont get that can some one give me an Example with every command

like

#dynamic 0x80000
#org @start
giveegg 0x155



is that all i put or something

or are these commands spousto be in the SCript

checkflag
msgbox
setflag
etc.


please give me an example Script for giving an egg :)
 
Last edited:
6
Posts
15
Years
  • Seen Mar 7, 2011
OK on the wild battle script (lets use yours)
Code:
#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x6 0x0 0x1E 0x8B 0x0
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

#org @1
= CHARIZARD: Raaarrgghh!
So I change the stuff I need to change But when I save and go to compile it says
too many permiters on line 8
Code:
wildbattle 0x6 0x0 0x1E 0x8B 0x0
the correct number is 3.What does this mean?
 

PokemonBroski

I'm Back for Good!
96
Posts
15
Years
theres a problem with your give pokemon script
whenever I put it in the game and I try to talk to the person they just sit there and nothing pops up
 

jcys810

Call me Justin, J or Impulse
11
Posts
15
Years
This is a great tutorial, it ought to help me should I ever decide to make a hack of my own!

Thanks alot, bookmarked!
 

Blackpanfa

ROM Buster
26
Posts
15
Years
thanks to you the applymovement works!!! One problem though, I only want it to happen ONCE: here is my script for it.
Code:
#Dynamic 0x80005D

#org @start
checkflag 0x900
if 0x1 goto @end
checkflag 0x828
if 0x0 goto @move
if 0x1 goto @end
setflag 0x900
end

#org @move
applymovement 0xFF @back
waitmovement 0x0
release
end

#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0xFE

#org @end
clearflag 0x900
release
end

Thanks.
 

Sierraffinity

Desperately trying to retire from ROM hacking
1,069
Posts
16
Years
thanks to you the applymovement works!!! One problem though, I only want it to happen ONCE: here is my script for it.
Code:
#Dynamic 0x80005D

#org @start
checkflag 0x828
if 0x0 goto @move
[B]checkflag 0x828[/B]
if 0x1 goto @end
end

#org @move
applymovement 0xFF @back
waitmovement 0x0
release
end

#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0xFE

#org @end
clearflag 0x900
release
end
Thanks.
Try that and see if that's what you want.

OK on the wild battle script (lets use yours)
Code:
#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x6 0x1E 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

#org @1
= CHARIZARD: Raaarrgghh!
So I change the stuff I need to change But when I save and go to compile it says
too many permiters on line 8
Code:
wildbattle 0x6 0x0 0x1E 0x8B 0x0
the correct number is 3.What does this mean?
Thanks for catching that. It's been fixed.
 
Last edited:

dogz

Hacker
9
Posts
15
Years
  • Seen Jul 2, 2010
can anyone tell me whats wrong with this script

#dynamic 0x80005b

#org @start
lock
faceplayer
checkflag 0x829
if 0x0 goto @pokedex
if 0x1 goto @tobad
release

#org @pokedex
setflag 0x829
msgbox @here
boxset 0x6
release
end

#org @tobad
msgbox @noway
boxset 0x6
end

#org @here
= heres a pokedex for you

#org @noway
= now leave me alone!
 

Sierraffinity

Desperately trying to retire from ROM hacking
1,069
Posts
16
Years
can anyone tell me whats wrong with this script

#dynamic 0x80005b

#org @start
lock
faceplayer
checkflag 0x829
if 0x0 goto @pokedex
checkflag 0x829
if 0x1 goto @tobad
release

#org @pokedex
setflag 0x829
msgbox @here
boxset 0x6
release
end

#org @tobad
msgbox @noway
boxset 0x6
end

#org @here
= heres a pokedex for you

#org @noway
= now leave me alone!
I've fixed it for you. now leave me alone! :P lol
 

Curt_09

Also known as Chozo
557
Posts
15
Years
Help

Okay, I've compiled the script, but every time I go to try it out on the ROM, it only makes it to the first movement and then freezes...

#dynamic 0x800000

#org @start
checkflag 0x999
if 0x1 goto @end
applymovement 0x1 @mom
waitmovement 0x1
msgbox @1 0x2
applymovement 0x1 @mum
waitmovement 0x1
setflag 0x999
end

#org @end
end

#org @mom
#raw 0x62
#raw 0x01

#org @1
= [red_fr]Good morning [player]! \nAre you ready to beat [rival]?

#org @mum
#raw 0x02
 

machomuu

Stuck in Hot Girl Summer
10,507
Posts
15
Years
Okay, I've compiled the script, but every time I go to try it out on the ROM, it only makes it to the first movement and then freezes...

#dynamic 0x800000

#org @start
checkflag 0x999
if 0x1 goto @end
applymovement 0x1 @mom
waitmovement 0x1
msgbox @1 0x2
applymovement 0x1 @mum
waitmovement 0x1
setflag 0x999
end

#org @end
end

#org @mom
#raw 0x62
#raw 0x01

#org @1
= [red_fr]Good morning [player]! \nAre you ready to beat [rival]?

#org @mum
#raw 0x02

#dynamic 0x800000

#org @start
checkflag 0x999
if 0x1 goto @end
applymovement 0x1 @mom
waitmovement 0x1
msgbox @1 0x2
applymovement 0x1 @mum
waitmovement 0x1
setflag 0x999
end

#org @end
end

#org @mom
#raw 0x62
#raw 0x01
#raw 0xFE

#org @1
= [red_fr]Good morning [player]! \nAre you ready to beat [rival]?

#org @mum
#raw 0x02
#raw 0xFE

The changes are in bold.
 

Curt_09

Also known as Chozo
557
Posts
15
Years
Thanks, that did the trick!
Umm... I'm having a prob with that flag not setting, or something... After the event happens and I walk onto that tile again, the game freezes. If I leave the room and come back and step on the tile, the event happens again...
 
Back
Top