Forum:Gen. gantala

what if i summon gen.gantala and my opponent use trap hole and i chain IMT can i use gantala's eff after it is returned by IMT in end phase?