summaryrefslogtreecommitdiff
path: root/scripts/redshouse1f.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 15:06:23 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 23:33:10 -0500
commitc7796024590fec48ac79756793c1a6e3b54daf8f (patch)
tree0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/redshouse1f.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/redshouse1f.asm')
-rwxr-xr-xscripts/redshouse1f.asm69
1 files changed, 0 insertions, 69 deletions
diff --git a/scripts/redshouse1f.asm b/scripts/redshouse1f.asm
deleted file mode 100755
index 59323b8e..00000000
--- a/scripts/redshouse1f.asm
+++ /dev/null
@@ -1,69 +0,0 @@
-RedsHouse1FScript:
- jp EnableAutoTextBoxDrawing
-
-RedsHouse1FTextPointers:
- dw RedsHouse1FText1
- dw RedsHouse1FText2
-
-RedsHouse1FText1: ; Mom
- TX_ASM
- ld a, [wd72e]
- 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:
- TX_FAR _MomWakeUpText
- db "@"
-
-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
- jp PrintText
-
-MomHealText1:
- TX_FAR _MomHealText1
- db "@"
-MomHealText2:
- TX_FAR _MomHealText2
- db "@"
-
-RedsHouse1FText2: ; TV
- TX_ASM
- ld a, [wSpriteStateData1 + 9]
- cp SPRITE_FACING_UP
- ld hl, TVWrongSideText
- jr nz, .notUp
- ld hl, StandByMeText
-.notUp
- call PrintText
- jp TextScriptEnd
-
-StandByMeText:
- TX_FAR _StandByMeText
- db "@"
-
-TVWrongSideText:
- TX_FAR _TVWrongSideText
- db "@"