Kaynağa Gözat

move rival battles

SBird1337 6 yıl önce
ebeveyn
işleme
3035dc80d1

+ 1
- 1
sots-private

@@ -1 +1 @@
1
-Subproject commit d3593ad524f9044fe89eb686faa65eed2e24a379
1
+Subproject commit 45195f26d3a99afb64ddab67c16e65727926be93

src/trainer/trainer_rival_encounters.h → src/include/trainer_rival_encounters.h Dosyayı Görüntüle


+ 0
- 170
src/trainer/trainer_rival_encounters.c Dosyayı Görüntüle

@@ -1,170 +0,0 @@
1
-#include <pokeagb/pokeagb.h>
2
-#include <constants/pkmns.h>
3
-#include "trainer_rival_encounters.h"
4
-
5
-
6
-const struct TrainerPokemonBase rival_first_encounter[21][1] = {
7
-    //Bisasam
8
-    {
9
-        {
10
-            .species = PKMN_GLUMANDA,
11
-            .level = 5
12
-        },
13
-    },
14
-
15
-    //Glumanda
16
-    {
17
-        {
18
-            .species = PKMN_SCHIGGY,
19
-            .level = 5
20
-        },
21
-    },
22
-    //Schiggy
23
-    {
24
-        {
25
-            .species = PKMN_BISASAM,
26
-            .level = 5
27
-        },
28
-    },
29
-    //Endivie
30
-    {
31
-        {
32
-            .species = PKMN_FEURIGEL,
33
-            .level = 5
34
-        },
35
-    },
36
-
37
-    //Feurigel
38
-    {
39
-        {
40
-            .species = PKMN_KARNIMANI,
41
-            .level = 5
42
-        },
43
-    },
44
-    //Karnimani
45
-    {
46
-        {
47
-            .species = PKMN_ENDIVIE,
48
-            .level = 5
49
-        },
50
-    },
51
-    //Geckarbor
52
-    {
53
-        {
54
-            .species = PKMN_FLEMMLI,
55
-            .level = 5
56
-        },
57
-    },
58
-
59
-    //Flemmli
60
-    {
61
-        {
62
-            .species = PKMN_HYDROPI,
63
-            .level = 5
64
-        },
65
-    },
66
-    //Hydropi
67
-    {
68
-        {
69
-            .species = PKMN_GECKARBOR,
70
-            .level = 5
71
-        },
72
-    },
73
-    //Chelast
74
-    {
75
-        {
76
-            .species = PKMN_PANFLAM,
77
-            .level = 5
78
-        },
79
-    },
80
-
81
-    //Panflam
82
-    {
83
-        {
84
-            .species = PKMN_PLINFA,
85
-            .level = 5
86
-        },
87
-    },
88
-    //Plinfa
89
-    {
90
-        {
91
-            .species = PKMN_CHELAST,
92
-            .level = 5
93
-        },
94
-    },
95
-    //Serpifeu
96
-    {
97
-        {
98
-            .species = PKMN_FLOINK,
99
-            .level = 5
100
-        },
101
-    },
102
-
103
-    //Floink
104
-    {
105
-        {
106
-            .species = PKMN_OTTARO,
107
-            .level = 5
108
-        },
109
-    },
110
-    //Ottaro
111
-    {
112
-        {
113
-            .species = PKMN_SERPIFEU,
114
-            .level = 5
115
-        },
116
-    },
117
-    //Igamaro
118
-    {
119
-        {
120
-            .species = PKMN_FYNX,
121
-            .level = 5
122
-        },
123
-    },
124
-
125
-    //Fynx
126
-    {
127
-        {
128
-            .species = PKMN_FROXY,
129
-            .level = 5
130
-        },
131
-    },
132
-    //Froxy
133
-    {
134
-        {
135
-            .species = PKMN_IGAMARO,
136
-            .level = 5
137
-        },
138
-    },
139
-    //Bauz
140
-    {
141
-        {
142
-            .species = PKMN_FLAMIAU,
143
-            .level = 5
144
-        },
145
-    },
146
-
147
-    //Flamiau
148
-    {
149
-        {
150
-            .species = PKMN_ROBBALL,
151
-            .level = 5
152
-        },
153
-    },
154
-    //Robball
155
-    {
156
-        {
157
-            .species = PKMN_BAUZ,
158
-            .level = 5
159
-        },
160
-    },
161
-};
162
-
163
-const struct RivalEncounter rival_encounters[RIVAL_ENCOUNTER_COUNT] = {
164
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 1}, //male easy
165
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 2}, //male medium
166
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 3}, //male hard
167
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 4}, //female easy
168
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 5}, //female medium
169
-    {.partyCount = 1, .partyArray = {&rival_first_encounter[0][0]}, .trainerId = 6}, //female hard
170
-};

+ 1
- 1
src/trainer/trainerbattle_init.c Dosyayı Görüntüle

@@ -1,6 +1,6 @@
1 1
 #include <pokeagb/pokeagb.h>
2 2
 #include <agb_debug.h>
3
-#include "trainer_rival_encounters.h"
3
+#include <trainer_rival_encounters.h>
4 4
 
5 5
 void battle_intro_launch(u8 environment) {
6 6
     TaskCallback introTask;