Browse Source

evolution_methods.h

SBird1337 6 years ago
parent
commit
2e400f0cad
2 changed files with 36 additions and 31 deletions
  1. 1
    31
      src/evolution/evolution_methods.c
  2. 35
    0
      src/include/evolution_methods.h

+ 1
- 31
src/evolution/evolution_methods.c View File

35
 #include <constants/moves.h>
35
 #include <constants/moves.h>
36
 #include <pokemon.h>
36
 #include <pokemon.h>
37
 #include <constants/ptypes.h>
37
 #include <constants/ptypes.h>
38
+#include <evolution_methods.h>
38
 
39
 
39
 #define EVO_NULL              \
40
 #define EVO_NULL              \
40
     {                         \
41
     {                         \
47
 #define HAPPY_BOUND 219
48
 #define HAPPY_BOUND 219
48
 #define BEAUTY_BOUND 170
49
 #define BEAUTY_BOUND 170
49
 
50
 
50
-#define GENDER_DC 0
51
-#define GENDER_MALE 1
52
-#define GENDER_FEMALE 2
53
-
54
-#define EVO_HAPPINESS 1
55
-#define EVO_LEVEL_UP 4
56
-#define EVO_TRADE 5
57
-#define EVO_TRADE_ITEM 6
58
-#define EVO_STONE 7
59
-#define EVO_ATK 8
60
-#define EVO_DEF 9
61
-#define EVO_ADEQU 10
62
-#define EVO_PERSO_HIGH 11
63
-#define EVO_PERSO_LOW 12
64
-#define EVO_SPAWN 13
65
-#define EVO_SPAWNED 14
66
-#define EVO_BEAUTY 15
67
-#define EVO_WEAR_ITEM 16
68
-#define EVO_WEAR_ITEM_NIGHT 17
69
-#define EVO_WEAR_ITEM_DAY 18
70
-#define EVO_LEVEL_NIGHT 19
71
-#define EVO_LEVEL_DAY 20
72
-#define EVO_LEVEL_VAR 21
73
-#define EVO_LEVEL_MOVE 22
74
-#define EVO_LEVEL_POKEMON 23
75
-#define EVO_LEVEL_TYPE 24
76
-#define EVO_LEVEL_MOVE_TYPE 25
77
-#define EVO_MEGA_ONE 26
78
-#define EVO_MEGA_TWO 27
79
-#define EVO_PROTO 28
80
-
81
 enum evo_source
51
 enum evo_source
82
 {
52
 {
83
     LEVEL_UP,
53
     LEVEL_UP,

+ 35
- 0
src/include/evolution_methods.h View File

1
+#ifndef EVO_METHODS_H_
2
+#define EVO_METHODS_H_
3
+
4
+#define GENDER_DC 0
5
+#define GENDER_MALE 1
6
+#define GENDER_FEMALE 2
7
+
8
+#define EVO_HAPPINESS 1
9
+#define EVO_LEVEL_UP 4
10
+#define EVO_TRADE 5
11
+#define EVO_TRADE_ITEM 6
12
+#define EVO_STONE 7
13
+#define EVO_ATK 8
14
+#define EVO_DEF 9
15
+#define EVO_ADEQU 10
16
+#define EVO_PERSO_HIGH 11
17
+#define EVO_PERSO_LOW 12
18
+#define EVO_SPAWN 13
19
+#define EVO_SPAWNED 14
20
+#define EVO_BEAUTY 15
21
+#define EVO_WEAR_ITEM 16
22
+#define EVO_WEAR_ITEM_NIGHT 17
23
+#define EVO_WEAR_ITEM_DAY 18
24
+#define EVO_LEVEL_NIGHT 19
25
+#define EVO_LEVEL_DAY 20
26
+#define EVO_LEVEL_VAR 21
27
+#define EVO_LEVEL_MOVE 22
28
+#define EVO_LEVEL_POKEMON 23
29
+#define EVO_LEVEL_TYPE 24
30
+#define EVO_LEVEL_MOVE_TYPE 25
31
+#define EVO_MEGA_ONE 26
32
+#define EVO_MEGA_TWO 27
33
+#define EVO_PROTO 28
34
+
35
+#endif /*EVO_METHODS_H_*/