shithub: rgbds

ref: 3690546795dec9adf4a1bc36f8a8465d999ca1f1
dir: /test/link/assert.asm/

View raw version

SECTION "test", ROM0

	ds 123

FloatingBase:
	assert WARN, FloatingBase & 0, "Worry about me, but not too much."
	assert FAIL, FloatingBase & 0, "Okay, this is getting serious!"
	assert FATAL, FloatingBase & 0, "It all ends now."
	assert FAIL, FloatingBase & 0, "Not even time to roll credits!"
	assert WARN, 0, "Still can finish the film, though!"