Get rid of globals.asm. Use ::s to export labels between objects.

globals.asm was a hack that:
- gave rgbasm an extra 100k lines to read
- increased reliance on the python preprocessor
- made the makefile a mess
- gave object creation an extra step
- wasn't even necessary

This speeds up build time by at least a third.
This commit is contained in:
yenatch 2014-01-27 16:22:41 -05:00
parent 6bde08504f
commit 1b9ee46af9
277 changed files with 4346 additions and 4358 deletions

View file

@ -1,4 +1,4 @@
_MtMoonPokecenterText1: ; 8a8eb (22:68eb)
_MtMoonPokecenterText1:: ; 8a8eb (22:68eb)
text "I've 6 # BALLs"
line "set in my belt."
@ -6,7 +6,7 @@ _MtMoonPokecenterText1: ; 8a8eb (22:68eb)
line "carry 6 #MON."
done
_MtMoonPokecenterText3: ; 8a929 (22:6929)
_MtMoonPokecenterText3:: ; 8a929 (22:6929)
text "TEAM ROCKET"
line "attacks CERULEAN"
cont "citizens..."
@ -16,7 +16,7 @@ _MtMoonPokecenterText3: ; 8a929 (22:6929)
cont "news!"
done
_UnnamedText_4935c: ; 8a976 (22:6976)
_UnnamedText_4935c:: ; 8a976 (22:6976)
text "MAN: Hello, there!"
line "Have I got a deal"
cont "just for you!"
@ -27,23 +27,23 @@ _UnnamedText_4935c: ; 8a976 (22:6976)
cont "What do you say?"
done
_UnnamedText_49361: ; 8a9ec (22:69ec)
_UnnamedText_49361:: ; 8a9ec (22:69ec)
text "No? I'm only"
line "doing this as a"
cont "favor to you!"
done
_UnnamedText_49366: ; 8aa17 (22:6a17)
_UnnamedText_49366:: ; 8aa17 (22:6a17)
text "You'll need more"
line "money than that!"
done
_UnnamedText_4936b: ; 8aa39 (22:6a39)
_UnnamedText_4936b:: ; 8aa39 (22:6a39)
text "MAN: Well, I don't"
line "give refunds!"
done
_MtMoonPokecenterText5: ; 8aa5a (22:6a5a)
_MtMoonPokecenterText5:: ; 8aa5a (22:6a5a)
db $0
done