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,24 +1,24 @@
_CeladonDinerText1: ; 9df3f (27:5f3f)
_CeladonDinerText1:: ; 9df3f (27:5f3f)
text "Hi!"
para "We're taking a"
line "break now."
done
_CeladonDinerText2: ; 9df5d (27:5f5d)
_CeladonDinerText2:: ; 9df5d (27:5f5d)
text "My #MON are"
line "weak, so I often"
cont "have to go to the"
cont "DRUG STORE."
done
_CeladonDinerText3: ; 9df99 (27:5f99)
_CeladonDinerText3:: ; 9df99 (27:5f99)
text "Psst! There's a"
line "basement under"
cont "the GAME CORNER."
done
_CeladonDinerText4: ; 9dfc9 (27:5fc9)
_CeladonDinerText4:: ; 9dfc9 (27:5fc9)
text "Munch..."
para "The man at that"
@ -26,7 +26,7 @@ _CeladonDinerText4: ; 9dfc9 (27:5fc9)
cont "at the slots."
done
_UnnamedText_491a7: ; 9e003 (27:6003)
_UnnamedText_491a7:: ; 9e003 (27:6003)
text "Go ahead! Laugh!"
para "I'm flat out"
@ -41,18 +41,18 @@ _UnnamedText_491a7: ; 9e003 (27:6003)
cont "more!"
prompt
_ReceivedCoinCaseText: ; 9e07a (27:607a)
_ReceivedCoinCaseText:: ; 9e07a (27:607a)
text $52, " received"
line "a @"
TX_RAM $cf4b
text "!@@"
_CoinCaseNoRoomText: ; 9e090 (27:6090)
_CoinCaseNoRoomText:: ; 9e090 (27:6090)
text "Make room for"
line "this!"
done
_UnnamedText_491b7: ; 9e0a5 (27:60a5)
_UnnamedText_491b7:: ; 9e0a5 (27:60a5)
text "I always thought"
line "I was going to"
cont "win it back..."