GUIMapEvent integration, equipItem Error

added gui to mapEvents. and error popped up with equitItem in lines 146
and 147 of Gameplay state machine