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 @@
_WardenGibberishText1: ; 9e444 (27:6444)
_WardenGibberishText1:: ; 9e444 (27:6444)
text "WARDEN: Hif fuff"
line "hefifoo!"
@ -7,28 +7,28 @@ _WardenGibberishText1: ; 9e444 (27:6444)
cont "hee fwee!"
done
_WardenGibberishText2: ; 9e48b (27:648b)
_WardenGibberishText2:: ; 9e48b (27:648b)
text "Ah howhee ho hoo!"
line "Eef ee hafahi ho!"
done
_WardenGibberishText3: ; 9e4b0 (27:64b0)
_WardenGibberishText3:: ; 9e4b0 (27:64b0)
text "Ha? He ohay heh"
line "ha hoo ee haheh!"
done
_WardenTeethText1: ; 9e4d2 (27:64d2)
_WardenTeethText1:: ; 9e4d2 (27:64d2)
text $52, " gave the"
line "GOLD TEETH to the"
cont "WARDEN!@@"
_WardenTeethText2: ; 9e4f9 (27:64f9)
_WardenTeethText2:: ; 9e4f9 (27:64f9)
db $0
para "The WARDEN popped"
line "in his teeth!"
prompt
_WardenThankYouText: ; 9e51b (27:651b)
_WardenThankYouText:: ; 9e51b (27:651b)
text "WARDEN: Thanks,"
line "kid! No one could"
cont "understand a word"
@ -41,13 +41,13 @@ _WardenThankYouText: ; 9e51b (27:651b)
cont "your trouble."
prompt
_ReceivedHM04Text: ; 9e5a2 (27:65a2)
_ReceivedHM04Text:: ; 9e5a2 (27:65a2)
text $52, " received"
line "@"
TX_RAM $cf4b
text "!@@"
_HM04ExplanationText: ; 9e5b6 (27:65b6)
_HM04ExplanationText:: ; 9e5b6 (27:65b6)
text "WARDEN: HM04"
line "teaches STRENGTH!"
@ -67,17 +67,17 @@ _HM04ExplanationText: ; 9e5b6 (27:65b6)
line "rare SURF HM."
done
_HM04NoRoomText: ; 9e67a (27:667a)
_HM04NoRoomText:: ; 9e67a (27:667a)
text "Your pack is"
line "stuffed full!"
done
_UnnamedText_75176: ; 9e696 (27:6696)
_UnnamedText_75176:: ; 9e696 (27:6696)
text "#MON photos"
line "and fossils."
done
_UnnamedText_7517b: ; 9e6b0 (27:66b0)
_UnnamedText_7517b:: ; 9e6b0 (27:66b0)
text "Old #MON"
line "merchandise."
done