Advertiser Content

Resource [FireRed] Levels Above 100 Page 2

Started by esipode September 21st, 2016 9:43 PM
  • 8887 views
  • 36 replies
Seen 1 Week Ago
Posted October 17th, 2018
52 posts
9.5 Years
Every attempt I have has bugs, and will skip levels once reaching around ~40. Also, one of the wild Pokemon I encounter (Eevee) doesn't even have a level, it's just 5. (Not Lv. 5) and goes black when evolving it... (Only when used on the fire red 1020 base)
Try implementing this on a vanilla ROM. If the issue isn't there, then it's a problem with the base you're using. (Perhaps a changed offset or routine?) Either way, not really something I can solve.

If the issue persists, then PM me, and I'll try and pin down the issue with you. Because the routine still works just fine when I try.

Jakob99

Worlds greatest trainer.

Male
Farmington AR
Seen June 23rd, 2019
Posted June 18th, 2019
61 posts
6.5 Years
This is awesome, but it sounds confusing. Could someone make a video of how this is done, or upload an IPS patch?


This all came to me suddenly, so I think I have it down. I tried it last night, but after the Gamefreak Presents screen, the game went black, meaning I either messed up or it didn't like the clean, squirrels rom I used. The question I have is, would I be able to make Pokémon max out at level 500 (Hex 1F4), or would that not work? I don't think it would since the hex value is three values long instead of the two values long that FA is, but wanted to double check before I rule that out.
Pokemon Platinum friend code 4th generation= 0948-1529-1887 (Discontinued due to Nintendo Wi-Fi being disabled)

If you want to port over the new routes introduced in HeartGold and SoulSilver that lead to the Safari Zone, then head over here and watch the thread for updates. So far, Cliffs Edge Gate, and Route 47 are done. Next up is the Cliffs Cave.


Working on a POKeMON Emerald hack. This will feature POKeMON from Shinnoh, but just the ones that evolve from POKeMON already in the Pokedex (Gallade, Dusknoir, Probopas, Frosslass, Magnezone, Rhyperior). The one exception may be EEVEE if I can get more evolutions added in so you can evolve to LEAFEON and GLACEON.

Lunos

Random Uruguayan User

Male
Montevideo (Uruguay)
Seen 7 Hours Ago
Posted 19 Hours Ago
1,996 posts
10.9 Years
Hi Esipode, I hope you still visit this thread.
People from the Pokémon Adventures - Red Chapter discord were able to find an issue with raising the level cap to Lv. 255, and I was able to confirm it.
It looks like the points counter of the different stats is resetting when their stat reaches 654 points.


For the test I used a Modest Charizard with 4 EVs in HP, 252 EVs in Sp. Atk and another 252 in Speed. 31 IVs in all its 6 stats.

BluRose

blu rass

Age 18
Male
rip x
Seen 2 Weeks Ago
Posted July 10th, 2019
763 posts
5.3 Years
Hi Esipode, I hope you still visit this thread.
People from the Pokémon Adventures - Red Chapter discord were able to find an issue with raising the level cap to Lv. 255, and I was able to confirm it.
It looks like the points counter of the different stats is resetting when their stat reaches 654 points.


For the test I used a Modest Charizard with 4 EVs in HP, 252 EVs in Sp. Atk and another 252 in Speed. 31 IVs in all its 6 stats.
just saw this
currently at school, but will look into when i get home tonight

EDIT:

i'm not seeing it
(i wasn't seeing it because i wasn't boosting any stats with natures)

EDIT2:
436D4: 0B
436DC: 09
436E4: 0A

code explanation:
Spoiler:
u16 nature_stat_mod(u8 nature, u16 n, u8 statIndex)
{
    if (statIndex < 1 || statIndex > 5)
    {
        // should just be "return n", but it wouldn't match without this
        u16 retVal = n;
        retVal++;
        retVal--;
        return retVal;
    }

    switch (gNatureStatTable[nature][statIndex - 1])
    {
    case 1:
        return (u16)(n * 110) / 100; // the problem here is that this causes an overflow so that it loops back around.  we change it so that it multiplies by 11 or 9 and then divides by 10
    case -1:
        return (u16)(n * 90) / 100;
    }

    return n;
}
or, in asm:
Spoiler:
ROM:080436B6                 LDR     R0, =nature_mod
ROM:080436B8                 LSLS    R1, R4, #2
ROM:080436BA                 ADDS    R1, R1, R4
ROM:080436BC                 SUBS    R1, #1
ROM:080436BE                 ADDS    R1, R5, R1
ROM:080436C0                 ADDS    R1, R1, R0
ROM:080436C2                 LDRB    R1, [R1]
ROM:080436C4                 LSLS    R1, R1, #0x18
ROM:080436C6                 ASRS    R1, R1, #0x18
ROM:080436C8                 MOVS    R0, #1
ROM:080436CA                 NEGS    R0, R0
ROM:080436CC                 CMP     R1, R0
ROM:080436CE                 BEQ     loc_80436DC
ROM:080436D0                 CMP     R1, #1
ROM:080436D2                 BNE     loc_80436F0
ROM:080436D4                 MOVS    R0, #110 @ this right here
ROM:080436D6                 B       loc_80436DE
ROM:080436D6 @ ---------------------------------------------------------------------------
ROM:080436D8 off_80436D8:    .long nature_mod        @ DATA XREF: nature_stat_mod:loc_80436B6r
ROM:080436DC @ ---------------------------------------------------------------------------
ROM:080436DC
ROM:080436DC loc_80436DC:                            @ CODE XREF: nature_stat_mod+36j
ROM:080436DC                 MOVS    R0, #90 @ this right here
ROM:080436DE
ROM:080436DE loc_80436DE:                            @ CODE XREF: nature_stat_mod+3Ej
ROM:080436DE                 MULS    R0, R3
ROM:080436E0                 LSLS    R0, R0, #0x10
ROM:080436E2                 LSRS    R0, R0, #0x10
ROM:080436E4                 MOVS    R1, #100 @ this right here
ROM:080436E6                 BL      __udivsi3
ROM:080436EA                 LSLS    R0, R0, #0x10
ROM:080436EC                 LSRS    R0, R0, #0x10
ROM:080436EE                 B       loc_80436F2
and then comparison:


thanks doesnt for pointing this out to me (that it may be caused by natures)~
am i cool yet
Male
Seen 1 Day Ago
Posted 4 Days Ago
169 posts
2.6 Years
This is awesome, but it sounds confusing. Could someone make a video of how this is done, or upload an IPS patch?


This all came to me suddenly, so I think I have it down. I tried it last night, but after the Gamefreak Presents screen, the game went black, meaning I either messed up or it didn't like the clean, squirrels rom I used. The question I have is, would I be able to make Pokémon max out at level 500 (Hex 1F4), or would that not work? I don't think it would since the hex value is three values long instead of the two values long that FA is, but wanted to double check before I rule that out.
The highest you can change the max level to is 255. Anything higher would require shifting a lot of code around.

Jakob99

Worlds greatest trainer.

Male
Farmington AR
Seen June 23rd, 2019
Posted June 18th, 2019
61 posts
6.5 Years
The highest you can change the max level to is 255. Anything higher would require shifting a lot of code around.
I kind of figured, but wanted to double check. Thanks Gor answering.
Pokemon Platinum friend code 4th generation= 0948-1529-1887 (Discontinued due to Nintendo Wi-Fi being disabled)

If you want to port over the new routes introduced in HeartGold and SoulSilver that lead to the Safari Zone, then head over here and watch the thread for updates. So far, Cliffs Edge Gate, and Route 47 are done. Next up is the Cliffs Cave.


Working on a POKeMON Emerald hack. This will feature POKeMON from Shinnoh, but just the ones that evolve from POKeMON already in the Pokedex (Gallade, Dusknoir, Probopas, Frosslass, Magnezone, Rhyperior). The one exception may be EEVEE if I can get more evolutions added in so you can evolve to LEAFEON and GLACEON.

Lunos

Random Uruguayan User

Male
Montevideo (Uruguay)
Seen 7 Hours Ago
Posted 19 Hours Ago
1,996 posts
10.9 Years
Thanks for fixing this before I even knew about it haha!
I'll add it to the OP.
User darkeon75 from Whack a Hack! found another issue, albeit pretty small.
4-digit numbers don't seem to be showing up correctly in the Pokémon Summary screen or in the HP Boxes during battles.


I guess it'd be a good time to mention it, but the position of the values for the Attack and Defense stats during levelling up is off too.


I guess these issues are related to the one that is mentioned at the beginning of the main post?
Advertiser Content