Disassemble the BLUEMONS.GB debug ROM

This commit is contained in:
Rangi 2020-07-15 13:35:39 -04:00
parent 87f24a885d
commit 4b4ad9894e
25 changed files with 364 additions and 81 deletions

View file

@ -126,10 +126,15 @@ 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
jr nz, .trainerEngaging
.trainerNotEngaging
xor a
ld [wSpriteIndex], a
ld [wTrainerHeaderFlagBit], a