blob: 24cabbdea2724cdb8f98ddaf88556f9e673687a4 (
plain) (
blame)
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
|
Route1PrintYoungster1Text::
CheckAndSetEvent EVENT_GOT_POTION_SAMPLE
jr nz, .got_item
ld hl, .MartSampleText
call PrintText
lb bc, POTION, 1
call GiveItem
jr nc, .bag_full
ld hl, .GotPotionText
jr .done
.bag_full
ld hl, .NoRoomText
jr .done
.got_item
ld hl, .AlsoGotPokeballsText
.done
call PrintText
ret
.MartSampleText:
text_far _Route1Youngster1MartSampleText
text_end
.GotPotionText:
text_far _Route1Youngster1GotPotionText
sound_get_item_1
text_end
.AlsoGotPokeballsText:
text_far _Route1Youngster1AlsoGotPokeballsText
text_end
.NoRoomText:
text_far _Route1Youngster1NoRoomText
text_end
Route1PrintYoungster2Text::
ld hl, .text
call PrintText
ret
.text
text_far _Route1Youngster2Text
text_end
Route1PrintSignText::
ld hl, .text
call PrintText
ret
.text
text_far _Route1SignText
text_end
|