浏览代码

fix music and symbol table

SBird1337 7 年前
父节点
当前提交
7d42eee476
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2
    0
      bpre.sym
  2. 2
    2
      src/music/battle_music_lookup.c

+ 2
- 0
bpre.sym 查看文件

@@ -157,6 +157,8 @@ trainerbattle_next_scr_cmd = 0x020386C4;
157 157
 trainerbattle_message_4 = 0x020386C8;
158 158
 trainerbattle_unknown = 0x020386CC;
159 159
 
160
+song_play_for_text = 0x080722A0|1;
161
+
160 162
 item_get_quality = 0x0809A948|1;
161 163
 item_get_x12 = 0x0809A924|1;
162 164
 

+ 2
- 2
src/music/battle_music_lookup.c 查看文件

@@ -73,11 +73,11 @@ void mhk_trainer_battle_play_defeat(void) {
73 73
             break;
74 74
     }
75 75
 
76
-    //song_play_for_text(song);
76
+    song_play_for_text(song);
77 77
 }
78 78
 
79 79
 void mhk_wild_poke_def_music(void) {
80
-    //song_play_for_text(SEQ_BGM_VIC_POKE);
80
+    song_play_for_text(SEQ_BGM_VIC_POKE);
81 81
 }
82 82
 
83 83
 u16 mhk_species_to_song(u16 species) {