Use BANK("Trainer Sight") to apply to all four possible functions in the "Trainer Sight" section (#444)

This commit is contained in:
Vortyne 2023-12-23 19:24:29 -05:00 committed by GitHub
parent 07cefd462f
commit 0b20304e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,7 +258,7 @@ SetSpritePosition1::
SetSpritePosition2::
ld hl, _SetSpritePosition2
SpritePositionBankswitch::
ld b, BANK(_GetSpritePosition1) ; BANK(_GetSpritePosition2), BANK(_SetSpritePosition1), BANK(_SetSpritePosition2)
ld b, BANK("Trainer Sight")
jp Bankswitch ; indirect jump to one of the four functions
CheckForEngagingTrainers::