• 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] Call Battle Script Problem

Lance Koijer 2.0

Lance Koijer
  • 105
    Posts
    7
    Years
    Hello guys!

    I was trying to call a Battle Script from the routine I am working using this:
    Code:
    ...
    ldr r0, =0x8800000 //Pointer to battlescript//
    bl linker
    ...
    
    Linker:
    ldr r1, =0x801BC25
    bx r1
    ...

    I found 0x0801BC25 used most of the time in routines that call a Battle Script..
    However, when I tried to apply it to in my routine, nothing changes... as in NOTHING.

    Can someone point out to me what I am doing wrong? I also tried some addresses that were used in other routines with the same format but it's either nothing happens or it crashes the game...

    Also, the codes before and after that are functioning when those lines were erased.
     
    Back
    Top