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_60ec4: ; 99c1a (26:5c1a)
_UnnamedText_60ec4:: ; 99c1a (26:5c1a)
text "MR.FUJI: Heh? You"
line "came to save me?"
@ -24,21 +24,21 @@ _UnnamedText_60ec4: ; 99c1a (26:5c1a)
cont "of this tower."
done
_PokemonTower7BattleText1: ; 99d31 (26:5d31)
_PokemonTower7BattleText1:: ; 99d31 (26:5d31)
text "What do you want?"
line "Why are you here?"
done
_PokemonTower7EndBattleText1: ; 99d56 (26:5d56)
_PokemonTower7EndBattleText1:: ; 99d56 (26:5d56)
text "I give up!"
prompt
_PokemonTower7AfterBattleText1: ; 99d62 (26:5d62)
_PokemonTower7AfterBattleText1:: ; 99d62 (26:5d62)
text "I'm not going to"
line "forget this!"
done
_PokemonTower7BattleText2: ; 99d80 (26:5d80)
_PokemonTower7BattleText2:: ; 99d80 (26:5d80)
text "This old guy came"
line "and complained"
cont "about us harming"
@ -48,12 +48,12 @@ _PokemonTower7BattleText2: ; 99d80 (26:5d80)
line "over as adults!"
done
_PokemonTower7EndBattleText2: ; 99de1 (26:5de1)
_PokemonTower7EndBattleText2:: ; 99de1 (26:5de1)
text "Please!"
line "No more!"
prompt
_PokemonTower7AfterBattleText2: ; 99df3 (26:5df3)
_PokemonTower7AfterBattleText2:: ; 99df3 (26:5df3)
text "#MON are only"
line "good for making"
cont "money!"
@ -62,17 +62,17 @@ _PokemonTower7AfterBattleText2: ; 99df3 (26:5df3)
line "business!"
done
_PokemonTower7BattleText3: ; 99e33 (26:5e33)
_PokemonTower7BattleText3:: ; 99e33 (26:5e33)
text "You're not saving"
line "anyone, kid!"
done
_PokemonTower7EndBattleText3: ; 99e52 (26:5e52)
_PokemonTower7EndBattleText3:: ; 99e52 (26:5e52)
text "Don't"
line "fight us ROCKETs!"
prompt
_PokemonTower7AfterBattleText3: ; 99e6a (26:5e6a)
_PokemonTower7AfterBattleText3:: ; 99e6a (26:5e6a)
text "You're not getting"
line "away with this!"
done