The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Members List
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

karatekid552's Profile Picture

karatekid552 karatekid552 is offline

What happens if I push it?....

Visitor Messages

Showing Visitor Messages 751 to 760 of 2128
  1. FBI agent
    January 11th, 2014 06:32 PM
    FBI agent
    Haha, sounds like fun.

  2. FBI agent
    January 11th, 2014 11:10 AM
    FBI agent
    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).

  3. Flower
    January 11th, 2014 06:08 AM
    Flower
    Karate! I was wondering why EP!C is not making post and realized that his banned?
    Just wanna know why was he banned?

  4. hackstar
    January 10th, 2014 11:35 PM
    hackstar
    Is triple or rotation or partner battle possible in Firered?

  5. FBI agent
    January 10th, 2014 11:17 PM
    FBI agent
    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.

  6. Orpheus
    January 10th, 2014 04:13 PM
    Orpheus
    You'd think hackstar would know the rules, of both Pokecommunity and grammar, given his post count.

  7. Orpheus
    January 10th, 2014 03:22 PM
    Orpheus
    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

  8. Orpheus
    January 10th, 2014 02:53 PM
    Orpheus
    Just raising the possibility.

  9. FBI agent
    January 10th, 2014 08:38 AM
    FBI agent
    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 :)

  10. Orpheus
    January 10th, 2014 07:52 AM
    Orpheus
    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...

About Me

  • About karatekid552
    Location
    Do you really want to know? Really?
    Gender
    Male ♂
    Occupation
    Another thing you think you're entitled to know.....
    Nature
    Bold
    Also Known As
    Comrade
    Favorite Pokémon
    Mewtwo, Scyther, Metagross, and Totodile (My first ever starter on a rented Crystal version, haha)
  • Claims
    Pairings
    Simba
  • Signature

    Paired with Simba

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 1 Week Ago 10:27 PM
  • Join Date: November 2nd, 2012
  • Referrals: 2

Friends

Showing Friends 1 to 20 of 108

Emblems

Emblem Showcase - 2 Total
  Emblem
Helping Hand
This member has done some kind of service to PC; Or maybe they help out other members whenever they get the chance.
Awarded: April 15th, 2013 05:37 PM
Manly Moderator
The most handsome Moderators are awarded this manly emblem.
Awarded: November 25th, 2013 01:56 PM

All times are UTC -8. The time now is 09:42 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.