Use decimal for levels, and replace some hardcoded RAM addresses.