aboutsummaryrefslogtreecommitdiffstats
path: root/home/trainers.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-06 23:11:17 -0600
committerdannye <33dannye@gmail.com>2020-11-06 23:11:17 -0600
commit989545f0e03b7e32d8ea80d8ab4455576dbd7116 (patch)
treeb12573ca87d345ede7d40f7cf991032ee4b2650e /home/trainers.asm
parentIgnore tools/pcm (diff)
downloadpokeyellow-989545f0e03b7e32d8ea80d8ab4455576dbd7116.tar.gz
pokeyellow-989545f0e03b7e32d8ea80d8ab4455576dbd7116.tar.xz
pokeyellow-989545f0e03b7e32d8ea80d8ab4455576dbd7116.zip
Start disassembling debug yellow
non matching
Diffstat (limited to 'home/trainers.asm')
-rw-r--r--home/trainers.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index f407652a..468b63f8 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -127,6 +127,10 @@ TalkToTrainer::
; checks if any trainers are seeing the player and wanting to fight
CheckFightingMapTrainers::
+IF DEF(_DEBUG)
+ call DebugPressedOrHeldB
+ jr nz, .trainerNotEngaging
+ENDC
call CheckForEngagingTrainers
ld a, [wSpriteIndex]
cp $ff