summaryrefslogtreecommitdiff
path: root/src/battle/battle_controller_safari.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2018-02-06 19:45:56 -0600
committerGitHub <noreply@github.com>2018-02-06 19:45:56 -0600
commitc79d259508d47a8b5bde5b9060b8fe8c6989bd44 (patch)
tree912c739848391da17525e57420570b3730053675 /src/battle/battle_controller_safari.c
parent5969695b8bbdab5182d0d651bbd2d256a12c0404 (diff)
parent9a8ec555e68fb143ffe900c778ddb85d5bd145a5 (diff)
Merge pull request #541 from camthesaxman/german_debug
build German debug version
Diffstat (limited to 'src/battle/battle_controller_safari.c')
-rw-r--r--src/battle/battle_controller_safari.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/battle/battle_controller_safari.c b/src/battle/battle_controller_safari.c
index 0d193d68f..5896e5e18 100644
--- a/src/battle/battle_controller_safari.c
+++ b/src/battle/battle_controller_safari.c
@@ -1,6 +1,7 @@
#include "global.h"
#include "battle_anim_81258BC.h"
#include "battle.h"
+#include "battle_interface.h"
#include "battle_message.h"
#include "data2.h"
#include "link.h"
@@ -272,6 +273,17 @@ void bx_battle_menu_t6_2(void)
sub_802E3E4(gActionSelectionCursor[gActiveBank], 0);
}
}
+#if DEBUG
+ else if (gMain.newKeys & R_BUTTON)
+ {
+ if (!ewram17810[gActiveBank].unk0_5)
+ move_anim_start_t3(gActiveBank, gActiveBank, gActiveBank, 4, 0);
+ }
+ else if (gMain.newKeys & START_BUTTON)
+ {
+ sub_804454C();
+ }
+#endif
}
void sub_812B65C(void)