mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-09 00:55:27 +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,9 +1,9 @@
|
|||
_UnnamedText_484ee: ; 9cbb5 (27:4bb5)
|
||||
_UnnamedText_484ee:: ; 9cbb5 (27:4bb5)
|
||||
text "Give her which"
|
||||
line "drink?"
|
||||
done
|
||||
|
||||
_UnnamedText_484f3: ; 9cbcc (27:4bcc)
|
||||
_UnnamedText_484f3:: ; 9cbcc (27:4bcc)
|
||||
text "Yay!"
|
||||
|
||||
para "FRESH WATER!"
|
||||
|
|
@ -13,13 +13,13 @@ _UnnamedText_484f3: ; 9cbcc (27:4bcc)
|
|||
para "You can have this"
|
||||
line "from me!@@"
|
||||
|
||||
_UnnamedText_484f9: ; 9cc06 (27:4c06)
|
||||
_UnnamedText_484f9:: ; 9cc06 (27:4c06)
|
||||
text $52, " received"
|
||||
line "@"
|
||||
TX_RAM $cf4b
|
||||
text "!@@"
|
||||
|
||||
_UnnamedText_484fe: ; 9cc1a (27:4c1a)
|
||||
_UnnamedText_484fe:: ; 9cc1a (27:4c1a)
|
||||
db $0
|
||||
para "@"
|
||||
TX_RAM $cf4b
|
||||
|
|
@ -29,7 +29,7 @@ _UnnamedText_484fe: ; 9cc1a (27:4c1a)
|
|||
para "It can freeze the"
|
||||
line "target sometimes!@@"
|
||||
|
||||
_UnnamedText_48504: ; 9cc5a (27:4c5a)
|
||||
_UnnamedText_48504:: ; 9cc5a (27:4c5a)
|
||||
text "Yay!"
|
||||
|
||||
para "SODA POP!"
|
||||
|
|
@ -39,13 +39,13 @@ _UnnamedText_48504: ; 9cc5a (27:4c5a)
|
|||
para "You can have this"
|
||||
line "from me!@@"
|
||||
|
||||
_UnnamedText_4850a: ; 9cc91 (27:4c91)
|
||||
_UnnamedText_4850a:: ; 9cc91 (27:4c91)
|
||||
text $52, " received"
|
||||
line "@"
|
||||
TX_RAM $cf4b
|
||||
text "!@@"
|
||||
|
||||
_UnnamedText_4850f: ; 9cca5 (27:4ca5)
|
||||
_UnnamedText_4850f:: ; 9cca5 (27:4ca5)
|
||||
db $0
|
||||
para "@"
|
||||
TX_RAM $cf4b
|
||||
|
|
@ -55,7 +55,7 @@ _UnnamedText_4850f: ; 9cca5 (27:4ca5)
|
|||
para "It can spook the"
|
||||
line "target sometimes!@@"
|
||||
|
||||
_UnnamedText_48515: ; 9cce6 (27:4ce6)
|
||||
_UnnamedText_48515:: ; 9cce6 (27:4ce6)
|
||||
text "Yay!"
|
||||
|
||||
para "LEMONADE!"
|
||||
|
|
@ -65,25 +65,25 @@ _UnnamedText_48515: ; 9cce6 (27:4ce6)
|
|||
para "You can have this"
|
||||
line "from me!@@"
|
||||
|
||||
_ReceivedTM49Text: ; 9cd1d (27:4d1d)
|
||||
_ReceivedTM49Text:: ; 9cd1d (27:4d1d)
|
||||
text $52, " received"
|
||||
line "TM49!@@"
|
||||
|
||||
_UnnamedText_48520: ; 9cd30 (27:4d30)
|
||||
_UnnamedText_48520:: ; 9cd30 (27:4d30)
|
||||
db $0
|
||||
para "TM49 contains"
|
||||
line "TRI ATTACK!@@"
|
||||
|
||||
_UnnamedText_48526: ; 9cd4d (27:4d4d)
|
||||
_UnnamedText_48526:: ; 9cd4d (27:4d4d)
|
||||
text "You don't have"
|
||||
line "space for this!@@"
|
||||
|
||||
_UnnamedText_4852c: ; 9cd6d (27:4d6d)
|
||||
_UnnamedText_4852c:: ; 9cd6d (27:4d6d)
|
||||
text "No thank you!"
|
||||
line "I'm not thirsty"
|
||||
cont "after all!@@"
|
||||
|
||||
_CeladonMartRoofText1: ; 9cd97 (27:4d97)
|
||||
_CeladonMartRoofText1:: ; 9cd97 (27:4d97)
|
||||
text "My sister is a"
|
||||
line "trainer, believe"
|
||||
cont "it or not."
|
||||
|
|
@ -93,13 +93,13 @@ _CeladonMartRoofText1: ; 9cd97 (27:4d97)
|
|||
cont "drives me nuts!"
|
||||
done
|
||||
|
||||
_UnnamedText_48598: ; 9cdee (27:4dee)
|
||||
_UnnamedText_48598:: ; 9cdee (27:4dee)
|
||||
text "I'm thirsty!"
|
||||
line "I want something"
|
||||
cont "to drink!"
|
||||
done
|
||||
|
||||
_CeladonMartRoofText4: ; 9ce16 (27:4e16)
|
||||
_CeladonMartRoofText4:: ; 9ce16 (27:4e16)
|
||||
text "I'm thirsty!"
|
||||
line "I want something"
|
||||
cont "to drink!"
|
||||
|
|
@ -107,33 +107,33 @@ _CeladonMartRoofText4: ; 9ce16 (27:4e16)
|
|||
para "Give her a drink?"
|
||||
done
|
||||
|
||||
_CeladonMartRoofText6: ; 9ce50 (27:4e50)
|
||||
_CeladonMartRoofText6:: ; 9ce50 (27:4e50)
|
||||
text "ROOFTOP SQUARE:"
|
||||
line "VENDING MACHINES"
|
||||
done
|
||||
|
||||
_VendingMachineText1: ; 9ce72 (27:4e72)
|
||||
_VendingMachineText1:: ; 9ce72 (27:4e72)
|
||||
text "A vending machine!"
|
||||
line "Here's the menu!"
|
||||
prompt
|
||||
|
||||
_VendingMachineText4: ; 9ce96 (27:4e96)
|
||||
_VendingMachineText4:: ; 9ce96 (27:4e96)
|
||||
text "Oops, not enough"
|
||||
line "money!"
|
||||
done
|
||||
|
||||
_VendingMachineText5: ; 9ceaf (27:4eaf)
|
||||
_VendingMachineText5:: ; 9ceaf (27:4eaf)
|
||||
TX_RAM $cf4b
|
||||
db $0
|
||||
line "popped out!"
|
||||
done
|
||||
|
||||
_VendingMachineText6: ; 9cec0 (27:4ec0)
|
||||
_VendingMachineText6:: ; 9cec0 (27:4ec0)
|
||||
text "There's no more"
|
||||
line "room for stuff!"
|
||||
done
|
||||
|
||||
_VendingMachineText7: ; 9cee0 (27:4ee0)
|
||||
_VendingMachineText7:: ; 9cee0 (27:4ee0)
|
||||
text "Not thirsty!"
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue