The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > kleenexfeu
Reload this Page Conversation Between kleenexfeu and Germaniac

Notices
For all updates, view the main page.

Ad Content
Conversation Between kleenexfeu and Germaniac
Showing Visitor Messages 16 to 30 of 37
  1. kleenexfeu
    June 28th, 2015 3:26 PM
    kleenexfeu
    01 78 00 92 02 20 00 22 are some code, don't remember exactly what it does.

    We ovewritting it because it's a good place to do so.

    But really, read the tutorial, it'll me more clear to you
  2. Germaniac
    June 28th, 2015 3:23 PM
    Germaniac
    I'm on mobile sorry :(
  3. Germaniac
    June 28th, 2015 3:22 PM
    Germaniac
    Haha, there're so many misunderstanding in our conversation but I'm starting to understand now.

    What do "01 78 00 92 02 20 00 22" do that going to your routine makes no difference? (except Protean part of course)
  4. kleenexfeu
    June 28th, 2015 3:22 PM
    kleenexfeu
  5. Germaniac
    June 28th, 2015 3:21 PM
    Germaniac
    I'm mistaken here xD, so it's ok to replace "01 78 00 92 02 20 00 22"? What do this code do?
  6. kleenexfeu
    June 28th, 2015 3:20 PM
    kleenexfeu
    ANyway, it doesn't change anything, just change the byte at 08046074 with the bytes mentioned in my code

    btw I'll update the routine later to fix a minor thing that KDS mentioned
  7. kleenexfeu
    June 28th, 2015 3:20 PM
    kleenexfeu
    Oh you tested the old code ?
  8. kleenexfeu
    June 28th, 2015 3:19 PM
    kleenexfeu
    In vanilla Emerald ROM, at 08046074 there's these bytes : 01 78 00 92 02 20 00 22

    Replaces the 8 bytes above with "00 48 00 47 ZZ+1 YY XX 08" (I said 00 49 08 47 because I didn't re-read my code).
  9. Germaniac
    June 28th, 2015 3:19 PM
    Germaniac
    Or maybe the routine (08YYYYYY) makes us don't need to run the old routine (08XXXXXX) anymore?
  10. Germaniac
    June 28th, 2015 3:15 PM
    Germaniac
    I'm replacing "00 49 08 47 XX XX XX 08" with "00 48 00 47 YY YY YY 08" which means, before i replace it, the game goes to 08XXXXXX, but now after i replace it, it goes to 08YYYYYY instead without going to 08XXXXXX, is it ok?
  11. kleenexfeu
    June 28th, 2015 3:14 PM
    kleenexfeu
    at 08046074 (I'm talking about Emerald here) there actually is some instructions, some code.

    Just imagine code as a river. We change the way the river takes.

    But I think you should read some part of this : http://www.pokecommunity.com/showthread.php?t=343871

    It's really well writted, there's no need to read all in a raw, but it'll help you to understand
  12. Germaniac
    June 28th, 2015 3:12 PM
    Germaniac
    I'm asking whether this 8 bytes do some behavior that if we replaced it the game won't do this behavior anymore because it's gone
  13. Germaniac
    June 28th, 2015 3:09 PM
    Germaniac
    Yep there was a pointer at 46078, but I "deleted" it and "replaced" it with my routine instead which means it won't go to the old pointer
  14. kleenexfeu
    June 28th, 2015 3:09 PM
    kleenexfeu
    Disassembled it would be ;

    ldr r1, =0x08XXXXXX+1 Load some address into register 1
    bx r1 Follow register 1
  15. kleenexfeu
    June 28th, 2015 3:06 PM
    kleenexfeu
    The following bytes : 00 49 08 47 XX XX XX 08 actually ARE the "goto" command. In ASM we call that "hook" rather than goto as we alter the existing code rather than creating a totally new one

All times are GMT -8. The time now is 8:58 AM.