• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

any way to equilibrate gym fights FIRERED

17
Posts
15
Years
    • Seen Apr 29, 2024
    hi, anyone knows a way to equilibrate gym leaders fights in FIRERED?

    i think in 2 ways,

    1 - prevent enter a gym with pokemos above X level

    2 - set a level cap to player pokemon until obtain a badge

    any help is welmcome

    thnks
     

    BluRose

    blu rass
    812
    Posts
    10
    Years
  • so fbi basically made a way to set the level of your party to something

    https://www.pokecommunity.com/showpost.php?p=8518624&postcount=115
    if you take this and then replace
    Code:
    3F B5 0E 4B 1B 78 00 24 00 25 A3 42 0D D0 64 20 
    60 43 01 1C 0A 48 40 18 38 21 38 B4 09 4A 00 F0 
    0C F8 38 BC 2D 18 01 34 EF E7 28 1C 21 1C 06 4A 
    00 F0 03 F8 05 49 08 70 3F BD 10 47 29 40 02 02 
    84 42 02 02 E9 FB 03 08 19 40 1E 08 D0 70 03 02
    the very last four bytes are a pointer to var 0x800D, or LASTRESULT
    if you replace the 4th to last byte with B8 (replace the last 4 bytes with B8 70 03 02), then we point to var 0x8000, which is used in our next one

    https://www.pokecommunity.com/showpost.php?p=8520402&postcount=146
    Code:
    FF B5 00 27 1A 4E 36 78 B7 42 2D D0 19 48 64 21 
    79 43 80 B4 40 18 04 1C 0B 21 10 B4 16 4B 00 F0 
    24 F8 10 BC 02 1C 15 4E 15 49 D0 00 80 1A 80 00 
    09 18 C8 7C CA 25 6D 00 68 43 80 19 0B 49 09 78 
    04 23 59 43 09 18 09 68 0E 4A 11 60 20 1C 10 B4 
    19 21 0D 4B 00 F0 09 F8 10 BC 20 1C 0B 4B 00 F0 
    04 F8 80 BC 01 37 CD E7 FF BD 18 47 B8 70 03 02 
    29 40 02 02 84 42 02 02 E9 FB 03 08 E4 3A 25 08 
    84 47 25 08 D0 70 03 02 7D 03 04 08 7D E4 03 08
    this sets the average party level based off of var 0x8000
    so what we can do is
    a.) setvar 0x8000 to desired level and then continue
    setvar 0x8000 0x(desired level)
    callasm 0x([offset of set level]+1)
    b.) use the modified average level one and then the set level
    callasm 0x([offset of modified average level]+1)
    callasm 0x([offset of set level]+1)

    method a may find complaints in that all you have to do to "train" is simply go through the game, and some people will still train to get ahead and then lose their training progress
    method b may find complaints in that only one pokemon is needed to train and then it is averaged and brought up to the average level. if you travel with one pokemon, then this doesn't solve anything, ahaha...

    now, if i could figure out how to manipulate the opponent's pokemon, this would be much simpler and all we'd have to do is modify the routine a little to set the level of their pokemon to the same results as your average

    thanks fbi for routines!
     
    Last edited:
    17
    Posts
    15
    Years
    • Seen Apr 29, 2024
    if i can obain the offset that sets the level limit, the only thing i've todo is writing the offset as the game progresses
     

    BluRose

    blu rass
    812
    Posts
    10
    Years
  • if i can obain the offset that sets the level limit, the only thing i've todo is writing the offset as the game progresses
    if it were that easy, you'd see it more often
    here's a compiled list of them (afaik)
    Spoiler:

    changing all of these to the relevant values does work (I set the max level to 6, Bulbasaur went and gained a level finely and now this):
    any way to equilibrate gym fights FIRERED

    (the next lv. --> 0 is what matters)
    and now he doesn't gain exp at all, like at level 100~

    the problem is, you can't change the ROM at runtime. this then becomes why we need to use asm for this <3

    i'll edit later with a hunch
    if it works, then yay
    if it doesn't, then so be it
     
    Last edited:
    Back
    Top