top of page

Randomize Ability, Ivs, Natures for In-Game Trades

5.12

This will make all in-game trade Pokemon have random Personality values (thus nature, but also a chance of being shiny) and randon IVs.

HMA Discord Link 2.png

Credits:

Defa


How To

At 053B92, select up to 053BD9 (or in the "Length" box at the bottom left corner of HMA type "48")

Select all of the Thumb code

Delete it and put this instead

    mov   r8, r5
    ldr   r3, Random
    bl    linker
    lsl   r0, r0, #16
    lsr   r0, r0, #16
    mov   r5, r0
    ldr   r3, Random
    bl    linker
    lsl   r0, r0, #16
    orr   r5, r0
    str   r5, [sp, #4]
    mov   r0, r6
    mov   r1, #0
    add   r2, sp, #4
    ldr   r3, SetMonData
    bl    linker
    mov   r5, r8
    b     <053BDA>
SetMonData:
    .word 0x0804037D
Random:
    .word 0x08044EC9
linker:
    bx r3

Happy Hacking!

 


bottom of page