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,16 +1,16 @@
_UnnamedText_59bb7: ; 9a572 (26:6572)
_UnnamedText_59bb7:: ; 9a572 (26:6572)
text "Won't you admire"
line "my PIKACHU's"
cont "adorable tail?"
done
_UnnamedText_59bbc: ; 9a59e (26:659e)
_UnnamedText_59bbc:: ; 9a59e (26:659e)
text "Humph! My PIKACHU"
line "is twice as cute"
cont "as that one!"
done
_UnnamedText_59be4: ; 9a5cf (26:65cf)
_UnnamedText_59be4:: ; 9a5cf (26:65cf)
text "I just love my"
line "SEEL!"
@ -18,23 +18,23 @@ _UnnamedText_59be4: ; 9a5cf (26:65cf)
line "hug it!"
done
_UnnamedText_59be9: ; 9a5ff (26:65ff)
_UnnamedText_59be9:: ; 9a5ff (26:65ff)
text "Oh dear!"
para "My SEEL is far"
line "more attractive!"
done
_UnnamedText_59c00: ; 9a629 (26:6629)
_UnnamedText_59c00:: ; 9a629 (26:6629)
text "PIKACHU: Chu!"
line "Pikachu!"
done
_UnnamedText_59c17: ; 9a641 (26:6641)
_UnnamedText_59c17:: ; 9a641 (26:6641)
text "SEEL: Kyuoo!"
done
_UnnamedText_59c65: ; 9a64f (26:664f)
_UnnamedText_59c65:: ; 9a64f (26:664f)
text "I chair the"
line "#MON Fan Club!"
@ -52,7 +52,7 @@ _UnnamedText_59c65: ; 9a64f (26:664f)
cont "about my #MON?"
done
_UnnamedText_59c6a: ; 9a6e0 (26:66e0)
_UnnamedText_59c6a:: ; 9a6e0 (26:66e0)
text "Good!"
line "Then listen up!"
@ -82,13 +82,13 @@ _UnnamedText_59c6a: ; 9a6e0 (26:66e0)
cont "you to have this!"
prompt
_ReceivedBikeVoucherText: ; 9a82e (26:682e)
_ReceivedBikeVoucherText:: ; 9a82e (26:682e)
text $52, " received"
line "a @"
TX_RAM $cf4b
text "!@@"
_UnnamedText_59c74: ; 9a844 (26:6844)
_UnnamedText_59c74:: ; 9a844 (26:6844)
db $0
para "Exchange that for"
line "a BICYCLE!"
@ -104,13 +104,13 @@ _UnnamedText_59c74: ; 9a844 (26:6844)
line "cycling!"
done
_UnnamedText_59c79: ; 9a8c3 (26:68c3)
_UnnamedText_59c79:: ; 9a8c3 (26:68c3)
text "Oh. Come back"
line "when you want to"
cont "hear my story!"
done
_UnnamedText_59c7e: ; 9a8f2 (26:68f2)
_UnnamedText_59c7e:: ; 9a8f2 (26:68f2)
text "Hello, ", $52, "!"
para "Did you come see"
@ -120,24 +120,24 @@ _UnnamedText_59c7e: ; 9a8f2 (26:68f2)
para "No? Too bad!"
done
_UnnamedText_59c83: ; 9a933 (26:6933)
_UnnamedText_59c83:: ; 9a933 (26:6933)
text "Make room for"
line "this!"
done
_FanClubText6: ; 9a948 (26:6948)
_FanClubText6:: ; 9a948 (26:6948)
text "Our Chairman is"
line "very vocal about"
cont "#MON."
done
_FanClubText7: ; 9a970 (26:6970)
_FanClubText7:: ; 9a970 (26:6970)
text "Let's all listen"
line "politely to other"
cont "trainers!"
done
_FanClubText8: ; 9a99d (26:699d)
_FanClubText8:: ; 9a99d (26:699d)
text "If someone brags,"
line "brag right back!"
done