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,26 +1,26 @@
_UnnamedText_51510: ; 92721 (24:6721)
_UnnamedText_51510:: ; 92721 (24:6721)
text "Congratulations!"
line "You beat our 5"
cont "contest trainers!@@"
_UnnamedText_51515: ; 92755 (24:6755)
_UnnamedText_51515:: ; 92755 (24:6755)
db $0
para "You just earned a"
line "fabulous prize!"
prompt
_UnnamedText_5151a: ; 92779 (24:6779)
_UnnamedText_5151a:: ; 92779 (24:6779)
text $52, " received"
line "a @"
TX_RAM $cf4b
text "!@@"
_UnnamedText_51521: ; 9278f (24:678f)
_UnnamedText_51521:: ; 9278f (24:678f)
text "You don't have"
line "any room!"
done
_UnnamedText_51526: ; 927a8 (24:67a8)
_UnnamedText_51526:: ; 927a8 (24:67a8)
text "By the way, would"
line "you like to join"
cont "TEAM ROCKET?"
@ -46,19 +46,19 @@ _UnnamedText_51526: ; 927a8 (24:67a8)
cont "refuse!"
done
_UnnamedText_5152b: ; 9288a (24:688a)
_UnnamedText_5152b:: ; 9288a (24:688a)
text "Arrgh!"
line "You are good!"
prompt
_UnnamedText_51530: ; 928a0 (24:68a0)
_UnnamedText_51530:: ; 928a0 (24:68a0)
text "With your ability,"
line "you could become"
cont "a top leader in"
cont "TEAM ROCKET!"
done
_Route24BattleText1: ; 928e2 (24:68e2)
_Route24BattleText1:: ; 928e2 (24:68e2)
text "I saw your feat"
line "from the grass!"
done