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

Notices
For all updates, view the main page.



FBI agent's Profile Picture

FBI agent FBI agent is offline

If my PM box is full, VM instead :x

Visitor Messages

Showing Visitor Messages 361 to 375 of 906
  1. Kenny1
    November 26th, 2014 09:50 AM
    Kenny1
    Yeah, It failed again.

    I think its the way I used ldrb, I actually forgot how it works
  2. Kenny1
    November 26th, 2014 09: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:
    Quote:
    .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:
    Quote:
    @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.
  3. Kenny1
    November 26th, 2014 08: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.
  4. Kenny1
    November 26th, 2014 08: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?
  5. Kenny1
    November 26th, 2014 07: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.
  6. 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. :)
  7. Kenny1
    November 25th, 2014 09:59 PM
    Kenny1
    Hello, I saw this now, and I've recently been working on exactly that. I could finish it if you want, less work for you. Only thing is, idk which var to use, lol.

    Edit~Yeah, I lost my source code , so it would take a while to find it all again

    Old Decompiled non working code:
    Spoiler:
    Quote:
    08FFFFC0 B401 push r0 ;10 199..
    08FFFFC2 F000F805 bl 8FFFFD0h ;10 209..
    08FFFFC6 2801 cmp r0,1h ;2 211..
    08FFFFC8 D000 beq 8FFFFCCh ;8 219..
    08FFFFCA E005 b 8FFFFD8h ;8 227..
    08FFFFCC 4907 ldr r1,=8470B0Ch ;9 236..
    08FFFFCE E003 b 8FFFFD8h ;8 244..
    08FFFFD0 B500 push r14 ;10 254..
    08FFFFD2 4808 ldr r0,=20370C0h ;9 263..
    08FFFFD4 8800 ldrh r0,[r0] ;4 267..
    08FFFFD6 BD00 pop r15 ;10 277..
    08FFFFD8 BC01 pop r0 ;4 281..
    08FFFFDA 22A0 mov r2,0A0h ;2 283..
    08FFFFDC 0092 lsl r2,r2,2h ;2 285..
    08FFFFDE 1C23 mov r3,r4 ;2 287..
    08FFFFE0 4805 ldr r0,=80017D0h ;9 296..
    08FFFFE2 F7FFFFFE bl 8FFFFE2h ;10 306..
    08FFFFE6 4802 ldr r0,=814FED2h ;9 315..
    08FFFFE8 4700 bx r0 ;8 323..

    //Not sure this belongs here:

    08FFFFEA 46C0 nop ;2 325..
    08FFFFEC 0B0C lsr r4,r1,0Ch ;2 327..
    08FFFFEE 0847 lsr r7,r0,1h ;2 329..
    08FFFFF0 FED20814 ???? ;10 339..
    08FFFFF2 0814 lsr r4,r2,20h ;2 341..
    08FFFFF4 70C0 strb r0,[r0,3h] ;5 346..
    08FFFFF6 0203 lsl r3,r0,8h ;2 348..
    08FFFFF8 17D0 asr r0,r2,1Fh ;2 350..
    08FFFFFA 0800 lsr r0,r0,20h ;2 352...


    I think the problem was that I was returning to the command that points here, so it keeps looping the routine.
    Quote:
    08FFFFE6 4802 ldr r0,=814FED2h ;9 315..
    08FFFFE8 4700 bx r0
    Lol, I cant stop editing, I found that the code seems to loop while I was cleaning the code:
    Spoiler:
    08FFFFE2 F7FFFFFE bl 8FFFFE2h ;10 306..

    Now I can see why the rom broke, lol.
  8. daniilS
    November 24th, 2014 10:09 PM
    daniilS
    I explained this like three times already:
    The move cursor points to a BATTLE SCRIPT. It DOES NOT contain any commands itself. So, just compile a script, and store the pointer to that script at the move cursor. Then again, that wouldn't work either without properly starting battle script execution.

    I tested x53 by putting it into a move script, but as I told you yesterday, I think maybe battle scripts aren't the best way to go about this since you found bare asm which runs at the end of a turn.
  9. Christos
    November 24th, 2014 04:51 PM
    Christos
  10. Christos
    November 24th, 2014 04:26 PM
    Christos
    you need to wait 24 more
  11. Christos
    November 24th, 2014 04:06 PM
    Christos
    I'd be fine with it in Beginner's Lounge, though if you wanted you could post an ASM resource thread in the Resources section? You could post your routines there for people to use and people could ask for routines as well. Or you could work for me
  12. daniilS
    November 24th, 2014 01:07 PM
    daniilS
    I'm still 100% against using the oak functions. The stuff I would like to use are things like the message and trainer slide that happens after winning a battle, and maybe DollSteak's custom battle messages. Anyways, I'm putting my input into this on hold for now until after Argentina.
  13. Lone Knight
    November 24th, 2014 08:25 AM
    Lone Knight
    Your avatar looks awesome lol
  14. Lone Knight
    November 24th, 2014 07:49 AM
    Lone Knight
    So how are you doing?
  15. Tcoppy
    November 23rd, 2014 07:53 AM
    Tcoppy
    :O
    Noooooooooooooooo

About Me

  • About FBI agent
    Biography
    Currently working undercover, being payed 6 figures to pose as a 9 year old little girl to attract sexual predators and eliminate them. If you have any suspects, please approach me and together we will bring them to justice.

    Common qualities of such predators include:

    - Fake love for Pokemon
    - Often make grammatical and spelling mistakes
    - Trying to always socialize
    - Have suggestive user names (xXI'M UR FRIENDXx)
    - Try to get to know you and ask for contact info
    - Usually get butt-hurt over internet jokes

    There are many more, but I'm afraid the rest are confidential.
    Interests
    - Hijacking planes already hijacked by terrorists
    - Playing Pokemon games
    - Counting spare change
    Location
    Unknown Island
    Gender
    Male ♂
    Occupation
    ...really?
    Also Known As
    Little Annie
    Favorite Pokémon
    Charizard
    Typhlosion
    Corphish
    Master Race Spinda
  • Signature
    ...

    My name forum name is FBI Agent, though you can call me FBI because it's shorter.

    Some of my stuff:
    ASM request/resource thread
    ASM tutorials thread
    ASM Workshop

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 1 Week Ago 05:30 AM
  • Join Date: January 19th, 2013
  • Referrals: 1

Friends

Showing Friends 1 to 20 of 24

Emblems

Emblem Showcase - 2 Total
  Emblem
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 02: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 08:26 AM

All times are UTC -8. The time now is 02:08 PM.