From b3b437ab2902e70504b1e1f80a40c946d8f8c55d Mon Sep 17 00:00:00 2001 From: xCrystal Date: Mon, 22 Feb 2016 12:05:26 +0100 Subject: text_hl macro --- src/engine/bank1.asm | 4 ++-- src/engine/home.asm | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine') diff --git a/src/engine/bank1.asm b/src/engine/bank1.asm index 57905c3..47a4e94 100755 --- a/src/engine/bank1.asm +++ b/src/engine/bank1.asm @@ -622,11 +622,11 @@ CheckIfActiveCardParalyzedOrAsleep: ; 4918 (1:4918) ret .paralyzed: - ld hl, $0025 + text_hl Text0025 ; paralyzed jr .returnWithStatusCondition .asleep: - ld hl, $0024 + text_hl Text0024 ; asleep .returnWithStatusCondition: scf diff --git a/src/engine/home.asm b/src/engine/home.asm index 148da07..57bf830 100755 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -5877,13 +5877,13 @@ CheckIfCantAttackDueToAttackEffect:: ; 33c1 (0:33c1) call GetTurnDuelistVariable or a ret z - ld hl, $0100 ;tail wag + text_hl Text0100 ;tail wag cp $05 jr z, .returnWithCantAttack - ld hl, $0101 ;leer + text_hl Text0101 ;leer cp $06 jr z, .returnWithCantAttack - ld hl, $0102 ;bone attack + text_hl Text0102 ;bone attack cp $0b jr z, .returnWithCantAttack or a -- cgit v1.2.3