The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Having Set IVs/Natures/etc. on Gift Pokemon

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 October 11th, 2018 (1:52 AM). Edited October 15th, 2018 by KrustyKong.
KrustyKong's Avatar
KrustyKong KrustyKong is offline
 
Join Date: Feb 2016
Location: California
Age: 27
Gender: Female
Posts: 80
I want to be able to modify gift pokemon with stuff like certain ivs and natures instead of just level and held item. i was reading here that you can use the writebytetooffset command to fight a pokemon thats already damaged. so i was wondering if you could write a script that would instead set the stats to be specific values?

or if anyone has any idea of the basics of the Hyper Trainer they put in Sigma Emerald that would be fine too.

EDIT: it looks like a couple of the new special scripts in Dizzy's Various EM Upgrades are capable of doing this w the ATTR_[STAT]_IV stuff but idk how to write scripts with them.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 11th, 2018 (11:24 AM).
struedelmuffin1 struedelmuffin1 is offline
 
Join Date: Sep 2017
Posts: 111
You can always try opening Sigma Emerald in Advancemap and looking at the script of the Hyper Trainer in XSE. I learned how to make my Hyper Trainer doing a similar process. For me, it didnt require any ASM so it's likely Sigma Emerald's has no ASM either. Should be able to just copy and repoint the script essentially.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 15th, 2018 (2:37 PM). Edited October 15th, 2018 by KrustyKong.
KrustyKong's Avatar
KrustyKong KrustyKong is offline
 
Join Date: Feb 2016
Location: California
Age: 27
Gender: Female
Posts: 80
Got it to work out. had to stare at some of the files in the Various EM upgrades folders for a while but basically, i got it to work for what i wanted to at least. first i just implemented the "Give custom pokemon script" from "new special scripts.txt" and then after that used the template for setting the attributes in that same file, but with their byte values in \src\defines\get_attr.h
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
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 GMT -8. The time now is 9:13 AM.