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

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old February 5th, 2009, 05:45 PM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash

Advertise here
(EDIT)
The problem persists, but I think it may have something to do with the release/end commands. You see, the game freezes, but not the music. (I didn't notice this before because I usually have it muted)

So, are any problems apparent with the way I used release/end etc.?

Last edited by Mourgrim; February 5th, 2009 at 08:56 PM. Reason: Your double post has been automatically merged.
Reply With Quote
  #52    
Old February 6th, 2009, 01:34 PM
nemesish's Avatar
nemesish
Azure Trainer
 
Join Date: Jan 2008
Location: Lima, Perú
Gender:
Nature: Adamant
Quote:
Originally Posted by diegoisawesome View Post
Can you post the script here? And have you already set the Pokemon menu flag? If so, use another flag besides 0x828.
#dynamic 0x71A290

#org @start
checkflag 0x828
if 0x1 goto @nope
msgbox @2 0x5
compare LASTRESULT 0X1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x255 0x5 0x1 0x0 0x0 0x0
fanfare 0x13e
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @nope
msgbox @6 0x6
release
end

#org @1
= Hala!\nOye, no quieres este TORCHIC?\nEs la cria de mi BLAZIKEN.

#org @2
= No puedes?\nOh, bueno. Supongo que encontrare a alguien mas que pueda.

#org @3
= [red_fr]Recibiste un TORCHIC

#org @4
= Quieres darle un nombre?

#org @5
= Cuidalo bien por favor.

#org @6
= Como te está yendo con el TORCHIC?

This is the script that´s giving me problem.
I also tried with the one in your tutorial but the result is the same
__________________
This signature has been disabled.
Spoilers are not allowed in signatures.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #53    
Old February 6th, 2009, 02:58 PM
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 Mourgrim View Post
(EDIT)
The problem persists, but I think it may have something to do with the release/end commands. You see, the game freezes, but not the music. (I didn't notice this before because I usually have it muted)

So, are any problems apparent with the way I used release/end etc.?
Code:
The Movement Script:
#dynamic 0x800000 #org @start checkflag 0x1000 if 0x1 goto @done checkflag 0x1000 if 0x0 goto @movement end #org @movement msgbox @hey 0x2 applymovement 0xThis should be the People Number of the man. @move waitmovement 0x0 applymovement 0xFF @move2 waitmovement 0x0 msgbox @take 0x2 applymovement 0xAgain, this should be the People Number of the man. @move3 waitmovement 0x0 setflag 0x1001 end #org @done end #org @move #raw 0x1E #raw 0x1E #org @move2 #raw 0x13 #raw 0x13 #org @move3 #raw 0x13 #org @hey = Hey, you can't leave\nwithout having something\lto protect you! #org @take = Take my EEVEE. Raise it\nwell, and let it evolve\linto whatever you wish it\lto become!
The Man's Script:
#dynamic 0x800010 #org @start checkflag 0x1002 if 0x1 goto @good checkflag 0x1002 if 0x0 goto @omg end #org @good msgbox @leave 0x2 applymovement 0xAnd again, this should be the People Number of the man. @move waitmovement 0x0 msgbox @goodluck 0x2 end #org @omg msgbox @takeit 0x2 end #org @move #raw 0x14 #raw 0x0C #org @leave = Okay, you may leave. #org @goodluck = Good luck out there! #org @takeit = Would you just take it?
The Pokeball's Script:
#dynamic 0x800020 #org @start checkflag 0x1001 if 0x1 goto @take checkflag 0x1001 if 0x0 goto @done end #org @take givepokemon 0x133 0x5 0x0 0x0 0x0 0x0 fanfare 0x13E msgbox @received 0x4 waitfanfare closeonkeypress fadescreen 0x1 hidesprite 0x800F setflag 0x1000 setflag 0x1002 fadescreen 0x0 end #org @done end #org @received = You received EEVEE!
Lol. You were using release when you weren't using lock.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #54    
Old February 6th, 2009, 03:59 PM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash
...
Okay, I think I figured it out. Thanks for all your help. lol

Last edited by Mourgrim; February 6th, 2009 at 10:58 PM.
Reply With Quote
  #55    
Old February 7th, 2009, 08:38 AM
1KewlDude's Avatar
1KewlDude
Really busy... STRESS!!
 
Join Date: Dec 2007
Location: London
Age: 21
Nature: Docile
I have an annoying problem... I made this very long script but it just doesn't work. You just walk right over it, it doesn't freeze or anything. Help!
Spoiler:
#dynamic 0x727078

#org @1
setvar 0x4000 0x0
goto @start
end

#org @2
setvar 0x4000 0x1
goto @start
end

#org @3
setvar 0x4000 0x2
goto @start
end

#org @4
setvar 0x4000 0x3
goto @start
end

#org @5
setvar 0x4000 0x4
goto @start
end

#org @start
compare 0x4000 0x0
if 0x1 goto @leftdude
compare 0x4000 0x1
if 0x1 goto @leftdude
compare 0x4000 0x2
if 0x1 goto @leftdude
compare 0x4000 0x3
if 0x1 goto @rightdude
compare 0x4000 0x4
if 0x1 goto @rightdude
end

#org @leftdude
applymovement 0x08 @left!
waitmovement 0x0
applymovement 0xFF @lookleft
waitmovement 0x0
compare 0x4000 0x0
if 0x1 goto @cant
compare 0x4000 0x1
if 0x1 goto @moveleft1
compare 0x4000 0x2
if 0x1 goto @moveleft2
end

#org @rightdude
applymovement 0x09 @right!
waitmovement 0x0
applymovement 0xFF @lookright
waitmovement 0x0
compare 0x4000 0x3
if 0x1 goto @moveright1
compare 0x4000 0x4
if 0x1 goto @moveright2
end

#org @left!
#raw 0x62
#raw 0xFE

#org @lookleft
#raw 0x02
#raw 0xFE

#org @cant
msgbox @sorry 0x2
applymovement 0xFF @back
compare 0x4000 0x1
if 0x1 gosub @backleft
compare 0x4000 0x2
if 0x1 gosub @backleft2
compare 0x4000 0x3
if 0x1 gosub @backright
compare 0x4000 0x4
if 0x1 gosub @backright2
waitmovement 0x0
release
end

#org @moveleft1
applymovement 0x08 @right1
waitmovement 0x0
goto @cant
end

#org @moveleft2
applymovement 0x08 @right2
waitmovement 0x0
goto @cant
end

#org @right!
#raw 0x62
#raw 0xFE

#org @lookright
#raw 0x03
#raw 0xFE

#org @moveright1
applymovement 0x09 @left1
waitmovement 0x0
goto @cant
end

#org @moveright2
applymovement 0x09 @left2
waitmovement 0x0
goto @cant
end

#org @sorry
= Sorry. This passage is blocked due\nto construction.\lFor safety reasons you can't pass.\pHave a nice day!

#org @back
#raw 0x10
#raw 0xFE

#org @backleft
applymovement 0x08 @left1
return

#org @backleft2
applymovement 0x08 @left2
return

#org @backright
applymovement 0x09 @right1
return

#org @backright2
applymovement 0x09 @right2
return

#org @right1
#raw 0x13
#raw 0x02
#raw 0xFE

#org @right2
#raw 0x13
#raw 0x13
#raw 0x02
#raw 0xFE

#org @left1
#raw 0x12
#raw 0x03
#raw 0xFE

#org @left2
#raw 0x12
#raw 0x12
#raw 0x03
#raw 0xFE
__________________
Spoiler:

This was made by me.

Hacks I support:
Spoiler:



Reply With Quote
  #56    
Old February 7th, 2009, 11:33 AM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash
And here's yet another issue...xD My give pokemon code isn't working correctly. First, the nicknaming: it just keeps asking "Would you like to nickname EEVEE?" over and over until I say no. Also, it's not an eevee. I entered the number for eevee, and yet, it's giving me a Breloom. Also, I put in "hidesprite" so that it'd disappear, but that's not working either. When I step away, it reappears.

Anyway, here's the code:
#dynamic 0x800020

#org @start
checkflag 0x1000
if 0x1 goto @give
msgbox @notyours 0x2
end

#org @give
givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
msgbox @received 0x2
setflag 0x828
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
hidesprite 0x02
end

#org @name
call 0x1A7FEB
end

#org @notyours
= This isn't your POK\h06MON,\nyou shouldn't even be\llooking at it!

#org @received
= You received EEVEE!

#org @nickname
= Would you like to nickname\nEEVEE?
Reply With Quote
  #57    
Old February 7th, 2009, 01:26 PM
Surf's Avatar
Surf
...
 
Join Date: Jul 2008
Location: Rust
Age: 19
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to Surf
Of first of all your hidesprite command isn't working because you need to put 828 in the persons flag no.
Secondly the number for Eevee isn't wht you think it is.
Youu have to confert it into hex
__________________
I'm looking for some good (When I say good,
I mean you can hold your own by yourself)
N**i Zombies players, to form a team or even a
clan, to play with casually.
Send me a PM with your Highest Level and your PSN,
and I'll get back to you.
Reply With Quote
  #58    
Old February 7th, 2009, 01:38 PM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash
I see... I was trying to make it a pokeball that'd disappear, as noticed. lol Thanks for the help.
However, now it's an eevee and not a Breloom and it disappears. But, I still don't have the option to give it a nickname and I can continue to say "yes" over and over. In fact, I don't even have the popup asking for "Yes" or "No" come up. It's either I press "A" or "B". It continues to give me eevees so long as I continue to press "A" and won't stop until I press "B". How would I go about stopping this so it works correctly?

Last edited by Mourgrim; February 7th, 2009 at 01:48 PM.
Reply With Quote
  #59    
Old February 7th, 2009, 01:43 PM
~*Mew*~'s Avatar
~*Mew*~
Rom Hacker.
 
Join Date: Feb 2009
Location: London.
Nature: Calm
This is a awesome tut, well done !
Reply With Quote
  #60    
Old February 7th, 2009, 04:29 PM
bian's Avatar
bian
.............
 
Join Date: Jul 2007
Location: sicret
Gender:
Nature: Naive
can someone please tell me the script in fire red in xse where when the prof. gives
you the pokedex,it is in the national pokedex mode already.

pls.answer,tnx..
__________________
White FC: 5457 8823 3469
My trade thread (not active anymore, just a reference):
Bian's Event Pokémon Sari-Sari Store
Reply With Quote
  #61    
Old February 7th, 2009, 04:33 PM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash
Quote:
Originally Posted by bian View Post
can someone please tell me the script in fire red in xse where when the prof. gives
you the pokedex,it is in the national pokedex mode already.

pls.answer,tnx..
Activating the pokedex requires a flag. For the national, it's a special. The flag for Pokedex, I think, is 0x829 and the special for national would be 0x1F3. I'm just about positive that all of this is in this tutorial, though.
Reply With Quote
  #62    
Old February 7th, 2009, 04:52 PM
1KewlDude's Avatar
1KewlDude
Really busy... STRESS!!
 
Join Date: Dec 2007
Location: London
Age: 21
Nature: Docile
Quote:
Originally Posted by Mourgrim View Post
Activating the pokedex requires a flag. For the national, it's a special. The flag for Pokedex, I think, is 0x829 and the special for national would be 0x1F3. I'm just about positive that all of this is in this tutorial, though.
You're right... only problem is... I think he wants someone to right the script for him... X|
__________________
Spoiler:

This was made by me.

Hacks I support:
Spoiler:



Reply With Quote
  #63    
Old February 7th, 2009, 05:03 PM
bian's Avatar
bian
.............
 
Join Date: Jul 2007
Location: sicret
Gender:
Nature: Naive
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!
__________________
White FC: 5457 8823 3469
My trade thread (not active anymore, just a reference):
Bian's Event Pokémon Sari-Sari Store
Reply With Quote
  #64    
Old February 8th, 2009, 12:07 PM
madarawolf's Avatar
madarawolf
Espada Cuarta
 
Join Date: Nov 2008
Gender:
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.
__________________
why yes I am made of awsome
Reply With Quote
  #65    
Old February 8th, 2009, 12:38 PM
1KewlDude's Avatar
1KewlDude
Really busy... STRESS!!
 
Join Date: Dec 2007
Location: London
Age: 21
Nature: Docile
Quote:
Originally Posted by madarawolf View Post
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!
__________________
Spoiler:

This was made by me.

Hacks I support:
Spoiler:



Reply With Quote
  #66    
Old February 8th, 2009, 02:14 PM
madarawolf's Avatar
madarawolf
Espada Cuarta
 
Join Date: Nov 2008
Gender:
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!!!
__________________
why yes I am made of awsome
Reply With Quote
  #67    
Old February 8th, 2009, 03:02 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
Community Supporter
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
...*offtopic* and why would you incorporate this into a pokemon hack?...wow the world is really getting less and less sensible of their actions...
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
Reply With Quote
  #68    
Old February 8th, 2009, 08:10 PM
Mourgrim's Avatar
Mourgrim
Beginning Trainer
 
Join Date: Nov 2008
Age: 22
Gender:
Nature: Rash
....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.
Reply With Quote
  #69    
Old February 14th, 2009, 08:30 AM
Sonikku17's Avatar
Sonikku17
Wanderer
 
Join Date: Aug 2008
Age: 22
Nature: Impish
Hey, is there any chance you could make a tutorial for move tutor scripts? That would be wonderful!
Reply With Quote
  #70    
Old February 16th, 2009, 09:18 AM
Knomez's Avatar
Knomez
lolwut...
 
Join Date: Feb 2009
Gender:
Nature: Quiet
Very nice tutorial, now i actually understand scripting, before it was just a bunch of jumbled words o-o...
__________________

Name: Unown
Adopt one yourself! @Pokémon Orphanage

Reply With Quote
  #71    
Old February 16th, 2009, 11:13 PM
Zaptinex's Avatar
Zaptinex
Beginning Trainer
 
Join Date: May 2008
Location: USA
Gender:
Love the tutorial! Its like most of the scripting commands and more in one tutorial! Nice work.
Reply With Quote
  #72    
Old February 22nd, 2009, 10:23 PM
Kryszajtys's Avatar
Kryszajtys
Beginning Trainer
 
Join Date: Oct 2008
Gender:
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


#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







Editome 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
__________________
kryszatys's PokePet

Night Fall the level 50 Umbreon!

Last edited by Kryszajtys; February 23rd, 2009 at 10:00 AM.
Reply With Quote
  #73    
Old February 23rd, 2009, 02:58 PM
bardock10's Avatar
bardock10
Beginning Trainer
 
Join Date: Feb 2009
Gender:
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?
Reply With Quote
  #74    
Old February 23rd, 2009, 07:32 PM
PokemonBroski's Avatar
PokemonBroski
I'm Back for Good!
 
Join Date: Feb 2009
Location: Wisconsin
Gender: Male
Nature: Calm
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
Reply With Quote
  #75    
Old February 24th, 2009, 05:29 AM
jcys810
Call me Justin, J or Impulse
 
Join Date: Feb 2009
Location: Singapore
Age: 20
Gender:
Nature: Mild
Send a message via Windows Live Messenger to jcys810
This is a great tutorial, it ought to help me should I ever decide to make a hack of my own!

Thanks alot, bookmarked!
Reply With Quote
Reply
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 05:58 AM.


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.