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_19668: ; a4d2b (29:4d2b)
_UnnamedText_19668:: ; a4d2b (29:4d2b)
text $53, ": Yo!"
line $52, "!"
@ -16,19 +16,19 @@ _UnnamedText_19668: ; a4d2b (29:4d2b)
cont $52, "!"
done
_UnnamedText_1966d: ; a4dbe (29:4dbe)
_UnnamedText_1966d:: ; a4dbe (29:4dbe)
text "Hey!"
line "Take it easy!"
cont "You won already!"
prompt
_UnnamedText_19672: ; a4de3 (29:4de3)
_UnnamedText_19672:: ; a4de3 (29:4de3)
text "Heh!"
line "You're no match"
cont "for my genius!"
prompt
_UnnamedText_19677: ; a4e07 (29:4e07)
_UnnamedText_19677:: ; a4e07 (29:4e07)
text $53, ": Hey,"
line "guess what?"
@ -58,7 +58,7 @@ _UnnamedText_19677: ; a4e07 (29:4e07)
cont "Smell ya later!"
done
_UnnamedText_196d9: ; a4f27 (29:4f27)
_UnnamedText_196d9:: ; a4f27 (29:4f27)
text "Hey! Stay out!"
line "It's not your"
cont "yard! Huh? Me?"
@ -68,16 +68,16 @@ _UnnamedText_196d9: ; a4f27 (29:4f27)
cont "you believe me?"
done
_ReceivedTM28Text: ; a4f82 (29:4f82)
_ReceivedTM28Text:: ; a4f82 (29:4f82)
text $52, " recovered"
line "TM28!@@"
_ReceivedTM28Text2: ; a4f96 (29:4f96)
_ReceivedTM28Text2:: ; a4f96 (29:4f96)
db $0
para "I better get"
line "moving! Bye!@@"
_TM28NoRoomText: ; a4fb3 (29:4fb3)
_TM28NoRoomText:: ; a4fb3 (29:4fb3)
text "Make room for"
line "this!"
@ -85,25 +85,25 @@ _TM28NoRoomText: ; a4fb3 (29:4fb3)
line "I give it to you!"
done
_UnnamedText_196ee: ; a4feb (29:4feb)
_UnnamedText_196ee:: ; a4feb (29:4feb)
text "Stop!"
line "I give up! I'll"
cont "leave quietly!"
prompt
_UnnamedText_196f3: ; a5010 (29:5010)
_UnnamedText_196f3:: ; a5010 (29:5010)
text "OK! I'll return"
line "the TM I stole!"
prompt
_CeruleanCityText3: ; a5030 (29:5030)
_CeruleanCityText3:: ; a5030 (29:5030)
text "You're a trainer"
line "too? Collecting,"
cont "fighting, it's a"
cont "tough life."
done
_CeruleanCityText4: ; a506e (29:506e)
_CeruleanCityText4:: ; a506e (29:506e)
text "That bush in"
line "front of the shop"
cont "is in the way."
@ -112,14 +112,14 @@ _CeruleanCityText4: ; a506e (29:506e)
line "way around."
done
_CeruleanCityText5: ; a50ba (29:50ba)
_CeruleanCityText5:: ; a50ba (29:50ba)
text "You're making an"
line "encyclopedia on"
cont "#MON? That"
cont "sounds amusing."
done
_CeruleanCityText6: ; a50f6 (29:50f6)
_CeruleanCityText6:: ; a50f6 (29:50f6)
text "The people here"
line "were robbed."
@ -133,20 +133,20 @@ _CeruleanCityText6: ; a50f6 (29:50f6)
cont "with the ROCKETs!"
done
_UnnamedText_19730: ; a5188 (29:5188)
_UnnamedText_19730:: ; a5188 (29:5188)
text "OK! SLOWBRO!"
line "Use SONICBOOM!"
cont "Come on, SLOWBRO"
cont "pay attention!"
done
_UnnamedText_19735: ; a51c5 (29:51c5)
_UnnamedText_19735:: ; a51c5 (29:51c5)
text "SLOWBRO punch!"
line "No! You blew it"
cont "again!"
done
_UnnamedText_1973a: ; a51ec (29:51ec)
_UnnamedText_1973a:: ; a51ec (29:51ec)
text "SLOWBRO, WITHDRAW!"
line "No! That's wrong!"
@ -159,27 +159,27 @@ _UnnamedText_1973a: ; a51ec (29:51ec)
cont "as a trainer!"
done
_UnnamedText_1976f: ; a526b (29:526b)
_UnnamedText_1976f:: ; a526b (29:526b)
text "SLOWBRO took a"
line "snooze..."
done
_UnnamedText_19774: ; a5285 (29:5285)
_UnnamedText_19774:: ; a5285 (29:5285)
text "SLOWBRO is"
line "loafing around..."
done
_UnnamedText_19779: ; a52a3 (29:52a3)
_UnnamedText_19779:: ; a52a3 (29:52a3)
text "SLOWBRO turned"
line "away..."
done
_UnnamedText_1977e: ; a52bb (29:52bb)
_UnnamedText_1977e:: ; a52bb (29:52bb)
text "SLOWBRO"
line "ignored orders..."
done
_CeruleanCityText9: ; a52d6 (29:52d6)
_CeruleanCityText9:: ; a52d6 (29:52d6)
text "I want a bright"
line "red BICYCLE!"
@ -188,7 +188,7 @@ _CeruleanCityText9: ; a52d6 (29:52d6)
cont "get dirty!"
done
_CeruleanCityText10: ; a531f (29:531f)
_CeruleanCityText10:: ; a531f (29:531f)
text "This is CERULEAN"
line "CAVE! Horribly"
cont "strong #MON"
@ -200,14 +200,14 @@ _CeruleanCityText10: ; a531f (29:531f)
cont "is allowed in!"
done
_CeruleanCityText12: ; a539a (29:539a)
_CeruleanCityText12:: ; a539a (29:539a)
text "CERULEAN CITY"
line "A Mysterious,"
cont "Blue Aura"
cont "Surrounds It"
done
_CeruleanCityText13: ; a53ce (29:53ce)
_CeruleanCityText13:: ; a53ce (29:53ce)
text "TRAINER TIPS"
para "Pressing B Button"
@ -216,13 +216,13 @@ _CeruleanCityText13: ; a53ce (29:53ce)
cont "process."
done
_CeruleanCityText16: ; a541a (29:541a)
_CeruleanCityText16:: ; a541a (29:541a)
text "Grass and caves"
line "handled easily!"
cont "BIKE SHOP"
done
_CeruleanCityText17: ; a5445 (29:5445)
_CeruleanCityText17:: ; a5445 (29:5445)
text "CERULEAN CITY"
line "#MON GYM"
cont "LEADER: MISTY"