summaryrefslogtreecommitdiff
path: root/src/recorded_battle.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2019-01-13 12:12:27 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2019-01-13 12:12:27 +0100
commit11a49a7f0220ebbdfa43ebaa9158906cf38f6a4d (patch)
tree892376521c52ca906cd847b64e7828b933258885 /src/recorded_battle.c
parent37d7348e01e1d9afb79b5eb10ec28af948bbaf1e (diff)
Decompile trainer hill
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 03823dd45..0dae76f02 100644
--- a/src/recorded_battle.c
+++ b/src/recorded_battle.c
@@ -124,7 +124,7 @@ void sub_8184DA4(u8 arg0)
{
for (j = 0; j < BATTLER_RECORD_SIZE; j++)
{
- sBattleRecords[i][j] |= 0xFF;
+ sBattleRecords[i][j] = 0xFF;
}
sBattleFlags = gBattleTypeFlags;
sAI_Scripts = gBattleResources->ai->aiFlags;
@@ -206,7 +206,7 @@ void RecordedBattle_ClearBattlerAction(u8 battlerId, u8 bytesToClear)
for (i = 0; i < bytesToClear; i++)
{
sRecordedBytesNo[battlerId]--;
- sBattleRecords[battlerId][sRecordedBytesNo[battlerId]] |= 0xFF;
+ sBattleRecords[battlerId][sRecordedBytesNo[battlerId]] = 0xFF;
if (sRecordedBytesNo[battlerId] == 0)
break;
}