mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-08 00:25:28 +13:00
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:
parent
6bde08504f
commit
1b9ee46af9
277 changed files with 4346 additions and 4358 deletions
|
|
@ -1,4 +1,4 @@
|
|||
_UnnamedText_5cb72: ; 9c000 (27:4000)
|
||||
_UnnamedText_5cb72:: ; 9c000 (27:4000)
|
||||
text "A little word of"
|
||||
line "advice, kid!"
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ _UnnamedText_5cb72: ; 9c000 (27:4000)
|
|||
cont "type #MON!"
|
||||
done
|
||||
|
||||
_UnnamedText_5cb77: ; 9c069 (27:4069)
|
||||
_UnnamedText_5cb77:: ; 9c069 (27:4069)
|
||||
text "The THUNDERBADGE"
|
||||
line "cranks up your"
|
||||
cont "#MON's SPEED!"
|
||||
|
|
@ -23,13 +23,13 @@ _UnnamedText_5cb77: ; 9c069 (27:4069)
|
|||
line "kid! Take this!"
|
||||
done
|
||||
|
||||
_ReceivedTM24Text: ; 9c0e0 (27:40e0)
|
||||
_ReceivedTM24Text:: ; 9c0e0 (27:40e0)
|
||||
text $52, " received "
|
||||
line "@"
|
||||
TX_RAM $cf4b
|
||||
text "!@@"
|
||||
|
||||
_TM24ExplanationText: ; 9c0f5 (27:40f5)
|
||||
_TM24ExplanationText:: ; 9c0f5 (27:40f5)
|
||||
db $0
|
||||
para "TM24 contains"
|
||||
line "THUNDERBOLT!"
|
||||
|
|
@ -38,12 +38,12 @@ _TM24ExplanationText: ; 9c0f5 (27:40f5)
|
|||
line "electric #MON!"
|
||||
done
|
||||
|
||||
_TM24NoRoomText: ; 9c130 (27:4130)
|
||||
_TM24NoRoomText:: ; 9c130 (27:4130)
|
||||
text "Yo kid, make room"
|
||||
line "in your pack!"
|
||||
done
|
||||
|
||||
_ReceivedThunderbadgeText: ; 9c151 (27:4151)
|
||||
_ReceivedThunderbadgeText:: ; 9c151 (27:4151)
|
||||
text "Whoa!"
|
||||
|
||||
para "You're the real"
|
||||
|
|
@ -53,18 +53,18 @@ _ReceivedThunderbadgeText: ; 9c151 (27:4151)
|
|||
line "the THUNDERBADGE!"
|
||||
prompt
|
||||
|
||||
_VermilionGymBattleText1: ; 9c194 (27:4194)
|
||||
_VermilionGymBattleText1:: ; 9c194 (27:4194)
|
||||
text "When I was in the"
|
||||
line "Army, LT.SURGE"
|
||||
cont "was my strict CO!"
|
||||
done
|
||||
|
||||
_VermilionGymEndBattleText1: ; 9c1c8 (27:41c8)
|
||||
_VermilionGymEndBattleText1:: ; 9c1c8 (27:41c8)
|
||||
text "Stop!"
|
||||
line "You're very good!"
|
||||
prompt
|
||||
|
||||
_VermilionGymAfterBattleText1: ; 9c1e0 (27:41e0)
|
||||
_VermilionGymAfterBattleText1:: ; 9c1e0 (27:41e0)
|
||||
text "The door won't"
|
||||
line "open?"
|
||||
|
||||
|
|
@ -72,17 +72,17 @@ _VermilionGymAfterBattleText1: ; 9c1e0 (27:41e0)
|
|||
line "was cautious!"
|
||||
done
|
||||
|
||||
_VermilionGymBattleText2: ; 9c213 (27:4213)
|
||||
_VermilionGymBattleText2:: ; 9c213 (27:4213)
|
||||
text "I'm a lightweight,"
|
||||
line "but I'm good with"
|
||||
cont "electricity!"
|
||||
done
|
||||
|
||||
_VermilionGymEndBattleText2: ; 9c244 (27:4244)
|
||||
_VermilionGymEndBattleText2:: ; 9c244 (27:4244)
|
||||
text "Fried!"
|
||||
prompt
|
||||
|
||||
_VermilionGymAfterBattleText2: ; 9c24c (27:424c)
|
||||
_VermilionGymAfterBattleText2:: ; 9c24c (27:424c)
|
||||
text "OK, I'll talk!"
|
||||
|
||||
para "LT.SURGE said he"
|
||||
|
|
@ -90,17 +90,17 @@ _VermilionGymAfterBattleText2: ; 9c24c (27:424c)
|
|||
cont "inside something!"
|
||||
done
|
||||
|
||||
_VermilionGymBattleText3: ; 9c290 (27:4290)
|
||||
_VermilionGymBattleText3:: ; 9c290 (27:4290)
|
||||
text "This is no place"
|
||||
line "for kids!"
|
||||
done
|
||||
|
||||
_VermilionGymEndBattleText3: ; 9c2ac (27:42ac)
|
||||
_VermilionGymEndBattleText3:: ; 9c2ac (27:42ac)
|
||||
text "Wow!"
|
||||
line "Surprised me!"
|
||||
prompt
|
||||
|
||||
_VermilionGymAfterBattleText3: ; 9c2c0 (27:42c0)
|
||||
_VermilionGymAfterBattleText3:: ; 9c2c0 (27:42c0)
|
||||
text "LT.SURGE set up"
|
||||
line "double locks!"
|
||||
cont "Here's a hint!"
|
||||
|
|
@ -111,7 +111,7 @@ _VermilionGymAfterBattleText3: ; 9c2c0 (27:42c0)
|
|||
cont "next to it!"
|
||||
done
|
||||
|
||||
_UnnamedText_5cbf4: ; 9c32b (27:432b)
|
||||
_UnnamedText_5cbf4:: ; 9c32b (27:432b)
|
||||
text "Yo! Champ in"
|
||||
line "making!"
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ _UnnamedText_5cbf4: ; 9c32b (27:432b)
|
|||
cont "get to him!"
|
||||
done
|
||||
|
||||
_UnnamedText_5cbf9: ; 9c429 (27:4429)
|
||||
_UnnamedText_5cbf9:: ; 9c429 (27:4429)
|
||||
text "Whew! That match"
|
||||
line "was electric!"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue