mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 07:27:47 +01:00
Merge branch 'master' of https://github.com/pret/pokeemerald
This commit is contained in:
commit
965e05dc87
@ -782,7 +782,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
|||||||
EventType lastType = events[index].type;
|
EventType lastType = events[index].type;
|
||||||
std::int32_t lastDuration = 0x80000000;
|
std::int32_t lastDuration = 0x80000000;
|
||||||
std::uint8_t lastNote = 0x80u;
|
std::uint8_t lastNote = 0x80u;
|
||||||
std::int32_t lastParam2;
|
//std::int32_t lastParam2;
|
||||||
|
|
||||||
if (events[index].time > 0)
|
if (events[index].time > 0)
|
||||||
score++;
|
score++;
|
||||||
@ -846,7 +846,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
|||||||
// BUG: uses type instead of param1
|
// BUG: uses type instead of param1
|
||||||
lastParam1 = (std::uint8_t)events[i].type;
|
lastParam1 = (std::uint8_t)events[i].type;
|
||||||
// unused
|
// unused
|
||||||
lastParam2 = events[i].param2;
|
//lastParam2 = events[i].param2;
|
||||||
lastType = events[i].type;
|
lastType = events[i].type;
|
||||||
|
|
||||||
if (events[i].time)
|
if (events[i].time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user