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
55
56
57
|
Func_f1b73::
ld a, [wd72e]
bit 3, a ; received a Pokémon from Oak?
jp nz, MomHealPokemon
ld hl, MomWakeUpText
call PrintText
ret
MomWakeUpText:
text_far _MomWakeUpText
text_end
MomHealPokemon:
ld hl, MomHealText1
call PrintText
call GBFadeOutToWhite
call ReloadMapData
predef HealParty
ld a, MUSIC_PKMN_HEALED
ld [wNewSoundID], a
call PlaySound
.next
ld a, [wChannelSoundIDs]
cp MUSIC_PKMN_HEALED
jr z, .next
ld a, [wMapMusicSoundID]
ld [wNewSoundID], a
call PlaySound
call GBFadeInFromWhite
ld hl, MomHealText2
call PrintText
ret
MomHealText1:
text_far _MomHealText1
text_end
MomHealText2:
text_far _MomHealText2
text_end
Func_f1bc4::
ld hl, TVWrongSideText
ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
jp nz, .got_text
ld hl, StandByMeText
.got_text
call PrintText
ret
StandByMeText:
text_far _StandByMeText
text_end
TVWrongSideText:
text_far _TVWrongSideText
text_end
|