mirror of
https://github.com/pret/poketcg2.git
synced 2026-10-01 06:20:57 -04:00
Use text constants where appicable
Hold off doing this on 'f6' on bank02 L4585 and 'a2' on duel L2096, though these two look like texts too
This commit is contained in:
+4
-4
@@ -1469,7 +1469,7 @@ HandleConfusionDamageToSelf:
|
||||
pop hl
|
||||
push hl
|
||||
call LoadTxRam3
|
||||
ld hl, $50 ; DamageToSelfDueToConfusionText
|
||||
ld hl, DamageToSelfDueToConfusionText
|
||||
call DrawWideTextBox_PrintText
|
||||
ld a, ATK_ANIM_CONFUSION_HIT
|
||||
ld [wLoadedAttackAnimation], a
|
||||
@@ -1916,7 +1916,7 @@ PrintKnockedOut:
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
call LoadTxRam2
|
||||
ld hl, $84 ; WasKnockedOutText
|
||||
ld hl, WasKnockedOutText
|
||||
call DrawWideTextBox_PrintText
|
||||
ld a, 40
|
||||
.wait_frames
|
||||
@@ -2060,7 +2060,7 @@ Func_19e1::
|
||||
cp $1
|
||||
jr z, .no_effect_from_status
|
||||
call Func_19fd
|
||||
ld hl, $1a1 ; WasUnsuccessfulText
|
||||
ld hl, WasUnsuccessfulText
|
||||
call DrawWideTextBox_PrintText
|
||||
scf
|
||||
ret
|
||||
@@ -2215,5 +2215,5 @@ CopyOpponentName::
|
||||
jr z, .print_player2
|
||||
jr CopyPlayerName.loop
|
||||
.print_player2
|
||||
ld hl, $0097 ; Player2Text
|
||||
ld hl, Player2Text
|
||||
jp CopyText
|
||||
|
||||
+1
-1
@@ -1048,7 +1048,7 @@ HandleYesOrNoMenu::
|
||||
; prints "YES NO" at de
|
||||
PrintYesOrNoItems::
|
||||
call AdjustCoordinatesForBGScroll
|
||||
ld hl, $30 ; YesOrNoText
|
||||
ld hl, YesOrNoText
|
||||
call InitTextPrinting_ProcessTextFromID
|
||||
ret
|
||||
|
||||
|
||||
+1
-1
@@ -498,7 +498,7 @@ DuelTransmissionError::
|
||||
ld l, a
|
||||
ld h, 0
|
||||
call LoadTxRam3
|
||||
ld hl, $0057 ; TransmissionErrorTryAgainText
|
||||
ld hl, TransmissionErrorTryAgainText
|
||||
call DrawWideTextBox_WaitForInput
|
||||
ld a, -1
|
||||
ld [wDuelResult], a
|
||||
|
||||
Reference in New Issue
Block a user