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_4a350: ; 858a4 (21:58a4)
|
||||
_UnnamedText_4a350:: ; 858a4 (21:58a4)
|
||||
text "Ah! Finally!"
|
||||
|
||||
para "You're the first"
|
||||
|
|
@ -14,13 +14,13 @@ _UnnamedText_4a350: ; 858a4 (21:58a4)
|
|||
line "You have won!"
|
||||
prompt
|
||||
|
||||
_ReceivedHM03Text: ; 85943 (21:5943)
|
||||
_ReceivedHM03Text:: ; 85943 (21:5943)
|
||||
text $52, " received"
|
||||
line "@"
|
||||
TX_RAM $cf4b
|
||||
text "!@@"
|
||||
|
||||
_HM03ExplanationText: ; 85957 (21:5957)
|
||||
_HM03ExplanationText:: ; 85957 (21:5957)
|
||||
text "HM03 is SURF!"
|
||||
|
||||
para "#MON will be"
|
||||
|
|
@ -37,7 +37,7 @@ _HM03ExplanationText: ; 85957 (21:5957)
|
|||
cont "fabulous prize!"
|
||||
done
|
||||
|
||||
_HM03NoRoomText: ; 85a02 (21:5a02)
|
||||
_HM03NoRoomText:: ; 85a02 (21:5a02)
|
||||
text "You don't have"
|
||||
line "room for this"
|
||||
cont "fabulous prize!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue