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 31 to 37 of 37
  1. Germaniac
    June 28th, 2015 3:04 PM
    Germaniac
    I don't understand, I'm "replacing" this 8 bytes with the goto command
  2. kleenexfeu
    June 28th, 2015 2:58 PM
    kleenexfeu
    those byte are actually THUMB code compiled. 00 49 08 47 (if I remember well) say "take the following address, place it in the first register, and follow that register with the address being ZZ+1 YY XX 08 (the pointer to your routine +1)
  3. Germaniac
    June 28th, 2015 2:50 PM
    Germaniac
    wait, did you actually re-write this 8 bytes at the end of your routine?
  4. Germaniac
    June 28th, 2015 2:48 PM
    Germaniac
    I think I'm doing it wrong since I'm deleting 8 bytes to insert it
  5. Germaniac
    June 28th, 2015 2:46 PM
    Germaniac
    but we're replacing some hex to insert it, is it ok?
  6. kleenexfeu
    June 28th, 2015 2:38 PM
    kleenexfeu
    callasm makes actually the engine interprets data differently, it'll read as THUMB code instead of script/battlescript/animation script or whatever code. The routine we're altering is already THUMB so it's more a "goto", but yeah it's pretty much the same.

    We're "hooking", that is to say making the code go somehere read our routine, and go back properly
  7. Germaniac
    June 28th, 2015 2:27 PM
    Germaniac
    About it..., I guess it's like callasm right? I'm asking what we're overwritting to insert it since we can't write it inbetween the codes

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