Categories?

Discussion in 'Development General' started by poatface, Jan 15, 2013.

  1. poatface

    poatface New Member

    Joined:
    Nov 11, 2012
    Messages:
    18
    Likes Received:
    0
    Hey guys, I'm still pluggin' away at this iPhone app! The teambuilder interface is just about finished, but there's one thing left that I haven't quite been able to figure out. "Category" as the user sees it is the distinction between Physical, Special, or Status. But in the database file "category.txt" under "Moves", the values given range from 0 to 13. I can't seem to find documentation indicating what these values mean, can someone please explain this to me?

    Thanks!
     
  2. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    Look under "damage_class.txt", that should have what you need

    EDIT: Just for clarification, Physical:1, Special:2, Other is Unlisted. Which means if you can't find the move's number in there, it's automatically assumed to be Other:0
     
    Last edited: Jan 16, 2013
  3. poatface

    poatface New Member

    Joined:
    Nov 11, 2012
    Messages:
    18
    Likes Received:
    0
    Oh, cool! That is what I needed, I overlooked that file. And yeah, the "unlisted" approach threw me for a loop at first. It's a pretty great system though. Anyways, that still doesn't satisfy my curiosity as to what "category.txt" is all about, but I guess it's nothing to worry about for the moment.
     
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    StandardMove = 0,
    StatusInducingMove = 1,
    StatChangingMove = 2,
    HealingMove = 3,
    OffensiveStatusInducingMove = 4,
    StatAndStatusMove = 5,
    OffensiveStatChangingMove = 6,
    OffensiveSelfStatChangingMove = 7,
    AbsorbingMove = 8,
    OHKOMove = 9,
    FieldMove = 10,
    TeamZoneMove = 11,
    RoaringMove = 12,
    SpecialMove = 13
     
  5. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    That's neat coyo, I always wondered wtf that file did lol

    Oh right, and as a general rule poatface, a lot of the files are similar in that they don't include entries for "defaults" (even if some don't seem so default :P)