Thread: Development: The 4th gen class split in 3rd gen
View Single Post
  #147    
Old April 25th, 2012 (8:43 AM).
Jambo51's Avatar
Jambo51 Jambo51 is offline
Glory To Arstotzka
     
    Join Date: Jun 2009
    Gender: Male
    Nature: Quiet
    Posts: 732
    Quote:
    Originally Posted by Agastya View Post
    Not to sound rude or anything, but it sure is taking you a while to dig up and post a fix that you supposedly had a few months ago..

    Actually, why didn't you just post the actual fix then, anyway? It would have saved everybody a lot of time, and it probably would have already been ported to the other third gen games by now, too.
    I haven't posted it since then because I was:
    1) Testing the damned thing to make sure it worked
    2) Being busy with exams and coursework
    3) Having a life beyond hacking

    Code:
    .text
    .align 2
    .thumb
    .thumb_func
    .global LCDPSSGlitchFix
    main:
     ldr r0, [sp, #0x8]
     lsl r1, r0, #0x1
     add r1, r1, r0
     lsl r1, r1, #0x2
     ldr r0, attackdata
     add r0, r0, r1
     ldrb r0, [r0, #0x2]
     mov r11, r0
     mov r2, r11
     cmp r2, #0xD
     bne continue
     mov r0, #0x0
     str r0, [sp, #0x0]
     ldr r0, return
     bx r0
    continue: ldr r3, returntwo
     bx r3
    .align
    return: .word 0x0803F10D
    returntwo: .word 0x0803F127
    attackdata: .word 0x08250C04
    At 0x3F102, change the code to 01 4A 10 47 00 00 XX XX XX 08.

    That isn't all though, you also need to change:

    0803F126: 5B 46
    0803F14A: 58 46
    0803F17A: 5A 46
    0803F1AA: 58 46
    0803F1DA: 5A 46

    You should be good to go after that.
    __________________
    Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
    Reply With Quote