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,20 +1,20 @@
_Route4Text1: ; 8db1e (23:5b1e)
_Route4Text1:: ; 8db1e (23:5b1e)
text "Ouch! I tripped"
line "over a rocky"
cont "#MON, GEODUDE!"
done
_Route4BattleText1: ; 8db4b (23:5b4b)
_Route4BattleText1:: ; 8db4b (23:5b4b)
text "I came to get my"
line "mushroom #MON!"
done
_Route4EndBattleText1: ; 8db6c (23:5b6c)
_Route4EndBattleText1:: ; 8db6c (23:5b6c)
text "Oh! My cute"
line "mushroom #MON!"
prompt
_Route4AfterBattleText1: ; 8db88 (23:5b88)
_Route4AfterBattleText1:: ; 8db88 (23:5b88)
text "There might not"
line "be any more"
cont "mushrooms here."
@ -23,12 +23,12 @@ _Route4AfterBattleText1: ; 8db88 (23:5b88)
line "them all."
done
_Route4Text5: ; 8dbcd (23:5bcd)
_Route4Text5:: ; 8dbcd (23:5bcd)
text "MT.MOON"
line "Tunnel Entrance"
done
_Route4Text6: ; 8dbe6 (23:5be6)
_Route4Text6:: ; 8dbe6 (23:5be6)
text "ROUTE 4"
line "MT.MOON -"
cont "CERULEAN CITY"