From 370ffcfd8d911dd4c2e8e08fa361cc1d68d6446a Mon Sep 17 00:00:00 2001 From: "U-Daniel-PC\\Daniel" Date: Sat, 14 Feb 2015 10:14:58 -0500 Subject: [PATCH 1/2] Fix make clean no more .tx files remove rgbds generated files, .map and .sym --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5fb3c97d1..ca59f0bcf 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PYTHON := python .SUFFIXES: -.SUFFIXES: .asm .tx .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap +.SUFFIXES: .asm .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap .PHONY: all clean crystal pngs .SECONDEXPANSION: @@ -54,8 +54,7 @@ all: $(roms) crystal: pokecrystal.gbc clean: - rm -f $(roms) $(all_obj) - find . -iname '*.tx' -exec rm {} + + rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) baserom.gbc: ; @echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false From fa1c2c573a683185cf257cd3d6518b476f60e648 Mon Sep 17 00:00:00 2001 From: "U-Daniel-PC\\Daniel" Date: Sun, 15 Feb 2015 21:22:51 -0500 Subject: [PATCH 2/2] Final music incbins --- audio/music/magnettrain.asm | 17 ++++++++++++++++- audio/music/unioncave.asm | 7 ++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/audio/music/magnettrain.asm b/audio/music/magnettrain.asm index cb5647540..232c0ca4a 100644 --- a/audio/music/magnettrain.asm +++ b/audio/music/magnettrain.asm @@ -251,7 +251,22 @@ Music_MagnetTrain_Ch4: ; ef6f4 ; ef711 -INCBIN "baserom.gbc", $ef711, $ef71e - $ef711 +; unused +Music_MagnetTrain_branch_ef711: ; ef711 + note G#, 1 + note G_, 1 + note G_, 1 + note G#, 1 + note G_, 1 + note G_, 1 + note G#, 1 + note G_, 1 + note G_, 1 + note G#, 1 + note G_, 1 + note G_, 1 + endchannel +; ef71e Music_MagnetTrain_branch_ef71e: ; ef71e diff --git a/audio/music/unioncave.asm b/audio/music/unioncave.asm index f08926b12..c412cdc3c 100644 --- a/audio/music/unioncave.asm +++ b/audio/music/unioncave.asm @@ -262,10 +262,7 @@ Music_UnionCave_branch_f5da9: ; f5da9 note G#, 4 note __, 8 loopchannel 0, Music_UnionCave_branch_f5da9 -; f5dc1 - - -INCBIN "baserom.gbc", $f5dc1, $f5dc5 - $f5dc1 - + loopchannel 0, Music_UnionCave_branch_f5da9 ; unused +; f5dc5