The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Getting started wit scripting in HGSS

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old June 12th, 2017 (2:17 PM).
ehaugw ehaugw is offline
 
Join Date: Jun 2017
Posts: 4
Hi guys! Some days ago, I decided that I want to make a soul Silver rom hack, but I have no clue about where to start. I got PPRE to change pokemon stats, attacks etc, as well as trainers and encounters. However, sometimes when I change encounters and trainers, there is a risk that the ROM will be corrupted and freeze in the modded zone. I need help to fix the corrupted zones.

Also, I want to drastically alter the quest lines, but I have no clue about where to start learning about scripting. Can someone please point out a resource that can teach me the scripting skills I need?

Thanks in advance :)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 12th, 2017 (9:29 PM).
Buffel Saft's Avatar
Buffel Saft Buffel Saft is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 1,550
I'd highly recommend using SDSME to edit trainers and scripts instead of PPRE, and using a separate ROM to edit wild Pokemon (once you've finished editing, just copy the narc with the wild data to your actual ROM; this way PPRE can break whatever it wants and it won't affect your actual ROM). Don't use SDSME to edit wild Pokemon because it doesn't seem to work properly on any map with water.

Have you got any scripting experience with the GBA games? If not, that's actually a good place to start. There aren't many resources around for the DS games, but their scripts are very similar to the GBA ones, so you should be able to pick up the basics from something like this tutorial. Not all of it will actually be useful (for example, you don't need to worry about pointers, and some of the functions will be slightly different). The best way to learn how to script something is to look at how Gamefreak did it, and just copy and modify the parts of their scripts that you need to make yours. With a bit of practice you'll eventually be able to write them from scratch.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old June 14th, 2017 (9:35 AM).
K3fka's Avatar
K3fka K3fka is offline
 
Join Date: Jun 2009
Location: Florida
Age: 28
Gender: Male
Posts: 43
Also to be clear, scripts and text are both stored in locations specified by the map. Check the header info tab in SDSME and you'll see which ones they use listed. So when you see a textbox referring to message 1, 2, etc. you know to look at the corresponding message within the map's text section. Same thing for events referring to different scripts with these kinds of relative offsets.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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 GMT -8. The time now is 9:18 AM.