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 @@
_Route1ViridianMartSampleText: ; 8d5bf (23:55bf)
_Route1ViridianMartSampleText:: ; 8d5bf (23:55bf)
text "Hi! I work at a"
line "#MON MART."
@ -12,24 +12,24 @@ _Route1ViridianMartSampleText: ; 8d5bf (23:55bf)
cont "Here you go!"
prompt
_UnnamedText_1cae8: ; 8d643 (23:5643)
_UnnamedText_1cae8:: ; 8d643 (23:5643)
text $52, " got"
line "@"
TX_RAM $cf4b
text "!@@"
_UnnamedText_1caee: ; 8d652 (23:5652)
_UnnamedText_1caee:: ; 8d652 (23:5652)
text "We also carry"
line "# BALLs for"
cont "catching #MON!"
done
_UnnamedText_1caf3: ; 8d67c (23:567c)
_UnnamedText_1caf3:: ; 8d67c (23:567c)
text "You have too much"
line "stuff with you!"
done
_Route1Text2: ; 8d69f (23:569f)
_Route1Text2:: ; 8d69f (23:569f)
text "See those ledges"
line "along the road?"
@ -42,7 +42,7 @@ _Route1Text2: ; 8d69f (23:569f)
cont "quicker that way."
done
_Route1Text3: ; 8d720 (23:5720)
_Route1Text3:: ; 8d720 (23:5720)
text "ROUTE 1"
line "PALLET TOWN -"
cont "VIRIDIAN CITY"