summaryrefslogtreecommitdiff
path: root/src/rom_800D42C.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-06-20 05:46:48 +0200
committeryenatch <yenatch@gmail.com>2017-06-19 23:46:48 -0400
commit102f5b1e15e7295e30a3cebfbbad3c8af4cc1d37 (patch)
treec1237e26e6ea3c562ff7e34ef6f85c82e271d3d4 /src/rom_800D42C.c
parent2c4dc714db7cb1d37963fcadddf2f7a744f1e654 (diff)
Battle labels named (#333)
* Changed battle labels
Diffstat (limited to 'src/rom_800D42C.c')
-rw-r--r--src/rom_800D42C.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rom_800D42C.c b/src/rom_800D42C.c
index 6f153c340..f51779e65 100644
--- a/src/rom_800D42C.c
+++ b/src/rom_800D42C.c
@@ -4,7 +4,7 @@
#include "text.h"
extern u16 gBattleTypeFlags;
-extern u8 gUnknown_02024D26;
+extern u8 gBattleOutcome;
extern struct Window gUnknown_03004210;
@@ -37,7 +37,7 @@ extern u8 BattleText_Tie[];
void PrintLinkBattleWinLossTie(void)
{
- if (gUnknown_02024D26 == 3)
+ if (gBattleOutcome == 3)
{
PRINT_MESSAGE(BattleText_Tie, TILE_OFFSET_WIN, CENTER_MESSAGE_X);
return;
@@ -47,7 +47,7 @@ void PrintLinkBattleWinLossTie(void)
{
// Double battle?
- if (gUnknown_02024D26 == 1)
+ if (gBattleOutcome == 1)
{
// lp_field_18 = player position?
@@ -89,7 +89,7 @@ void PrintLinkBattleWinLossTie(void)
}
- if (gUnknown_02024D26 == 1)
+ if (gBattleOutcome == 1)
{
if (gLinkPlayers[BATTLE_STRUCT->linkPlayerIndex].lp_field_18 != 0)
{