Stop using the preprocessor.

This commit is contained in:
yenatch
2015-01-20 00:01:23 -08:00
parent d8cf44a87e
commit 8583cc4724
269 changed files with 6786 additions and 4078 deletions

View File

@@ -1,3 +1,12 @@
INCLUDE "macros/event.asm"
INCLUDE "macros/sound.asm"
INCLUDE "macros/text.asm"
INCLUDE "macros/charmap.asm"
INCLUDE "macros/move_effect.asm"
INCLUDE "macros/move_anim.asm"
INCLUDE "macros/movement.asm"
INCLUDE "macros/map.asm"
text EQUS "db $00," ; Start writing text.
next EQUS "db $4e," ; Move a line down.
@@ -108,6 +117,18 @@ note: MACRO
db (\1) << 4 + ((\2) - 1)
ENDM
sound: macro
db \1 ; duration
db \2 ; intensity
dw \3 ; frequency
endm
noise: macro
db \1 ; duration
db \2 ; intensity
db \3 ; frequency
endm
; pitch
__ EQU 0
C_ EQU 1