Fixed a charmap warning with the new RGBDS

This commit is contained in:
Colton G. Rushton 2019-11-18 18:26:07 +01:00 committed by mid-kid
parent f76a093f44
commit 7b2377c41e
4 changed files with 23 additions and 4 deletions

View File

@ -416,3 +416,8 @@
charmap "", $fd
charmap "", $fe
charmap "", $ff
; ASCII charmap, for mobile functions
pushc
newcharmap ascii
popc

View File

@ -1686,11 +1686,13 @@ Function100ae7:
SECTION "tetsuji", ROMX
charmap " ", $20 ; revert to ascii
pushc
setcharmap ascii ; revert to ascii
Unknown_100b0a:
db "tetsuji", 0
popc
SECTION "bank40_2", ROMX
@ -3620,7 +3622,8 @@ Function101826:
SECTION "ascii 10186f", ROMX
charmap " ", $20 ; revert to ascii
pushc
setcharmap ascii ; revert to ascii
Unknown_10186f:
db .end - @
@ -3637,6 +3640,7 @@ Unknown_101895:
db $19, $67, $10, $01, "limit_crystal"
.end db 0
popc
SECTION "bank40_3", ROMX

View File

@ -1,6 +1,7 @@
SECTION "Mobile 45", ROMX
charmap " ", $20 ; revert to ascii
pushc
setcharmap ascii ; revert to ascii
String_114000:
db "---", 0
@ -59,6 +60,8 @@ String_114160:
String_114163:
db ".", 0
popc
Jumptable_114165:
dw Stubbed_Function114268
dw Function114269

View File

@ -1484,7 +1484,8 @@ Function118b9a:
and a
ret
charmap " ", $20 ; revert to ascii
pushc
setcharmap ascii ; revert to ascii
ExchangeDownloadURL:
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/exchange/index.txt", 0
@ -1501,6 +1502,8 @@ MenuDownloadURL:
IndexDownloadURL:
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/tamago/index.txt", 0
popc
Unreferenced_Function118d35:
ld hl, $d200
ld a, [wcd38]
@ -2918,6 +2921,9 @@ Function119694:
jr nz, .asm_119699
ret
pushc
setcharmap ascii
Unknown_1196b8:
db "Mon"
db "Tue"
@ -2927,6 +2933,7 @@ Unknown_1196b8:
db "Sat"
db "Sun"
popc
SECTION "Mobile 46 ASCII", ROMX
; A hack to use ascii above.