• 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.

[ASM & Hex] In pokecrystal, where are the fight calculations stored? (exp., damage, etc)

d4rk

Oh my Arceus!
318
Posts
12
Years
  • I'd like to change some battling systems in pokecrystal but I couldn't find where they are located. I also want to ask how these changes would be welcomed in a romhack.

    What I'd like to do:
    - change the exp. formula a bit to yearn more exp. points... probably also deleting the "pokemon sent by trainer more exp" flag
    - change the damage formula to make same-type attack bonus equals 1, to test if coverage moves get better strategies without STAB

    I'd like to know whether there are other internal engines and systems I can act on in pokecrystal romhacking,

    thanks in advance,
     
    Last edited:
    451
    Posts
    6
    Years
    • Seen May 11, 2024
    I'd like to change some battling systems in pokecrystal but I couldn't find where they are located. I also want to ask how these changes would be welcomed in a romhack.

    What I'd like to do:
    - change the exp. formula a bit to yearn more exp. points... probably also deleting the "pokemon sent by trainer more exp" flag
    - change the damage formula to make same-type attack bonus equals 1, to test if coverage moves get better strategies without STAB

    I'd like to know whether there are other internal engines and systems I can act on in pokecrystal romhacking,

    thanks in advance,

    Damage is calculated here and experience is calculated here.
    Generally you can find code by searching for words that might be related to the code like exp or damage.
     
    Back
    Top