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,44 +1,44 @@
_PokemonTower4BattleText1: ; 99869 (26:5869)
_PokemonTower4BattleText1:: ; 99869 (26:5869)
text "GHOST! No!"
line "Kwaaah!"
done
_PokemonTower4EndBattleText1: ; 9987d (26:587d)
_PokemonTower4EndBattleText1:: ; 9987d (26:587d)
text "Where"
line "is the GHOST?"
prompt
_PokemonTower4AfterBattleText1: ; 99892 (26:5892)
_PokemonTower4AfterBattleText1:: ; 99892 (26:5892)
text "I must have been"
line "dreaming..."
done
_PokemonTower4BattleText2: ; 998b0 (26:58b0)
_PokemonTower4BattleText2:: ; 998b0 (26:58b0)
text "Be cursed with"
line "me! Kwaaah!"
done
_PokemonTower4EndBattleText2: ; 998cc (26:58cc)
_PokemonTower4EndBattleText2:: ; 998cc (26:58cc)
text "What!"
prompt
_PokemonTower4AfterBattleText2: ; 998d3 (26:58d3)
_PokemonTower4AfterBattleText2:: ; 998d3 (26:58d3)
text "We can't crack"
line "the identity of"
cont "the GHOSTs."
done
_PokemonTower4BattleText3: ; 998fe (26:58fe)
_PokemonTower4BattleText3:: ; 998fe (26:58fe)
text "Huhuhu..."
line "Beat me not!"
done
_PokemonTower4EndBattleText3: ; 99916 (26:5916)
_PokemonTower4EndBattleText3:: ; 99916 (26:5916)
text "Huh?"
line "Who? What?"
prompt
_PokemonTower4AfterBattleText3: ; 99927 (26:5927)
_PokemonTower4AfterBattleText3:: ; 99927 (26:5927)
text "May the departed"
line "souls of #MON"
cont "rest in peace..."