< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Members List kearnseyboy6's Profile

Notices

kearnseyboy6 kearnseyboy6 is offline

Aussie's Toughest Mudder

Visitor Messages

Showing Visitor Messages 1 to 15 of 281
  1. pokefreak890
    2 Weeks Ago 12:33 PM
    pokefreak890
    hello kearnseyboy6 im trying to do your evolution tutorial but this is the only part i got stuck

    bl decrypt

    decrypt: push {r0-r7}
    mov r1, #0x##
    ldr r2, decryptpoke
    bx r2

    decryptpoke: .word 0x0803FBE9

    what do i put at the two ##

    thanks
  2. INDIAN MEW(ARAZI)
    3 Weeks Ago 9:46 AM
    INDIAN MEW(ARAZI)
    didn't you think you have maken a lot of holidays .well best of luck.
  3. FBI
    November 26th, 2015 7:29 AM
    FBI
    Oh, I've already sort of started. Currently, I'm working on the damage calculator. If you can log on IRC at the same time that I'm logged on, then I can brief you on the data structures I've made and you can perhaps start my making setup code to appropriately malloc and fill them with the correct data.

    I'm going to post the code to Github as I'm doing it, so it would be neat if you knew how to use that as well.
  4. FamiliaWerneck
    July 27th, 2015 7:03 AM
    FamiliaWerneck
    Hey, no problem, man.
    Work hard for your career to develop, I'm sure you'll be successful!
    =D
  5. FamiliaWerneck
    July 20th, 2015 4:47 PM
    FamiliaWerneck
    kearnsey, can you help with something?
    joexv was helping me, making the evolution routine for a Level + Item evolution method.
    He did, but we could not figure a way to keep the item if you cancel the evolution.
    I tried looking for the stone evolution routine, but no luck.
    Can you help us with this?
  6. Splash
    July 9th, 2015 5:05 AM
    Splash
    sorry if i have so many question but i really am determined to put new evolutions in my hack xD
    So this is what i did is:
    I inserted the bin into the gba file and then added the little endian offset where the bin was compiled in the gba file.. problem is when i did the male evolutions thing it didnt work
  7. Splash
    July 7th, 2015 5:56 AM
    Splash
    In your adding new evolutions tutorial:
    where can i find the F0 19? Where is the offset? Sorry im kinda confused on that part -.-

    I changed the ini but the alignment is kinda messed up now.. is that really how it goes and ill have to edit every last pokemon or am i doing it wrong?
  8. Splash
    July 6th, 2015 3:38 AM
    Splash
    So I'll just change that 0E to 30? Got it! Thanks man..
    Oh and another mini question.. I saw your asm about telling the time in criminon's tutorial and was wondering if that was compatible with JPAN's engine?
  9. Splash
    July 5th, 2015 8:45 AM
    Splash
    Hi I have another question: When I searched 0x42FAA in hex i didnt see F0 19 in the offset instead I found 0E 28.. Should I still change it to B0 00? I'm using MrDS' rombase btw..
  10. Splash
    July 5th, 2015 2:43 AM
    Splash
    i see thanks
  11. Splash
    July 5th, 2015 12:58 AM
    Splash
    So I can just use any of the two?
  12. Splash
    July 4th, 2015 6:18 PM
    Splash
    Hey man I was wondering if your evolution methods like day time induced item hold need prime-dialga's DNS System or Jambo's Day/Night?
  13. FamiliaWerneck
    June 17th, 2015 5:53 AM
    FamiliaWerneck
    I didn't know I could not cancel a stone evolution. If we could make it impossible to cancel Slowpoke's evolution, that would be perfect.
    Are you sure you don't know how that works?
  14. FamiliaWerneck
    June 16th, 2015 7:26 AM
    FamiliaWerneck
    Ok, I understand now the special routine thing.

    So basically, what you are saying is that there's no way to cancel with the B button all this custom evolutions you guys did?
    Or you are saying the evolution screen only loads if the routine is true? That way, canceling the evolution via the B button is standart (default, whatever) and there's no need to implement it. Is that it?
  15. FamiliaWerneck
    June 15th, 2015 7:21 AM
    FamiliaWerneck
    Almost everything is pretty much clear, now. I did saw your link, but got nothing out of it.
    Looking now, I find some important stuff. Still kinda lost with the special routines. You will understand.
    Let's see if I get it.
    Check this:
    Spoiler:
    .text
    .align 2
    .thumb
    .thumb_func
    .global mantykeevo

    main:
    push {r0-r7}
    add r0, r6, r7
    lsl r0, r0, #0x3
    add r0, r2, r0
    add r3, r0, r3
    ldrh r2, [r3, #0x2] @up until here, all standart stuff
    mov r5, #0x0 @counter for the party Pokémon

    loop: ldr r0, firstpoke @loads the first Pokémon in your party, I think... (speacil routine, don't get it, you see)
    mov r1, #0xB @moves the information B bytes, so you get the species byte (now, this I got from the link you gave me)
    mov r6, #0x64 @this moves 64 bytes, which is the total bytes for a party Pokémon
    add r4, r5, #0x0 @this adds the counter of the party Pokémon, so you know what Pokémon you are currently checking
    mul r4, r6 @this multiplies the 64 bytes for the counter of party Pokémon, so it jumps all the bytes of the Pokémon that were already checked.
    add r0, r0, r4 @this adds the current Pokémon to be checked to the first Pokémon, so the game knows it's going to jump X bytes starting from the first Pokémon
    bl decrypt @it branches to the "decrypt" section and returns here after that
    mov r9, r0 @moves safely the Pokémon that is to be checked in r0 to r9
    pop {r0-r7} @clears the registers
    mov r1, r9 @move the Pokémon from r9 to r1
    cmp r1, r2 @compares the current Pokémon species with the argument stored in r2
    beq levelcheck @if it is the right species, it goes to levelcheck
    cmp r5, #0x5 @it compares the Pokémon counter to five (with 0, 5 will be the sixth Pokémon, meaning you have no more party Pokémon to compare with)
    beq exit @if you don't have any more Pokémon to compare, it doesn't evolve
    add r5, #0x1 @if you have more Pokémon to compare, the counter is added by one, so you go to the next Pokémon when it loops
    b loop @restarts the looping

    levelcheck: mov r10, r3 @moves the information in r3 to r10 (what information, exactly, I don't know...)
    pop {r0-r7} @clears the registers
    mov r1, r10 @moves the information back safely to r1
    ldr r0, levelcheckloc @actually makes the evolution happen?
    bx r0 @ends the evolution?

    exit: pop {r0-r7} @clears the registers, as the requirements for evolutions were not met
    ldr r0, noevo @loads back the overworld, from what you told me
    bx r0 @ends the routine?

    decrypt: push {r0-r7}
    ldr r2, decryptpoke @loads the current Pokémon species in r2
    bx r2 @returns the current Pokémon species and stuff to r2

    .align
    firstpoke: .word 0x02024284
    levelcheckloc: .word 0x0804310D
    noevo: .word 0x08043111
    decryptpoke: .word 0x0803FBE9


    Is that it? Did I get it all?
    You see what I meant, by me still not getting some stuff?
    Also, where in the code is the function "Cancel evolution by B button"?

    Ok, and now, if that was all correct (or not =P), this would be for the Slowpoke with Shellder's removal:
    Spoiler:
    .text
    .align 2
    .thumb
    .thumb_func
    .global slowpokeevo

    main:
    push {r0-r7}
    add r0, r6, r7
    lsl r0, r0, #0x3
    add r0, r2, r0
    add r3, r0, r3
    ldrh r2, [r3, #0x2]
    mov r5, #0x0

    loop: ldr r0, firstpoke
    mov r1, #0xB
    mov r6, #0x64
    add r4, r5, #0x0
    mul r4, r6
    add r0, r0, r4
    bl decrypt
    mov r9, r0
    pop {r0-r7}
    mov r1, r9
    cmp r1, r2
    beq levelcheck
    cmp r5, #0x5
    beq exit
    add r5, #0x1
    b loop

    levelcheck: mov r10, r3
    pop {r0-r7}
    mov r1, r10
    ldr r0, levelcheckloc
    HackMew's (or anyone else's) Pokémon removal code (where I would use a b function and either write the other code here too [bl in that case], or somewhere in the ROM and specify its address down here)
    bx r0

    exit: pop {r0-r7}
    ldr r0, noevo
    bx r0

    decrypt: push {r0-r7}
    ldr r2, decryptpoke
    bx r2

    .align
    firstpoke: .word 0x02024284
    levelcheckloc: .word 0x0804310D
    noevo: .word 0x08043111
    decryptpoke: .word 0x0803FBE9

    Would that be it?

About Me

  • Signature
    HOLIDAYING CURRENTLY!!

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: January 9th, 2016 3:21 AM
  • Join Date: December 28th, 2008
  • Referrals: 0

Friends

Showing Friends 1 to 16 of 16

  All times are GMT -8. The time now is 6:02 PM.


Contact Us Archive Privacy Statement Terms of Service Top