diff options
author | Daniel Harding <33dannye@gmail.com> | 2019-01-13 22:38:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 22:38:16 -0600 |
commit | 725b86ebbec23bd1f53fd60bf0201c904fee951d (patch) | |
tree | a37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/blueshouse.asm | |
parent | 108245cb21abb3abac051b7db84ed6c694192a61 (diff) | |
parent | c7796024590fec48ac79756793c1a6e3b54daf8f (diff) |
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/blueshouse.asm')
-rwxr-xr-x | scripts/blueshouse.asm | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/scripts/blueshouse.asm b/scripts/blueshouse.asm deleted file mode 100755 index 2b72ef97..00000000 --- a/scripts/blueshouse.asm +++ /dev/null @@ -1,89 +0,0 @@ -BluesHouseScript: - call EnableAutoTextBoxDrawing - ld hl, BluesHouseScriptPointers - ld a, [wBluesHouseCurScript] - jp CallFunctionInTable - -BluesHouseScriptPointers: - dw BluesHouseScript0 - dw BluesHouseScript1 - -BluesHouseScript0: - SetEvent EVENT_ENTERED_BLUES_HOUSE - - ; trigger the next script - ld a, 1 - ld [wBluesHouseCurScript], a - ret - -BluesHouseScript1: - ret - -BluesHouseTextPointers: - dw BluesHouseText1 - dw BluesHouseText2 - dw BluesHouseText3 - -BluesHouseText1: - TX_ASM - CheckEvent EVENT_GOT_TOWN_MAP - jr nz, .GotMap - CheckEvent EVENT_GOT_POKEDEX - jr nz, .GiveMap - ld hl, DaisyInitialText - call PrintText - jr .done - -.GiveMap - ld hl, DaisyOfferMapText - call PrintText - lb bc, TOWN_MAP, 1 - call GiveItem - jr nc, .BagFull - ld a, HS_TOWN_MAP - ld [wMissableObjectIndex], a - predef HideObject ; hide table map object - ld hl, GotMapText - call PrintText - SetEvent EVENT_GOT_TOWN_MAP - jr .done - -.GotMap - ld hl, DaisyUseMapText - call PrintText - jr .done - -.BagFull - ld hl, DaisyBagFullText - call PrintText -.done - jp TextScriptEnd - -DaisyInitialText: - TX_FAR _DaisyInitialText - db "@" - -DaisyOfferMapText: - TX_FAR _DaisyOfferMapText - db "@" - -GotMapText: - TX_FAR _GotMapText - TX_SFX_KEY_ITEM - db "@" - -DaisyBagFullText: - TX_FAR _DaisyBagFullText - db "@" - -DaisyUseMapText: - TX_FAR _DaisyUseMapText - db "@" - -BluesHouseText2: ; Daisy, walking around - TX_FAR _BluesHouseText2 - db "@" - -BluesHouseText3: ; map on table - TX_FAR _BluesHouseText3 - db "@" |