瀏覽代碼

fix variables

SBird1337 6 年之前
父節點
當前提交
80be7c5dcc
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      sots-private
  2. 1
    1
      src/trainer/trainer_battle.c

+ 1
- 1
sots-private

@@ -1 +1 @@
1
-Subproject commit 99ded74fda302a6c36b5d052e41a7657d4edbd37
1
+Subproject commit 9ad7b5808171f36f570bbf8826b83af6edf0ca29

+ 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: