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:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const RedsHouse1FMomText, TEXT_REDSHOUSE1F_MOM
|
|
|
|
dw_const RedsHouse1FTVText, TEXT_REDSHOUSE1F_TV
|
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
|
2024-07-16 17:02:54 +00:00
|
|
|
ld a, [wStatusFlags4]
|
|
|
|
bit BIT_GOT_STARTER, a
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .heal
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .WakeUpText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.heal
|
2023-07-14 01:27:56 +00:00
|
|
|
call RedsHouse1FMomHealScript
|
2014-05-18 18:19:10 +00:00
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.WakeUpText:
|
|
|
|
text_far _RedsHouse1FMomWakeUpText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
RedsHouse1FMomHealScript:
|
|
|
|
ld hl, RedsHouse1FMomYouShouldRestText
|
2014-05-18 18:19:10 +00:00
|
|
|
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
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, RedsHouse1FMomLookingGreatText
|
2014-05-18 18:19:10 +00:00
|
|
|
jp PrintText
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
RedsHouse1FMomYouShouldRestText:
|
|
|
|
text_far _RedsHouse1FMomYouShouldRestText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2023-07-14 01:27:56 +00:00
|
|
|
RedsHouse1FMomLookingGreatText:
|
|
|
|
text_far _RedsHouse1FMomLookingGreatText
|
2020-07-04 21:09:35 +00:00
|
|
|
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
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .WrongSideText
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_text
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .StandByMeMovieText
|
2020-07-16 15:19:05 +00:00
|
|
|
.got_text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.StandByMeMovieText:
|
|
|
|
text_far _RedsHouse1FTVStandByMeMovieText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.WrongSideText:
|
|
|
|
text_far _RedsHouse1FTVWrongSideText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|