• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
K
Reaction score
435

Profile posts Latest activity Postings Albums About

  • Doesn't PGE have all those offsets? (EDIT: I saw it doesn't for those roms, I'm looking around in some other programs that I have for the offsets) And once I get them, I don't understand what to do after that...
    Friend feel so much trouble. one last question, I have seen a patch in which 649 pokemon are added.
    I want to know is how I can add, is not that just want to use the patch I want to know how.
    and all you wish about this is to add more sprites.
    Y
    So, EP!C was banned... It's about time!
    Well, from now on follow that rule. Reading files is pretty expensive :P

    Looks like you figured out the image stuff, good work!
    Though with those variable names and lack of comments (other then that 1 comment), I have a hard time trying to figure out what's going on. Comment it/give better names for "a,b,c,r,n" and I can probably help you cut down on it a little (6 for loops is a lot, you can probably do it in 1-2 with some recursion).
    Karate! I was wondering why EP!C is not making post and realized that his banned?
    Just wanna know why was he banned?
    Well, I don't know if it'll be more efficient to be honest. In a normal case, say if this was a text document, you'd only read once. In fact, as a general rule: Only read once.
    Y
    You'd think hackstar would know the rules, of both Pokecommunity and grammar, given his post count.
    Y
    Honestly a lot of big rom hackers have to much talent to really be making simple rom hacks... (Your one of them, In my opinion...) as if anyone gives a damn about my opinion
    Yeah turn the entire ROM into a byte stream and then patch the differences when save is hit. 100 times more efficient than reading the ROM whenever something is needed.

    As for the doc string stuff, it's optional but a good idea that you do it. Most programming jobs require you to write the doc string before the actual code. Formatting is like this: http://pastebin.com/ReTrWnyY

    Basically:

    ''' (parameter) -> return type

    Description of function's objective with the paramater. If no
    parameter just explain what the function does. (keep it short)

    >>> function_name(sample_parameter)
    sample output
    '''

    Note that at the ">>>" you write out possible test cases as to what your function can handle. You may think that doc strings are pointless, but try running this in your python shell:
    help(function_name)

    You'll notice it outputs the doc string for a function/variable's type. It's a good idea to include for open source projects so people can easily expand on what you're doing and make full use of the stuff you've already written :)
    Y
    oh, I've been doing, okay. better than I deserve really. You know what? sometimes I wonder, what if hackmew died or something? I mean its possible...
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Back
Top