summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-06-16 12:47:15 -0400
committerscnorton <scnorton@biociphers.org>2017-06-16 12:47:15 -0400
commit81d1e4e5d1cf89a49a5ba3b96ab03ec78b46ff8c (patch)
tree747e76ecb52041e37d6e5d36042a9a35ecb7b9a9 /src
parent5872d36df62ea253c1771a6761848d5291bc8a3c (diff)
Convert nature stat table to c object
Diffstat (limited to 'src')
-rw-r--r--src/pokemon_data.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pokemon_data.c b/src/pokemon_data.c
index 39f2a7509..df698d12d 100644
--- a/src/pokemon_data.c
+++ b/src/pokemon_data.c
@@ -902,3 +902,32 @@ const u8 *const gItemEffectTable[] = {
NULL,
NULL
};
+
+const s8 gNatureStatTable[][5] = {
+ // Atk Def Spd Sp.Atk Sp.Def
+ { 0, 0, 0, 0, 0}, // Hardy
+ { 1, -1, 0, 0, 0}, // Lonely
+ { 1, 0, -1, 0, 0}, // Brave
+ { 1, 0, 0, -1, 0}, // Adamant
+ { 1, 0, 0, 0, -1}, // Naughty
+ { -1, 1, 0, 0, 0}, // Bold
+ { 0, 0, 0, 0, 0}, // Docile
+ { 0, 1, -1, 0, 0}, // Relaxed
+ { 0, 1, 0, -1, 0}, // Impish
+ { 0, 1, 0, 0, -1}, // Lax
+ { -1, 0, 1, 0, 0}, // Timid
+ { 0, -1, 1, 0, 0}, // Hasty
+ { 0, 0, 0, 0, 0}, // Serious
+ { 0, 0, 1, -1, 0}, // Jolly
+ { 0, 0, 1, 0, -1}, // Naive
+ { -1, 0, 0, 1, 0}, // Modest
+ { 0, -1, 0, 1, 0}, // Mild
+ { 0, 0, -1, 1, 0}, // Quiet
+ { 0, 0, 0, 0, 0}, // Bashful
+ { 0, 0, 0, 1, -1}, // Rash
+ { -1, 0, 0, 0, 1}, // Calm
+ { 0, -1, 0, 0, 1}, // Gentle
+ { 0, 0, -1, 0, 1}, // Sassy
+ { 0, 0, 0, -1, 1}, // Careful
+ { 0, 0, 0, 0, 0} // Quirky
+};