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 @@
_UnnamedText_5c4a3: ; 98000 (26:4000)
_UnnamedText_5c4a3:: ; 98000 (26:4000)
text "There are all"
line "kinds of trainers"
cont "in the world!"
@ -12,16 +12,16 @@ _UnnamedText_5c4a3: ; 98000 (26:4000)
cont "your abilities!"
done
_TM34PreReceiveText: ; 98092 (26:4092)
_TM34PreReceiveText:: ; 98092 (26:4092)
text "Wait! Take this"
line "with you!"
done
_ReceivedTM34Text: ; 980ad (26:40ad)
_ReceivedTM34Text:: ; 980ad (26:40ad)
text $52, " received"
line "TM34!@@"
_TM34ExplanationText: ; 980c0 (26:40c0)
_TM34ExplanationText:: ; 980c0 (26:40c0)
db $0
para "A TM contains a"
line "technique that"
@ -44,12 +44,12 @@ _TM34ExplanationText: ; 980c0 (26:40c0)
cont "it back double!"
done
_TM34NoRoomText: ; 981ab (26:41ab)
_TM34NoRoomText:: ; 981ab (26:41ab)
text "You don't have"
line "room for this!"
done
_UnnamedText_5c4bc: ; 981c9 (26:41c9)
_UnnamedText_5c4bc:: ; 981c9 (26:41c9)
text "I took"
line "you for granted."
@ -60,7 +60,7 @@ _UnnamedText_5c4bc: ; 981c9 (26:41c9)
para $52, " received"
line "the BOULDERBADGE!@@"
_UnnamedText_5c4c1: ; 98232 (26:4232)
_UnnamedText_5c4c1:: ; 98232 (26:4232)
db $0
para "That's an official"
line "#MON LEAGUE"
@ -75,7 +75,7 @@ _UnnamedText_5c4c1: ; 98232 (26:4232)
cont "used any time!"
prompt
_PewterGymBattleText1: ; 982ae (26:42ae)
_PewterGymBattleText1:: ; 982ae (26:42ae)
text "Stop right there,"
line "kid!"
@ -84,7 +84,7 @@ _PewterGymBattleText1: ; 982ae (26:42ae)
cont "BROCK!"
done
_PewterGymEndBattleText1: ; 982f1 (26:42f1)
_PewterGymEndBattleText1:: ; 982f1 (26:42f1)
text "Darn!"
para "Light years isn't"
@ -92,13 +92,13 @@ _PewterGymEndBattleText1: ; 982f1 (26:42f1)
cont "distance!"
prompt
_PewterGymAfterBattleText1: ; 98325 (26:4325)
_PewterGymAfterBattleText1:: ; 98325 (26:4325)
text "You're pretty hot,"
line "but not as hot"
cont "as BROCK!"
done
_UnnamedText_5c515: ; 98351 (26:4351)
_UnnamedText_5c515:: ; 98351 (26:4351)
text "Hiya! I can tell"
line "you have what it"
cont "takes to become a"
@ -112,12 +112,12 @@ _UnnamedText_5c515: ; 98351 (26:4351)
line "to the top!"
done
_UnnamedText_5c51a: ; 983dc (26:43dc)
_UnnamedText_5c51a:: ; 983dc (26:43dc)
text "All right! Let's"
line "get happening!"
prompt
_UnnamedText_5c51f: ; 983fc (26:43fc)
_UnnamedText_5c51f:: ; 983fc (26:43fc)
text "The 1st #MON"
line "out in a match is"
cont "at the top of the"
@ -129,13 +129,13 @@ _UnnamedText_5c51f: ; 983fc (26:43fc)
cont "made easier!"
done
_UnnamedText_5c524: ; 98476 (26:4476)
_UnnamedText_5c524:: ; 98476 (26:4476)
text "It's a free"
line "service! Let's"
cont "get happening!"
prompt
_UnnamedText_5c529: ; 9849f (26:449f)
_UnnamedText_5c529:: ; 9849f (26:449f)
text "Just as I thought!"
line "You're #MON"
cont "champ material!"