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_5c7be: ; 989c1 (26:49c1)
_UnnamedText_5c7be:: ; 989c1 (26:49c1)
text "Hi, you're a new"
line "face!"
@ -17,7 +17,7 @@ _UnnamedText_5c7be: ; 989c1 (26:49c1)
cont "#MON!"
done
_UnnamedText_5c7c3: ; 98a7b (26:4a7b)
_UnnamedText_5c7c3:: ; 98a7b (26:4a7b)
text "TM11 teaches"
line "BUBBLEBEAM!"
@ -25,7 +25,7 @@ _UnnamedText_5c7c3: ; 98a7b (26:4a7b)
line "aquatic #MON!"
done
_UnnamedText_5c7c8: ; 98ab0 (26:4ab0)
_UnnamedText_5c7c8:: ; 98ab0 (26:4ab0)
text "The CASCADEBADGE"
line "makes all #MON"
cont "up to L30 obey!"
@ -45,16 +45,16 @@ _UnnamedText_5c7c8: ; 98ab0 (26:4ab0)
line "my favorite TM!"
done
_ReceivedTM11Text: ; 98b7d (26:4b7d)
_ReceivedTM11Text:: ; 98b7d (26:4b7d)
text $52, " received"
line "TM11!@@"
_UnnamedText_5c7d3: ; 98b90 (26:4b90)
_UnnamedText_5c7d3:: ; 98b90 (26:4b90)
text "You better make"
line "room for this!"
done
_UnnamedText_5c7d8: ; 98bb0 (26:4bb0)
_UnnamedText_5c7d8:: ; 98bb0 (26:4bb0)
text "Wow!"
line "You're too much!"
@ -64,38 +64,38 @@ _UnnamedText_5c7d8: ; 98bb0 (26:4bb0)
line "CASCADEBADGE to"
cont "show you beat me!@@"
_CeruleanGymBattleText1: ; 98c05 (26:4c05)
_CeruleanGymBattleText1:: ; 98c05 (26:4c05)
text "I'm more than good"
line "enough for you!"
para "MISTY can wait!"
done
_CeruleanGymEndBattleText1: ; 98c38 (26:4c38)
_CeruleanGymEndBattleText1:: ; 98c38 (26:4c38)
text "You"
line "overwhelmed me!"
prompt
_CeruleanGymAfterBattleText1: ; 98c4d (26:4c4d)
_CeruleanGymAfterBattleText1:: ; 98c4d (26:4c4d)
text "You have to face"
line "other trainers to"
cont "find out how good"
cont "you really are."
done
_CeruleanGymBattleText2: ; 98c93 (26:4c93)
_CeruleanGymBattleText2:: ; 98c93 (26:4c93)
text "Splash!"
para "I'm first up!"
line "Let's do it!"
done
_CeruleanGymEndBattleText2: ; 98cb5 (26:4cb5)
_CeruleanGymEndBattleText2:: ; 98cb5 (26:4cb5)
text "That"
line "can't be!"
prompt
_CeruleanGymAfterBattleText2: ; 98cc4 (26:4cc4)
_CeruleanGymAfterBattleText2:: ; 98cc4 (26:4cc4)
text "MISTY is going to"
line "keep improving!"
@ -103,7 +103,7 @@ _CeruleanGymAfterBattleText2: ; 98cc4 (26:4cc4)
line "someone like you!"
done
_UnnamedText_5c82a: ; 98d0a (26:4d0a)
_UnnamedText_5c82a:: ; 98d0a (26:4d0a)
text "Yo! Champ in"
line "making!"
@ -121,7 +121,7 @@ _UnnamedText_5c82a: ; 98d0a (26:4d0a)
line "electricity!"
done
_UnnamedText_5c82f: ; 98db0 (26:4db0)
_UnnamedText_5c82f:: ; 98db0 (26:4db0)
text "You beat MISTY!"
line "What'd I tell ya?"