• 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.
R
Reaction score
3

Profile posts Latest activity Postings About

  • It won't work with a callasm, unfortunately. the function takes a pokemon data structure input: void CalculateMonStats(struct Pokemon *mon). So you could write an asm routine like so:
    main:
    push {r0-r1, lr}
    ldr r0, =(0x20370C0) @var 0x8004 = party slot number
    ldrb r0, [r0]
    mov r1, #0x64
    mul r1, r0
    ldr r0, =(0x2024284)
    add r0, r0, r1
    bl CalculateMonStats
    pop {r0-r1, pc}
    CalculateMonStats:
    ldr r1, =(0x803E47C + 1)
    bx r1
  • Loading…
  • Loading…
  • Loading…
Back
Top