Set Sticky Web user to Court Change user
This is for Mirror Armor to track the current user of Sticky Web/the mon that caused the stat drop.
This commit is contained in:
parent
746d9ea6c5
commit
cbf0a6704b
1 changed files with 3 additions and 1 deletions
|
@ -7703,7 +7703,9 @@ static bool32 CourtChangeSwapSideStatuses(void)
|
|||
UPDATE_COURTCHANGED_BATTLER(auroraVeilBattlerId);
|
||||
UPDATE_COURTCHANGED_BATTLER(tailwindBattlerId);
|
||||
UPDATE_COURTCHANGED_BATTLER(luckyChantBattlerId);
|
||||
gBattleStruct->stickyWebUser ^= BIT_SIDE;
|
||||
|
||||
// For Mirror Armor only
|
||||
gBattleStruct->stickyWebUser = gBattlerAttacker;
|
||||
|
||||
// Track which side originally set the Sticky Web
|
||||
SWAP(sideTimerPlayer->stickyWebBattlerSide, sideTimerOpp->stickyWebBattlerSide, temp);
|
||||
|
|
Loading…
Reference in a new issue