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_1e865: ; 8d267 (23:5267)
_UnnamedText_1e865:: ; 8d267 (23:5267)
text "Hiya! I'm a"
line "#MON..."
cont "...No I'm not!"
@ -19,7 +19,7 @@ _UnnamedText_1e865: ; 8d267 (23:5267)
line "Help me out here!"
done
_UnnamedText_1e86a: ; 8d345 (23:5345)
_UnnamedText_1e86a:: ; 8d345 (23:5345)
text "When I'm in the"
line "TELEPORTER, go to"
cont "my PC and run the"
@ -27,7 +27,7 @@ _UnnamedText_1e86a: ; 8d345 (23:5345)
cont "System!"
done
_UnnamedText_1e86f: ; 8d391 (23:5391)
_UnnamedText_1e86f:: ; 8d391 (23:5391)
text "No!? Come on, you"
line "gotta help a guy"
cont "in deep trouble!"
@ -37,7 +37,7 @@ _UnnamedText_1e86f: ; 8d391 (23:5391)
cont "OK? All right!"
prompt
_BillThankYouText: ; 8d3f5 (23:53f5)
_BillThankYouText:: ; 8d3f5 (23:53f5)
text "BILL: Yeehah!"
line "Thanks, bud! I"
cont "owe you one!"
@ -53,18 +53,18 @@ _BillThankYouText: ; 8d3f5 (23:53f5)
cont "maybe this'll do."
prompt
_SSTicketReceivedText: ; 8d499 (23:5499)
_SSTicketReceivedText:: ; 8d499 (23:5499)
text $52, " received"
line "an @"
TX_RAM $cf4b
text "!@@"
_SSTicketNoRoomText: ; 8d4b0 (23:54b0)
_SSTicketNoRoomText:: ; 8d4b0 (23:54b0)
text "You've got too"
line "much stuff, bud!"
done
_UnnamedText_1e8cb: ; 8d4d0 (23:54d0)
_UnnamedText_1e8cb:: ; 8d4d0 (23:54d0)
text "That cruise ship,"
line "S.S.ANNE, is in"
cont "VERMILION CITY."
@ -79,7 +79,7 @@ _UnnamedText_1e8cb: ; 8d4d0 (23:54d0)
cont "instead of me?"
done
_UnnamedText_1e8da: ; 8d57f (23:557f)
_UnnamedText_1e8da:: ; 8d57f (23:557f)
text "BILL: Look, bud,"
line "just check out"
cont "some of my rare"