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 @@
_ViridianForestText1: ; 8031d (20:431d)
_ViridianForestText1:: ; 8031d (20:431d)
text "I came here with"
line "some friends!"
@ -6,53 +6,53 @@ _ViridianForestText1: ; 8031d (20:431d)
line "#MON fights!"
done
_ViridianForestBattleText1: ; 80359 (20:4359)
_ViridianForestBattleText1:: ; 80359 (20:4359)
text "Hey! You have"
line "#MON! Come on!"
cont "Let's battle'em!"
done
_ViridianForestEndBattleText1: ; 80387 (20:4387)
_ViridianForestEndBattleText1:: ; 80387 (20:4387)
text "No!"
line "CATERPIE can't"
cont "cut it!"
prompt
_ViridianFrstAfterBattleText1: ; 803a2 (20:43a2)
_ViridianFrstAfterBattleText1:: ; 803a2 (20:43a2)
text "Ssh! You'll scare"
line "the bugs away!"
done
_ViridianForestBattleText2: ; 803c3 (20:43c3)
_ViridianForestBattleText2:: ; 803c3 (20:43c3)
text "Yo! You can't jam"
line "out if you're a"
cont "#MON trainer!"
done
_ViridianForestEndBattleText2: ; 803f2 (20:43f2)
_ViridianForestEndBattleText2:: ; 803f2 (20:43f2)
text "Huh?"
line "I ran out of"
cont "#MON!"
prompt
_ViridianFrstAfterBattleText2: ; 8040b (20:440b)
_ViridianFrstAfterBattleText2:: ; 8040b (20:440b)
text "Darn! I'm going"
line "to catch some"
cont "stronger ones!"
done
_ViridianForestBattleText3: ; 80438 (20:4438)
_ViridianForestBattleText3:: ; 80438 (20:4438)
text "Hey, wait up!"
line "What's the hurry?"
done
_ViridianForestEndBattleText3: ; 80458 (20:4458)
_ViridianForestEndBattleText3:: ; 80458 (20:4458)
text "I"
line "give! You're good"
cont "at this!"
prompt
_ViridianFrstAfterBattleText3: ; 80475 (20:4475)
_ViridianFrstAfterBattleText3:: ; 80475 (20:4475)
text "Sometimes, you"
line "can find stuff on"
cont "the ground!"
@ -62,7 +62,7 @@ _ViridianFrstAfterBattleText3: ; 80475 (20:4475)
cont "dropped!"
done
_ViridianForestText8: ; 804c7 (20:44c7)
_ViridianForestText8:: ; 804c7 (20:44c7)
text "I ran out of #"
line "BALLs to catch"
cont "#MON with!"
@ -71,7 +71,7 @@ _ViridianForestText8: ; 804c7 (20:44c7)
line "extras!"
done
_ViridianForestText9: ; 8050a (20:450a)
_ViridianForestText9:: ; 8050a (20:450a)
text "TRAINER TIPS"
para "If you want to"
@ -80,13 +80,13 @@ _ViridianForestText9: ; 8050a (20:450a)
cont "grassy areas!"
done
_ViridianForestText10: ; 80553 (20:4553)
_ViridianForestText10:: ; 80553 (20:4553)
text "For poison, use"
line "ANTIDOTE! Get it"
cont "at #MON MARTs!"
done
_ViridianForestText11: ; 80584 (20:4584)
_ViridianForestText11:: ; 80584 (20:4584)
text "TRAINER TIPS"
para "Contact PROF.OAK"
@ -95,7 +95,7 @@ _ViridianForestText11: ; 80584 (20:4584)
cont "evaluated!"
done
_ViridianForestText12: ; 805c6 (20:45c6)
_ViridianForestText12:: ; 805c6 (20:45c6)
text "TRAINER TIPS"
para "No stealing of"
@ -105,7 +105,7 @@ _ViridianForestText12: ; 805c6 (20:45c6)
cont "#MON!"
done
_ViridianForestText13: ; 80613 (20:4613)
_ViridianForestText13:: ; 80613 (20:4613)
text "TRAINER TIPS"
para "Weaken #MON"
@ -116,7 +116,7 @@ _ViridianForestText13: ; 80613 (20:4613)
line "they may escape!"
done
_ViridianForestText14: ; 80667 (20:4667)
_ViridianForestText14:: ; 80667 (20:4667)
text "LEAVING"
line "VIRIDIAN FOREST"
cont "PEWTER CITY AHEAD"