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