mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Disassemble the BLUEMONS.GB debug ROM
This commit is contained in:
parent
87f24a885d
commit
4b4ad9894e
25 changed files with 364 additions and 81 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue