aboutsummaryrefslogtreecommitdiffstats
path: root/home/trainers.asm
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2023-07-15 23:36:59 +0100
committerGitHub <noreply@github.com>2023-07-15 18:36:59 -0400
commitf46db37d508f0111ad44ad062ed3d83ba3282d1d (patch)
tree170af31852384f5a207918decf05e45a837d95d1 /home/trainers.asm
parentAdd macros, constants, and labels for map scripts and text (#367) (diff)
downloadpokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.tar.gz
pokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.tar.xz
pokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.zip
Thoroughly document debug code (#410)
Diffstat (limited to 'home/trainers.asm')
-rw-r--r--home/trainers.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index 4dc63fef..e0195729 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -135,7 +135,9 @@ ENDC
ld a, [wSpriteIndex]
cp $ff
jr nz, .trainerEngaging
+IF DEF(_DEBUG)
.trainerNotEngaging
+ENDC
xor a
ld [wSpriteIndex], a
ld [wTrainerHeaderFlagBit], a