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,62 +1,62 @@
_UnnamedText_5d8e5: ; 84c0b (21:4c0b)
_UnnamedText_5d8e5:: ; 84c0b (21:4c0b)
text "You look tired!"
line "You should take a"
cont "quick nap!"
prompt
_UnnamedText_5d8ea: ; 84c39 (21:4c39)
_UnnamedText_5d8ea:: ; 84c39 (21:4c39)
text "Don't give up!"
done
_UnnamedText_5d8ef: ; 84c48 (21:4c48)
_UnnamedText_5d8ef:: ; 84c48 (21:4c48)
text "Thank you so"
line "much!"
done
_SilphCo9BattleText1: ; 84c5c (21:4c5c)
_SilphCo9BattleText1:: ; 84c5c (21:4c5c)
text "Your #MON seem"
line "to adore you, kid!"
done
_SilphCo9EndBattleText1: ; 84c7f (21:4c7f)
_SilphCo9EndBattleText1:: ; 84c7f (21:4c7f)
text "Ghaaah!"
prompt
_SilphCo9AfterBattleText1: ; 84c88 (21:4c88)
_SilphCo9AfterBattleText1:: ; 84c88 (21:4c88)
text "If I had started"
line "as a trainer at"
cont "your age..."
done
_SilphCo9BattleText2: ; 84cb6 (21:4cb6)
_SilphCo9BattleText2:: ; 84cb6 (21:4cb6)
text "Your #MON have"
line "weak points! I"
cont "can nail them!"
done
_SilphCo9EndBattleText2: ; 84ce4 (21:4ce4)
_SilphCo9EndBattleText2:: ; 84ce4 (21:4ce4)
text "You"
line "hammered me!"
prompt
_SilphCo9AfterBattleText2: ; 84cf6 (21:4cf6)
_SilphCo9AfterBattleText2:: ; 84cf6 (21:4cf6)
text "Exploiting weak"
line "spots does work!"
cont "Think about"
cont "element types!"
done
_SilphCo9BattleText3: ; 84d33 (21:4d33)
_SilphCo9BattleText3:: ; 84d33 (21:4d33)
text "I am one of the 4"
line "ROCKET BROTHERS!"
done
_SilphCo9EndBattleText3: ; 84d57 (21:4d57)
_SilphCo9EndBattleText3:: ; 84d57 (21:4d57)
text "Warg!"
line "Brothers, I lost!"
prompt
_SilphCo9AfterBattleText3: ; 84d70 (21:4d70)
_SilphCo9AfterBattleText3:: ; 84d70 (21:4d70)
text "My brothers will"
line "avenge me!"
done