Advertiser Content

Lance Koijer 2.0

Lance Koijer

Visitor Messages

1 to 6 of 6
  1. AkameTheBulbasaur
    June 9th, 2019 9:34 PM
    AkameTheBulbasaur
    I'm not too sure what to do here, I'm afraid. Have you checked to make sure it's not the battle script itself or something like that?
  2. AkameTheBulbasaur
    May 31st, 2019 9:52 PM
    AkameTheBulbasaur
    Hi! Sorry I took so long!

    What exactly is the routine supposed to do? (In other words, where are you hooking from?)

    I checked Mr. Doll Steak's routine for Snow Warning that I had. It said this:


    ldr r0, .SnowWarningBS /*909AD0 in MrDS*/
    bl PlayScript
    ldr r0, .RAMOffset
    mov r1, r10
    strb r1, [r0, #0x17]
    bl OtherBL

    EndScript:
    ldr r4, .EndScriptBL
    bx r4

    PlayScript:
    ldr r2, .PlayScriptBL
    bx r2

    OtherBL:
    ldr r0, .OtherBL
    bx r0

    .align 2
    .SnowWarningBS: .word 0x08190584
    .RAMOffset: .word 0x02023FC4
    .EndScriptBL: .word 0x0801BBAB
    .PlayScriptBL: .word 0x0801BC25
    .OtherBL: .word 0x0801BB5B


    But ChaCha Dinosaur's Flame Orb routine sets it up like this:

    ldr r0, =0x02023D6E
    mov r2, #0x0
    strb r2, [r0]
    ldr r0, =0x08EEEEEE
    ldr r2, =0x08018C05
    bx r2

    Exit:
    ldr r2, =0x08018C13
    bx r2


    I tried looking this up too and the best I got was a thread conversation that went like this:

    A: How do you call a Battle Script from a routine?
    B: You use the Battle Script loader like OMG DUH
    A: Okay how do you do that?
    B: *crickets*

    So yeah, it wasn't very helpful.
  3. FULLMETAL GRENINJA
    May 26th, 2019 1:07 AM
    FULLMETAL GRENINJA
    Hi
  4. Skeli-
    May 30th, 2018 8:30 PM
    Skeli-
    I would assume it's mostly in the damage calculation, yes (calculatedamage isn't an actual command, it's shorthand in BSP for several of the damage calculation commands), but I've also seen it in datahpupdate and graphicalhpupdate. I recommend patching a game with the Physical/Special split patch and see what bytes it modifies.
  5. Skeli-
    May 30th, 2018 12:49 PM
    Skeli-
    There isn't one, unfortunately. If you want to change the physicality of a move, you'll need to hook a ton of routines in.
  6. Disturbed
    May 29th, 2018 9:36 PM
    Disturbed
    Go ahead and make a new thread for it : )

About Me

  • About Lance Koijer 2.0
    Quick Self-Introduction
    I am the lord of all dragons.
    No one has ever tried to mess with me.
    Biography
    I kill those who block my way.
    I wipe out those who disobey me.
    I am the lord of lords.
    Interests
    Kill
    Location
    Criscanto Town
    Gender
    Male ♂
    Occupation
    Teacher
    Nature
    Adamant
    Also Known As
    Christian
    Favorite Pokémon
    Sceptile
    In-Game Name
    Lance
    Go Team
    Instinct
  • Online Accounts
    You know what this is.
    Type
    Dragon

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 15 Hours Ago 6:23 PM
  • Join Date: April 19th, 2018
  • Referrals: 0

Friends

Showing Friends 1 to 1 of 1

Badges

Badges

Mini Statistics

Join Date
April 19th, 2018
Total Posts
83
Blog Entries
0