2019-01-01 20:06:23 +00:00
|
|
|
RedsHouse1F_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
RedsHouse1F_TextPointers:
|
2020-07-16 15:19:05 +00:00
|
|
|
dw RedsHouse1FMomText
|
|
|
|
dw RedsHouse1FTVText
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2020-07-16 15:19:05 +00:00
|
|
|
RedsHouse1FMomText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd72e]
|
2020-07-16 15:19:05 +00:00
|
|
|
bit 3, a ; received a Pokémon from Oak?
|
|
|
|
jr nz, .heal
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, MomWakeUpText
|
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.heal
|
|
|
|
call MomHealPokemon
|
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
MomWakeUpText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _MomWakeUpText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
MomHealPokemon:
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, MomHealText1
|
|
|
|
call PrintText
|
2014-09-13 07:50:56 +00:00
|
|
|
call GBFadeOutToWhite
|
2014-05-18 18:19:10 +00:00
|
|
|
call ReloadMapData
|
2014-06-16 20:25:46 +00:00
|
|
|
predef HealParty
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, MUSIC_PKMN_HEALED
|
2015-08-09 05:32:44 +00:00
|
|
|
ld [wNewSoundID], a
|
2015-07-03 19:38:12 +00:00
|
|
|
call PlaySound
|
2014-05-18 18:19:10 +00:00
|
|
|
.next
|
2015-08-09 05:32:44 +00:00
|
|
|
ld a, [wChannelSoundIDs]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp MUSIC_PKMN_HEALED
|
|
|
|
jr z, .next
|
2015-08-09 05:32:44 +00:00
|
|
|
ld a, [wMapMusicSoundID]
|
|
|
|
ld [wNewSoundID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call PlaySound
|
2014-09-13 07:50:56 +00:00
|
|
|
call GBFadeInFromWhite
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, MomHealText2
|
|
|
|
jp PrintText
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
MomHealText1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _MomHealText1
|
|
|
|
text_end
|
2016-06-12 00:24:04 +00:00
|
|
|
MomHealText2:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _MomHealText2
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2020-07-16 15:19:05 +00:00
|
|
|
RedsHouse1FTVText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2020-07-05 21:29:11 +00:00
|
|
|
ld a, [wSpritePlayerStateData1FacingDirection]
|
2015-07-04 05:44:12 +00:00
|
|
|
cp SPRITE_FACING_UP
|
2017-12-30 00:54:27 +00:00
|
|
|
ld hl, TVWrongSideText
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_text
|
2017-12-30 00:54:27 +00:00
|
|
|
ld hl, StandByMeText
|
2020-07-16 15:19:05 +00:00
|
|
|
.got_text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
StandByMeText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _StandByMeText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TVWrongSideText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TVWrongSideText
|
|
|
|
text_end
|