mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Merge branch 'master' of https://github.com/pret/pokeemerald
This commit is contained in:
commit
5dee55787f
@ -785,7 +785,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
|||||||
if (events[index].type == EventType::Note)
|
if (events[index].type == EventType::Note)
|
||||||
{
|
{
|
||||||
// Bug reintroduction
|
// Bug reintroduction
|
||||||
lastParam1 |= events[index].note + 0x40;
|
lastParam1 = events[index].note + 0x40;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (events[index].time > 0)
|
if (events[index].time > 0)
|
||||||
@ -842,7 +842,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
score++;
|
score += 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -851,7 +851,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
|||||||
if (events[i].type == EventType::Note)
|
if (events[i].type == EventType::Note)
|
||||||
{
|
{
|
||||||
// Bug reintroduction
|
// Bug reintroduction
|
||||||
lastParam1 |= events[i].note + 0x40;
|
lastParam1 = events[i].note + 0x40;
|
||||||
}
|
}
|
||||||
|
|
||||||
lastType = events[i].type;
|
lastType = events[i].type;
|
||||||
|
Loading…
Reference in New Issue
Block a user