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,5 +1,5 @@
_ViridianPokeCenterText2: ; 95ba1 (25:5ba1)
_ViridianPokeCenterText1: ; 95ba1 (25:5ba1)
_ViridianPokeCenterText2:: ; 95ba1 (25:5ba1)
_ViridianPokeCenterText1:: ; 95ba1 (25:5ba1)
text "You can use that"
line "PC in the corner."
@ -7,7 +7,7 @@ _ViridianPokeCenterText1: ; 95ba1 (25:5ba1)
line "told me. So kind!"
done
_ViridianPokeCenterText3: ; 95be8 (25:5be8)
_ViridianPokeCenterText3:: ; 95be8 (25:5be8)
text "There's a #MON"
line "CENTER in every"
cont "town ahead."
@ -16,17 +16,17 @@ _ViridianPokeCenterText3: ; 95be8 (25:5be8)
line "any money either!"
done
_ViridianMartText1: ; 95c36 (25:5c36)
_ViridianMartText1:: ; 95c36 (25:5c36)
text "Okay! Say hi to"
line "PROF.OAK for me!"
done
_ViridianMartText4: ; 95c58 (25:5c58)
_ViridianMartText4:: ; 95c58 (25:5c58)
text "Hey! You came from"
line "PALLET TOWN?"
done
ViridianMartParcelQuestText: ; 95c79 (25:5c79)
ViridianMartParcelQuestText:: ; 95c79 (25:5c79)
text "You know PROF."
line "OAK, right?"
@ -37,12 +37,12 @@ ViridianMartParcelQuestText: ; 95c79 (25:5c79)
para $52, " got"
line "OAK's PARCEL!@@"
_ViridianMartText2: ; 95cd5 (25:5cd5)
_ViridianMartText2:: ; 95cd5 (25:5cd5)
text "This shop sells"
line "many ANTIDOTEs."
done
_ViridianMartText3: ; 95cf6 (25:5cf6)
_ViridianMartText3:: ; 95cf6 (25:5cf6)
text "No! POTIONs are"
line "all sold out."
done