aboutsummaryrefslogtreecommitdiffstats
path: root/home/text.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-02-07 02:43:08 -0800
committerYamaArashi <shadow962@live.com>2015-02-07 02:43:08 -0800
commit3fdb8a0d8995746d5605136ece384516338489b0 (patch)
tree214030fb5b6ec943cdcb2ba84e622fba0ad3fb8f /home/text.asm
parentadd constants for volatile statuses and more battle labels/commentary/constants (diff)
downloadpokeyellow-3fdb8a0d8995746d5605136ece384516338489b0.tar.gz
pokeyellow-3fdb8a0d8995746d5605136ece384516338489b0.tar.xz
pokeyellow-3fdb8a0d8995746d5605136ece384516338489b0.zip
serial/trade/misc
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/text.asm b/home/text.asm
index aed89c33..362347cc 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -265,8 +265,8 @@ Char5F:: ; 1a91 (0:1a91)
ret
Char58:: ; 1a95 (0:1a95)
- ld a,[W_ISLINKBATTLE]
- cp 4
+ ld a,[wLinkState]
+ cp LINK_STATE_BATTLING
jp z,Next1AA2
ld a,$EE
Coorda 18, 16
@@ -506,8 +506,8 @@ TextCommand05:: ; 1bc5 (0:1bc5)
; 06
; (no arguments)
TextCommand06:: ; 1bcc (0:1bcc)
- ld a,[W_ISLINKBATTLE]
- cp a,$04
+ ld a,[wLinkState]
+ cp a,LINK_STATE_BATTLING
jp z,TextCommand0D
ld a,$ee ; down arrow
Coorda 18, 16 ; place down arrow in lower right corner of dialogue text box