Commit 249f3eb1 authored by DailyShana's avatar DailyShana

fix

parent 2396aef3
...@@ -5229,13 +5229,11 @@ int32 field::adjust_step(uint16 step) { ...@@ -5229,13 +5229,11 @@ int32 field::adjust_step(uint16 step) {
res = eset.size() ? TRUE : FALSE; res = eset.size() ? TRUE : FALSE;
if(res) { if(res) {
card* pcard; card* pcard;
effect_set ctrleff;
for(uint8 p = 0; p < 2; ++p) { for(uint8 p = 0; p < 2; ++p) {
for(uint8 i = 0; i < 5; ++i) { for(uint8 i = 0; i < 5; ++i) {
pcard = player[p].list_mzone[i]; pcard = player[p].list_mzone[i];
if(pcard && pcard->is_affected_by_effect(EFFECT_REMOVE_BRAINWASHING)) { if(pcard && pcard->is_affected_by_effect(EFFECT_REMOVE_BRAINWASHING))
pcard->reset(EFFECT_SET_CONTROL, RESET_CODE); pcard->reset(EFFECT_SET_CONTROL, RESET_CODE);
}
} }
} }
} }
......
...@@ -47,7 +47,7 @@ function c89397517.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,7 @@ function c89397517.activate(e,tp,eg,ep,ev,re,r,rp)
rmg:Remove(Card.IsCode,nil,tc:GetCode()) rmg:Remove(Card.IsCode,nil,tc:GetCode())
g:AddCard(tc) g:AddCard(tc)
ct=ct-1 ct=ct-1
until ct<1 or not Duel.SelectYesNo(tp,aux.Stringid(89397517,1)) until ct<1 or not Duel.SelectYesNo(tp,aux.Stringid(89397517,0))
Duel.Remove(g,POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
ct=g:FilterCount(Card.IsLocation,nil,LOCATION_REMOVED) ct=g:FilterCount(Card.IsLocation,nil,LOCATION_REMOVED)
while ct>0 do while ct>0 do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment