The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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
Click here to go to the first staff post in this thread.  
Thread Tools
  #176    
Old June 21st, 2009, 12:41 AM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
Tacoman4rmsj94, you have to set a flag on sprite and then use command setflag after hidesprite.
Reply With Quote
  #177    
Old June 21st, 2009, 08:38 AM
Chimchar 9's Avatar
Chimchar 9
inactive ~ depression :/
 
Join Date: Jan 2008
Location: England, Southampton.
Age: 20
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Chimchar 9
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
  #178    
Old June 21st, 2009, 08:41 AM
hashtag's Avatar
hashtag
king cook
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
I believe it is

releaseall
end
__________________
The path of the righteous man is beset of all sides by the iniquities of the selfish and the tyranny of evil me. Blessed is he who, in the name of the charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee.
Reply With Quote
  #179    
Old June 21st, 2009, 08:47 AM
Chimchar 9's Avatar
Chimchar 9
inactive ~ depression :/
 
Join Date: Jan 2008
Location: England, Southampton.
Age: 20
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Chimchar 9
No it wasn't that.
I forgot to put setflag 0x1000.
xD
__________________
Pokemon Green Diamond
Status: On Hold.
Reply With Quote
  #180    
Old June 21st, 2009, 07:39 PM
Tacoman4rmsj94
Beginning Trainer
 
Join Date: Jun 2009
Gender: Male
i keep encountering the same problem
i battle then he keeps re appearing
can you give me an example please?
Reply With Quote
  #181    
Old June 21st, 2009, 09:16 PM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
#Dynamic 0x000001

#org @start
lock
faceplayer
msgbox @blah 0x6
cry 0xF5 0x0
wildbattle 0xF5 0x32 0x0
hidesprite 0x1
setflag 0x<your flag>
release
end

#org @blah
= GYAOO!

And then in A-Map choose your sprite and where is Person ID, write the same flag.

There is an image
img520.imageshack.us/img520/2349/examplef.png
Reply With Quote
  #182    
Old June 21st, 2009, 10:01 PM
Tacoman4rmsj94
Beginning Trainer
 
Join Date: Jun 2009
Gender: Male
OMG IT WORKED!!!
i owe you big time
thank you
Reply With Quote
  #183    
Old June 22nd, 2009, 04:24 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
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 by ShinyBlaziken; June 22nd, 2009 at 08:34 AM. Reason: Your double post has been automatically merged.
Reply With Quote
  #184    
Old June 22nd, 2009, 08:34 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by ShinyBlaziken View Post
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.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #185    
Old June 22nd, 2009, 08:37 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 19
Gender: Male
Nature: Modest
Quote:
Originally Posted by diegoisawesome View Post
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.
__________________
Pokémon Stardrop
Reply With Quote
  #186    
Old June 22nd, 2009, 08:45 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
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 by ShinyBlaziken; June 22nd, 2009 at 08:58 AM. Reason: Your double post has been automatically merged.
Reply With Quote
  #187    
Old June 22nd, 2009, 09:15 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by ShinyBlaziken View Post
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 #.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #188    
Old June 22nd, 2009, 11:44 AM
TheDon's Avatar
TheDon
Pokemon (kinda) Expert
 
Join Date: Apr 2008
Age: 23
Gender:
Nature: Lonely
Question, does #dynamic 0x<offset> overwrite the designated offset? Or does it look for free space starting from the offset?
__________________


85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
-TheDon
Reply With Quote
  #189    
Old June 22nd, 2009, 12:46 PM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 19
Gender: Male
Nature: Modest
Quote:
Originally Posted by TheDon View Post
Question, does #dynamic 0x<offset> overwrite the designated offset? Or does it look for free space starting from the offset?
It looks for free space starting from the offset.
__________________
Pokémon Stardrop
Reply With Quote
  #190    
Old June 22nd, 2009, 12:51 PM
TheDon's Avatar
TheDon
Pokemon (kinda) Expert
 
Join Date: Apr 2008
Age: 23
Gender:
Nature: Lonely
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.
__________________


85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
-TheDon
Reply With Quote
  #191    
Old June 22nd, 2009, 12:54 PM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 19
Gender: Male
Nature: Modest
Quote:
Originally Posted by TheDon View Post
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.
__________________
Pokémon Stardrop
Reply With Quote
  #192    
Old June 22nd, 2009, 01:03 PM
TheDon's Avatar
TheDon
Pokemon (kinda) Expert
 
Join Date: Apr 2008
Age: 23
Gender:
Nature: Lonely
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.
__________________


85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
-TheDon
Reply With Quote
  #193    
Old June 23rd, 2009, 05:21 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
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.
Reply With Quote
  #194    
Old June 23rd, 2009, 07:46 AM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
ShinyBlaziken, there is an error in your givepokemon command. The values must be in hex.
Reply With Quote
  #195    
Old June 23rd, 2009, 09:14 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
And how should i change it?
__________________
Warm my Eggs, please!


Reply With Quote
  #196    
Old June 23rd, 2009, 09:57 AM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
You can use Windows Calculator Advance Mode or XSE Calc.
382 in hex = 17E and 199 in hex = C7.
Reply With Quote
  #197    
Old June 24th, 2009, 06:28 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
Okay thanks, it works now!


And how can I make a script for a hidden item on the ground??
__________________
Warm my Eggs, please!


Reply With Quote
  #198    
Old June 24th, 2009, 08:42 AM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
Its not a script. Its a type of signpost. (06 Hidden Item)
Reply With Quote
  #199    
Old June 29th, 2009, 11:14 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
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
__________________
Warm my Eggs, please!


Reply With Quote
  #200    
Old June 29th, 2009, 02:01 PM
Wuggles's Avatar
Wuggles
Pokémon Omega
 
Join Date: Mar 2007
Nature: Adamant
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
__________________
Come visit Pokemon Omega sometime!
Reply With Quote
Reply
Quick Reply

Sponsored Links
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:11 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.