aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/VermilionOldRodHouse.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-07-16 13:02:54 -0400
committerGitHub <noreply@github.com>2024-07-16 13:02:54 -0400
commit8fafca714c07500d1d87bba224f12cf9cc2c8789 (patch)
tree273ca88fcfcd80df9c318c9cb8d17a1f7aa240cb /scripts/VermilionOldRodHouse.asm
parentBuild with RGBDS 0.8.0, though it is not yet required (diff)
downloadpokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.gz
pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.xz
pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.zip
Identify various flag labels and bit constants (#454)
Diffstat (limited to 'scripts/VermilionOldRodHouse.asm')
-rw-r--r--scripts/VermilionOldRodHouse.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/VermilionOldRodHouse.asm b/scripts/VermilionOldRodHouse.asm
index f170bcaf..8663de69 100644
--- a/scripts/VermilionOldRodHouse.asm
+++ b/scripts/VermilionOldRodHouse.asm
@@ -7,8 +7,8 @@ VermilionOldRodHouse_TextPointers:
VermilionOldRodHouseFishingGuruText:
text_asm
- ld a, [wd728]
- bit 3, a ; got old rod?
+ ld a, [wStatusFlags1]
+ bit BIT_GOT_OLD_ROD, a
jr nz, .got_old_rod
ld hl, .DoYouLikeToFishText
call PrintText
@@ -19,8 +19,8 @@ VermilionOldRodHouseFishingGuruText:
lb bc, OLD_ROD, 1
call GiveItem
jr nc, .bag_full
- ld hl, wd728
- set 3, [hl] ; got old rod
+ ld hl, wStatusFlags1
+ set BIT_GOT_OLD_ROD, [hl]
ld hl, .TakeThisText
jr .print_text
.bag_full