2014-05-18 18:19:10 +00:00
|
|
|
RedsHouse1FScript: ; 48168 (12:4168)
|
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
|
|
|
RedsHouse1FTextPointers: ; 4816b (12:416b)
|
|
|
|
dw RedsHouse1FText1
|
|
|
|
dw RedsHouse1FText2
|
|
|
|
|
|
|
|
RedsHouse1FText1: ; 4816f (12:416f) ; 416F Mom
|
2015-07-04 03:49:20 +00:00
|
|
|
TX_ASM
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd72e]
|
2014-05-18 18:19:10 +00:00
|
|
|
bit 3, a
|
|
|
|
jr nz, .heal ; if player has received a Pokémon from Oak, heal team
|
|
|
|
ld hl, MomWakeUpText
|
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.heal
|
|
|
|
call MomHealPokemon
|
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
MomWakeUpText: ; 48185 (12:4185)
|
|
|
|
TX_FAR _MomWakeUpText
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
MomHealPokemon: ; 4818a (12:418a)
|
|
|
|
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
|
2014-05-26 21:04:56 +00:00
|
|
|
ld [wc0ee], a
|
2015-07-03 19:38:12 +00:00
|
|
|
call PlaySound
|
2014-05-18 18:19:10 +00:00
|
|
|
.next
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wc026]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp MUSIC_PKMN_HEALED
|
|
|
|
jr z, .next
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd35b]
|
|
|
|
ld [wc0ee], 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
|
|
|
|
|
|
|
|
MomHealText1: ; 481bc (12:41bc)
|
|
|
|
TX_FAR _MomHealText1
|
|
|
|
db "@"
|
|
|
|
MomHealText2: ; 481c1 (12:41c1)
|
|
|
|
TX_FAR _MomHealText2
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
RedsHouse1FText2: ; 0x481c6 TV
|
2015-07-04 03:49:20 +00:00
|
|
|
TX_ASM
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a,[wSpriteStateData1 + 9]
|
2015-07-04 05:44:12 +00:00
|
|
|
cp SPRITE_FACING_UP
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl,TVWrongSideText
|
2015-07-04 05:44:12 +00:00
|
|
|
jr nz,.notUp
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl,StandByMeText
|
2015-07-04 05:44:12 +00:00
|
|
|
.notUp
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
StandByMeText: ; 481da (12:41da)
|
|
|
|
TX_FAR _StandByMeText
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
TVWrongSideText: ; 481df (12:41df)
|
|
|
|
TX_FAR _TVWrongSideText
|
|
|
|
db "@"
|