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,9 +1,9 @@
_SafariZoneEntranceText1: ; 9e6c7 (27:66c7)
_SafariZoneEntranceText1:: ; 9e6c7 (27:66c7)
text "Welcome to the"
line "SAFARI ZONE!"
done
UnnamedText_9e6e4: ; 9e6e4 (27:66e4)
UnnamedText_9e6e4:: ; 9e6e4 (27:66e4)
text "For just ¥500,"
line "you can catch all"
cont "the #MON you"
@ -12,7 +12,7 @@ UnnamedText_9e6e4: ; 9e6e4 (27:66e4)
para "Would you like to"
line "join the hunt?@@"
UnnamedText_9e747: ; 9e747 (27:6747)
UnnamedText_9e747:: ; 9e747 (27:6747)
text "That'll be ¥500"
line "please!"
@ -23,7 +23,7 @@ UnnamedText_9e747: ; 9e747 (27:6747)
para $52, " received"
line "30 SAFARI BALLs!@@"
_UnnamedText_75360: ; 9e79f (27:679f)
_UnnamedText_75360:: ; 9e79f (27:679f)
db $0
para "We'll call you on"
line "the PA when you"
@ -31,41 +31,41 @@ _UnnamedText_75360: ; 9e79f (27:679f)
cont "or SAFARI BALLs!"
done
_UnnamedText_75365: ; 9e7e3 (27:67e3)
_UnnamedText_75365:: ; 9e7e3 (27:67e3)
text "OK! Please come"
line "again!"
done
_UnnamedText_7536a: ; 9e7fb (27:67fb)
_UnnamedText_7536a:: ; 9e7fb (27:67fb)
text "Oops! Not enough"
line "money!"
done
UnnamedText_9e814: ; 9e814 (27:6814)
UnnamedText_9e814:: ; 9e814 (27:6814)
text "Leaving early?@@"
_UnnamedText_753bb: ; 9e825 (27:6825)
_UnnamedText_753bb:: ; 9e825 (27:6825)
text "Please return any"
line "SAFARI BALLs you"
cont "have left."
done
_UnnamedText_753c0: ; 9e854 (27:6854)
_UnnamedText_753c0:: ; 9e854 (27:6854)
text "Good Luck!"
done
_UnnamedText_753c5: ; 9e860 (27:6860)
_UnnamedText_753c5:: ; 9e860 (27:6860)
text "Did you get a"
line "good haul?"
cont "Come again!"
done
_UnnamedText_753e6: ; 9e886 (27:6886)
_UnnamedText_753e6:: ; 9e886 (27:6886)
text "Hi! Is it your"
line "first time here?"
done
_UnnamedText_753eb: ; 9e8a7 (27:68a7)
_UnnamedText_753eb:: ; 9e8a7 (27:68a7)
text "SAFARI ZONE has 4"
line "zones in it."
@ -87,7 +87,7 @@ _UnnamedText_753eb: ; 9e8a7 (27:68a7)
cont "new #MON!"
done
_UnnamedText_753f0: ; 9e993 (27:6993)
_UnnamedText_753f0:: ; 9e993 (27:6993)
text "Sorry, you're a"
line "regular here!"
done