The PokéCommunity Forums  

Go Back   The PokéCommunity Forums
Reload this Page Rendan's Profile

Notices
For all updates, view the main page.

Ad Content

Rendan Rendan is offline

Visitor Messages

Showing Visitor Messages 1 to 3 of 3
  1. ghoulslash
    June 4th, 2020 5:38 PM
    ghoulslash
    I'm glad it worked! Always happy to help :)
  2. ghoulslash
    June 3rd, 2020 5:58 PM
    ghoulslash
    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
  3. ghoulslash
    June 2nd, 2020 1:19 PM
    ghoulslash
    The function you're looking for is CalculateMonStats, located at 0x803E47C. Hope that helps!

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: May 20th, 2021 2:06 AM
  • Join Date: November 9th, 2017
  • Referrals: 0

All times are GMT -8. The time now is 9:19 AM.