The PokéCommunity Forums Germaniac
Conversation Between Germaniac and kleenexfeu

Conversation Between Germaniac and kleenexfeu
Showing Visitor Messages 1 to 15 of 37
  1. kleenexfeu
    October 29th, 2015 9:53 AM
    kleenexfeu
    Well, it does, but it assumes you implemented the setword command and the battle loader string hack. Look at the second page of the thread, there should be some explanantion
  2. Germaniac
    October 29th, 2015 4:43 AM
    Germaniac
    the new Protean routine doesn't work...
  3. kleenexfeu
    July 9th, 2015 10:18 AM
    kleenexfeu
    You really shouldn't for few reasons:
    -Emerald is a far more stable base, I can't explain why exactly as I'm not experienced enough, but all the great hackers know that.
    -Emerald has all the features of Ruby + more
    -Ruby code is messy and not convenient to use (perhaps that's why Emerald is more stable)
    -Emerald has more hack-features added

    Though I'm gonna answer you : There's a table for the battlescripts. That table contains all the pointers of the command used in the battlescripts, there's some documentation about the said commands in JPAN's and Jambo51's thread.
    The command "0x00" is the "attackcanceler". That command allows the move to fail : because you pokemon is asleep, confused, or because you use a ground move against levitate, because you don't have PP anymore or whatever else. Note that sometimes that a move is stopped outside of the attackcanceler, look at my routine for desolate land for exemple.
    MrDollSteak adviced me to put the check for protean in the attackcanceler and it's indeed the good way to do it after reading how Protean works.

    For the "BattleData", I saw it once in some routine and then used it. It contains many information on the pokemon in battle : Boost, stats, number of ability, number index, etc etc.
    You can find pointer by using debugger (VBA-SDL-H)
    The curmove index has been also used in some routine, but you can also find it by doing the following steps : Use a move, pause your emulator, dump the RAM memory, looking for the index numbers reversed (hex) of your move with an hex editor. Doing this 3 - 4 times to ensure you have the good address
    The type buffer has been used by Tlatchli (maybe I'm mispelling) in his Protean routine (which inspired me), I don't know how he found this though, I didn't really paid attention to that address.
    Same for the "checktypeloc", Chaos Rushed used it so I reused it, but you can find this one by reading some routines in IDA
    You can also find BankUser the same way.

    Oh and yeah speaking of IDA, there's no online IDA DataBase for Ruby while FireRed and Emerald have one.

    So, again : That's a good exercise to find pointer, but please don't do this with Ruby, use fire red or Emerald (which is better IMO) as it'd could help instead of wasting time on Ruby
  4. Germaniac
    July 8th, 2015 4:23 PM
    Germaniac
    Hey, how did you find these RAM pointers? I wanna port it to Ruby (Protean)
  5. kleenexfeu
    June 29th, 2015 11:15 AM
    kleenexfeu
    I don't have gen6 game so I can't say how it "officially" works. But changing type at the first turn makes sense to me as I said, that's what the routine does
  6. Germaniac
    June 29th, 2015 10:21 AM
    Germaniac
    oh, pokemon naturia actually change it in the 2nd turn, also the message "x used y!" always appear before "x transformed into the y-type!"
  7. kleenexfeu
    June 29th, 2015 10:17 AM
    kleenexfeu
    I don't know how X/Y and ORAS handle that but I think my routine make the change at the first turn. Imo it makes sense since a ground type pokemon is more able to dig a hole
  8. Germaniac
    June 29th, 2015 10:06 AM
    Germaniac
    Hey, I wanna ask how the xyoras handle protean when using moves like dig, does the user change it type on the first or second turn?
  9. Germaniac
    June 29th, 2015 7:12 AM
    Germaniac
    ok it works now, the bug was transforming into a glitch type
  10. kleenexfeu
    June 29th, 2015 6:53 AM
    kleenexfeu
    My bad, there was a stupid mistake. Can you try it out again ? And what was the bug ?

    Thanks to report btw :)

    Now it should be ok
  11. kleenexfeu
    June 29th, 2015 6:50 AM
    kleenexfeu
    Mhhh, perhaps KDS was wrong, I'll check that
  12. Germaniac
    June 29th, 2015 6:42 AM
    Germaniac
    I tried your new routine, hidden power is bugged
  13. Germaniac
    June 28th, 2015 3:37 PM
    Germaniac
    Ahahah, 24 messages to solve a little problem, I'm sorry xD, it was a good talk, thank you for being so nice, most people would've given up explaining, I've understood now, thank you again :)
  14. kleenexfeu
    June 28th, 2015 3:32 PM
    kleenexfeu
    It's not I don't know, I wrote the code month ago, and I don't have it on the top in my head right now. I'm sure this is the good place
  15. Germaniac
    June 28th, 2015 3:29 PM
    Germaniac
    I'll read it later, I used to read ASM tutorial on my old pc before it crashed, but if you're not sure what "01 78 00 92 02 20 00 22" do, then why do you think it's the best place to be overwritten?

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