summaryrefslogtreecommitdiff
path: root/src/recorded_battle.c
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-12-19 21:35:32 -0500
committergarak <garakmon@gmail.com>2018-12-19 21:35:32 -0500
commitaf208a6bbb671cbf471d08856994470e707c5051 (patch)
tree9a57703eecf8c18f444454f2fae8f5dccf19d408 /src/recorded_battle.c
parent7e170a06cc3155a6a8785af0b910434e5ab43d2b (diff)
parentf801eed3a84862d88af0d5e43c6b6754e36001f2 (diff)
Merge branch 'fldeff' of https://github.com/garakmon/pokeemerald into fldeff
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
{