The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script How do I add scripts to new sprites?

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 August 1st, 2018 (8:45 PM).
reelteen reelteen is offline
 
Join Date: Sep 2014
Location: South Carolina
Gender: Male
Posts: 1
I am making a hack of Emerald, but I want the player to have the national dex right off the bat. I have seen that a few other players just used a different sprite or made a new one altogether. I know it is possible, and probably a lot easier than I think it is, but I am still really confused on how to do this. I have XSE 1.1.1, FSF, and AdvanceMap 1.92 if it helps at all.

I have every intention of finishing this hack before 2019, I just don't get a ton of time to work on it. I don't want someone to just type everything out and say "just use FSF, find offset, and enter this" and be done with it. I would like to understand why it is that way. It doesn't have to be super detailed, but some explanation would help and be very appreciated.
__________________
-No trench too deep, no sea too treacherous, no danger to me, can keep me from returning home to the open ocean.
-4 oceans down, 3 to go.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 2nd, 2018 (5:34 AM).
chazfoot's Avatar
chazfoot chazfoot is offline
 
Join Date: Jul 2018
Location: London
Gender: Male
Posts: 63
To add a script to an NPC use XSE to write the script, use the batch compiler in XSE to compile the script with your rom and you will be given an offset based on where you told XSEto look for free space with your script. Simply copy paste that script's offset into the offset value box for the NPC on Advance Map and you're good to go. A note Adcance map expects an 8 character offset so if the offset you get is shorter besure to type the 0s at the start of the offset when inserting it into Advance Map or the offset doens't quite get inserted right.
i.e if you were inserting offset A1B2, type it as 0000A1B2 or Advance map will fill the gaps incorrectly with something like A1B2A1B2.
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:20 AM.