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,30 +1,30 @@
_Mansion1BattleText2: ; a07a8 (28:47a8)
_Mansion1BattleText2:: ; a07a8 (28:47a8)
text "Who are you? There"
line "shouldn't be"
cont "anyone here."
done
_Mansion1EndBattleText2: ; a07d5 (28:47d5)
_Mansion1EndBattleText2:: ; a07d5 (28:47d5)
text "Ouch!"
prompt
_Mansion1AfterBattleText2: ; a07dc (28:47dc)
_Mansion1AfterBattleText2:: ; a07dc (28:47dc)
text "A key? I don't"
line "know what you're"
cont "talking about."
done
_MansionSwitchText: ; a080a (28:480a)
_MansionSwitchText:: ; a080a (28:480a)
text "A secret switch!"
para "Press it?"
done
_MansionSwitchPressedText: ; a0826 (28:4826)
_MansionSwitchPressedText:: ; a0826 (28:4826)
text "Who wouldn't?"
prompt
_MansionSwitchNotPressedText: ; a0834 (28:4834)
_MansionSwitchNotPressedText:: ; a0834 (28:4834)
text "Not quite yet!"
done