Add scempegbase stuff

Find in homebrew game
Merge pull request #5735 from sum2012/scempegbase

Add scempegbase stuff