mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-30 01:09:34 +01:00
Fix fakematching in contest effect
This commit is contained in:
parent
0b22ad4ab5
commit
ba225f8eaa
@ -197,9 +197,10 @@ static void ContestEffect_StartlePrevMon2(void)
|
|||||||
static void ContestEffect_StartlePrevMons2(void)
|
static void ContestEffect_StartlePrevMons2(void)
|
||||||
{
|
{
|
||||||
u8 numStartled = 0;
|
u8 numStartled = 0;
|
||||||
register u32 contestant asm("r5") = shared192D0.contestant;
|
u8 contestant = shared192D0.contestant;
|
||||||
|
u8 turnOrder = shared192D0.turnOrder[contestant];
|
||||||
|
|
||||||
if (shared192D0.turnOrder[contestant] != 0)
|
if (turnOrder != 0)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user