- 1
- Posts
- 7
- Years
- Seen May 17, 2019
Hello. :]
I can't seem to get this to work on my own, so I thought, maybe somebody could help me figure out, what I'm doing wrong...
I wanted to implement this into FireRed, so I took the ASM in the OP and assembled it into a .bin file.
I left the ASM unedited, didn't change any values. (I tried this with unedited version of both FireRed and LeafGreen v 1.0)
Then, after reading through this thread I came to the conclusion, that I have to change the values at 0x115f6, 0x1162c, 0x3dc70 and 0xf90000 by replacing the HEX in the ROM with the HEX in the assembled .bin file at those values. The copied HEX-values are identical to those I found in the posts in this thread.
So I changed
0x115f6 to:
0x1162c to:
0x3dc70 to:
and 0xf90000 to: (Note that I entered it HEX. The conversion to DEC is just from copy-pasting it in here)
Additionally I changed the values starting at 0xf00000 to create my custom Ev spread table.
I started by adding the two first entries to test if i it's working.
So I changed 0xf00000 to:
(Maybe that's too few entries to work with for the game?)
So i would assign a trainerbattle to an NPC through AdvanceMap and XSE and change the Pokemon possessed by that trainer with A-Trainer by changing the Pokemon to the Custom Item/Custom Attacks category and setting their AI-Value to 0 and 1 respectively to use both my custom spreads.
Now either this is not the correct way to implement this function and I'm missing some important steps or I executed the steps wrong...
Whenever any Pokemon would be encountered in game, be it via Trainerbattle, a wild encounter or er recieving a Pokemon from an NPC (your starter for example) the game stops working.
So i guess it cant generate any Pokemon properly with my setup and I must have made a mistake, maybe in repointing some of these 0x...
I would appreciate any help you can give me and I would be very thankful for ideas and tips you have for me. :]
I can't seem to get this to work on my own, so I thought, maybe somebody could help me figure out, what I'm doing wrong...
I wanted to implement this into FireRed, so I took the ASM in the OP and assembled it into a .bin file.
I left the ASM unedited, didn't change any values. (I tried this with unedited version of both FireRed and LeafGreen v 1.0)
Then, after reading through this thread I came to the conclusion, that I have to change the values at 0x115f6, 0x1162c, 0x3dc70 and 0xf90000 by replacing the HEX in the ROM with the HEX in the assembled .bin file at those values. The copied HEX-values are identical to those I found in the posts in this thread.
So I changed
0x115f6 to:
Spoiler:
08 1c 06 1c 03 e0
0x1162c to:
Spoiler:
00 48 00 47 01 00 f9 08
0x3dc70 to:
Spoiler:
2e ed
and 0xf90000 to: (Note that I entered it HEX. The conversion to DEC is just from copy-pasting it in here)
Spoiler:
6 53 32 28 12 33 42 28 0 240 97 248 48 1 52 74 18 24 5 50 26 33 32 28 0 240 89 248 48 1 48 74 18 24 6 50 27 33 32 28 0 240 81 248 48 1 44 74 18 24 7 50 28 33 32 28 0 240 73 248 48 1 40 74 18 24 8 50 29 33 32 28 0 240 65 248 48 1 36 74 18 24 9 50 30 33 32 28 0 240 57 248 48 1 32 74 18 24 10 50 31 33 32 28 0 240 49 248 48 1 28 74 18 24 11 50 38 33 32 28 0 240 41 248 48 1 24 74 18 24 21 120 0 45 15 208 32 104 97 104 65 64 97 96 32 104 24 48 32 96 25 33 0 240 30 248 168 66 247 209 32 104 97 104 65 64 97 96 48 1 13 74 18 24 22 121 64 180 39 37 32 28 41 28 106 70 0 240 8 248 1 53 45 45 247 209 64 188 0 240 4 248 4 73 8 71 5 75 24 71 32 28 4 73 8 71 4 75 24 71 57 22 1 8 0 0 240 8 125 3 4 8 125 228 3 8 133 70 30 8
Additionally I changed the values starting at 0xf00000 to create my custom Ev spread table.
I started by adding the two first entries to test if i it's working.
So I changed 0xf00000 to:
Spoiler:
00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00
03 00 00 00 1F FF FF 00 00 00 00 01 00 00 00 00
03 00 00 00 1F FF FF 00 00 00 00 01 00 00 00 00
(Maybe that's too few entries to work with for the game?)
So i would assign a trainerbattle to an NPC through AdvanceMap and XSE and change the Pokemon possessed by that trainer with A-Trainer by changing the Pokemon to the Custom Item/Custom Attacks category and setting their AI-Value to 0 and 1 respectively to use both my custom spreads.
Now either this is not the correct way to implement this function and I'm missing some important steps or I executed the steps wrong...
Whenever any Pokemon would be encountered in game, be it via Trainerbattle, a wild encounter or er recieving a Pokemon from an NPC (your starter for example) the game stops working.
So i guess it cant generate any Pokemon properly with my setup and I must have made a mistake, maybe in repointing some of these 0x...
I would appreciate any help you can give me and I would be very thankful for ideas and tips you have for me. :]