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

[Other✓] What is wrong in my Calcium code?

McPaul

On my way to become a controversial and hated memb
  • 289
    Posts
    7
    Years
    Hello!
    As I'm tyring to learn how to use pokeemerald, the oldfags will like this try to make Emerald stats like GSC. I managed to make all stats maxed out (no EV limit, all EV can get maxed, vitamins like Calcium all give 16 EV each up to 160 EV to give the same effect as GSC too, SPA and SPDEF have the same IV and natures are all neutral.)

    But the last thing to do to GSCize Emerald stats is to delete Zinc and make Calcium raise SPA AND SPDEF at the same time. So the item's code got modified like this:

    const u8 gItemEffect_Calcium[10] = {
    [5] = ITEM5_EV_SPATK | ITEM5_EV_SPDEF | ITEM5_FRIENDSHIP_ALL,
    [6] = 16,
    [7] = 5,
    [8] = 3,
    [9] = 2,

    The problem here is that now the Pokémon can eat 20 Calcium instead of 10 and one stat gets raised THEN another instead of the two at the same time.
    How could the two of them be raised at the same time with only one Calcium?

    Thanks for your answer!
     
    Last edited:
    Back
    Top