Skip to content

Instantly share code, notes, and snippets.

@OrionNavattan
OrionNavattan / Hivebrain MapMacros.asm
Last active February 11, 2024 18:12
Macro file for Hivebrain's Sonic sprite mappings/DPLC format, modified/expanded by OrionNavattan to theoretically support all three formats. Includes examples of how these macros are used.
MappingsFormat: equ 1 ; 1 = Sonic 1/CD, 2 = Sonic 2, 3 = Sonic 3K
; ---------------------------------------------------------------------------
; Test if argument is used
; ---------------------------------------------------------------------------
ifarg: macros
if strlen("\1")>0
; ---------------------------------------------------------------------------