summaryrefslogtreecommitdiff
path: root/scripts/BluesHouse.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /scripts/BluesHouse.asm
parent53fcd05aa24693093d8af1dc8ec4fedd3957decc (diff)
Sync with pokered
Diffstat (limited to 'scripts/BluesHouse.asm')
-rwxr-xr-xscripts/BluesHouse.asm65
1 files changed, 33 insertions, 32 deletions
diff --git a/scripts/BluesHouse.asm b/scripts/BluesHouse.asm
index 471e6989..9d9bf33a 100755
--- a/scripts/BluesHouse.asm
+++ b/scripts/BluesHouse.asm
@@ -11,75 +11,76 @@ BluesHouse_ScriptPointers:
BluesHouseScript0:
SetEvent EVENT_ENTERED_BLUES_HOUSE
-
- ; trigger the next script
- ld a, 1
+ ld a, $1
ld [wBluesHouseCurScript], a
BluesHouseScript1:
ret
BluesHouse_TextPointers:
- dw BluesHouseText1
- dw BluesHouseText2
- dw BluesHouseText3
+ dw BluesHouseDaisySittingText
+ dw BluesHouseDaisyWalkingText
+ dw BluesHouseTownMapText
-BluesHouseText1:
- TX_ASM
+BluesHouseDaisySittingText:
+ text_asm
CheckEvent EVENT_GOT_TOWN_MAP
- jr nz, .GotMap
+ jr nz, .got_town_map
CheckEvent EVENT_GOT_POKEDEX
- jr nz, .GiveMap
+ jr nz, .give_town_map
ld hl, DaisyInitialText
call PrintText
jr .done
-.GiveMap
+
+.give_town_map
ld hl, DaisyOfferMapText
call PrintText
lb bc, TOWN_MAP, 1
call GiveItem
- jr nc, .BagFull
+ jr nc, .bag_full
ld a, HS_TOWN_MAP
ld [wMissableObjectIndex], a
- predef HideObject ; hide table map object
+ predef HideObject
ld hl, GotMapText
call PrintText
SetEvent EVENT_GOT_TOWN_MAP
jr .done
-.GotMap
+
+.got_town_map
ld hl, DaisyUseMapText
call PrintText
jr .done
-.BagFull
+
+.bag_full
ld hl, DaisyBagFullText
call PrintText
.done
jp TextScriptEnd
DaisyInitialText:
- TX_FAR _DaisyInitialText
- db "@"
+ text_far _DaisyInitialText
+ text_end
DaisyOfferMapText:
- TX_FAR _DaisyOfferMapText
- db "@"
+ text_far _DaisyOfferMapText
+ text_end
GotMapText:
- TX_FAR _GotMapText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _GotMapText
+ sound_get_key_item
+ text_end
DaisyBagFullText:
- TX_FAR _DaisyBagFullText
- db "@"
+ text_far _DaisyBagFullText
+ text_end
DaisyUseMapText:
- TX_FAR _DaisyUseMapText
- db "@"
+ text_far _DaisyUseMapText
+ text_end
-BluesHouseText2: ; Daisy, walking around
- TX_FAR _BluesHouseText2
- db "@"
+BluesHouseDaisyWalkingText:
+ text_far _BluesHouseDaisyWalkingText
+ text_end
-BluesHouseText3: ; map on table
- TX_FAR _BluesHouseText3
- db "@"
+BluesHouseTownMapText:
+ text_far _BluesHouseTownMapText
+ text_end