• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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
    5
    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