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

@ -22,8 +22,8 @@ UsedCut:
jp PrintText
.NothingToCutText
TX_FAR _NothingToCutText
db "@"
text_far _NothingToCutText
text_end
.canCut
ld [wCutTile], a
@ -68,8 +68,8 @@ UsedCut:
jp RedrawMapView
UsedCutText:
TX_FAR _UsedCutText
db "@"
text_far _UsedCutText
text_end
InitCutAnimOAM:
xor a

View file

@ -7,16 +7,16 @@ PrintStrengthTxt:
jp PrintText
UsedStrengthText:
TX_FAR _UsedStrengthText
TX_ASM
text_far _UsedStrengthText
text_asm
ld a, [wcf91]
call PlayCry
call Delay3
jp TextScriptEnd
CanMoveBouldersText:
TX_FAR _CanMoveBouldersText
db "@"
text_far _CanMoveBouldersText
text_end
IsSurfingAllowed:
; Returns whether surfing is allowed in bit 1 of wd728.
@ -49,9 +49,9 @@ CoordsData_cdf7:
db $0B,$07,$FF
CurrentTooFastText:
TX_FAR _CurrentTooFastText
db "@"
text_far _CurrentTooFastText
text_end
CyclingIsFunText:
TX_FAR _CyclingIsFunText
db "@"
text_far _CyclingIsFunText
text_end

View file

@ -133,7 +133,7 @@ LoadMapSpriteTilePatterns:
jr nc, .fourTileSpriteVRAMAddr
ld d, a
dec d
; vSprites += [hVRAMSlot] * $C0 (the number of bytes in 12 tiles)
; hl = vSprites + [hVRAMSlot] * $C0 (the number of bytes in 12 tiles)
.calculateVRAMAddrLoop
add hl, bc
dec d

View file

@ -457,16 +457,16 @@ FishingAnim:
ret
NoNibbleText:
TX_FAR _NoNibbleText
db "@"
text_far _NoNibbleText
text_end
NothingHereText:
TX_FAR _NothingHereText
db "@"
text_far _NothingHereText
text_end
ItsABiteText:
TX_FAR _ItsABiteText
db "@"
text_far _ItsABiteText
text_end
FishingRodOAM:
; specifies how the fishing rod should be drawn on the screen