I like to take out portions of the code and then optimize them and inject them back into the ROM I optimized one routine already: https://github.com/H-A-M-G-E-R/my-sm-asms/blob/main/SetSamusFrameIfPoseChanged.asm