dragonflysots 6 年前
父节点
当前提交
3f35b41dd8
共有 3 个文件被更改,包括 5 次插入2 次删除
  1. 2
    1
      src/include/songlist.h
  2. 2
    0
      src/specials/scenes/settings_intro.c
  3. 1
    1
      src/trainer/trainer_battle.c

+ 2
- 1
src/include/songlist.h 查看文件

@@ -79,4 +79,5 @@
79 79
 
80 80
 // Misc
81 81
 
82
-#define SEQ_BGM_TITLE_SCREEN        278
82
+#define SEQ_BGM_TITLE_SCREEN        278
83
+#define SEQ_BGM_MENU                503

+ 2
- 0
src/specials/scenes/settings_intro.c 查看文件

@@ -4,6 +4,7 @@
4 4
 #include <scene.h>
5 5
 #include <agb_debug.h>
6 6
 #include <constants/pkmns.h>
7
+#include <songlist.h>
7 8
 
8 9
 extern u8 settings_gender_script[];
9 10
 extern u8 settings_gender_script_sure[];
@@ -91,6 +92,7 @@ void settings_loop(u8 id) {
91 92
             objects[tasks[id].priv[1]].pos1 = male_position;
92 93
             objects[tasks[id].priv[2]].pos1 = female_position;
93 94
             fade_screen(0xFFFFFFFF, 1, 16, 0, 0x0000);
95
+            m4aSongNumStart(SEQ_BGM_MENU);
94 96
             tasks[id].priv[0]++;
95 97
         break;
96 98
         case 2:

+ 1
- 1
src/trainer/trainer_battle.c 查看文件

@@ -97,7 +97,7 @@ u32 load_word(void *ptr) {
97 97
  * @return flag +1 for medium, flag +2 for hard
98 98
  */
99 99
 u16 tb_modify_flag_id(u16 flag) {
100
-    u16 difficulty = var_load(0x5052);
100
+    u16 difficulty = var_load(0x5050);
101 101
     u16 new_flag = flag;
102 102
     switch (difficulty) {
103 103
     case 0: