Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] diegoisawesome's MEGA-HUGE XSE Scripting Tutorial

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Reply
 
Thread Tools
  #151    
Old May 24th, 2009 (01:41 AM).
Vince_27's Avatar
Vince_27 Vince_27 is offline
 
Join Date: May 2009
Location: France
Gender: Male
Nature: Calm
Posts: 80
Make sure you have XSE 1.0.1.
If it's the case I can't help you.
__________________
Hacks I support:







Reply With Quote
  #152    
Old May 24th, 2009 (10:16 AM).
onyx79's Avatar
onyx79 onyx79 is offline
Red Dead Revolver
 
Join Date: Jan 2009
Location: Orange Islands (=
Gender: Male
Nature: Modest
Posts: 503
nice tut! what is a level script?
Reply With Quote
  #153    
Old May 24th, 2009 (06:29 PM).
notbob's Avatar
notbob notbob is offline
ZE ULTIMATE POWA
 
Join Date: Apr 2009
Location: Woodridge, IL
Gender:
Nature: Mild
Posts: 80
Quote originally posted by Mishiimoo:
I have an error on making a signpost.



The error is : type mismatch on line 4. Missing dynamic label.

I've been trying everything, I even used your scripts almost word for word. How do I fix this?
Change @chicken to @1, it should work.
__________________
My Newest Hack, Pokemon Dark Shadow Version:
http://www.pokecommunity.com/showthread.php?t=179246


Reply With Quote
  #154    
Old May 25th, 2009 (02:26 AM).
Pokepal17's Avatar
Pokepal17 Pokepal17 is offline
More cowbell~
Silver Tier
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Posts: 1,517
Quote originally posted by onyx79:
nice tut! what is a level script?
A script which activates as soon as you enter a map.
__________________
Pokémon Stardrop
Reply With Quote
  #155    
Old May 25th, 2009 (10:12 AM).
Pokemon12345678901 Pokemon12345678901 is offline
Good Bye
 
Join Date: Mar 2009
Nature: Quiet
Posts: 225
I made a script for a battle, but it appears as Gary on the S.S. Anne. How do I make it have certain Pokemon, levels, battle sprites, and etc... Thank you in advance.
__________________
Good bye
Reply With Quote
  #156    
Old May 28th, 2009 (04:40 AM). Edited May 29th, 2009 by DarkPrince304.
DarkPrince304's Avatar
DarkPrince304 DarkPrince304 is offline
Back to Hacking after exams!!!
 
Join Date: May 2009
Location: PokeCommunity
Gender: Male
Nature: Calm
Posts: 167
Hello Guys
This is my 1st post and I am a Beginner to scripting...
I just made this script to battle Ho-Oh

Quote:
#dynamic 0x800000
#org @start
lock
faceplayer
message @yesno
boxset 5
compare LASTRESULT 1
if b_true goto @yes
wildbattle 250 50 0 0 0 0
compare LASTRESULT 0
if b_true goto @no
release
end

#org @tutorial
= Are you sure you want to battle HO-OH?

#org @yes
message @pressyes
boxset 6
release
end

#org @no
message @pressno
boxset 6
release
end

#org @pressyes
= HO-OH Woke Up!\p HO-OH:Geeyaauugh!!

#org @pressno
= You left HO-OH...
Now
I have put Ho-oh in a room along with Lugia,Raikou,Entei,and Suicune
I want someone to make and explain me an event in which if I battle Any of the 5 pokemon the other 4 dissapear after the battle leaving a message..
I need a code for it

1 more thing
in the statement wildbattle 250 50 0 0 0 0
What do the other 4 zero's mean...I just typed that by seeing what other people did but I don't know what the other 4 zero's mean
Thank You :D
Reply With Quote
  #157    
Old May 29th, 2009 (03:53 AM).
TomByrne TomByrne is offline
 
Join Date: May 2009
Gender:
Posts: 6
Once you've got the script you want wha do you do with it? How do you import it into ADV map? or get it working in the rom?
Reply With Quote
  #158    
Old May 29th, 2009 (04:26 AM).
NTA's Avatar
NTA NTA is offline
Where?
 
Join Date: Nov 2007
Nature: Adamant
Posts: 265
i made some changes to the wildbattle script
the cry came right after the message giving alot lesss time to play the cry
and the fadescreen was right but the player dissapeared right after the fadescreen not during it so i fixed that too :D

#dynamic 0x800000

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

#org @1
= CHARIZARD: Raaarrgghh!
__________________

Reply With Quote
  #159    
Old May 29th, 2009 (06:12 AM).
Kolossus's Avatar
Kolossus Kolossus is offline
Dialouge Master
 
Join Date: May 2009
Location: Canada
Gender:
Posts: 5
Quote originally posted by Dark Swellow:
Try remaking the script.
could someone explain what he means by that? I am having the exact same problem. I change some of the existing script, then I try to save, but it just makes a new file for that script! Then when I close the script and open it again, it opens the old script. I can open mine, but it opens in a new tab. Even when I go 'compile' it still saves as a new file. Any help would be much appreciated
Reply With Quote
  #160    
Old May 29th, 2009 (11:11 AM).
DarkPrince304's Avatar
DarkPrince304 DarkPrince304 is offline
Back to Hacking after exams!!!
 
Join Date: May 2009
Location: PokeCommunity
Gender: Male
Nature: Calm
Posts: 167
Umm Hi Guys I want to make a script with following information

I begin my adventure and as soon as I try to go down the stairs,mom comes up and says to go back to sleep as we have to choose our 1st pokemon tomorrow and then we go to sleep...

So I want it like when i go to stairs the mom blocks and when i have gone to sleep and wake up the mom is not blocking me anymore...Please help me
I pray for help please!!...
and please explain me the script too
Thank you very much
__________________
I am the creator of Pokemon Gotta Catch em' All! Game.







Click on the Banner to go to main thread
Reply With Quote
  #161    
Old June 1st, 2009 (07:06 AM).
Hunter9098 Hunter9098 is offline
 
Join Date: Apr 2009
Posts: 2
I don't understand the flags at all
I just want my trainer to dissappear after battle
actually, i want it so he gives you an item after the battle, then dissappears. Everything works except i cant get him to dissappear
this sucks
Reply With Quote
  #162    
Old June 1st, 2009 (07:29 AM).
DarkPrince304's Avatar
DarkPrince304 DarkPrince304 is offline
Back to Hacking after exams!!!
 
Join Date: May 2009
Location: PokeCommunity
Gender: Male
Nature: Calm
Posts: 167
Hey Hunter I have the same problem
Just see the Script Help Thread
Can anyone help us
__________________
I am the creator of Pokemon Gotta Catch em' All! Game.







Click on the Banner to go to main thread
Reply With Quote
  #163    
Old June 1st, 2009 (06:53 PM).
PI Hudson's Avatar
PI Hudson PI Hudson is offline
Can be random for hugs> PIE!!!
 
Join Date: May 2009
Location: Minnesota
Age: 22
Gender: Male
Nature: Modest
Posts: 33
I PM'ed Diego about a week ago to ask him if I should make this into a downloadable item, but Diego has't replied. This was to help combine the mess that the multiple posts in different areas had into one document. I took the liberty to make it anyway because Diego hasn't replied.

It was copied and pasted WORD FOR WORD, so there is no comments from me or anyone else in there
Attached Files
File Type: zip Scripting+level_tut.zip‎ (98.6 KB, 31 views) (Save to Dropbox)
Reply With Quote
  #164    
Old June 2nd, 2009 (02:45 PM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by PI Hudson:
I PM'ed Diego about a week ago to ask him if I should make this into a downloadable item, but Diego has't replied. This was to help combine the mess that the multiple posts in different areas had into one document. I took the liberty to make it anyway because Diego hasn't replied.

It was copied and pasted WORD FOR WORD, so there is no comments from me or anyone else in there
Thanks for making it, anyways. Sorry I didn't respond. I had stuff to do, like working on my hack and modding my Wii.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #165    
Old June 6th, 2009 (10:48 AM).
heatransoul's Avatar
heatransoul heatransoul is offline
 
Join Date: Jun 2008
Posts: 67
When I do any wildbattle script, it freezes at the cry part.
I got the cry to work later, but then it freezes at the wildbattle.
Can you help me?
Here is the script:
Spoiler:

#dynamic 0x800000

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

#org @1
= The wild Sudrak attacked!
Reply With Quote
  #166    
Old June 6th, 2009 (10:52 AM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 13,289
Ya didn't use checkflag... but it's just guess I don't know if it'll solve your problem
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote
  #167    
Old June 6th, 2009 (11:04 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by heatransoul:
When I do any wildbattle script, it freezes at the cry part.
I got the cry to work later, but then it freezes at the wildbattle.
Can you help me?
Here is the script:
Spoiler:

#dynamic 0x800000

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

#org @1
= The wild Sudrak attacked!
There is no Pokémon, fake or otherwise, numbered 404 that is programmed or can be programmed into the game. I think you mean 0xC0.
And don't use effect number 0x2. Just to be safe, use 0x0.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #168    
Old June 6th, 2009 (11:48 AM).
heatransoul's Avatar
heatransoul heatransoul is offline
 
Join Date: Jun 2008
Posts: 67
Quote originally posted by diegoisawesome:
There is no Pokémon, fake or otherwise, numbered 404 that is programmed or can be programmed into the game. I think you mean 0xC0.
And don't use effect number 0x2. Just to be safe, use 0x0.
Well, I tried what you said, but it still froze on the Wildbattle.
Also, C0 is the number for Sunflora...
I believe that 383 in Hex is 17E...
Reply With Quote
  #169    
Old June 6th, 2009 (11:56 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by heatransoul:
Well, I tried what you said, but it still froze on the Wildbattle.
Also, C0 is the number for Sunflora...
I believe that 383 in Hex is 17E...
What number Pokémon do you need?
EDIT: It may be a messed-up sprite.
That's what happened to me. Just re-insert the sprite at an offset that ends in 0.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #170    
Old June 6th, 2009 (12:00 PM).
heatransoul's Avatar
heatransoul heatransoul is offline
 
Join Date: Jun 2008
Posts: 67
Quote originally posted by diegoisawesome:
What number Pokémon do you need?
EDIT: It may be a messed-up sprite.
That's what happened to me. Just re-insert the sprite at an offset that ends in 0.
It's for Kyogre.
And how do you do the offset thing?
Reply With Quote
  #171    
Old June 6th, 2009 (12:07 PM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Look somewhere else for that answer.
Sorry, but I have no time left.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #172    
Old June 10th, 2009 (02:32 AM).
Mr's Avatar
Mr Mr is offline
Just call me Mister
 
Join Date: Jun 2009
Location: USA
Gender: Male
Nature: Jolly
Posts: 58
Nice Tutorial! This has a lot of information.
Reply With Quote
  #173    
Old June 21st, 2009 (12:11 AM).
Tacoman4rmsj94 Tacoman4rmsj94 is offline
 
Join Date: Jun 2009
Gender: Male
Posts: 3
#Dynamic 0x000001

#org @start
lock
faceplayer
msgbox @blah 0x6
cry 0xF5 0x0
wildbattle 0xF5 0x32 0x0
hidesprite 0x1
release
end

#org @blah
= GYAOO!


everytime i stop fighting the pokemon the sprite dissapears but then immediately reappears after I move. Help Please.
Reply With Quote
  #174    
Old June 21st, 2009 (12:41 AM).
Excalibur's Avatar
Excalibur Excalibur is offline
Sorry for my english...
 
Join Date: Nov 2008
Age: 23
Gender: Male
Nature: Lonely
Posts: 19
Tacoman4rmsj94, you have to set a flag on sprite and then use command setflag after hidesprite.
Reply With Quote
  #175    
Old June 21st, 2009 (08:38 AM).
Chimchar 9's Avatar
Chimchar 9 Chimchar 9 is offline
(:
Silver Tier
 
Join Date: Jan 2008
Location: England, Southampton.
Age: 21
Gender: Male
Nature: Calm
Posts: 1,621
How do i stop a script from repeating??
I forgot cause i haven't scripted for a while.
__________________
Pokemon Green Diamond
Status: On Hold.
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 03:18 PM.