From e23f34125879e680e1a6ee263cb3dbb579cc5135 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 13 Jun 2014 22:53:20 -0700 Subject: Battle type constants in the wild. Also add constants for trap and Celebi event battles. --- predef/cgb.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'predef') diff --git a/predef/cgb.asm b/predef/cgb.asm index 8d59b2326..38f4e146d 100644 --- a/predef/cgb.asm +++ b/predef/cgb.asm @@ -840,11 +840,13 @@ Function93ba: ; 93ba Function93d3: ; 93d3 ld a, [BattleType] - cp $3 + cp BATTLETYPE_TUTORIAL jr z, .asm_93e6 + ld a, [PlayerGender] bit 0, a jr z, .asm_93e6 + ld hl, Palettes_9469 jr .asm_93e9 -- cgit v1.2.3