View Single Post
  #26276    
Old August 21st, 2013 (07:17 PM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Posts: 6,901
Question time~

I am currently following a tutorial on adding new attacks into a Ruby ROM.
I am following Jambo's tutorial.
Things are going smoothly but, a question suddenly popped in my head.


Quote originally posted by Jambo51:
Now, navigate back to 0x250C04 and copy (12 * number of new attacks) worth of data. This should ensure that the new attacks you add inherit some sensible data which PGE can work with.
Since I am adding 157 new attacks, this step asks me to copy 1884 bytes of data (12 * 157).

And now my question: how can one actually know they copied 1884 bytes of data?

Do I need to...
(1)navigate to the address (e.g. 0x250C04) and just simply add 1884 to it (result would be 0x252488), and then copy the data from the address (e.g. 0x250C04) to the result (0x252488) or...

(2)do I first have to convert the address (e.g. 0x250C04) into decimal (result would be 2427908) and then add 1884 to it (result would be 2429792), and then convert back to hex (result would be 0x251360), and then copy the data from the address (e.g. 0x250C04) to the result (0x251360)?

Thankies~
__________________

3DS FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)