mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
Fix battle test estimateCost bug (#3448)
This commit is contained in:
parent
8ab2fbd9a2
commit
8a6284c408
@ -125,6 +125,7 @@ static u32 BattleTest_EstimateCost(void *data)
|
||||
{
|
||||
u32 cost;
|
||||
const struct BattleTest *test = data;
|
||||
memset(STATE, 0, sizeof(*STATE));
|
||||
STATE->runRandomly = TRUE;
|
||||
InvokeTestFunction(test);
|
||||
cost = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user