summaryrefslogtreecommitdiff
path: root/src/engine/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/home.asm')
-rwxr-xr-xsrc/engine/home.asm40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm
index dd1ff77..3fd56ed 100755
--- a/src/engine/home.asm
+++ b/src/engine/home.asm
@@ -2099,7 +2099,7 @@ Func_0f35: ; 0f35 (0:0f35)
ld l, a
ld h, $0
call Func_2ec4
- text_hl Text0055 ; transmission error
+ text_hl TransmissionError
call DrawWideTextBox_WaitForInput
ld a, $ff
ld [wd0c3], a
@@ -2676,7 +2676,7 @@ Func_1828: ; 1828 (0:1828)
bank1call $4f9d
ld a, $1
ld [wcce6], a
- text_hl Text004f ; 20 self-confusion damage
+ text_hl DamageToSelfDueToConfusion
call DrawWideTextBox_PrintText
ld a, $75
ld [wccb8], a
@@ -3024,7 +3024,7 @@ Func_1ad3: ; 1ad3 (0:1ad3)
ld h, [hl]
ld l, a
call Func_2ebb
- text_hl Text0081 ; was knocked out
+ text_hl WasKnockedOut
call DrawWideTextBox_PrintText
ld a, $28
.asm_1aeb
@@ -3053,7 +3053,7 @@ Func_1b8d: ; 1b8d (0:1b8d)
ld [hli], a
ld a, [wccab]
ld [hli], a
- text_hl Text0035 ; text when using an attack (?)
+ text_hl PokemonsAttack ; text when using an attack
call DrawWideTextBox_PrintText
ret
@@ -3090,7 +3090,7 @@ Func_1bca: ; 1bca (0:1bca)
inc de
ld a, [hli]
ld [de], a
- text_hl Text014a ; was unsuccessful
+ text_hl WasUnsuccessful
call DrawWideTextBox_PrintText
scf
ret
@@ -3145,7 +3145,7 @@ PrintOpponentName: ; 1c8e (0:1c8e)
jr z, .printPlayer2
jr printNameLoop
.printPlayer2
- text_hl Text0092 ; player 2
+ text_hl Player2
jp PrintTextBoxBorderLabel
; 0x1caa
@@ -4647,7 +4647,7 @@ Func_2af0: ; 2af0 (0:2af0)
Func_2b66: ; 2b66 (0:2b66)
call AdjustCoordinatesForWindow
- text_hl Text002f ; yes no
+ text_hl YesOrNo
call Func_2c1b
ret
; 0x2b70
@@ -5886,13 +5886,13 @@ CheckIfCantAttackDueToAttackEffect:: ; 33c1 (0:33c1)
call GetTurnDuelistVariable
or a
ret z
- text_hl Text0100 ; tail wag
+ text_hl UnableToAttackDueToTailWag
cp $05
jr z, .returnWithCantAttack
- text_hl Text0101 ; leer
+ text_hl UnableToAttackDueToLeer
cp $06
jr z, .returnWithCantAttack
- text_hl Text0102 ; bone attack
+ text_hl UnableToAttackDueToBoneAttack
cp $0b
jr z, .returnWithCantAttack
or a
@@ -5919,7 +5919,7 @@ Func_33e1: ; 33e1 (0:33e1)
ld a, [wccc6]
cp [hl]
jr nz, .asm_33ee
- text_hl Text0103 ; amnesia
+ text_hl UnableToUseAttackDueToAmnesia
scf
ret
@@ -5930,7 +5930,7 @@ Func_3400: ; 3400 (0:3400)
ld [wcc0a], a
ccf
ret nc
- text_hl Text00fd ; attack unsuccessful
+ text_hl AttackUnsuccessful
call DrawWideTextBox_WaitForInput
scf
ret
@@ -5964,15 +5964,15 @@ Func_3432: ; 3432 (0:3432)
ld a, $e7
call GetTurnDuelistVariable
ld e, $3
- text_hl Text0107 ; fly
+ text_hl NoDamageOrEffectDueToFly
cp $d
jr z, .asm_346a
ld e, $2
- text_hl Text0108 ; barrier
+ text_hl NoDamageOrEffectDueToBarrier
cp $14
jr z, .asm_346a
ld e, $1
- text_hl Text0109 ; agility
+ text_hl NoDamageOrEffectDueToAgility
cp $c
jr z, .asm_346a
call Func_34ef
@@ -6000,7 +6000,7 @@ Func_3432: ; 3432 (0:3432)
or a
ret z
ld e, $5
- text_hl Text010b ; n shield
+ text_hl NoDamageOrEffectDueToNShield
jr .asm_346a
Func_348a: ; 348a (0:348a)
@@ -6024,7 +6024,7 @@ Func_348a: ; 348a (0:348a)
ret nc
ld a, $4
ld [wccc7], a
- text_hl Text010c ; transparency
+ text_hl NoDamageOrEffectDueToTransparency
scf
ret
; 0x34b7
@@ -6049,13 +6049,13 @@ Func_34f0: ; 34f0 (0:34f0)
ld a, DUELVARS_ARENA_CARD_STATUS
call GetTurnDuelistVariable
and $f
- text_hl Text00cb ; sleep, paralysis or confusion
+ text_hl CannotUseDueToStatus
scf
jr nz, .asm_3508
.asm_3500
ld a, $27
call Func_3509
- text_hl Text00d4 ; toxic gas
+ text_hl UnableDueToToxicGas
.asm_3508
ret
@@ -6198,7 +6198,7 @@ Func_36a2: ; 36a2 (0:36a2)
push af
push hl
call Func_1a96
- text_hl Text0105 ; strikes back
+ text_hl ReceivesDamageDueToStrikesBack
call DrawWideTextBox_PrintText
pop hl
pop af