The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Emulation & ROM Hacking The center for the community emulation scene. Come and discuss all things emulation and develop your own hacks!



Reply
Thread Tools
  #20226  
Unread December 30th, 2011, 01:35 PM
SKRoy
Pokémon Hacker
 
Join Date: Mar 2010
Gender: Male
I want a good scripting tutorial. I only know a little bit about talking script and give item scripts. I want to learn more about scripting. Now my question: What is te best scripting tutorial, maby a few lessons? It's for Pokémon Fire Red.
Reply With Quote
  #20227  
Unread December 30th, 2011, 01:50 PM
DemwOriginal
Unhatched Egg
 
Join Date: Dec 2011
Age: 14
Gender: Male
Quote:
Originally Posted by SKRoy View Post
I want a good scripting tutorial. I only know a little bit about talking script and give item scripts. I want to learn more about scripting. Now my question: What is te best scripting tutorial, maby a few lessons? It's for Pokémon Fire Red.
I don't know if this is Firered I forgot but I learnt with diegoisawesome's XSE tutorial :)
__________________
Sincerely DemwOriginal
Reply With Quote
  #20228  
Unread December 30th, 2011, 01:52 PM
Speedster's Avatar
Speedster
The Unknown
 
Join Date: Dec 2011
Location: In the depths of space...
Gender: Male
Nature: Jolly
Quote:
Originally Posted by SKRoy View Post
I want a good scripting tutorial. I only know a little bit about talking script and give item scripts. I want to learn more about scripting. Now my question: What is te best scripting tutorial, maby a few lessons? It's for Pokémon Fire Red.
I think the best one out the is diegoisawesome's XSE tutorial. It covers a lot. Next time go to the tutorial section and pick out one on your own in your own opinion so you receive what you want.
__________________

.:Aegis:.
~coming soon~
Reply With Quote
  #20229  
Unread December 31st, 2011, 10:30 AM
P0kemon Trainer Red's Avatar
P0kemon Trainer Red
Dragon Type User
 
Join Date: Dec 2011
Location: Las Vegas, NV, USA
Gender: Male
I am using XSE and Advance Map. I am terrible at scripting. The only experience I have is screwing with talking scripts. I have a script that would give me a Magikarp. I need to know how to put it into the ROM, and then add it to a person event. I have the person, standing in Pallet Town. I just need to figure out how to add the script to him.
__________________
My hacks:


Hacks I support:






Reply With Quote
  #20230  
Unread January 1st, 2012, 02:34 AM
HackDeoxys's Avatar
HackDeoxys
aerial ace!
 
Join Date: May 2010
Location: British Columbia
Nature: Naughty
Quote:
Originally Posted by P0kemon Trainer Red View Post
I am using XSE and Advance Map. I am terrible at scripting. The only experience I have is screwing with talking scripts. I have a script that would give me a Magikarp. I need to know how to put it into the ROM, and then add it to a person event. I have the person, standing in Pallet Town. I just need to figure out how to add the script to him.
You might want to read a scripting tutorial. Most of them have sections on inserting the script.
__________________
HackDeoxys
Reply With Quote
  #20231  
Unread January 1st, 2012, 05:56 AM
MissDigitalis's Avatar
MissDigitalis
Mime Jr.
 
Join Date: Dec 2011
Gender: Female
How do you make a map totally from scratch?

I know how to edit pieces of the maps but I don't know how to link them together the way that I want.
__________________

Reply With Quote
  #20232  
Unread January 1st, 2012, 06:04 AM
redriders180's Avatar
redriders180
Call me Lucbui...
 
Join Date: Jun 2010
Location: Pastoria City, Sinnoh
Gender: Male
Nature: Quirky
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote:
Originally Posted by MissDigitalis View Post
How do you make a map totally from scratch?

I know how to edit pieces of the maps but I don't know how to link them together the way that I want.
To link all the pieces together, you need to make a tilemap, which is basically a file that says which piece goes where. The easiest way to make a Tilemap is to use a program called Nameless Tile Map Editor, or NTME. As for inserting the tilemap into the game, there's a tutorial somewhere I don't know.
__________________

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...



Reply With Quote
  #20233  
Unread January 1st, 2012, 06:13 AM
MissDigitalis's Avatar
MissDigitalis
Mime Jr.
 
Join Date: Dec 2011
Gender: Female
Quote:
Originally Posted by redriders180 View Post
To link all the pieces together, you need to make a tilemap, which is basically a file that says which piece goes where. The easiest way to make a Tilemap is to use a program called Nameless Tile Map Editor, or NTME. As for inserting the tilemap into the game, there's a tutorial somewhere I don't know.
Thank you so much! *hugs*

I really appreciate it.
__________________

Reply With Quote
  #20234  
Unread January 1st, 2012, 03:59 PM
SKRoy
Pokémon Hacker
 
Join Date: Mar 2010
Gender: Male
I have a script from a tutorial:

#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!

It's for Fire Red, but in XSE I got the error that Wildbattle 0x6 0x1E 0x8B is incorrect. Please help!
Reply With Quote
  #20235  
Unread January 1st, 2012, 07:15 PM
redriders180's Avatar
redriders180
Call me Lucbui...
 
Join Date: Jun 2010
Location: Pastoria City, Sinnoh
Gender: Male
Nature: Quirky
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote:
Originally Posted by SKRoy View Post
I have a script from a tutorial:

#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!

It's for Fire Red, but in XSE I got the error that Wildbattle 0x6 0x1E 0x8B is incorrect. Please help!
I just tried to compile your script, and it worked fine for me. If it's still not working, maybe redownload XSE. Also, I edited your script just a touch to make it work better:

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

#org @1
= CHARIZARD: Raaarrgghh!
__________________

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...



Reply With Quote
  #20236  
Unread January 1st, 2012, 07:27 PM
SKRoy
Pokémon Hacker
 
Join Date: Mar 2010
Gender: Male
Quote:
Originally Posted by redriders180 View Post
I just tried to compile your script, and it worked fine for me. If it's still not working, maybe redownload XSE. Also, I edited your script just a touch to make it work better:

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

#org @1
= CHARIZARD: Raaarrgghh!
I still got this message

Last edited by SKRoy; January 1st, 2012 at 07:54 PM.
Reply With Quote
  #20237  
Unread January 1st, 2012, 10:46 PM
destinedjagold's Avatar
destinedjagold
Reviving SkyLine~ 'ω'
 
Join Date: May 2007
Location: Philippines
Age: 22
Gender: Male
Nature: Careful
Send a message via Skype™ to destinedjagold
Quote:
Originally Posted by SKRoy View Post
I still got this message
then you probably need to update your XSE.
__________________
Reply With Quote
  #20238  
Unread January 2nd, 2012, 06:58 AM
redriders180's Avatar
redriders180
Call me Lucbui...
 
Join Date: Jun 2010
Location: Pastoria City, Sinnoh
Gender: Male
Nature: Quirky
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
I guess it's time for me to ask a question:

I read somewhere that when you use the "setwildbattle", all the data of the Pokemon you set is written somewhere in the RAM or whatever, and can be changed, to make sure its a certain gender, or giving it different moves, and the like. I wanna know: does anyone knows where this data is stored, and how it's stored? I have to make some highly specific encounters, and this'd make the job alot easier.
__________________

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...



Reply With Quote
  #20239  
Unread January 2nd, 2012, 07:23 AM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Quote:
Originally Posted by SKRoy View Post
I still got this message
Try to add buffers (0x0) to wildbattle.
Like this... wildbattle 0x6 0x1E 0x8B 0x0 0x0 0x0 (maybe less or more 0x0s)...
__________________

Previous Sign
Reply With Quote
  #20240  
Unread January 2nd, 2012, 08:33 AM
DrFuji's Avatar
DrFuji
Innocence Lost
 
Join Date: Sep 2009
Location: Upside-downia
Age: 20
Gender: Male
Nature: Jolly
Quote:
Originally Posted by redriders180 View Post
I guess it's time for me to ask a question:

I read somewhere that when you use the "setwildbattle", all the data of the Pokemon you set is written somewhere in the RAM or whatever, and can be changed, to make sure its a certain gender, or giving it different moves, and the like. I wanna know: does anyone knows where this data is stored, and how it's stored? I have to make some highly specific encounters, and this'd make the job alot easier.
The wild Pokemon's data begins in FR's RAM at 0x0202402C and you can change aspects of the wildbattle by using the command 'setbytetooffset'. You can change a few things with this, such as the Pokemon's stats and nickname (You can see the data structure utilised here). For example, if I wanted to fight a level 5 Bulbasaur with 255 Special Defense specifically an excerpt of the script will look like this:

Code:
setwildbattle 0x1 0x5 0x0
writebytetooffset 0xFF 0x202408E
dowildbattle
Unfortunately, a lot of the 'meat' (PokeRus infection, EVs, moves, happiness etc.) is encrypted/ DMAC protected meaning that it cannot be read/ easily edited without ASM to unlock it - JPAN's engine has the ability do this, but it is limited to only the party Pokemon at this time. This locked information is all located in the 'data' segment that you can see in the article I linked earlier.
__________________

Moderator of Emulation
Partner in Crime with giradialkia
Paired with Fireworks
A Shade of Lilac
Sig Credits


Laura Kinney
          → Regenerative Healing Factor
          → Adamantium-laced Bone Claws
          → Superhuman Senses
          → Expert Assassin
          → Weapon X


"I want to make my own life. Before someone else makes it for me. Again."
X-23


Last edited by DrFuji; January 2nd, 2012 at 03:11 PM.
Reply With Quote
  #20241  
Unread January 2nd, 2012, 09:50 AM
SKRoy
Pokémon Hacker
 
Join Date: Mar 2010
Gender: Male
Quote:
Originally Posted by destinedjagold View Post


then you probably need to update your XSE.
Oké, I want to, but in Hackmew's toolbox is the link wrong, so I can't download it. Does someone has a link for me?
Reply With Quote
  #20242  
Unread January 2nd, 2012, 01:07 PM
armanr
Beginning Trainer
 
Join Date: Aug 2011
Gender: Male
Is it possible to hack a new ability? Abilities like mountaineer (immunity to rock), dragon blood (restores hp when hit by a dragon type) and fast freeze (doubles speed in hail) as well as others have been speculated about and I was wondering if there is a hacking tool to do this because I'm trying to make a pokemon remake. Thanks
Reply With Quote
  #20243  
Unread January 2nd, 2012, 02:11 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 21
Gender: Male
Nature: Modest
Quote:
Originally Posted by armanr View Post
Is it possible to hack a new ability? Abilities like mountaineer (immunity to rock), dragon blood (restores hp when hit by a dragon type) and fast freeze (doubles speed in hail) as well as others have been speculated about and I was wondering if there is a hacking tool to do this because I'm trying to make a pokemon remake. Thanks
There is no tool to do this. You would have to edit the games engine with ASM, which is no easy task.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote
  #20244  
Unread January 2nd, 2012, 02:49 PM
armanr
Beginning Trainer
 
Join Date: Aug 2011
Gender: Male
Okay, pity. Thanks for your quick response.
Reply With Quote
  #20245  
Unread January 2nd, 2012, 04:20 PM
Indescribled's Avatar
Indescribled
Beginning Trainer
 
Join Date: Dec 2011
I have pksvui as my script editor, how would I make a script where someone gives me a Pokemon and talks to me in the same script? I can get him to give the Pokemon but all it says is "blabla received an Eevee."
Reply With Quote
  #20246  
Unread January 2nd, 2012, 07:55 PM
P0kemon Trainer Red's Avatar
P0kemon Trainer Red
Dragon Type User
 
Join Date: Dec 2011
Location: Las Vegas, NV, USA
Gender: Male
I am trying to add MISSINGNO to my Fire Red hack. I have YAPE. I have my ROM. I know what pokemon I am going to replace. I just need to figure out how to duplicate it. I want to make Gengar into MISSINGNO. But I still want him in the game. Is there any way I can make a second Gengar with some other program before I turn it into a MISSINGNO? Or at least a way I can add a new pokedex entry and then a program to edit the moves he learns and at what levels?
__________________
My hacks:


Hacks I support:






Reply With Quote
  #20247  
Unread January 2nd, 2012, 09:09 PM
chrunch
.
 
Join Date: Oct 2009
Gender: Male
Send a message via Windows Live Messenger to chrunch
Quote:
Originally Posted by Indescribled View Post
I have pksvui as my script editor, how would I make a script where someone gives me a Pokemon and talks to me in the same script? I can get him to give the Pokemon but all it says is "blabla received an Eevee."
If it's the first Pokemon you receive you need to add a setflag to the script that activates the Pokemon option in the menu. It's setflag 0x828 I think (but I could be wrong).
__________________
Reply With Quote
  #20248  
Unread January 2nd, 2012, 10:47 PM
hithere1
Beginning Trainer
 
Join Date: Jan 2011
Gender: Male
I was wondering if someone could upload XSE and Advance Map 1.9.5 to something like Mediafire or Dropbox or even just attach as a file to one of their posts because currently both links are not working and I figured someone here will most like either one or both programs. I'm also sure that this is not against the rules, unless I missed something in the rules that prohibits me from asking for tools in this particular situation. If this is in the wrong forum, please move it.

Thanks for your time.
Reply With Quote
  #20249  
Unread January 3rd, 2012, 03:15 AM
HackDeoxys's Avatar
HackDeoxys
aerial ace!
 
Join Date: May 2010
Location: British Columbia
Nature: Naughty
Quote:
Originally Posted by hithere1 View Post
I was wondering if someone could upload XSE and Advance Map 1.9.5 to something like Mediafire or Dropbox or even just attach as a file to one of their posts because currently both links are not working and I figured someone here will most like either one or both programs. I'm also sure that this is not against the rules, unless I missed something in the rules that prohibits me from asking for tools in this particular situation. If this is in the wrong forum, please move it.

Thanks for your time.
I'm pretty sure that's not the purpose of this thread. Just Google them.
__________________
HackDeoxys
Reply With Quote
  #20250  
Unread January 3rd, 2012, 03:23 AM
MsAllyJacqui's Avatar
MsAllyJacqui
I'm different.
 
Join Date: Jan 2012
Location: Down Under
Gender: Female
Nature: Quirky
Quote:
Originally Posted by P0kemon Trainer Red View Post
I am trying to add MISSINGNO to my Fire Red hack. I have YAPE. I have my ROM. I know what pokemon I am going to replace. I just need to figure out how to duplicate it. I want to make Gengar into MISSINGNO. But I still want him in the game. Is there any way I can make a second Gengar with some other program before I turn it into a MISSINGNO? Or at least a way I can add a new pokedex entry and then a program to edit the moves he learns and at what levels?
Why don't you just use the space after Celebi for a new pokemon? That way, you would have no need to replace Genger.
This thread goes into great detail about it. - (Sorry, I can't post links. Add this to the end of the pokecommunity url) showthread.php?t=212276
I just don't think you can add a Pokedex entry without ASM. Which is a shame really.
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

Forum Jump


All times are UTC. The time now is 03:24 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.