portals = {} function portal_init(e) portals[e] = e Hide(e) CollisionOff(e) state[e] = "hidden" end function portal_main(e) end