No more hardcoded typings for Gen 1

Discussion in 'Implemented' started by Isa, Apr 27, 2012.

  1. Isa

    Isa Well-Known Tauros

    Joined:
    Dec 11, 2011
    Messages:
    936
    Likes Received:
    1,006
    PO Trainer Name:
    Isa
    As of now, there's a few typings that are hardcoded. Most notably, Ghost vs. Psychic is set to always be *0. I aim to fix that.

    Credit goes to Mystra who has been very helpful and supportive - I wouldn't have been able to do this by myself and I owe a lot to him.

    Edited files (search for GenOne within the files to see changes):
    pokemoninfo.cpp: http://pastebin.com/sABR17ae
    pokemoninfo.h: http://pastebin.com/5c6J84tU
    battle.cpp: http://pastebin.com/F1dAj41f

    New file:
    typestableRBY.txt: http://pastebin.com/dYtjGUJg
     
  2. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Mystra go merge these?
     
  3. Mystra

    Mystra Active Member

    Joined:
    Jul 12, 2010
    Messages:
    1,389
    Likes Received:
    4
    What's the current devel branch to commit to anyway? (@_@)
     
  4. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    @_@

    i'm not sure about coyo's branch getting ready any time soon. (it break the compactability)
     
  5. Mystra

    Mystra Active Member

    Joined:
    Jul 12, 2010
    Messages:
    1,389
    Likes Received:
    4
    I don't want to change if I'll have to redo everything later…
     
  6. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11