Time to kill the kid koopa.
Listen here on strudel.cc
//////////////////////////////////////////////////////////////////////////////////////////
//
// Koopa Kid Battle - Koji Kondo
// @license CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
// @by Bitcoin Graffiti
// @date Nov 3, 2025 
//
//////////////////////////////////////////////////////////////////////////////////////////
setcpm(170/4)
const intro = note("[c, f#, a][b2, f, g#][a#2, e, g][a2, d#, f#]@3 ~!2").s("z_sawtooth, gm_church_organ:2").color('white').room(1)
const bass = note("e1 e2 ~ e2 ~ e1 e2 ~ e1 e2 ~ e2 e1 e2 ~ e2").s("piano").color('red').gain(.4).slow(2).legato(.6)
const mel0 = note("~!2 [a2, d]@2 [a2, d] [ab2, db] ~ e2 [g2, c] ~ e2 [g2, c] ~ [gb2, b2] [g2, c] [ab2, db]").s("z_tan").slow(2).color('teal')
const mel1 = note("~!2 [a2, d]@2 [a2, d] [ab2, db] ~ e2 [g2, c] ~ e2 [g2, c] ~ <~ [gb2, b2]> <~[g2, c]> <~[ab2, db]>").s("z_tan").slow(2).color('teal')
const mel2 = note("b@11 ~ [~ bb] [a g] a [bb2, e] ~!6 d e ~!8").s("z_tan").slow(4)
//B part
const bass2 = note("f1 f2 ~ f2 ~ f1 f2 ~ f1 f2 ~ f2 f1 f2 ~ f2").s("piano").color('red').gain(.4).slow(2).legato(.6)
const mel3 = note("~!2 [a#2, d#]@2 [a#2, d#] [a2, d] ~ f2 [g#2, c#] ~ f2 [g#2, c#] ~!6 d#@2 [d#, a#] [c, f] g# f [g#2, c# d#] f f2 [g#2, c#] ~ [g2, c][g#2, c#][a2, d] ").s("z_tan").slow(4).color('purple')
const mel4 = note("c4@11 ~ c4 f4 d#4 a# a# g# [a# b] [a# g#] ~!12").s("z_tan").slow(4).color('purple')
//percussion
const bd = s("bd!4, ~ sd ~ [sd!2]").bank("tr909").color('gold').gain(.8)
const sh = s("sh!16").color('silver')
const drums = stack(bd, sh)
arrange(
  [1, stack(intro)],
  [2, stack(bass, mel0)],
  [8, stack(bass, mel1, mel2, drums)],
  [4, stack(bass2, mel3, mel4, drums)],
  [4, stack(bass, mel1, mel2, drums)],
  
  [1, stack(intro).hush()],
).pianoroll({labels:1})