Testing now...
Never know how whacky these are gonna work so...
Electivire w/ Cell Battery, Motor Drive
Test 1: Direct Attack:
Heliolisk uses Parabolic Charge, only activates Motor Drive
Test 2: Switch:
Talonflame returns, Electivire sent out, Heliolisk uses Thunder Wave, only Motor Drive.
No Battery, unfortunately. Would have been nice.
Stat-boosting items based on type attacks are not activated/used up under the effects of immunity-giving abilities (Do not know how this works with any other specific ability than Motor Drive w/ Cell Battery. Specific other abilities <might> work? Volt Absorb, Storm Drain, etc. Unlikely based off of this, but still.)
On that note, I assume Luminous Moss and Absorb Bulb act in the exact same fashion, just with different stats from each other?