summaryrefslogtreecommitdiff
path: root/src/debug/unknown_debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/unknown_debug_menu.c')
-rw-r--r--src/debug/unknown_debug_menu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/debug/unknown_debug_menu.c b/src/debug/unknown_debug_menu.c
index a81625f2a..995fb38fc 100644
--- a/src/debug/unknown_debug_menu.c
+++ b/src/debug/unknown_debug_menu.c
@@ -1,4 +1,5 @@
#include "global.h"
+#include "battle_tower.h"
#include "menu.h"
extern u8 gBattleCommunication[];
@@ -43,10 +44,10 @@ u8 sub_814A4B8(void)
{
gSaveBlock2.filler_A8.var_4AE[0] = 3;
gSaveBlock2.filler_A8.var_4AE[1] = 3;
- gSaveBlock2.filler_A8.var_4B4 = gBattleCommunication[0] + 1;
- gSaveBlock2.filler_A8.var_4B6 = gBattleCommunication[0] + 1;
- gSaveBlock2.filler_A8.var_4B0 = 1;
- gSaveBlock2.filler_A8.var_4B2 = 1;
+ gSaveBlock2.filler_A8.var_4B4[0] = gBattleCommunication[0] + 1;
+ gSaveBlock2.filler_A8.var_4B4[1] = gBattleCommunication[0] + 1;
+ gSaveBlock2.filler_A8.var_4B0[0] = 1;
+ gSaveBlock2.filler_A8.var_4B0[1] = 1;
CloseMenu();
return 1;
}