|
@@ -162,28 +162,38 @@ void region_loop(u8 tid) {
|
162
|
162
|
case 3:
|
163
|
163
|
switch (super.buttons_new) {
|
164
|
164
|
case KEY_RIGHT:
|
165
|
|
- if (pokedex_context->region_selected < 6)
|
|
165
|
+ if (pokedex_context->region_selected < 6) {
|
166
|
166
|
pokedex_context->region_selected++;
|
|
167
|
+ m4aSongNumStart(102);
|
|
168
|
+ }
|
167
|
169
|
break;
|
168
|
170
|
case KEY_DOWN:
|
169
|
|
- if (pokedex_context->region_selected < 3)
|
|
171
|
+ if (pokedex_context->region_selected < 3) {
|
170
|
172
|
pokedex_context->region_selected += 3;
|
|
173
|
+ m4aSongNumStart(102);
|
|
174
|
+ }
|
171
|
175
|
break;
|
172
|
176
|
case KEY_LEFT:
|
173
|
|
- if (pokedex_context->region_selected > 0)
|
|
177
|
+ if (pokedex_context->region_selected > 0) {
|
174
|
178
|
pokedex_context->region_selected--;
|
|
179
|
+ m4aSongNumStart(102);
|
|
180
|
+ }
|
175
|
181
|
break;
|
176
|
182
|
case KEY_UP:
|
177
|
|
- if ((pokedex_context->region_selected > 2) && (pokedex_context->region_selected < 6))
|
|
183
|
+ if ((pokedex_context->region_selected > 2) && (pokedex_context->region_selected < 6)) {
|
178
|
184
|
pokedex_context->region_selected -= 3;
|
|
185
|
+ m4aSongNumStart(102);
|
|
186
|
+ }
|
179
|
187
|
break;
|
180
|
188
|
case KEY_A:
|
181
|
189
|
fade_screen(0xFFFFFFFF, PDEX_FADEIN_SPD, 0, 16, 0x0000);
|
182
|
190
|
pokedex_context->state = 10;
|
|
191
|
+ m4aSongNumStart(5);
|
183
|
192
|
break;
|
184
|
193
|
case KEY_B:
|
185
|
194
|
fade_screen(0xFFFFFFFF, PDEX_FADEIN_SPD, 0, 16, 0x0000);
|
186
|
195
|
pokedex_context->state = 11;
|
|
196
|
+ m4aSongNumStart(601);
|
187
|
197
|
default:
|
188
|
198
|
break;
|
189
|
199
|
}
|
|
@@ -220,4 +230,4 @@ void region_select_load(void) {
|
220
|
230
|
region_select_load_gfx();
|
221
|
231
|
task_add(region_loop, 0);
|
222
|
232
|
set_callback2(pdex_cb_handler);
|
223
|
|
-}
|
|
233
|
+}
|