combine some loops in SMS_Create_Decomp#translate
minimize use of 'self' in .rb files