Advertiser Content

Development Trainers with EVs Page 5

Started by DoesntKnowHowToPlay August 20th, 2013 8:09 PM
  • 33142 views
  • 107 replies
Male
California
Seen 3 Weeks Ago
Posted July 27th, 2018
82 posts
1.7 Years
If you are using jpan's hacked tool for the set level trainer, follow this! I just got this working.

Assemble asm and put it into your rom. For noobs, make sure to copy the data from these offsets in the .bin file.
115f6
1162c
3dc70

Once that is in, it still wont work. Follow Akamethebulbasaurs guide and it will work. I used the hack tool so the offsets were different. My offset was at 7999A0 so i say check that first. You can ctrl + F and search for "03 4E 30 47" but be careful. There are 2 locations that have those hex values and both have "01 4E 30 47" after. The only way to tell which is which is one offset will have a 5 byte gap between to the hex values. You want the offset that has 4 bytes between the hex values.

Thank you DoesntKnowHowToPlay and Akamethebulbasaur!
Male
Seen 19 Hours Ago
Posted 19 Hours Ago
6 posts
2.8 Years
I almost got everything working in the spread (Ivs, Evs, and Pokeballs). "Almost" because I can't seem to get some Natures working.
Here's how I found out in my Firered hack: I gave Blaine (Cinnabar's Gym Leader) a level 70 Ninetales with 31 IVs and 252 EVs in Speed and Sp. Attack with a Timid Nature.

This is the EV spread in the Hex Editor: 0A 00 00 00 1F 04 00 00 FC FC 00 04 00 00 00 00

Using an IV calculator (on Serebii.net) with the EVs and Nature, its Speed came up as 231.
Now comes my Salamence, Level 70, 17 IVs, and 252 Evs in Speed with Jolly Nature. Speed is 221.

My Salamence VS Ninetales: Salamence goes first. ??? :confused:
Now my Modest Gardevoir, who's Speed is 184 at Level 72, gets outspeed by Ninetales.

It seems as if Ninetales' Nature was treated as Bashful, Serious, Docile, or Hardy (These don't change stats).
It's real Speed is 210.

I tried giving it a different Nature so with Modest , it did more damage with Fire Blast.
So something is up with the Speed Natures.


*Never mind all of this. I updated my Rom with Leon's Ultimate FireRed Patch. No Speed problems.*

Petuuuhhh

Male
Georgia
Seen 2 Hours Ago
Posted 2 Weeks Ago
629 posts
2.5 Years
Someone should make an editor for NPC ivs/evs for lazy people like me.
A tool like that would need to be able to tell where the ASM routine was inserted, and since you don't sound like you know how to insert ASM routines (or you're just too lazy too? lol), it'd have to have some kind of dynamic ASM routine insertion system. I don't see this happening since the method of hacking that this thread uses is becoming outdated. I recommend looking at the tutorials on PokeCommunity that teach how to insert ASM routines and how to understand hexadecimal.
Seen September 11th, 2019
Posted September 5th, 2019
6 posts
158 Days
Hello, sorry if I'm bumping an old thread, there is something I don't understand, hope someone can help me.

This phrase: "To assign an EV spread to a trainer's pokemon, set the value that was formerly their IVs to which slot in the table you want that pokemon to use"
I completely don't understand it, what does that mean? On A-Trainer the AI Value (which was formerly used for IV spreading if I'm not wrong) is just one value, how do I Handle the entirety of this structure after implementing this ASM routine?

For example, how do I set the first Pokemon of a determined trainer to have X amount of IVs, Y amount of EVs, Z Nature, and a Master Ball as shown Pokeball?

Thanks for the answers.


Edit: Nevermind, I got it, for anyone who had the same problem as me: The EV Table (the one the OP used by default at EF0000) is empty at first, you gotta fill it, so each row becomes a whole EV table that handles all those things.

If you write 3 different EV table rows and want to assign the 2nd one to a trainer, just write 2 in the A-Trainer AI Value, which formerly handled IV Spreads only, and now communicates with said table.

Edit n.2:

asm:

.Method_Addr: .word 0x08F90001
.EV_Table: .word 0x08EF0000


hex on rom:
00EF0000:

03 00 00 00 1F FF FF FF FF FF FF 01 00 00 00 00 -> Adamant Nature, 31 IV, 1530 EV, Master Ball.


00F90000: 

06 35 20 1C 0C 21 2A 1C 00 F0 61 F8 30 01 34 4A 12 18 05 32 1A 21 20 1C 00 F0 59 F8 30 01 30 4A 12 18 06 32 1B 21 20 1C 00 F0 51 F8 30 01 2C 4A 12 18 07 32 1C 21 20 1C 00 F0 49 F8 30 01 28 4A 12 18 08 32 1D 21 20 1C 00 F0 41 F8 30 01 24 4A 12 18 09 32 1E 21 20 1C 00 F0 39 F8 30 01 20 4A 12 18 0A 32 1F 21 20 1C 00 F0 31 F8 30 01 1C 4A 12 18 0B 32 26 21 20 1C 00 F0 29 F8 30 01 18 4A 12 18 15 78 00 2D 0F D0 20 68 61 68 41 40 61 60 20 68 18 30 20 60 19 21 00 F0 1E F8 A8 42 F7 D1 20 68 61 68 41 40 61 60 30 01 0D 4A 12 18 16 79 40 B4 27 25 20 1C 29 1C 6A 46 00 F0 08 F8 01 35 2D 2D F7 D1 40 BC 00 F0 04 F8 04 49 08 47 05 4B 18 47 20 1C 04 49 08 47 04 4B 18 47 79 89 03 08 00 00 EF 08 AD AC 06 08 0D 8D 06 08 E1 7B 2E 08
I've put everything correctly in the ROM, and assigned 1 to the enemy Pokemon's AI Value so it gets that row, so the enemy should send out a Pokemon with those stats and a Masterball, but it's still a normal Pokeball, and I'm not noticing a power improvement. I think I didn't do it correctly or missed out something, can someone help?

Misledangel

Male
Seen 19 Hours Ago
Posted 3 Weeks Ago
58 posts
6.1 Years
I've put everything correctly in the ROM, and assigned 1 to the enemy Pokemon's AI Value so it gets that row, so the enemy should send out a Pokemon with those stats and a Masterball, but it's still a normal Pokeball, and I'm not noticing a power improvement. I think I didn't do it correctly or missed out something, can someone help?
I am going to assume you have atleast put the Asm and the table correctly ,

Well about the part how you actually give that ev / ivs / nature to a trainer pokemon ,

Don't use the first entry its 0 , the second entry in the table is 1 to use that in " hopeless trainer editor " pick a trainer pokemon give it a custom moveset and a held item ( it can be nothing but you have to set it as " ?????? ")
in the evs box of that pokemon put 1.

Overlord Kaktus

Made in Guatemala

Male
Guatemala City
Seen 4 Hours Ago
Posted 5 Days Ago
303 posts
5.7 Years
I have a question.

How do you hook the routine to the game?
These are automatically generated at the moment you compile the code. If you open the .bin resultant, you'll notice a bunch of 00, you just need to go to the addresses 0x115f6, 0x1162c, 0x3dc70 and the address you specified for the EV table from the .bin file, copy the bytes in there and paste them in the same addresses form your ROM
I'm just a normal romhacker c:
Advertiser Content