Twin Matrix
Member
My knowledge on arrays is quite limited, and I don't want to do something wrong so I'm posting it here. 
This is the code:
The stuff in < and >'s is the stuff I'm not sure how to do.
Basically what it does/needs to do is to turn self switch B and C off for each thing in the array that got added previously.
Thanks again, RMXP.org people. :3
This is the code:
if $eds0 != nil
< add $eds0 to array A >
end
(repeat the above code a few times..)
< for each thing in the array A do:>
i = < the current thing from the array A >
key = [$game_map.map_id,i.id,"B"]
$game_self_switches[key] = false
key = [$game_map.map_id,i.id,"C"]
$game_self_switches[key] = false
end
< clear array A >
The stuff in < and >'s is the stuff I'm not sure how to do.
Basically what it does/needs to do is to turn self switch B and C off for each thing in the array that got added previously.
Thanks again, RMXP.org people. :3