aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/SilphCo7F.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2025-01-30 23:26:55 +0100
committerGitHub <noreply@github.com>2025-01-30 17:26:55 -0500
commit43f21cc4948682b51b4c72bcef38631f95b47bfe (patch)
tree2f647622559fce6bae9d4ebb1d669c5cec3db426 /scripts/SilphCo7F.asm
parentConsistently refer to CGB, not GBC (#491) (diff)
downloadpokeyellow-43f21cc4948682b51b4c72bcef38631f95b47bfe.tar.gz
pokeyellow-43f21cc4948682b51b4c72bcef38631f95b47bfe.tar.xz
pokeyellow-43f21cc4948682b51b4c72bcef38631f95b47bfe.zip
Fix some label typos, and add some constants instead of raw numbers (#492)
Diffstat (limited to 'scripts/SilphCo7F.asm')
-rw-r--r--scripts/SilphCo7F.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/SilphCo7F.asm b/scripts/SilphCo7F.asm
index bf517d29..358be537 100644
--- a/scripts/SilphCo7F.asm
+++ b/scripts/SilphCo7F.asm
@@ -310,7 +310,7 @@ SilphCo7FSilphWorkerM1Text:
lb bc, LAPRAS, 15
call GivePokemon
jr nc, .done
- ld a, [wSimulatedJoypadStatesEnd]
+ ld a, [wAddedToParty]
and a
call z, WaitForTextScrollButtonPress
call EnableAutoTextBoxDrawing