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_1dab3: ; 9a308 (26:6308)
_UnnamedText_1dab3:: ; 9a308 (26:6308)
text "Hello, hello!"
line "I am the official"
cont "NAME RATER!"
@ -8,12 +8,12 @@ _UnnamedText_1dab3: ; 9a308 (26:6308)
cont "your #MON?"
done
_UnnamedText_1dab8: ; 9a361 (26:6361)
_UnnamedText_1dab8:: ; 9a361 (26:6361)
text "Which #MON"
line "should I look at?"
prompt
_UnnamedText_1dabd: ; 9a37f (26:637f)
_UnnamedText_1dabd:: ; 9a37f (26:637f)
TX_RAM $cd6d
text ", is it?"
line "That is a decent"
@ -26,12 +26,12 @@ _UnnamedText_1dabd: ; 9a37f (26:637f)
para "How about it?"
done
_UnnamedText_1dac2: ; 9a3e5 (26:63e5)
_UnnamedText_1dac2:: ; 9a3e5 (26:63e5)
text "Fine! What should"
line "we name it?"
prompt
_UnnamedText_1dac7: ; 9a404 (26:6404)
_UnnamedText_1dac7:: ; 9a404 (26:6404)
text "OK! This #MON"
line "has been renamed"
cont "@"
@ -42,12 +42,12 @@ _UnnamedText_1dac7: ; 9a404 (26:6404)
line "name than before!"
done
_UnnamedText_1dacc: ; 9a44c (26:644c)
_UnnamedText_1dacc:: ; 9a44c (26:644c)
text "Fine! Come any"
line "time you like!"
done
_UnnamedText_1dad1: ; 9a46b (26:646b)
_UnnamedText_1dad1:: ; 9a46b (26:646b)
TX_RAM $cd6d
text ", is it?"
line "That is a truly"