BGエディタRDに付属のサンプル2 https://miiverse.nintendo.net/posts/AYIHAAAEAAASVRTksqOyOg