Conversation Between irreverently2nd and AkameTheBulbasaur
1 to 3 of 3
  1. irreverently2nd
    September 9th, 2020 3:43 AM

    Thank you so much for the response! Ahahaha, I didn't even think to check Bulbapedia, sorry!

    Yes, your explanation makes perfect sense, thank you! And thank you again for writing this lovely piece of ASM (and all the other ASM work you've done and the FRLG icons, those were so neat)!
  2. AkameTheBulbasaur
    September 8th, 2020 6:26 PM
    Hello! I'm really glad you're getting something out of it!!

    As for the Natures, I used the Bulbapedia page. It has the indices for all the Natures there.

    There is also another way you can get the Nature you want which doesn't involve needing to know what the names are and what stats they go with.

    0x0 = Attack
    0x1 = Defence
    0x2 = Speed
    0x3 = Sp. Attack
    0x4 = Sp. Defence

    Multiply the stat you want to raise by five. Add that to the stat you want to lower. (Remember this is all in hexadecimal).

    For example, if I want to raise Defence and lower Sp. Attack, I would get: 0x1*0x5 + 0x3 = 0x8 = Impish (I checked Bulbapedia and I was right). This is how I did it when I created my Nature changing script (I allowed the user to pick which stats to raise/lower rather than the Nature's name).
  3. irreverently2nd
    September 3rd, 2020 7:44 PM
    Hi Akame,
    First off, thanks so much for all the work you've put into ASM research! It's really helped my own ROM hacking experience.

    Second, I wanted to ask a question about the Natures Changing Routine you recently shared for Firered. I was wondering could you tell me (or link me to) the values for the natures? I understand 0x0 is Hardy, but what about the other natures?

    Thanks in any case!