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,160 +1,160 @@
_Route17BattleText1: ; 91352 (24:5352)
_Route17BattleText1:: ; 91352 (24:5352)
text "There's no money"
line "in fighting kids!"
done
_Route17EndBattleText1: ; 91375 (24:5375)
_Route17EndBattleText1:: ; 91375 (24:5375)
text "Burned"
line "out!"
prompt
_Route17AfterBattleText1: ; 91382 (24:5382)
_Route17AfterBattleText1:: ; 91382 (24:5382)
text "Good stuff is"
line "lying around on"
cont "CYCLING ROAD!"
done
_Route17BattleText2: ; 913af (24:53af)
_Route17BattleText2:: ; 913af (24:53af)
text "What do you want,"
line "kiddo?"
done
_Route17EndBattleText2: ; 913c9 (24:53c9)
_Route17EndBattleText2:: ; 913c9 (24:53c9)
text "Whoo!"
prompt
_Route17AfterBattleText2: ; 913d0 (24:53d0)
_Route17AfterBattleText2:: ; 913d0 (24:53d0)
text "I could belly-"
line "bump you outta"
cont "here!"
done
_Route17BattleText3: ; 913f5 (24:53f5)
_Route17BattleText3:: ; 913f5 (24:53f5)
text "You heading to"
line "FUCHSIA?"
done
_Route17EndBattleText3: ; 9140e (24:540e)
_Route17EndBattleText3:: ; 9140e (24:540e)
text "Crash and"
line "burn!"
prompt
_Route17AfterBattleText3: ; 9141f (24:541f)
_Route17AfterBattleText3:: ; 9141f (24:541f)
text "I love racing"
line "downhill!"
done
_Route17BattleText4: ; 91438 (24:5438)
_Route17BattleText4:: ; 91438 (24:5438)
text "We're BIKERs!"
line "Highway stars!"
done
_Route17EndBattleText4: ; 91455 (24:5455)
_Route17EndBattleText4:: ; 91455 (24:5455)
text "Smoked!"
prompt
_Route17AfterBattleText4: ; 9145e (24:545e)
_Route17AfterBattleText4:: ; 9145e (24:545e)
text "Are you looking"
line "for adventure?"
done
_Route17BattleText5: ; 9147e (24:547e)
_Route17BattleText5:: ; 9147e (24:547e)
text "Let VOLTORB"
line "electrify you!"
done
_Route17EndBattleText5: ; 9149a (24:549a)
_Route17EndBattleText5:: ; 9149a (24:549a)
text "Grounded"
line "out!"
prompt
_Route17AfterBattleText5: ; 914a9 (24:54a9)
_Route17AfterBattleText5:: ; 914a9 (24:54a9)
text "I got my VOLTORB"
line "at the abandoned"
cont "POWER PLANT."
done
_Route17BattleText6: ; 914d9 (24:54d9)
_Route17BattleText6:: ; 914d9 (24:54d9)
text "My #MON won't"
line "evolve! Why?"
done
_Route17EndBattleText6: ; 914f4 (24:54f4)
_Route17EndBattleText6:: ; 914f4 (24:54f4)
text "Why,"
line "you!"
prompt
_Route17AfterBattleText6: ; 914ff (24:54ff)
_Route17AfterBattleText6:: ; 914ff (24:54ff)
text "Maybe some #MON"
line "need element"
cont "STONEs to evolve."
done
_Route17BattleText7: ; 9152f (24:552f)
_Route17BattleText7:: ; 9152f (24:552f)
text "I need a little"
line "exercise!"
done
_Route17EndBattleText7: ; 9154a (24:554a)
_Route17EndBattleText7:: ; 9154a (24:554a)
text "Whew!"
line "Good workout!"
prompt
_Route17AfterBattleText7: ; 9155f (24:555f)
_Route17AfterBattleText7:: ; 9155f (24:555f)
text "I'm sure I lost"
line "weight there!"
done
_Route17BattleText8: ; 9157d (24:557d)
_Route17BattleText8:: ; 9157d (24:557d)
text "Be a rebel!"
done
_Route17EndBattleText8: ; 9158a (24:558a)
_Route17EndBattleText8:: ; 9158a (24:558a)
text "Aaaargh!"
prompt
_Route17AfterBattleText8: ; 91594 (24:5594)
_Route17AfterBattleText8:: ; 91594 (24:5594)
text "Be ready to fight"
line "for your beliefs!"
done
_Route17BattleText9: ; 915b9 (24:55b9)
_Route17BattleText9:: ; 915b9 (24:55b9)
text "Nice BIKE!"
line "How's it handle?"
done
_Route17EndBattleText9: ; 915d5 (24:55d5)
_Route17EndBattleText9:: ; 915d5 (24:55d5)
text "Shoot!"
prompt
_Route17AfterBattleText9: ; 915dd (24:55dd)
_Route17AfterBattleText9:: ; 915dd (24:55dd)
text "The slope makes"
line "it hard to steer!"
done
_Route17BattleText10: ; 91600 (24:5600)
_Route17BattleText10:: ; 91600 (24:5600)
text "Get lost kid!"
line "I'm bushed!"
done
_Route17EndBattleText10: ; 9161a (24:561a)
_Route17EndBattleText10:: ; 9161a (24:561a)
text "Are you"
line "satisfied?"
prompt
_Route17AfterBattleText10: ; 9162e (24:562e)
_Route17AfterBattleText10:: ; 9162e (24:562e)
text "I need to catch"
line "a few Zs!"
done
_Route17Text11: ; 91649 (24:5649)
_Route17Text11:: ; 91649 (24:5649)
text "It's a notice!"
para "Watch out for"
line "discarded items!"
done
_Route17Text12: ; 91677 (24:5677)
_Route17Text12:: ; 91677 (24:5677)
text "TRAINER TIPS"
para "All #MON are"
@ -166,7 +166,7 @@ _Route17Text12: ; 91677 (24:5677)
cont "different rates."
done
_Route17Text13: ; 916d8 (24:56d8)
_Route17Text13:: ; 916d8 (24:56d8)
text "TRAINER TIPS"
para "Press the A or B"
@ -175,13 +175,13 @@ _Route17Text13: ; 916d8 (24:56d8)
cont "slope."
done
_Route17Text14: ; 91721 (24:5721)
_Route17Text14:: ; 91721 (24:5721)
text "ROUTE 17"
line "CELADON CITY -"
cont "FUCHSIA CITY"
done
_Route17Text15: ; 91747 (24:5747)
_Route17Text15:: ; 91747 (24:5747)
text "It's a notice!"
para "Don't throw the"
@ -189,7 +189,7 @@ _Route17Text15: ; 91747 (24:5747)
cont "BALLs instead!"
done
_Route17Text16: ; 91782 (24:5782)
_Route17Text16:: ; 91782 (24:5782)
text "CYCLING ROAD"
line "Slope ends here!"
done