Blah's Profile Picture

Blah

Free supporter

Community Supporter

Visitor Messages

886 to 900 of 1440
  1. Percy
    November 27th, 2014 9:24 PM
    Percy
    Nah, I already learned it!
    And, thanks, I will :)
  2. Kenny1
    November 27th, 2014 11:13 AM
    Kenny1
    I don't understand, that offset is EXACTLY the same in other FR roms ;-; The routine doesn't even change it
  3. Kenny1
    November 27th, 2014 11:10 AM
    Kenny1
    ;-; Now it says undefined opcode there where gamefreak appears.
  4. Kenny1
    November 27th, 2014 11:02 AM
    Kenny1
    The hook, or the ASM?
  5. Kenny1
    November 27th, 2014 10:56 AM
    Kenny1
    :|, I didn't know that, where would I place the hook?

    Edit~ It didn't work, during the flashback, it turned into a black screen ;-;
  6. Percy
    November 27th, 2014 12:54 AM
    Percy
    You're so good with ASM!
    I'm so jealous!
    Can you, by any chance, teach me?
  7. chrunch
    November 26th, 2014 11:43 PM
    chrunch
    I haven't tested it for a while now, but yes I believe it is. I've done all the byte changes required too, and some additional ones. It's just the actual Pokedex screen.
  8. Kenny1
    November 26th, 2014 11:00 PM
    Kenny1
    Ok, I dont Think I'll be getting this right ;-;. So, I'll give you the offset where you can change the offset of r1, to change it. At 0814FED0 there is a bl 80017D0, the value in r1 should be changed before this, to the offset of the image, not a pointer, the offset(dont ask me why). I posted this, so that you can maybe make a routine that will work, if you want, I can post my non working routine again.

    Spoiler:
    .text
    .thumb
    .thumb_func
    .align 2

    Main:
    push {r0-r4, r7, lr}
    bl Checkvar
    ldrh r0, [r0]
    ldr r2, .TableOffset
    lsl r0, #0x2
    ldrh r1, [r0, r2]
    bl Return

    Checkvar:
    push {lr}
    ldr r0, .Var
    pop {pc}

    Return:
    mov r2, #0x0A0
    lsl r2, r2, #0x2
    mov r3, r4
    ldr r7, .Ret
    pop {r0, r2-r4}
    bx r7



    .align 2

    .Var:
    .word 0x020370de

    .TableOffset:
    .word 0xDEADBEEF

    .Ret:
    .word 0x0814FED1
  9. Kenny1
    November 26th, 2014 10:44 PM
    Kenny1
    My routine no longer crashes the rom, now it makes the map go black(or green) and textboxes no longer show up, even in battle.
  10. Kenny1
    November 26th, 2014 9:50 AM
    Kenny1
    Yeah, It failed again.

    I think its the way I used ldrb, I actually forgot how it works :P
  11. Kenny1
    November 26th, 2014 9:29 AM
    Kenny1
    Finished it, after about an hour of work.
    ;-; My routine crashed the rom, but I can post it, dont know if it would help though.

    Main routine:
    Spoiler:
    .text
    .thumb
    .thumb_func
    .align 2

    Main:
    push {r0-r4, lr, r7}
    bl Checkvar
    ldr r1, #0x0
    ldr r2, TableOffset
    ldrb r0, [r0, #0x1]
    ldr r3, #0x4
    mul r0, r3
    add r0, r2, r0 @Pointer loading completed
    ldrb r4, [r0, #0x4]
    ldrb r1, [r0, #0x4]
    b Return

    Checkvar:
    ldr r0, Var
    ldr r1, Decrypt
    bl r1
    pop {pc}

    Return:
    mov r2, #0x0A0
    lsl r2, r2, #0x2
    mov r3, r4
    ldr r7, .Ret
    pop {r0-r4}
    bx r7


    .align2
    .Decrypt:
    .word 0x0806E455

    .Var:
    .word 0x4200

    .TableOffset:
    .word 0x08DEADBEEF

    .Ret:
    .word 0x0814FED0
    Replace DEADBEEF with the offset of the table.


    Hook:
    Spoiler:
    @Insert This routine at 0x0814FEC8
    .text
    .thumb
    .thumb_func
    .align 2

    main:
    ldr r2, .ROUTINE
    bx r2

    .align 2
    .ROUTINE:
    .word 0xDEADBEEF
    Replace DEADBEEF with the offset of the routine.


    Basic Table:
    08 41 F1 C8 08 47 0B 0C 08 47 0D 6C
    ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
    Offsets of the images.

    It crashes whenever the game has to load a Textbox.
  12. Kenny1
    November 26th, 2014 8:25 AM
    Kenny1
    Found the command that loads it, aswell as the one that loads the palette.

    Successfully changed the image, not the palette, but that could also be done.
  13. Kenny1
    November 26th, 2014 8:04 AM
    Kenny1
    Only between Signpost and Normal, this way, you can give Gym leaders their own textbox or something like that. Also, I might have found it.

    Should I see if I can use a table?

    Otherwise I can just make a routine to change it to signpost.


    Found the routine, but me no longer being ASM literate, cant find which command loads the textbox. ;-;

    Offsets:
    Spoiler:
    0814FEAC~Start of Routine

    0814FEE8~End of routine?
  14. Kenny1
    November 26th, 2014 7:45 AM
    Kenny1
    Lol, sorry, I decompiled them, you would hook into the textbox loading routine, which I lost now. I think I should just try rewrite the whole thing, I made that as one of my first ASM projects

    Edit~Btw, they're not all at the end of the rom, the ones that are at the end are the ones that changed. There is the one that loads the different image.
  15. chrunch
    November 25th, 2014 10:01 PM
    chrunch
    Hey! I just wanted to ask you something about your ASM Resource thread. Jambo51 posted some information a while ago on how to expand the regional dex in FR past 151 (here). It's been very helpful to me but there is one problem: for any Pokemon past 151, when I catch it in the wild the Pokedex screen is skipped, and I was wondering if you could look into it. I imagine this small fix would be useful to pretty much everyone who wants to expand the Kanto dex but I'm not sure if it's the type of work you want to do (since I'm not even sure if it needs ASM). Thanks for your time, I would really appreciate a response. I think it's a great thing that you're willing to help people out who aren't as good with ASM. :)

About Me

  • About Blah
    Quick Self-Introduction
    Still not famous
    Biography
    Leet rom hacker
    Interests
    pretty avid shitposter
    Location
    Unknown Island
    Gender
    Male ♂
    Also Known As
    FBI
    Favorite Pokémon
    Charizard
    Typhlosion
    Snubbull
    Corphish
    Master Race Spinda
    Battle Server Name
    Definitely not FBI
    Discord Nickname
    Blah
  • Signature
    ...

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Join Date: January 19th, 2013
  • Referrals: 1

Badges

Badges

Emblems

Helping Hand
This member has done some kind of service to PC; Or maybe they help out other members whenever they get the chance.
Awarded: January 16th, 2015 2:41 PM
Level Up!
This member has really surpassed their newbie days and has become a wonderful asset to the community! Congratulations!
Awarded: April 9th, 2015 8:26 AM
Community Supporter
These helpful members donate their money to help make PC a better place.
Awarded: April 17th, 2016 9:01 AM
My Goodies
You manipulated me into giving you this, didn't you?
Awarded: September 20th, 2016 12:52 AM
#1 Scriptwriter!
This person came first in 2010's Get Together's Scriptwriting Competition! Awesome!
Awarded: September 28th, 2016 9:20 AM