summaryrefslogtreecommitdiff
path: root/scripts/RedsHouse1F.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 17:00:57 -0400
committerGitHub <noreply@github.com>2020-07-16 17:00:57 -0400
commitd44c7c305c3f94b59e3e2c008408779836a0020a (patch)
tree2cdc51be4a22992701038b959d6c964e9ee8fc58 /scripts/RedsHouse1F.asm
parentb9a113a9f4712771e37313a4c8a76f7ef23cebb2 (diff)
parent7306c1dc2dca5666a5276a6758d1a64e1ddeae20 (diff)
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'scripts/RedsHouse1F.asm')
-rwxr-xr-xscripts/RedsHouse1F.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/RedsHouse1F.asm b/scripts/RedsHouse1F.asm
index 9f45a760..bdeb96d7 100755
--- a/scripts/RedsHouse1F.asm
+++ b/scripts/RedsHouse1F.asm
@@ -2,14 +2,14 @@ RedsHouse1F_Script:
jp EnableAutoTextBoxDrawing
RedsHouse1F_TextPointers:
- dw RedsHouse1FText1
- dw RedsHouse1FText2
+ dw RedsHouse1FMomText
+ dw RedsHouse1FTVText
-RedsHouse1FText1: ; Mom
+RedsHouse1FMomText:
text_asm
ld a, [wd72e]
- bit 3, a
- jr nz, .heal ; if player has received a Pokémon from Oak, heal team
+ bit 3, a ; received a Pokémon from Oak?
+ jr nz, .heal
ld hl, MomWakeUpText
call PrintText
jr .done
@@ -49,14 +49,14 @@ MomHealText2:
text_far _MomHealText2
text_end
-RedsHouse1FText2: ; TV
+RedsHouse1FTVText:
text_asm
ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
ld hl, TVWrongSideText
- jr nz, .notUp
+ jr nz, .got_text
ld hl, StandByMeText
-.notUp
+.got_text
call PrintText
jp TextScriptEnd