aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 15:45:36 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 15:53:25 -0400
commit5c0f33cb5350d3e11bd75cc04d943549667ecd4c (patch)
tree2d5927ab83072b0673793269eacd14e6b5fd5ad2 /home
parentFactor out spinner tiles from RocketHideoutB2F since they're also used by Vir... (diff)
downloadpokeyellow-5c0f33cb5350d3e11bd75cc04d943549667ecd4c.tar.gz
pokeyellow-5c0f33cb5350d3e11bd75cc04d943549667ecd4c.tar.xz
pokeyellow-5c0f33cb5350d3e11bd75cc04d943549667ecd4c.zip
Use a 'trainer' macro for trainers in scripts/
Diffstat (limited to 'home')
-rw-r--r--home/trainers.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index 039c4ec8..37e36c2f 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -263,7 +263,7 @@ CheckForEngagingTrainers::
ld a, [de]
ld [wSpriteIndex], a ; store trainer flag's bit
ld [wTrainerHeaderFlagBit], a
- cp $ff
+ cp -1
ret z
ld a, $2
call ReadTrainerHeaderInfo ; read trainer flag's byte ptr