summaryrefslogtreecommitdiff
path: root/scripts/RedsHouse1F.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-05 19:58:21 -0400
committerGitHub <noreply@github.com>2020-07-05 19:58:21 -0400
commitc57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch)
tree531d6b30d5a606ae963024825ed6e614843000a6 /scripts/RedsHouse1F.asm
parent2718c36065e7eb201a149938bcdd51987c4e56b6 (diff)
parent5fe8aab3445cb76d8e1c4be954c0392f40798950 (diff)
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'scripts/RedsHouse1F.asm')
-rwxr-xr-xscripts/RedsHouse1F.asm26
1 files changed, 13 insertions, 13 deletions
diff --git a/scripts/RedsHouse1F.asm b/scripts/RedsHouse1F.asm
index b982d71c..9f45a760 100755
--- a/scripts/RedsHouse1F.asm
+++ b/scripts/RedsHouse1F.asm
@@ -6,7 +6,7 @@ RedsHouse1F_TextPointers:
dw RedsHouse1FText2
RedsHouse1FText1: ; Mom
- TX_ASM
+ text_asm
ld a, [wd72e]
bit 3, a
jr nz, .heal ; if player has received a Pokémon from Oak, heal team
@@ -19,8 +19,8 @@ RedsHouse1FText1: ; Mom
jp TextScriptEnd
MomWakeUpText:
- TX_FAR _MomWakeUpText
- db "@"
+ text_far _MomWakeUpText
+ text_end
MomHealPokemon:
ld hl, MomHealText1
@@ -43,15 +43,15 @@ MomHealPokemon:
jp PrintText
MomHealText1:
- TX_FAR _MomHealText1
- db "@"
+ text_far _MomHealText1
+ text_end
MomHealText2:
- TX_FAR _MomHealText2
- db "@"
+ text_far _MomHealText2
+ text_end
RedsHouse1FText2: ; TV
- TX_ASM
- ld a, [wSpriteStateData1 + 9]
+ text_asm
+ ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
ld hl, TVWrongSideText
jr nz, .notUp
@@ -61,9 +61,9 @@ RedsHouse1FText2: ; TV
jp TextScriptEnd
StandByMeText:
- TX_FAR _StandByMeText
- db "@"
+ text_far _StandByMeText
+ text_end
TVWrongSideText:
- TX_FAR _TVWrongSideText
- db "@"
+ text_far _TVWrongSideText
+ text_end