• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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
    13
    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:
    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