diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-11 18:33:16 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-11 18:33:16 +0100 |
commit | a4235c9ff85cc54f8cc1f4a832f19e64eda74b59 (patch) | |
tree | e0df84dc0286fd6054c4c89545805b959eefb013 /src/battle_controller_opponent.c | |
parent | 81410fee17547726e551204dcadc7271a9334aa2 (diff) |
Document battle arena
Diffstat (limited to 'src/battle_controller_opponent.c')
-rw-r--r-- | src/battle_controller_opponent.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/battle_controller_opponent.c b/src/battle_controller_opponent.c index b8b5bd3b8..2629a56c0 100644 --- a/src/battle_controller_opponent.c +++ b/src/battle_controller_opponent.c @@ -29,6 +29,9 @@ #include "pokeball.h" #include "data2.h" #include "battle_setup.h" +#include "battle_arena.h" +#include "battle_tower.h" +#include "frontier_util.h" extern u16 gBattle_BG0_X; extern u16 gBattle_BG0_Y; @@ -38,11 +41,7 @@ extern struct UnusedControllerStruct gUnknown_02022D0C; extern const struct CompressedSpritePalette gTrainerFrontPicPaletteTable[]; extern void sub_8172EF0(u8 battlerId, struct Pokemon *mon); -extern void sub_81A57E4(u8 battlerId, u16 stringId); -extern u8 GetFrontierBrainTrainerPicIndex(void); extern u8 GetTrainerHillTrainerFrontSpriteId(u16 trainerId); -extern u8 GetFrontierTrainerFrontSpriteId(u16 trainerId); -extern u8 GetEreaderTrainerFrontSpriteId(void); // this file's functions static void OpponentHandleGetMonData(void); @@ -1513,7 +1512,7 @@ static void OpponentHandlePrintString(void) BufferStringBattle(*stringId); BattlePutTextOnWindow(gDisplayedStringBattle, 0); gBattlerControllerFuncs[gActiveBattler] = CompleteOnInactiveTextPrinter; - sub_81A57E4(gActiveBattler, *stringId); + BattleArena_DeductMindPoints(gActiveBattler, *stringId); } static void OpponentHandlePrintSelectionString(void) |