Port pokecrystal's formatting of text commands and special characters

This commit is contained in:
Rangi 2020-07-04 17:09:35 -04:00
parent 2718c36065
commit 139a28ff99
397 changed files with 7398 additions and 7026 deletions

View file

@ -89,7 +89,7 @@ SomeonesPCText: db "SOMEONE's PC@"
BillsPCText: db "BILL's PC@"
PlayersPCText: db "'s PC@"
OaksPCText: db "PROF.OAK's PC@"
PKMNLeaguePCText: db "<pkmn>LEAGUE@"
PKMNLeaguePCText: db "<PKMN>LEAGUE@"
LogOffPCText: db "LOG OFF@"
BillsPC_::
@ -339,9 +339,9 @@ DisplayMonListMenu:
ret
BillsPCMenuText:
db "WITHDRAW <pkmn>"
next "DEPOSIT <pkmn>"
next "RELEASE <pkmn>"
db "WITHDRAW <PKMN>"
next "DEPOSIT <PKMN>"
next "RELEASE <PKMN>"
next "CHANGE BOX"
next "SEE YA!"
db "@"
@ -453,52 +453,52 @@ StatsCancelPCText:
next "CANCEL@"
SwitchOnText:
TX_FAR _SwitchOnText
db "@"
text_far _SwitchOnText
text_end
WhatText:
TX_FAR _WhatText
db "@"
text_far _WhatText
text_end
DepositWhichMonText:
TX_FAR _DepositWhichMonText
db "@"
text_far _DepositWhichMonText
text_end
MonWasStoredText:
TX_FAR _MonWasStoredText
db "@"
text_far _MonWasStoredText
text_end
CantDepositLastMonText:
TX_FAR _CantDepositLastMonText
db "@"
text_far _CantDepositLastMonText
text_end
BoxFullText:
TX_FAR _BoxFullText
db "@"
text_far _BoxFullText
text_end
MonIsTakenOutText:
TX_FAR _MonIsTakenOutText
db "@"
text_far _MonIsTakenOutText
text_end
NoMonText:
TX_FAR _NoMonText
db "@"
text_far _NoMonText
text_end
CantTakeMonText:
TX_FAR _CantTakeMonText
db "@"
text_far _CantTakeMonText
text_end
ReleaseWhichMonText:
TX_FAR _ReleaseWhichMonText
db "@"
text_far _ReleaseWhichMonText
text_end
OnceReleasedText:
TX_FAR _OnceReleasedText
db "@"
text_far _OnceReleasedText
text_end
MonWasReleasedText:
TX_FAR _MonWasReleasedText
db "@"
text_far _MonWasReleasedText
text_end
CableClubLeftGameboy::
ld a, [hSerialConnectionStatus]
@ -535,8 +535,8 @@ CableClubRightGameboy::
tx_pre_jump JustAMomentText
JustAMomentText::
TX_FAR _JustAMomentText
db "@"
text_far _JustAMomentText
text_end
ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction
cp SPRITE_FACING_UP
@ -545,5 +545,5 @@ JustAMomentText::
tx_pre_jump OpenBillsPCText
OpenBillsPCText::
TX_BILLS_PC
script_bills_pc

View file

@ -296,20 +296,20 @@ CancelledEvolution:
jp Evolution_PartyMonLoop
EvolvedText:
TX_FAR _EvolvedText
db "@"
text_far _EvolvedText
text_end
IntoText:
TX_FAR _IntoText
db "@"
text_far _IntoText
text_end
StoppedEvolvingText:
TX_FAR _StoppedEvolvingText
db "@"
text_far _StoppedEvolvingText
text_end
IsEvolvingText:
TX_FAR _IsEvolvingText
db "@"
text_far _IsEvolvingText
text_end
Evolution_ReloadTilesetTilePatterns:
ld a, [wLinkState]

View file

@ -184,43 +184,43 @@ TryingToLearn:
ret
LearnedMove1Text:
TX_FAR _LearnedMove1Text
TX_SFX_ITEM_1 ; plays SFX_GET_ITEM_1 in the party menu (rare candy) and plays SFX_LEVEL_UP in battle
TX_BLINK
db "@"
text_far _LearnedMove1Text
sound_get_item_1 ; plays SFX_GET_ITEM_1 in the party menu (rare candy) and plays SFX_LEVEL_UP in battle
text_promptbutton
text_end
WhichMoveToForgetText:
TX_FAR _WhichMoveToForgetText
db "@"
text_far _WhichMoveToForgetText
text_end
AbandonLearningText:
TX_FAR _AbandonLearningText
db "@"
text_far _AbandonLearningText
text_end
DidNotLearnText:
TX_FAR _DidNotLearnText
db "@"
text_far _DidNotLearnText
text_end
TryingToLearnText:
TX_FAR _TryingToLearnText
db "@"
text_far _TryingToLearnText
text_end
OneTwoAndText:
TX_FAR _OneTwoAndText
TX_DELAY
TX_ASM
text_far _OneTwoAndText
text_pause
text_asm
ld a, SFX_SWAP
call PlaySoundWaitForCurrent
ld hl, PoofText
ret
PoofText:
TX_FAR _PoofText
TX_DELAY
text_far _PoofText
text_pause
ForgotAndText:
TX_FAR _ForgotAndText
db "@"
text_far _ForgotAndText
text_end
HMCantDeleteText:
TX_FAR _HMCantDeleteText
db "@"
text_far _HMCantDeleteText
text_end

View file

@ -110,7 +110,7 @@ StatusScreen:
call DrawLineBox ; Draws the box around name, HP and status
ld de, -6
add hl, de
ld [hl], "⠄" ; . after No ("." is a different one)
ld [hl], "<DOT>"
dec hl
ld [hl], "№"
coord hl, 19, 9
@ -205,14 +205,17 @@ NamePointers2:
dw wDayCareMonName
Type1Text:
db "TYPE1/", $4e
db "TYPE1/"
next ""
; fallthrough
Type2Text:
db "TYPE2/", $4e
db "TYPE2/"
next ""
; fallthrough
IDNoText:
db $73, "№/", $4e
db "<ID>№/"
next ""
; fallthrough
OTText:
db "OT/"
next "@"
@ -328,7 +331,7 @@ StatusScreen2:
ld b, a ; Number of moves ?
coord hl, 11, 10
ld de, SCREEN_WIDTH * 2
ld a, $72 ; special P tile id
ld a, "<BOLD_P>"
call StatusScreen_PrintPP ; Print "PP"
ld a, b
and a
@ -399,7 +402,7 @@ StatusScreen2:
ld [wLoadedMonLevel], a ; Increase temporarily if not 100
.Level100
coord hl, 14, 6
ld [hl], $70 ; 1-tile "to"
ld [hl], "<to>"
inc hl
inc hl
call PrintLevel