The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Red John
Reload this Page Conversation Between Red John and Blah

Notices
For all updates, view the main page.

Ad Content
Conversation Between Red John and Blah
Showing Visitor Messages 61 to 74 of 74
  1. Blah
    November 11th, 2014 9:08 AM
    Blah
    Variables are stored in the RAM. The exact locations may differ but, for you uses I'd quote HackMew:

    Quote:
    Code:
    .word 0x020270B6 + (0x800D * 2)
    Assigns the word (32 bits) 0x020270B6 + (0x800D * 2) = 0x020370D0 to .VAR. If you're wondering about the "weird" format, I made that to make it easier changing the variable used. Note however this would work only for temporary variables, 0x800D onwards. For the previous temporary variables, just increase the main address by 2 (in the example above, you would change it to .word 0x020270B8 + (0x8000 * 2), if you were to use variable 0x8000).
  2. Red John
    November 11th, 2014 8:19 AM
    Red John
    Oh, thanks. And can you tell me where are the variables stored? I want to write a custom pokeball ASM which will increase the catch rate depending a var value.
  3. Blah
    November 11th, 2014 7:34 AM
    Blah
    Bit masks are used when you want to get a specific bit from bytes. It's normally used for certain operations with structures stored in byte format.
    http://en.wikipedia.org/wiki/Mask_(computing)#Common_bitmask_functions
    is a good documentation of it
  4. Red John
    November 11th, 2014 1:22 AM
    Red John
    Thanks. Can you tell me what is a bit mask?
  5. Blah
    November 10th, 2014 6:01 PM
    Blah
    Talk to Knizz, I think he's got a lot of documentation about the GBA's RAM.
  6. Red John
    November 10th, 2014 5:57 PM
    Red John
    I see. I may knock you when i again need :P dont mind please, i am like that. Can give me any tutorial or something which could explain the RAM area of the GBA?
  7. Blah
    November 10th, 2014 5:44 PM
    Blah
    it's basically the same as add, but it supports negative values using two's complement. Two's complement is cpu specific and I don't think you should really need to know much about this command for GBA hacking. btw two's complement is a convention people use to display negative numbers in binary.

    I happen to know a lot of java too :P
  8. Red John
    November 10th, 2014 5:39 PM
    Red John
    Same here. I am trying to learn both java and thumb. However, i get stuck at the neg r1, r2 command. What is that thing?
  9. Blah
    November 10th, 2014 5:36 PM
    Blah
    I do know some Thumb, though I'm not as good as some of the others. I've taken many breaks inbetween, sometimes 1-2 months and sometimes a couple of years lol.
  10. Red John
    November 10th, 2014 5:34 PM
    Red John
    Wow! This means you are quite experienced. Btw do you know ARM7TDMI THUMB mode assembly?
  11. Blah
    November 10th, 2014 5:30 PM
    Blah
    About 2008-ish. I wasn't very good at it :P
  12. Red John
    November 10th, 2014 5:11 PM
    Red John
    Thank you. :) When did you start ROM hacking?
  13. Blah
    November 10th, 2014 9:33 AM
    Blah
    Hey! You don't need to call me sir, it feels a little weird :P
    Yeah, if you want someone to talk to about ROM hacks I'm available.
  14. Red John
    November 10th, 2014 8:48 AM
    Red John
    Hello sir. I have heard you are a nice person to chat with. I am extremely sorry to knock you sir. I know you must be feeling annoyed, but i was searching for someone to talk about ROM hacks...

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