Use specific constants for overwritten text tiles

This commit is contained in:
Rangi
2018-06-25 23:14:52 -04:00
parent a6560d0871
commit aa334dc5b9
4 changed files with 17 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ BlindingFlash:
ShakeHeadbuttTree:
farcall ClearSpriteAnims
ld de, CutGrassGFX
ld hl, vTiles1
ld hl, vTiles1 tile $00
lb bc, BANK(CutGrassGFX), 4
call Request2bpp
ld de, HeadbuttTreeGFX
@@ -134,11 +134,11 @@ OWCutAnimation:
.LoadCutGFX:
callfar ClearSpriteAnims ; pointless to farcall
ld de, CutGrassGFX
ld hl, vTiles1
ld hl, vTiles1 tile $00
lb bc, BANK(CutGrassGFX), 4
call Request2bpp
ld de, CutTreeGFX
ld hl, vTiles1 tile $4
ld hl, vTiles1 tile $04
lb bc, BANK(CutTreeGFX), 4
call Request2bpp
ret

View File

@@ -1,3 +1,6 @@
UNOWNSTAMP_BOLD_A EQUS "\"♂\"" ; $ef
UNOWNSTAMP_BOLD_B EQUS "\"♀\"" ; $f5
_UnownPrinter:
ld a, [wUnownDex]
and a
@@ -15,12 +18,12 @@ _UnownPrinter:
call ClearTileMap
ld de, UnownDexATile
ld hl, vTiles1 tile $6f
ld hl, vTiles0 tile UNOWNSTAMP_BOLD_A
lb bc, BANK(UnownDexBTile), 1
call Request1bpp
ld de, UnownDexBTile
ld hl, vTiles1 tile $75
ld hl, vTiles0 tile UNOWNSTAMP_BOLD_B
lb bc, BANK(UnownDexBTile), 1
call Request1bpp
@@ -200,8 +203,8 @@ UnownDexDoWhatString:
db "Do what?@"
UnownDexMenuString:
db " PRINT"
next " CANCEL"
db UNOWNSTAMP_BOLD_A, " PRINT"
next UNOWNSTAMP_BOLD_B, " CANCEL"
next "← PREVIOUS"
next "→ NEXT"
db "@"