chenge button events type(class Button). Replace map_event_parameter by map_event_contents (class Item).