• 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] Changing stat increment multiple of 'Hold item'

  • 2
    Posts
    4
    Years
    • Seen Apr 9, 2020
    Hi there.

    (skip)

    Lightball:
    mov r0, r8
    lsl r0, r0, #0x1
    mov r8, r0
    lsl r7, r7, #0x1

    (skip)

    This is 'light ball' asm code.

    (Thanks to 'kleenexfeu' for providing this nice code.)

    I know the '# 0x1' part is a multiple of the lightball.

    I just want to know what to do when I want to make different multiple like 1.2 and 1.5.

    Also, is there any way to specify 'DEF', 'SP.DEF' not 'ATK', 'SP.ATK'?
     
    Back
    Top