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 @@
_ViridianCityText1: ; a43cc (29:43cc)
_ViridianCityText1:: ; a43cc (29:43cc)
text "Those # BALLs"
line "at your waist!"
cont "You have #MON!"
@ -9,7 +9,7 @@ _ViridianCityText1: ; a43cc (29:43cc)
cont "time, anywhere!"
done
_UnnamedText_19122: ; a4437 (29:4437)
_UnnamedText_19122:: ; a4437 (29:4437)
text "This #MON GYM"
line "is always closed."
@ -17,23 +17,23 @@ _UnnamedText_19122: ; a4437 (29:4437)
line "LEADER is?"
done
_UnnamedText_19127: ; a4474 (29:4474)
_UnnamedText_19127:: ; a4474 (29:4474)
text "VIRIDIAN GYM's"
line "LEADER returned!"
done
_UnnamedText_1914d: ; a4494 (29:4494)
_UnnamedText_1914d:: ; a4494 (29:4494)
text "You want to know"
line "about the 2 kinds"
cont "of caterpillar"
cont "#MON?"
done
_UnnamedText_19152: ; a44cd (29:44cd)
_UnnamedText_19152:: ; a44cd (29:44cd)
text "Oh, OK then!"
done
_UnnamedText_19157: ; a44db (29:44db)
_UnnamedText_19157:: ; a44db (29:44db)
text "CATERPIE has no"
line "poison, but"
cont "WEEDLE does."
@ -42,14 +42,14 @@ _UnnamedText_19157: ; a44db (29:44db)
line "POISON STING!"
done
_UnnamedText_19175: ; a4525 (29:4525)
_UnnamedText_19175:: ; a4525 (29:4525)
text "Oh Grandpa! Don't"
line "be so mean!"
cont "He hasn't had his"
cont "coffee yet."
done
_UnnamedText_1917a: ; a4560 (29:4560)
_UnnamedText_1917a:: ; a4560 (29:4560)
text "When I go shop in"
line "PEWTER CITY, I"
cont "have to take the"
@ -57,7 +57,7 @@ _UnnamedText_1917a: ; a4560 (29:4560)
cont "VIRIDIAN FOREST."
done
_UnnamedText_19191: ; a45b5 (29:45b5)
_UnnamedText_19191:: ; a45b5 (29:45b5)
text "You can't go"
line "through here!"
@ -65,7 +65,7 @@ _UnnamedText_19191: ; a45b5 (29:45b5)
line "property!"
done
_UnnamedText_191ca: ; a45ea (29:45ea)
_UnnamedText_191ca:: ; a45ea (29:45ea)
text "Yawn!"
line "I must have dozed"
cont "off in the sun."
@ -82,22 +82,22 @@ _UnnamedText_191ca: ; a45ea (29:45ea)
cont "have this TM."
prompt
_ReceivedTM42Text: ; a469a (29:469a)
_ReceivedTM42Text:: ; a469a (29:469a)
text $52, " received"
line "TM42!@@"
_TM42Explanation: ; a46ad (29:46ad)
_TM42Explanation:: ; a46ad (29:46ad)
text "TM42 contains"
line "DREAM EATER..."
cont "...Snore..."
done
_TM42NoRoomText: ; a46d7 (29:46d7)
_TM42NoRoomText:: ; a46d7 (29:46d7)
text "You have too much"
line "stuff already."
done
_UnnamedText_1920a: ; a46f9 (29:46f9)
_UnnamedText_1920a:: ; a46f9 (29:46f9)
text "Ahh, I've had my"
line "coffee now and I"
cont "feel great!"
@ -109,7 +109,7 @@ _UnnamedText_1920a: ; a46f9 (29:46f9)
line "hurry?"
done
_UnnamedText_1920f: ; a4754 (29:4754)
_UnnamedText_1920f:: ; a4754 (29:4754)
text "I see you're using"
line "a #DEX."
@ -126,24 +126,24 @@ _UnnamedText_1920f: ; a4754 (29:4754)
line "how to then."
done
_UnnamedText_19214: ; a47e6 (29:47e6)
_UnnamedText_19214:: ; a47e6 (29:47e6)
text "Time is money..."
line "Go along then."
done
_UnnamedText_19219: ; a4807 (29:4807)
_UnnamedText_19219:: ; a4807 (29:4807)
text "First, you need"
line "to weaken the"
cont "target #MON."
done
_ViridianCityText8: ; a4833 (29:4833)
_ViridianCityText8:: ; a4833 (29:4833)
text "VIRIDIAN CITY "
line "The Eternally"
cont "Green Paradise"
done
_ViridianCityText9: ; a4860 (29:4860)
_ViridianCityText9:: ; a4860 (29:4860)
text "TRAINER TIPS"
para "Catch #MON"
@ -155,7 +155,7 @@ _ViridianCityText9: ; a4860 (29:4860)
cont "to fight!"
done
_ViridianCityText10: ; a48c3 (29:48c3)
_ViridianCityText10:: ; a48c3 (29:48c3)
text "TRAINER TIPS"
para "The battle moves"
@ -169,12 +169,12 @@ _ViridianCityText10: ; a48c3 (29:48c3)
cont "#MON CENTER!"
done
_ViridianCityText13: ; a4949 (29:4949)
_ViridianCityText13:: ; a4949 (29:4949)
text "VIRIDIAN CITY"
line "#MON GYM"
done
_ViridianCityText14: ; a4961 (29:4961)
_ViridianCityText14:: ; a4961 (29:4961)
text "The GYM's doors"
line "are locked..."
done