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_5ce8e: ; a1852 (28:5852)
_UnnamedText_5ce8e:: ; a1852 (28:5852)
text "Grunt!"
para "I am the KARATE"
@ -12,12 +12,12 @@ _UnnamedText_5ce8e: ; a1852 (28:5852)
para "Fwaaa!"
done
_UnnamedText_5ce93: ; a18ba (28:58ba)
_UnnamedText_5ce93:: ; a18ba (28:58ba)
text "Hwa!"
line "Arrgh! Beaten!"
prompt
_UnnamedText_5ce98: ; a18cf (28:58cf)
_UnnamedText_5ce98:: ; a18cf (28:58cf)
text "Indeed, I have"
line "lost!"
@ -34,24 +34,24 @@ _UnnamedText_5ce98: ; a18cf (28:58cf)
line "one you like!"
done
_UnnamedText_5ce9d: ; a1972 (28:5972)
_UnnamedText_5ce9d:: ; a1972 (28:5972)
text "Ho!"
para "Stay and train at"
line "Karate with us!"
done
_FightingDojoBattleText1: ; a1999 (28:5999)
_FightingDojoBattleText1:: ; a1999 (28:5999)
text "Hoargh! Take your"
line "shoes off!"
done
_FightingDojoEndBattleText1: ; a19b7 (28:59b7)
_FightingDojoEndBattleText1:: ; a19b7 (28:59b7)
text "I give"
line "up!"
prompt
_FightingDojoAfterBattleText1: ; a19c3 (28:59c3)
_FightingDojoAfterBattleText1:: ; a19c3 (28:59c3)
text "You wait 'til you"
line "see our Master!"
@ -59,22 +59,22 @@ _FightingDojoAfterBattleText1: ; a19c3 (28:59c3)
line "compared to him!"
done
_FightingDojoBattleText2: ; a1a05 (28:5a05)
_FightingDojoBattleText2:: ; a1a05 (28:5a05)
text "I hear you're"
line "good! Show me!"
done
_FightingDojoEndBattleText2: ; a1a22 (28:5a22)
_FightingDojoEndBattleText2:: ; a1a22 (28:5a22)
text "Judge!"
line "1 point!"
prompt
_FightingDojoAfterBattleText2: ; a1a33 (28:5a33)
_FightingDojoAfterBattleText2:: ; a1a33 (28:5a33)
text "Our Master is a"
line "pro fighter!"
done
_FightingDojoBattleText3: ; a1a51 (28:5a51)
_FightingDojoBattleText3:: ; a1a51 (28:5a51)
text "Nothing tough"
line "frightens me!"
@ -82,18 +82,18 @@ _FightingDojoBattleText3: ; a1a51 (28:5a51)
line "for training!"
done
_FightingDojoEndBattleText3: ; a1a8d (28:5a8d)
_FightingDojoEndBattleText3:: ; a1a8d (28:5a8d)
text "Yow!"
line "Stubbed fingers!"
prompt
_FightingDojoAfterBattleText3: ; a1aa4 (28:5aa4)
_FightingDojoAfterBattleText3:: ; a1aa4 (28:5aa4)
text "The only thing"
line "that frightens us"
cont "is psychic power!"
done
_FightingDojoBattleText4: ; a1ad8 (28:5ad8)
_FightingDojoBattleText4:: ; a1ad8 (28:5ad8)
text "Hoohah!"
para "You're trespassing"
@ -101,30 +101,30 @@ _FightingDojoBattleText4: ; a1ad8 (28:5ad8)
cont "DOJO!"
done
_FightingDojoEndBattleText4: ; a1b09 (28:5b09)
_FightingDojoEndBattleText4:: ; a1b09 (28:5b09)
text "Oof!"
line "I give up!"
prompt
_FightingDojoAfterBattleText4: ; a1b1a (28:5b1a)
_FightingDojoAfterBattleText4:: ; a1b1a (28:5b1a)
text "The prime fighters"
line "across the land"
cont "train here."
done
_WantHitmonleeText: ; a1b4a (28:5b4a)
_WantHitmonleeText:: ; a1b4a (28:5b4a)
text "You want the"
line "hard kicking"
cont "HITMONLEE?"
done
_WantHitmonchanText: ; a1b70 (28:5b70)
_WantHitmonchanText:: ; a1b70 (28:5b70)
text "You want the"
line "piston punching"
cont "HITMONCHAN?"
done
_OtherHitmonText: ; a1b9a (28:5b9a)
_OtherHitmonText:: ; a1b9a (28:5b9a)
text "Better not get"
line "greedy..."
done