Go Back   The PokéCommunity Forums > Members List
Reload this Page leyn09's Profile

Notices
For all updates, view the main page.



leyn09's Profile Picture

leyn09 leyn09 is offline

Truant Trainer

Visitor Messages

Showing Visitor Messages 1 to 10 of 10
  1. kearnseyboy6
    April 3rd, 2015 09:21 PM
    kearnseyboy6
    Compile it and use it, change the var at the bottom if need be, but if it doesnt work with JPAN's then no idea sorry.
    Quote:
    #EV spread table format
    #Each spread is 16 bytes
    #0x0 = Nature
    #0x4 = IVs (from 0-31, not 0-255, used for all IVs)
    # (if you want hidden powers, recall the ai can't handle -- bp moves)
    #0x5 = HP EVs
    #0x6 = Atk EVs
    #0x7 = Def EVs
    #0x8 = Speed EVs
    #0x9 = SAtk EVs
    #0xA = SDef EVs
    #0xB = Pokeball
    #last four bytes are filler

    .align 2
    .thumb
    .thumb_func

    .org 0x115f6
    mov r0, r1
    mov r6, r0
    b 0x11604

    .org 0x1162c
    ldr r0, .Method_Addr
    bx r0

    .Method_Addr: .word 0x08F90001

    .org 0x3dc70
    b 0x3dcd0


    .org 0xF90000

    vartest:
    push {r0,r2}
    ldr r2, .VarDecrypt
    ldr r0, .VarWant
    bl Vardecrypt1
    ldrh r0, [r0]
    cmp r0, #0x0
    beq Continue
    mov r6, r0
    b Continue

    Vardecrypt1:
    bx r2

    Continue:
    pop {r0,r2}

    LoadItem:
    add r5, #0x6
    add r0, r4, #0x0
    mov r1, #0xc
    add r2, r5, #0x0
    bl Insert_Element

    LoadHPEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0x5
    mov r1, #0x1A
    mov r0, r4
    bl Insert_Element

    LoadAtkEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0x6
    mov r1, #0x1B
    mov r0, r4
    bl Insert_Element

    LoadDefEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0x7
    mov r1, #0x1C
    mov r0, r4
    bl Insert_Element

    LoadSpeedEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0x8
    mov r1, #0x1D
    mov r0, r4
    bl Insert_Element

    LoadSAtkEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0x9
    mov r1, #0x1E
    mov r0, r4
    bl Insert_Element

    LoadSDefEV:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0xA
    mov r1, #0x1F
    mov r0, r4
    bl Insert_Element

    LoadBall:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    add r2, #0xB
    mov r1, #0x26
    mov r0, r4
    bl Insert_Element

    StartNatureLoop:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    ldrb r5, [r2, #0x0]
    cmp r5, #0x0
    beq LoadIVs
    ldr r0, [r4, #0x0]
    ldr r1, [r4, #0x4]
    eor r1, r0, r1
    str r1, [r4, #0x4]

    NatureLoop:
    ldr r0, [r4, #0x0]
    add r0, r0, #0x18
    str r0, [r4, #0x0]
    mov r1, #0x19
    bl Mod
    cmp r0, r5
    bne NatureLoop

    EndNatureLoop:
    ldr r0, [r4, #0x0]
    ldr r1, [r4, #0x4]
    eor r1, r0, r1
    str r1, [r4, #0x4]

    LoadIVs:
    lsl r0, r6, #0x4
    ldr r2, .EV_Table
    add r2, r0
    ldrb r6, [r2, #0x4]
    push {r6}

    StartIVLoop:
    mov r5, #0x27

    IVLoop:
    mov r0, r4
    mov r1, r5
    mov r2, sp
    bl Insert_Element
    add r5, r5, #0x1
    cmp r5, #0x2D
    bne IVLoop

    End:
    pop {r6}
    bl Recalculate_Stats
    ldr r1, .Return_Addr
    bx r1

    Insert_Element:
    ldr r3, .Insert_Addr
    bx r3

    Recalculate_Stats:
    mov r0, r4
    ldr r1, .Recalc_Addr
    bx r1

    Mod:
    ldr r3, .Mod_Addr
    bx r3

    .align 2
    .Return_Addr: .word 0x08011639
    .EV_Table: .word 0x08F00000
    .Insert_Addr: .word 0x0804037d
    .Recalc_Addr: .word 0x0803e47d
    .Mod_Addr: .word 0x081e4685
    .VarDecrypt: .word 0x0806E454+1
    .VarWant: .word 0x0000408F
  2. MrDollSteak
    February 19th, 2014 07:05 PM
    MrDollSteak
    Thanks for that!
    Yeah the new items don't work yet, I just wanted to get 1.4a out because of all the messages I was getting about Poison damage.

    I'm looking at Blizzard. May add a quick hot fix.

    It's fixed now, just redownload it and patch it to your rom.
  3. MrDollSteak
    December 14th, 2013 05:07 AM
    MrDollSteak
    Nope, it'll either keep or overwrite the changes.
  4. MrDollSteak
    December 13th, 2013 08:01 PM
    MrDollSteak
    Oh yes! Sorry about that, that was poor labelling on my part.
  5. Sniper
    December 6th, 2013 08:02 PM
    Sniper
    Yep, I hope she'll come back!
  6. Sniper
    December 2nd, 2013 02:51 AM
    Sniper
    You better watch the rest of it.
    It's somehow great!
  7. Sniper
    November 30th, 2013 06:24 AM
    Sniper
    Yeah, that's one of my favorite this season.
    How about uh.. Strike the blood?
  8. Sniper
    November 29th, 2013 09:07 PM
    Sniper
    It was indeed heartbreaking.
    What animes are you watching besides Kyoukai no Kanata?
  9. Sniper
    November 29th, 2013 09:00 PM
    Sniper
    Yes, I can't wait for episode 10~ D:
  10. Sniper
    November 29th, 2013 08:47 PM
    Sniper
    <3 Megane o kaketa on'nanoko ga kawaīdesu.

About Me

  • About leyn09
    Biography
    If I don't have to do it now, I won't. If I have to do it, I'll make it quick.
    Interests
    Anime / Games
    Location
    Philippines
    Gender
    Male ♂
    Occupation
    Student
    Nature
    Careful
    Also Known As
    Oreki
    Favorite Pokémon
    Scizor
    Twitter
    leynnn

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 1 Day Ago 06:53 AM
  • Join Date: May 4th, 2011
  • Referrals: 0

Friends

Showing Friends 1 to 1 of 1

All times are UTC -8. The time now is 09:48 PM.