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.


Advertise here

Closed Thread
 
Thread Tools
  #201    
Old December 24th, 2008, 01:37 AM
Cheesymitten's Avatar
Cheesymitten
Dukcs
 
Join Date: Aug 2008
Gender: Male

Advertise here
Thanks for taking your time your the best hopefully i won't be asking to many questions next time...O.o
  #202    
Old December 24th, 2008, 09:07 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Hey just wondering... When are the other parts coming
??
__________________
  #203    
Old December 24th, 2008, 01:37 PM
~Teh Panda~'s Avatar
~Teh Panda~
Sea of Dreams - Redux
 
Join Date: Aug 2007
Quote:
Originally Posted by Tropical Sunlight View Post
Hey just wondering... When are the other parts coming
??
Well, i am really busy with my hack right now, so after beta 1.

EDIT: Part 5 added :)
__________________




Mystic still in work to let you know...

Last edited by ~Teh Panda~; December 24th, 2008 at 01:48 PM.
  #204    
Old December 25th, 2008, 02:53 PM
iTeruri's Avatar
iTeruri
iAm
 
Join Date: May 2006
Location: The Nederlands
Nature: Relaxed
Code:
#dynamic 0x71AABF

#org @start

lock
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0 0 0 0
setflag 0x828
release
end 

#org @recieved
release
end
This should give the player a eevee (only once) if they live their room. However, It freezes te game! I tried everything I could think off.
This is my first day of scripting in hacks (actualy the first time I hack). The stupid thing is that I worked, then I wanted to add a give item so the player has pokéballs but then the script stoped working. I changed some things around, but now I can't get back to the working script.
Memo to self: always save your script.

Could someone point me in the right deriction?
  #205    
Old December 25th, 2008, 03:19 PM
пзо's Avatar
пзо
zzirRusty
 
Join Date: Dec 2008
Nature: Quiet
Fixed. you frogot the 0x0 instead of the 0's

#dynamic 0x71AABF

#org @start
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0x0 0x0 0x0 0x0

fanfare 0x13E
msgbox @got
boxset 0x2
waitfanfare
setflag 0x828
release
end

#Org @got
= \c\h01\h02You Recieved a EEVEE!

#org @recieved
release
end


--
This Script will:

Give you a Eevee,

and say, you recieved Eevee.
and it will play a little sound! xD
Good luck..
__________________
| Pokémon Obsidian | Pokémon Mystical Glacier |
Yeah, I said it, Pokémon Mystical Glacier..
Its comming back.. Better than ever.
Along side Pokémon Obsidian.
  #206    
Old December 25th, 2008, 03:53 PM
~Teh Panda~'s Avatar
~Teh Panda~
Sea of Dreams - Redux
 
Join Date: Aug 2007
Quote:
Originally Posted by пзо View Post
Fixed. you frogot the 0x0 instead of the 0's

#dynamic 0x71AABF

#org @start
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0x0 0x0 0x0 0x0

fanfare 0x13E
msgbox @got
boxset 0x2
waitfanfare
setflag 0x828
release
end

#Org @got
= \c\h01\h02You Recieved a EEVEE!

#org @recieved
release
end


--
This Script will:

Give you a Eevee,

and say, you recieved Eevee.
and it will play a little sound! xD
Good luck..
You do not need those x0 at the end. just 0's but I did forget that lol, I was to tired well no excuses thanks
__________________




Mystic still in work to let you know...
  #207    
Old December 26th, 2008, 11:47 AM
Makorin's Avatar
Makorin
Ex-ROM Hacker
 
Join Date: Oct 2007
Location: The World That Never Was
Age: 18
Gender: Male
Nature: Naive
Quote:
Originally Posted by Teruri View Post
Code:
#dynamic 0x71AABF

#org @start

lock
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0 0 0 0
setflag 0x828
release
end 

#org @recieved
release
end
This should give the player a eevee (only once) if they live their room. However, It freezes te game! I tried everything I could think off.
This is my first day of scripting in hacks (actualy the first time I hack). The stupid thing is that I worked, then I wanted to add a give item so the player has pokéballs but then the script stoped working. I changed some things around, but now I can't get back to the working script.
Memo to self: always save your script.

Could someone point me in the right deriction?
well just like neo had:

#dynamic 0x71AABF

#org @start
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0 0 0 0
fanfare 0x13E
msgbox @got
boxset 0x2
waitfanfare
setflag 0x828
release
end

#Org @got
= \c\h01\h02You recieved a EEVEE!

#org @recieved
release
end


but without the 0x0 just 0 since XSE will change that when you compile...
but if u have that and it still doesnt work (which it should NOT) there is something in A-map that you must do...

if you are putting it on a script tile you must change the Var number and the Unknown number
the most common is 0003 [Unknown] and 4050 [Var Number] (5040 should work for Var number too)
__________________

Anime-Planet.com - anime | manga | reviews
  #208    
Old December 26th, 2008, 03:08 PM
iTeruri's Avatar
iTeruri
iAm
 
Join Date: May 2006
Location: The Nederlands
Nature: Relaxed
Yes, it works. ^^I also made a somewhat bigger script:
Your dad ask you if you need pokéballs. If you answer yes, he will give you 5. If you say no, he says something along the lines of: Ok, just say so when you need them. A flag is set so you can only do it once.

However, I still need some help:

- Trainerbattle, How does it work? I changed an empty trainer with HackMew's A-trainer. How Can I place this trainer on a route? I studied a trainer a bit, but it was very confusing with alot offsets! You should make a tutorial on it.
- How can you make someone heal your pokémon? I guess it's something with special cause that's what I saw in a PokéCenter script.
  #209    
Old December 27th, 2008, 03:31 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by Teruri View Post
Yes, it works. ^^I also made a somewhat bigger script:
Your dad ask you if you need pokéballs. If you answer yes, he will give you 5. If you say no, he says something along the lines of: Ok, just say so when you need them. A flag is set so you can only do it once.

However, I still need some help:

- Trainerbattle, How does it work? I changed an empty trainer with HackMew's A-trainer. How Can I place this trainer on a route? I studied a trainer a bit, but it was very confusing with alot offsets! You should make a tutorial on it.
- How can you make someone heal your pokémon? I guess it's something with special cause that's what I saw in a PokéCenter script.
My I suggest you decompile some in-game scripts with the newest XSE?
I've updated the guide a lot as well.

Like I said in the other thread, I suggest the author downloading latest XSE and adjusting the whole post to adjust or remove anything that's outdated, wrong or misleading. Thanks in advance.
__________________
  #210    
Old December 27th, 2008, 07:08 AM
Cheesymitten's Avatar
Cheesymitten
Dukcs
 
Join Date: Aug 2008
Gender: Male
Quick question (again) do i need the newest version of XSE for the givepokemon for some reason the one i'm using isn't working which is a bit wierd O.o
  #211    
Old December 27th, 2008, 07:32 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by cheesymitten View Post
Quick question (again) :) do i need the newest version of XSE for the givepokemon for some reason the one i'm using isn't working which is a bit wierd O.o
I wonder what are you doing "givepokemon for some reason isn't working" is a bit too generic. Anyways, you don't need the newest version but using the old one doesn't really make sense now.
__________________
  #212    
Old February 9th, 2009, 03:23 PM
Pokeplayer50's Avatar
Pokeplayer50
Beginning Trainer
 
Join Date: Aug 2008
Location: USA
Gender:
XSE doesn't let me compile it when i try to and says "Too less parameters on line 6. The correct number is 2."
  #213    
Old February 9th, 2009, 03:55 PM
~Teh Panda~'s Avatar
~Teh Panda~
Sea of Dreams - Redux
 
Join Date: Aug 2007
Quote:
Originally Posted by Pokeplayer50 View Post
XSE doesn't let me compile it when i try to and says "Too less parameters on line 6. The correct number is 2."
Ooh this is outdated...

I may update for the new XSE, please don't post in over month old threads though.

KThxBai
__________________




Mystic still in work to let you know...
  #214    
Old February 20th, 2009, 03:14 PM
bardock10's Avatar
bardock10
Beginning Trainer
 
Join Date: Feb 2009
Gender:
What do I do when it says too many parameters on line 6.The correct number is 2
help
  #215    
Old February 20th, 2009, 03:19 PM
~Teh Panda~'s Avatar
~Teh Panda~
Sea of Dreams - Redux
 
Join Date: Aug 2007
Quote:
Originally Posted by bardock10 View Post
What do I do when it says too many parameters on line 6.The correct number is 2
help
Please dont post here until i make my updates ^.^ i am going to after I take care of my hack, but this is not up to date with some of the XSE updates, your script is pretty much right, you will just need to fix it up with the new param.'s so look at some other tut.'s to fix it on up
__________________




Mystic still in work to let you know...
  #216    
Old May 2nd, 2009, 05:10 AM
Niroshi
Legendary Pokemon Master
 
Join Date: Apr 2009
Age: 24
Gender:
Nature: Relaxed
Send a message via Windows Live Messenger to Niroshi Send a message via Yahoo to Niroshi
i understant most of this, ive read 6 pages of this thread....but when itry to script a simple talk it tells me my message line is missing a dynamic label. heres the script:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @ Talk( IT tells me i need 2 parameters, thats why i spaced)
#define BOXSET_NORMAL 0x6
release
end


#org @Talk
= [blue_fr]This is my first script
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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 04:14 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.