blob: d8c9d5ed76ab119b53df1d52475a94809e3bd3bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
Route16HouseScript:
jp EnableAutoTextBoxDrawing
Route16HouseTextPointers:
dw Route16HouseText1
dw Route16HouseText2
Route16HouseText1:
TX_ASM
CheckEvent EVENT_GOT_HM02
ld hl, HM02ExplanationText
jr nz, .asm_13616
ld hl, Route16HouseText3
call PrintText
lb bc, HM_02, 1
call GiveItem
jr nc, .BagFull
SetEvent EVENT_GOT_HM02
ld hl, ReceivedHM02Text
jr .asm_13616
.BagFull
ld hl, HM02NoRoomText
.asm_13616
call PrintText
jp TextScriptEnd
Route16HouseText3:
TX_FAR _Route16HouseText3
db "@"
ReceivedHM02Text:
TX_FAR _ReceivedHM02Text
db $11, "@"
HM02ExplanationText:
TX_FAR _HM02ExplanationText
db "@"
HM02NoRoomText:
TX_FAR _HM02NoRoomText
db "@"
Route16HouseText2:
TX_ASM
ld hl, Route16HouseText_1e652
call PrintText
ld a, FEAROW
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
Route16HouseText_1e652:
TX_FAR _Route16HouseText_1e652
db "@"
|