summaryrefslogtreecommitdiff
path: root/scripts/blueshouse.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/blueshouse.asm')
-rwxr-xr-xscripts/blueshouse.asm31
1 files changed, 16 insertions, 15 deletions
diff --git a/scripts/blueshouse.asm b/scripts/blueshouse.asm
index 959fb23e..b727bbd1 100755
--- a/scripts/blueshouse.asm
+++ b/scripts/blueshouse.asm
@@ -1,29 +1,29 @@
-BluesHouseScript: ; 19b3b (6:5b3b)
+BluesHouseScript:
call EnableAutoTextBoxDrawing
ld hl, BluesHouseScriptPointers
xor a
call JumpTable
ret
-BluesHouseScriptPointers: ; 19b47 (6:5b47)
+BluesHouseScriptPointers:
dw BluesHouseScript0
dw BluesHouseScript1
-BluesHouseScript0: ; 19b4b (6:5b4b)
+BluesHouseScript0:
SetEvent EVENT_ENTERED_BLUES_HOUSE
; trigger the next script
ld a, 1
- ld [W_BLUESHOUSECURSCRIPT], a
-BluesHouseScript1: ; 19b56 (6:5b56)
+ ld [wBluesHouseCurScript], a
+BluesHouseScript1:
ret
-BluesHouseTextPointers: ; 19b57 (6:5b57)
+BluesHouseTextPointers:
dw BluesHouseText1
dw BluesHouseText2
dw BluesHouseText3
-BluesHouseText1: ; 19b5d (6:5b5d)
+BluesHouseText1:
TX_ASM
CheckEvent EVENT_GOT_TOWN_MAP
jr nz, .GotMap
@@ -55,30 +55,31 @@ BluesHouseText1: ; 19b5d (6:5b5d)
.done
jp TextScriptEnd
-DaisyInitialText: ; 19baa (6:5baa)
+DaisyInitialText:
TX_FAR _DaisyInitialText
db "@"
-DaisyOfferMapText: ; 19baf (6:5baf)
+DaisyOfferMapText:
TX_FAR _DaisyOfferMapText
db "@"
-GotMapText: ; 19bb4 (6:5bb4)
+GotMapText:
TX_FAR _GotMapText
- db $11, "@"
+ TX_SFX_KEY_ITEM
+ db "@"
-DaisyBagFullText: ; 19bba (6:5bba)
+DaisyBagFullText:
TX_FAR _DaisyBagFullText
db "@"
-DaisyUseMapText: ; 19bbf (6:5bbf)
+DaisyUseMapText:
TX_FAR _DaisyUseMapText
db "@"
-BluesHouseText2: ; 0x19bc4 Daisy, walking around
+BluesHouseText2: ; Daisy, walking around
TX_FAR _BluesHouseText2
db "@"
-BluesHouseText3: ; 0x19bc9 map on table
+BluesHouseText3: ; map on table
TX_FAR _BluesHouseText3
db "@"