summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rwxr-xr-xsrc/engine/bank1.asm52
-rwxr-xr-xsrc/engine/bank2.asm8
-rwxr-xr-xsrc/engine/bank3.asm4
-rwxr-xr-xsrc/engine/bank4.asm12
-rwxr-xr-xsrc/engine/bank6.asm10
-rwxr-xr-xsrc/engine/home.asm40
6 files changed, 63 insertions, 63 deletions
diff --git a/src/engine/bank1.asm b/src/engine/bank1.asm
index 50a7b0e..ca7c836 100755
--- a/src/engine/bank1.asm
+++ b/src/engine/bank1.asm
@@ -22,7 +22,7 @@ Func_4000: ; 4000 (1:4000)
.asm_4035
call Func_405a
call Func_04a2
- text_hl Text00a2 ; reset back up ram?
+ text_hl ResetBackUpRam
call Func_2af0
jr c, .asm_404d
call EnableExtRAM
@@ -128,7 +128,7 @@ StartDuel: ; 409f (1:409f)
call Func_04a2
ld a, $3
call Func_2167
- text_hl Text0076 ; decision...
+ text_hl Decision
call DrawWideTextBox_WaitForInput
call Func_04a2
ldh a, [hWhoseTurn]
@@ -147,7 +147,7 @@ StartDuel: ; 409f (1:409f)
jr z, .activeDuelistLostBattle
ld a, $5f
ld c, $1a
- text_hl Text0077 ; duel was a draw
+ text_hl DuelWasDraw
jr .asm_4196
.activeDuelistWonBattle
@@ -159,7 +159,7 @@ StartDuel: ; 409f (1:409f)
ld [$d0c3], a
ld a, $5d
ld c, $18
- text_hl Text0078 ; won duel
+ text_hl WonDuel
jr .asm_4196
.activeDuelistLostBattle
@@ -172,7 +172,7 @@ StartDuel: ; 409f (1:409f)
ld [$d0c3], a
ld a, $5e
ld c, $19
- text_hl Text0079 ; lost duel
+ text_hl LostDuel
.asm_4196
call Func_3b6a
@@ -203,7 +203,7 @@ StartDuel: ; 409f (1:409f)
call Func_3b31
ld a, [wDuelTheme]
call PlaySong
- text_hl Text007a ; sudden-death match
+ text_hl StartSuddenDeathMatch
call DrawWideTextBox_WaitForInput
ld a, $1
ld [$cc08], a
@@ -282,7 +282,7 @@ Func_426d:
xor a
ld [wVBlankCtr], a
ld [$cbf9], a
- text_hl Text0088 ; is thinking
+ text_hl DuelistIsThinking
call Func_2a36
call Func_2bbf
ld a, $ff
@@ -413,7 +413,7 @@ PlayerRetreat: ; 43ab (1:43ab)
jr c, Func_441f
call $4611
jr c, Func_441c
- text_hl Text010e ; select pokemon on bench to switch
+ text_hl SelectMonOnBenchToSwitchWithActive
call DrawWideTextBox_WaitForInput
call $600c
jr c, Func_441c
@@ -427,7 +427,7 @@ PlayerRetreat: ; 43ab (1:43ab)
call $4f9d
Func_43e8: ; 43e8
- text_hl Text003d ; unable to retreat
+ text_hl UnableToRetreat
call DrawWideTextBox_WaitForInput
jp Func_4295
@@ -437,7 +437,7 @@ Func_43f1: ; 43f1 (1:43f1)
call $4611
jr c, Func_441c
call $6558
- text_hl Text010e ; select pokemon on bench to switch
+ text_hl SelectMonOnBenchToSwitchWithActive
call DrawWideTextBox_WaitForInput
call $600c
ld [wBenchSelectedPokemon], a
@@ -462,7 +462,7 @@ OpenHandMenu: ; 4425 (1:4425)
call GetTurnDuelistVariable
or a
jr nz, Func_4436
- text_hl Text00a4 ; no cards in hand
+ text_hl NoCardsInHand
call DrawWideTextBox_WaitForInput
jp Func_4295
@@ -494,7 +494,7 @@ OpenBattleAttackMenu: ; 46fc (1:46fc)
call LoadPokemonAttacksToDuelPointerTable
or a
jr nz, .openAttackMenu
- text_hl Text003c ; no selectable attack
+ text_hl NoSelectableAttack
call DrawWideTextBox_WaitForInput
jp Func_4295
@@ -523,7 +523,7 @@ OpenBattleAttackMenu: ; 46fc (1:46fc)
ld [wSelectedDuelSubMenuItem], a
call $488f
jr nc, .asm_4759
- text_hl Text00c0 ; not enough energy cards
+ text_hl NotEnoughEnergyCards
call DrawWideTextBox_WaitForInput
jr .tryOpenAttackMenu
@@ -747,12 +747,12 @@ CheckIfActiveCardParalyzedOrAsleep: ; 4918 (1:4918)
or a
ret
-.paralyzed:
- text_hl Text0025 ; paralyzed
+.paralyzed
+ text_hl UnableDueToParalysis
jr .returnWithStatusCondition
-.asleep:
- text_hl Text0024 ; asleep
+.asleep
+ text_hl UnableDueToSleep
.returnWithStatusCondition:
scf
@@ -833,16 +833,16 @@ ConvertTrainerCardToPokemon:
ret
.dataToOverwrite
- db 10 ; hp
- ds $07 ; wCardBuffer1Move1Name - (wCardBuffer1HP + 1)
- tx Text0030 ; move1 name
- tx Text0041 ; move1 description
- ds $03 ; wCardBuffer1Move1Category - (wCardBuffer1Move1Description + 2)
- db POKEMON_POWER ; move1 category
+ db 10 ; hp
+ ds $07 ; wCardBuffer1Move1Name - (wCardBuffer1HP + 1)
+ tx DiscardName ; move1 name
+ tx DiscardDescription ; move1 description
+ ds $03 ; wCardBuffer1Move1Category - (wCardBuffer1Move1Description + 2)
+ db POKEMON_POWER ; move1 category
dw TrainerCardAsPokemonEffectCommands ; move1 effect commands
- ds $18 ; wCardBuffer1RetreatCost - (wCardBuffer1Move1EffectCommands + 2)
- db UNABLE_RETREAT ; retreat cost
- ds $0d ; PKMN_CARD_DATA_LENGTH - (wCardBuffer1RetreatCost + 1 - wCardBuffer1)
+ ds $18 ; wCardBuffer1RetreatCost - (wCardBuffer1Move1EffectCommands + 2)
+ db UNABLE_RETREAT ; retreat cost
+ ds $0d ; PKMN_CARD_DATA_LENGTH - (wCardBuffer1RetreatCost + 1 - wCardBuffer1)
INCBIN "baserom.gbc",$6df1,$7107 - $6df1
diff --git a/src/engine/bank2.asm b/src/engine/bank2.asm
index 7901f9e..c2b587b 100755
--- a/src/engine/bank2.asm
+++ b/src/engine/bank2.asm
@@ -81,7 +81,7 @@ Func_8db0: ; 8db0 (2:4db0)
Func_8dbc: ; 8dbc (2:4dbc)
ld hl, Unknown_8de2
call InitializeCursorParameters
- text_hl Text0224
+ text_hl PleaseSelectDeck
call DrawWideTextBox_PrintText
.asm_8dc8
call DoFrame
@@ -348,13 +348,13 @@ Func_8f9d: ; 8f9d (2:4f9d)
xor a
ld [$ce3f], a
ld [$ce40], a
- text_hl Text022a
+ text_hl ChosenAsDuelingDeck
call DrawWideTextBox_WaitForInput
ld a, [$ceb1]
jp Func_8dbc
Func_8fe8: ; 8fe8 (2:4fe8)
- text_hl Text022f
+ text_hl ThereIsNoDeckHere
call DrawWideTextBox_WaitForInput
ld a, [$ceb1]
ret
@@ -703,7 +703,7 @@ Func_926e: ; 926e (2:526e)
ret
.asm_929c
call Func_22ae
- text_hl Text0223
+ text_hl NewDeck
call Func_2c29
scf
ret
diff --git a/src/engine/bank3.asm b/src/engine/bank3.asm
index f4fb571..d884ce2 100755
--- a/src/engine/bank3.asm
+++ b/src/engine/bank3.asm
@@ -1034,7 +1034,7 @@ PC_c7ea: ; c7ea (3:47ea)
call Func_c241
call $4915
call DoFrameIfLCDEnabled
- text_hl Text0352 ; turned PC on
+ text_hl TurnedPCOn
call Func_2c73
call $484e
.asm_c801
@@ -1061,7 +1061,7 @@ PC_c7ea: ; c7ea (3:47ea)
.asm_c82f
call Func_c135
call DoFrameIfLCDEnabled
- text_hl Text0353 ; turned PC off
+ text_hl TurnedPCOff
call $4891
call Func_c111
xor a
diff --git a/src/engine/bank4.asm b/src/engine/bank4.asm
index dd51647..ebeeb96 100755
--- a/src/engine/bank4.asm
+++ b/src/engine/bank4.asm
@@ -49,7 +49,7 @@ Medal_1029e: ; 1029e (4:429e)
ld a, [$d116]
cp $e0
jr nz, .asm_102e2
- text_hl Text038b
+ text_hl WonTheMedal
call Func_2c73
call Func_3c96
call Func_37a0
@@ -101,16 +101,16 @@ BoosterPack_1031b: ; 1031b (4:431b)
pop bc
ld a, c
farcallx $7, $61c4
- text_hl Text0387
+ text_hl ReceivedBoosterPack
ld a, [$d117]
cp $1
jr nz, .asm_10373
- text_hl Text0388
+ text_hl AndAnotherBoosterPack
.asm_10373
call Func_2c73
call Func_3c96
call Func_37a0
- text_hl Text0389
+ text_hl CheckedCardsInBoosterPack
call Func_2c73
call DisableLCD
call Func_1288c
@@ -1115,7 +1115,7 @@ Func_1344d: ; 1344d (4:744d)
call Func_379b
ld a, MUSIC_MEDAL
call PlaySong
- text_hl Text07e6
+ text_hl DefeatedFiveOpponents
call Func_2c73
call Func_3c96
call Func_37a0
@@ -1137,7 +1137,7 @@ Func_13485: ; 13485 (4:7485)
call Func_379b
ld a, MUSIC_MEDAL
call PlaySong
- text_hl Text07e8
+ text_hl ConsecutiveWinRecordIncreased
call Func_2c73
call Func_3c96
call Func_37a0
diff --git a/src/engine/bank6.asm b/src/engine/bank6.asm
index 8fb9996..39011da 100755
--- a/src/engine/bank6.asm
+++ b/src/engine/bank6.asm
@@ -124,23 +124,23 @@ Func_1a61f: ; 1a61f (6:661f)
ld a, $76
call $663b
ld a, $c1
- text_hl Text0191
+ text_hl ReceivedLegendaryCard
jr .asm_1a660
.asm_1a640
- text_hl Text018f
+ text_hl ReceivedCard
cp $1e
jr z, .asm_1a660
cp $43
jr z, .asm_1a660
- text_hl Text0192
+ text_hl ReceivedPromotionalFlyingPikachu
cp $64
jr z, .asm_1a660
- text_hl Text0193
+ text_hl ReceivedPromotionalSurfingPikachu
cp $65
jr z, .asm_1a660
cp $66
jr z, .asm_1a660
- text_hl Text0190
+ text_hl ReceivedPromotionalCard
.asm_1a660
push hl
ld e, a
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