summaryrefslogtreecommitdiff
path: root/src/recorded_battle.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
commit4683cdc30cbe81db56b69dfeb7a1fb32fe6641e2 (patch)
treec7c791620bcb6849a24b549b4a5c48abec281c10 /src/recorded_battle.c
parent606fb71392651dac4f5f8773c4117f35de7b087e (diff)
parent0b91d2948a431a5d44166544897a550061c01a31 (diff)
Merge branch 'master' into weather
Diffstat (limited to 'src/recorded_battle.c')
-rw-r--r--src/recorded_battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/recorded_battle.c b/src/recorded_battle.c
index 5d79cb789..81935b7c6 100644
--- a/src/recorded_battle.c
+++ b/src/recorded_battle.c
@@ -9,7 +9,7 @@
#include "string_util.h"
#include "palette.h"
#include "save.h"
-#include "malloc.h"
+#include "alloc.h"
#include "util.h"
#include "task.h"
#include "text.h"
@@ -221,7 +221,7 @@ u8 RecordedBattle_GetBattlerAction(u8 battlerId)
ResetPaletteFadeControl();
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, 0);
SetMainCallback2(CB2_QuitRecordedBattle);
- return -1;
+ return 0xFF;
}
else
{