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 @@
_SilphCoPresidentText: ; 84e9b (21:4e9b)
_SilphCoPresidentText:: ; 84e9b (21:4e9b)
text "PRESIDENT: Thank"
line "you for saving"
cont "SILPH!"
@ -19,13 +19,13 @@ _SilphCoPresidentText: ; 84e9b (21:4e9b)
line "will do!"
prompt
_ReceivedSilphCoMasterBallText: ; 84f63 (21:4f63)
_ReceivedSilphCoMasterBallText:: ; 84f63 (21:4f63)
text $52, " got a"
line "@"
TX_RAM $cf4b
text "!@@"
_UnnamedText_6231c: ; 84f74 (21:4f74)
_UnnamedText_6231c:: ; 84f74 (21:4f74)
text "PRESIDENT: You"
line "can't buy that"
cont "anywhere!"
@ -43,12 +43,12 @@ _UnnamedText_6231c: ; 84f74 (21:4f74)
cont "it, though."
done
_SilphCoMasterBallNoRoomText: ; 85013 (21:5013)
_SilphCoMasterBallNoRoomText:: ; 85013 (21:5013)
text "You have no"
line "room for this."
done
_SilphCo11Text2: ; 8502f (21:502f)
_SilphCo11Text2:: ; 8502f (21:502f)
text "SECRETARY: Thank"
line "you for rescuing"
cont "all of us!"
@ -57,7 +57,7 @@ _SilphCo11Text2: ; 8502f (21:502f)
line "courage."
done
_SilphCo11Text3: ; 85075 (21:5075)
_SilphCo11Text3:: ; 85075 (21:5075)
text "Ah ", $52, "!"
line "So we meet again!"
@ -74,12 +74,12 @@ _SilphCo11Text3: ; 85075 (21:5075)
line "world of pain!"
done
_UnnamedText_62330: ; 85119 (21:5119)
_UnnamedText_62330:: ; 85119 (21:5119)
text "Arrgh!!"
line "I lost again!?"
prompt
_UnnamedText_62335: ; 85131 (21:5131)
_UnnamedText_62335:: ; 85131 (21:5131)
text "Blast it all!"
line "You ruined our"
cont "plans for SILPH!"
@ -96,39 +96,39 @@ _UnnamedText_62335: ; 85131 (21:5131)
line "shall return!"
done
_SilphCo11BattleText1: ; 851d6 (21:51d6)
_SilphCo11BattleText1:: ; 851d6 (21:51d6)
text "Stop right there!"
line "Don't you move!"
done
_SilphCo11EndBattleText1: ; 851f8 (21:51f8)
_SilphCo11EndBattleText1:: ; 851f8 (21:51f8)
text "Don't..."
line "Please!"
prompt
_SilphCo11AfterBattleText1: ; 85209 (21:5209)
_SilphCo11AfterBattleText1:: ; 85209 (21:5209)
text "So, you want to"
line "see my BOSS?"
done
_SilphCo11BattleText2: ; 85227 (21:5227)
_SilphCo11BattleText2:: ; 85227 (21:5227)
text "Halt! Do you have"
line "an appointment"
cont "with my BOSS?"
done
_SilphCo11EndBattleText2: ; 85257 (21:5257)
_SilphCo11EndBattleText2:: ; 85257 (21:5257)
text "Gaah!"
line "Demolished!"
prompt
_SilphCo11AfterBattleText2: ; 8526a (21:526a)
_SilphCo11AfterBattleText2:: ; 8526a (21:526a)
text "Watch your step,"
line "my BOSS likes his"
cont "#MON tough!"
done
_UnnamedText_6237b: ; 8529a (21:529a)
_UnnamedText_6237b:: ; 8529a (21:529a)
text "The monitor has"
line "#MON on it!"
done