The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Reload this Page Development Trainers with EVs
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Reply
 
Thread Tools
  #76    
Old April 30th, 2015 (2:38 AM).
Splash's Avatar
Splash Splash is offline
But nothing happened.
 
Join Date: Oct 2009
Location: Just use an Old Rod
Gender: Male
Nature: Hasty
Posts: 638
I managed to make it work after looking at all the posts xD Thanks to Doesnt, Mysteryman, leyn09 and kearnseyboy6!

Noob question here:
I already have something in the EV Value of 0 but what if i dont have anything set in 255 will something go wrong if I use that value? Or will it just ignore the EV Value? I dont have a clue how they work so I just wanna play it safe hehe
__________________
༼ つ ◕_◕ ༽つ PRAISE Splash ༼ つ ◕_◕ ༽つ
|VM|Flare Red Version|PM
|
Reply With Quote

Relevant Advertising!

  #77    
Old May 12th, 2015 (11:05 PM). Edited May 12th, 2015 by Criminon.
Criminon's Avatar
Criminon Criminon is offline
Pokemon: Aqua Blue
 
Join Date: Aug 2012
Gender: Male
Posts: 205
Hmmm, damnit. I just spent a good while looking into this and following what everyone is saying, and it looks like there might be incompatibility with the JPAN engine. I have also followed the steps, and it seems like its not working. The pokeballs aren't changing and that's really my only indication. I made sure custom item / moves were on. Made sure to copy all addresses to their proper places. There doesn't seem to be a crash. Nothing odd happens, it just acts like the code isn't there.
__________________
FC: 3582 - 9598 - 9978. Add me!
Reply With Quote
  #78    
Old May 13th, 2015 (5:43 AM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Posts: 299
Quote:
Originally Posted by Criminon View Post
Hmmm, damnit. I just spent a good while looking into this and following what everyone is saying, and it looks like there might be incompatibility with the JPAN engine. I have also followed the steps, and it seems like its not working. The pokeballs aren't changing and that's really my only indication. I made sure custom item / moves were on. Made sure to copy all addresses to their proper places. There doesn't seem to be a crash. Nothing odd happens, it just acts like the code isn't there.
You could be 100% right, to be 100% sure test it on a clean fire red ROM and it should work. Then you will know that JPAN is to blame...
__________________
HOLIDAYING CURRENTLY!!
Reply With Quote
  #79    
Old May 13th, 2015 (6:45 AM).
leyn09's Avatar
leyn09 leyn09 is offline
Truant Trainer
 
Join Date: May 2011
Location: Philippines
Gender: Male
Nature: Careful
Posts: 82
Quote:
Originally Posted by Criminon View Post
Hmmm, damnit. I just spent a good while looking into this and following what everyone is saying, and it looks like there might be incompatibility with the JPAN engine. I have also followed the steps, and it seems like its not working. The pokeballs aren't changing and that's really my only indication. I made sure custom item / moves were on. Made sure to copy all addresses to their proper places. There doesn't seem to be a crash. Nothing odd happens, it just acts like the code isn't there.
I think this would help you. I've had encountered that kind of frustration too.

Quote:
Originally Posted by Mystery Man View Post
I went through a similar problem myself. My issue stemmed from the set trainer level specials JPAN made, so my solution was to revert the conflicting changes the trainer level specials made to what an unhacked Firered has. This is what resolved it for me:

Go to 0x11624. If you are using JPAN's hacked engine or the particular special I was talking about, the bytes there should be "00 48 00 47 ?? ?? ?? 08". Overwrite those bytes with what an unhacked Firered has, which is "20 1C 33 1C 2C F0 14 FA". That should stop the freezing.
Reply With Quote
  #80    
Old May 13th, 2015 (1:51 PM).
Criminon's Avatar
Criminon Criminon is offline
Pokemon: Aqua Blue
 
Join Date: Aug 2012
Gender: Male
Posts: 205
Quote:
Originally Posted by kearnseyboy6 View Post
You could be 100% right, to be 100% sure test it on a clean fire red ROM and it should work. Then you will know that JPAN is to blame...
I wouldn't say JPAN is to blame, but I definitely will. I still have the bin, so it should be easy replacing.

Quote:
Originally Posted by leyn09 View Post
I think this would help you. I've had encountered that kind of frustration too.
Thanks! I'll give it a shot! Was really looking forward to making all trainer battles in the game follow this type of color coded system. pokeball, greatball, ultraball, masterball indicating their level of power. Kind of like rares and elites in mmos etc. Was hella bummed when it didn't work, so I'm really hoping this does the trick.
__________________
FC: 3582 - 9598 - 9978. Add me!
Reply With Quote
  #81    
Old May 13th, 2015 (8:59 PM).
leyn09's Avatar
leyn09 leyn09 is offline
Truant Trainer
 
Join Date: May 2011
Location: Philippines
Gender: Male
Nature: Careful
Posts: 82
Quote:
Originally Posted by Criminon View Post
I wouldn't say JPAN is to blame, but I definitely will. I still have the bin, so it should be easy replacing.



Thanks! I'll give it a shot! Was really looking forward to making all trainer battles in the game follow this type of color coded system. pokeball, greatball, ultraball, masterball indicating their level of power. Kind of like rares and elites in mmos etc. Was hella bummed when it didn't work, so I'm really hoping this does the trick.
No prob! Hope it works. Though, just keep in mind that it will disable JPAN's trainer level hack. You better use asm routines. )
Reply With Quote
  #82    
Old May 23rd, 2015 (10:20 PM).
mamamama mamamama is offline
 
Join Date: Feb 2014
Posts: 180
Quote:
Originally Posted by DoesntKnowHowToPlay View Post
I see a lot of talk about how to make hacks "difficult". The typical solutions are to:
Would it be possible to add another byte that determines the gender of the opposing Pokemon? Although a bit overkill, it would be neat with completely customisable IV's to let the AI use Hidden Power well.
Reply With Quote
  #83    
Old May 24th, 2015 (12:38 AM). Edited July 13th, 2015 by azurile13.
azurile13 azurile13 is offline
 
Join Date: Mar 2015
Posts: 374
Quote:
Originally Posted by mamamama View Post
Would it be possible to add another byte that determines the gender of the opposing Pokemon? Although a bit overkill, it would be neat with completely customisable IV's to let the AI use Hidden Power well.
I don't believe the AI (as is) can even process hidden power accurately.
Reply With Quote
  #84    
Old May 24th, 2015 (3:15 AM).
mamamama mamamama is offline
 
Join Date: Feb 2014
Posts: 180
Quote:
Originally Posted by azurile13 View Post
I don't believe the AI (as is) can even process hidden power accurately.
It works decently, such as if you give an Electric Thunderbolt and HP:Ice, it will use HP against ground-types.
Reply With Quote
  #85    
Old May 24th, 2015 (10:52 AM). Edited July 13th, 2015 by azurile13.
azurile13 azurile13 is offline
 
Join Date: Mar 2015
Posts: 374
Quote:
Originally Posted by mamamama View Post
It works decently, such as if you give an Electric Thunderbolt and HP:Ice, it will use HP against ground-types.
It isn't just the type, I think it's the variable power.
Reply With Quote
  #86    
Old May 24th, 2015 (4:38 PM).
mamamama mamamama is offline
 
Join Date: Feb 2014
Posts: 180
Quote:
Originally Posted by azurile13 View Post
It isn't just the type, I think it's the variable power.
The point still stands. Even though the AI can not calculate the damage I'm still able to make the AI use it when I want it to use through workarounds. That is enough for me

We're going pretty off topic now so let's just leave the discussion here. Agree to disagree.
Reply With Quote
  #87    
Old May 24th, 2015 (11:48 PM). Edited May 25th, 2015 by Splash.
Splash's Avatar
Splash Splash is offline
But nothing happened.
 
Join Date: Oct 2009
Location: Just use an Old Rod
Gender: Male
Nature: Hasty
Posts: 638
Can someone provide the offsets for the Emerald Version of this routine? Im having trouble locating them in the hex editor..

Edit: nvm found them
__________________
༼ つ ◕_◕ ༽つ PRAISE Splash ༼ つ ◕_◕ ༽つ
|VM|Flare Red Version|PM
|
Reply With Quote
  #88    
Old June 8th, 2015 (5:24 AM).
Exodrake's Avatar
Exodrake Exodrake is offline
The Manliest Chick that Ever Manlied
 
Join Date: May 2013
Age: 22
Gender: Female
Nature: Quirky
Posts: 165
This looks wonderful. It would be awesome if there was a way to choose the ability as well, it drives me up a wall having to always set the first ability to what I want trainers to have.

And yes being able to individualize pokemon genders independently from the trainer gender would also be rad~
__________________

I'M A WITCH THAT'S HOW
Reply With Quote
  #89    
Old June 8th, 2015 (5:47 AM).
KDS's Avatar
KDS KDS is offline
 
Join Date: Jul 2013
Age: 21
Gender: Male
Posts: 273
Quote:
Originally Posted by Exodrake View Post
This looks wonderful. It would be awesome if there was a way to choose the ability as well, it drives me up a wall having to always set the first ability to what I want trainers to have.

And yes being able to individualize pokemon genders independently from the trainer gender would also be rad~
The way to set ability is already mentioned in the thread. It is in the 2nd or 3rd page.
Reply With Quote
  #90    
Old June 8th, 2015 (11:37 AM).
Exodrake's Avatar
Exodrake Exodrake is offline
The Manliest Chick that Ever Manlied
 
Join Date: May 2013
Age: 22
Gender: Female
Nature: Quirky
Posts: 165
ooh thank you.
__________________

I'M A WITCH THAT'S HOW
Reply With Quote
  #91    
Old August 23rd, 2015 (11:00 AM).
HunterxPokemon HunterxPokemon is offline
 
Join Date: Jun 2015
Posts: 3
I have a problem with this routine.
Where are the Ivs in the Ev Table?
Reply With Quote
  #92    
Old August 24th, 2015 (6:26 AM).
NewDenverCity's Avatar
NewDenverCity NewDenverCity is offline
 
Join Date: Apr 2014
Location: Antarctica
Gender: Male
Nature: Calm
Posts: 213
Quote:
Originally Posted by HunterxPokemon View Post
I have a problem with this routine.
Where are the Ivs in the Ev Table?
The fourth byte is IVs.
Reply With Quote
  #93    
Old August 24th, 2015 (12:15 PM).
HunterxPokemon HunterxPokemon is offline
 
Join Date: Jun 2015
Posts: 3
Thank you for your answer
The Ev Table is so:
- Nature
- 2 unused bytes
- 1 Byte Ivs
- HP EV
- Attack EV
- Defense EV
- Speed EV
- Special Attack EV
- Special Defense EV
- What pokeball the mon comes out in
- 4 more unused bytes

Is this correct?
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 GMT -8. The time now is 1:52 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.