Browse Source

use correct soundeffect in pokedex region select

ipatix 6 years ago
parent
commit
0836408371
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      src/pokedex/pokedex_region.c

+ 5
- 4
src/pokedex/pokedex_region.c View File

1
 #include <agb_debug.h>
1
 #include <agb_debug.h>
2
 #include <constants/pkmns.h>
2
 #include <constants/pkmns.h>
3
 #include <pokeagb/pokeagb.h>
3
 #include <pokeagb/pokeagb.h>
4
+#include <pokeagb/core/m4a.h>
4
 #include <pokedex/pdexSelectBg.h>
5
 #include <pokedex/pdexSelectBg.h>
5
 #include <pokedex/pdexSelectRegion.h>
6
 #include <pokedex/pdexSelectRegion.h>
6
 
7
 
164
         case KEY_RIGHT:
165
         case KEY_RIGHT:
165
             if (pokedex_context->region_selected < 6) {
166
             if (pokedex_context->region_selected < 6) {
166
                 pokedex_context->region_selected++;
167
                 pokedex_context->region_selected++;
167
-                m4aSongNumStart(102);
168
+                m4aSongNumStart(101);
168
             }
169
             }
169
             break;
170
             break;
170
         case KEY_DOWN:
171
         case KEY_DOWN:
171
             if (pokedex_context->region_selected < 3) {
172
             if (pokedex_context->region_selected < 3) {
172
                 pokedex_context->region_selected += 3;
173
                 pokedex_context->region_selected += 3;
173
-                m4aSongNumStart(102);
174
+                m4aSongNumStart(101);
174
             }
175
             }
175
             break;
176
             break;
176
         case KEY_LEFT:
177
         case KEY_LEFT:
177
             if (pokedex_context->region_selected > 0) {
178
             if (pokedex_context->region_selected > 0) {
178
                 pokedex_context->region_selected--;
179
                 pokedex_context->region_selected--;
179
-                m4aSongNumStart(102);
180
+                m4aSongNumStart(101);
180
             }
181
             }
181
             break;
182
             break;
182
         case KEY_UP:
183
         case KEY_UP:
183
             if ((pokedex_context->region_selected > 2) && (pokedex_context->region_selected < 6)) {
184
             if ((pokedex_context->region_selected > 2) && (pokedex_context->region_selected < 6)) {
184
                 pokedex_context->region_selected -= 3;
185
                 pokedex_context->region_selected -= 3;
185
-                m4aSongNumStart(102);
186
+                m4aSongNumStart(101);
186
             }
187
             }
187
             break;
188
             break;
188
         case KEY_A:
189
         case KEY_A: