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 @@
_CeladonCityText1: ; a59fb (29:59fb)
_CeladonCityText1:: ; a59fb (29:59fb)
text "I got my KOFFING"
line "in CINNABAR!"
@ -7,19 +7,19 @@ _CeladonCityText1: ; a59fb (29:59fb)
cont "when it's angry!"
done
_CeladonCityText2: ; a5a4b (29:5a4b)
_CeladonCityText2:: ; a5a4b (29:5a4b)
text "Heheh! This GYM"
line "is great! It's"
cont "full of women!"
done
_CeladonCityText3: ; a5a79 (29:5a79)
_CeladonCityText3:: ; a5a79 (29:5a79)
text "The GAME CORNER"
line "is bad for our"
cont "city's image!"
done
_CeladonCityText4: ; a5aa6 (29:5aa6)
_CeladonCityText4:: ; a5aa6 (29:5aa6)
text "Moan! I blew it"
line "all at the slots!"
@ -28,7 +28,7 @@ _CeladonCityText4: ; a5aa6 (29:5aa6)
cont "coins for prizes!"
done
_TM41PreText: ; a5afd (29:5afd)
_TM41PreText:: ; a5afd (29:5afd)
text "Hello, there!"
para "I've seen you,"
@ -39,13 +39,13 @@ _TM41PreText: ; a5afd (29:5afd)
line "dropping by!"
prompt
_ReceivedTM41Text: ; a5b5a (29:5b5a)
_ReceivedTM41Text:: ; a5b5a (29:5b5a)
text $52, " received"
line "@"
TX_RAM $cf4b
text "!@@"
_TM41ExplanationText: ; a5b6e (29:5b6e)
_TM41ExplanationText:: ; a5b6e (29:5b6e)
text "TM41 teaches"
line "SOFTBOILED!"
@ -56,12 +56,12 @@ _TM41ExplanationText: ; a5b6e (29:5b6e)
line "CHANSEY!"
done
_TM41NoRoomText: ; a5bb8 (29:5bb8)
_TM41NoRoomText:: ; a5bb8 (29:5bb8)
text "Oh, your pack is"
line "full of items!"
done
_CeladonCityText6: ; a5bd9 (29:5bd9)
_CeladonCityText6:: ; a5bd9 (29:5bd9)
text "This is my trusted"
line "pal, POLIWRATH!"
@ -70,21 +70,21 @@ _CeladonCityText6: ; a5bd9 (29:5bd9)
cont "used WATER STONE!"
done
_CeladonCityText7: ; a5c30 (29:5c30)
_CeladonCityText7:: ; a5c30 (29:5c30)
text "POLIWRATH: Ribi"
line "ribit!@@"
_CeladonCityText8: ; a5c49 (29:5c49)
_CeladonCityText8:: ; a5c49 (29:5c49)
text "What are you"
line "staring at?"
done
_CeladonCityText9: ; a5c63 (29:5c63)
_CeladonCityText9:: ; a5c63 (29:5c63)
text "Keep out of TEAM"
line "ROCKET's way!"
done
_CeladonCityText10: ; a5c82 (29:5c82)
_CeladonCityText10:: ; a5c82 (29:5c82)
text "TRAINER TIPS"
para "X ACCURACY boosts"
@ -100,13 +100,13 @@ _CeladonCityText10: ; a5c82 (29:5c82)
cont "STORE!"
done
_CeladonCityText11: ; a5d18 (29:5d18)
_CeladonCityText11:: ; a5d18 (29:5d18)
text "CELADON CITY"
line "The City of"
cont "Rainbow Dreams"
done
_CeladonCityText13: ; a5d41 (29:5d41)
_CeladonCityText13:: ; a5d41 (29:5d41)
text "CELADON CITY"
line "#MON GYM"
cont "LEADER: ERIKA"
@ -115,17 +115,17 @@ _CeladonCityText13: ; a5d41 (29:5d41)
line "Princess!"
done
_CeladonCityText14: ; a5d82 (29:5d82)
_CeladonCityText14:: ; a5d82 (29:5d82)
text "CELADON MANSION"
done
_CeladonCityText15: ; a5d93 (29:5d93)
_CeladonCityText15:: ; a5d93 (29:5d93)
text "Find what you"
line "need at CELADON"
cont "DEPT. STORE!"
done
_CeladonCityText16: ; a5dbf (29:5dbf)
_CeladonCityText16:: ; a5dbf (29:5dbf)
text "TRAINER TIPS"
para "GUARD SPEC."
@ -139,13 +139,13 @@ _CeladonCityText16: ; a5dbf (29:5dbf)
cont "STORE!"
done
_CeladonCityText17: ; a5e3e (29:5e3e)
_CeladonCityText17:: ; a5e3e (29:5e3e)
text "Coins exchanged"
line "for prizes!"
cont "PRIZE EXCHANGE"
done
_CeladonCityText18: ; a5e6a (29:5e6a)
_CeladonCityText18:: ; a5e6a (29:5e6a)
text "ROCKET GAME CORNER"
line "The playground"
cont "for grown-ups!"