mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 00:25:24 +13:00
Expand tilesets from 192 to 255 tiles
This commit is contained in:
parent
89ef7cab53
commit
94d9c77070
80 changed files with 188 additions and 357 deletions
|
|
@ -1,5 +1,3 @@
|
|||
DEF HALLOFFAME_COLON EQU $63
|
||||
|
||||
HallOfFame::
|
||||
call HallOfFame_FadeOutMusic
|
||||
ld a, [wStatusFlags]
|
||||
|
|
@ -549,10 +547,6 @@ DisplayHOFMon:
|
|||
|
||||
HOF_AnimatePlayerPic:
|
||||
call ClearBGPalettes
|
||||
ld hl, vTiles2 tile HALLOFFAME_COLON
|
||||
ld de, FontExtra + 13 tiles ; "<COLON>"
|
||||
lb bc, BANK(FontExtra), 1
|
||||
call Request2bpp
|
||||
hlcoord 0, 0
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
ld a, " "
|
||||
|
|
@ -622,7 +616,7 @@ HOF_AnimatePlayerPic:
|
|||
ld de, wGameTimeHours
|
||||
lb bc, 2, 3
|
||||
call PrintNum
|
||||
ld [hl], HALLOFFAME_COLON
|
||||
ld [hl], "<COLON>"
|
||||
inc hl
|
||||
ld de, wGameTimeMinutes
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
|
||||
|
|
|
|||
|
|
@ -88,18 +88,7 @@ CheckMagikarpLength:
|
|||
text_far _MagikarpGuruMeasureText
|
||||
text_end
|
||||
|
||||
Magikarp_LoadFeetInchesChars:
|
||||
ld hl, vTiles2 tile "′" ; $6e
|
||||
ld de, .feetinchchars
|
||||
lb bc, BANK(.feetinchchars), 2
|
||||
call Request2bpp
|
||||
ret
|
||||
|
||||
.feetinchchars
|
||||
INCBIN "gfx/font/feet_inches.2bpp"
|
||||
|
||||
PrintMagikarpLength:
|
||||
call Magikarp_LoadFeetInchesChars
|
||||
ld hl, wStringBuffer1
|
||||
ld de, wMagikarpLength
|
||||
lb bc, PRINTNUM_LEFTALIGN | 1, 2
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DEF MAP_NAME_SIGN_START EQU $60
|
||||
DEF MAP_NAME_SIGN_START EQU $c0
|
||||
|
||||
InitMapNameSign::
|
||||
xor a
|
||||
|
|
@ -42,7 +42,6 @@ InitMapNameSign::
|
|||
; Display for 60 frames
|
||||
ld a, 60
|
||||
ld [wLandmarkSignTimer], a
|
||||
call LoadMapNameSignGFX
|
||||
call InitMapNameFrame
|
||||
farcall HDMATransfer_OnlyTopFourRows
|
||||
ret
|
||||
|
|
@ -124,13 +123,6 @@ PlaceMapNameSign::
|
|||
ldh [hLCDCPointer], a
|
||||
ret
|
||||
|
||||
LoadMapNameSignGFX:
|
||||
ld de, MapEntryFrameGFX
|
||||
ld hl, vTiles2 tile MAP_NAME_SIGN_START
|
||||
lb bc, BANK(MapEntryFrameGFX), 14
|
||||
call Get2bpp
|
||||
ret
|
||||
|
||||
InitMapNameFrame:
|
||||
hlcoord 0, 0
|
||||
ld b, 2
|
||||
|
|
|
|||
|
|
@ -16,24 +16,17 @@ Get2bppOptionalHDMA: ; unreferenced
|
|||
jp Get2bpp
|
||||
|
||||
_LoadStandardFont::
|
||||
ld de, Font
|
||||
ld hl, vTiles1
|
||||
lb bc, BANK(Font), 128 ; "A" to "9"
|
||||
ldh a, [rLCDC]
|
||||
bit rLCDC_ENABLE, a
|
||||
jp z, Copy1bpp
|
||||
|
||||
ld de, Font
|
||||
ld hl, vTiles1
|
||||
lb bc, BANK(Font), 32 ; "A" to "]"
|
||||
call Get1bppViaHDMA
|
||||
ld de, Font + 32 * LEN_1BPP_TILE
|
||||
ld hl, vTiles1 tile $20
|
||||
lb bc, BANK(Font), 32 ; "a" to $bf
|
||||
lb bc, BANK(Font), 26 ; "a" to "z" (skip "┌" to "┘")
|
||||
call Get1bppViaHDMA
|
||||
ld de, Font + 64 * LEN_1BPP_TILE
|
||||
ld hl, vTiles1 tile $40
|
||||
lb bc, BANK(Font), 32 ; "Ä" to "←"
|
||||
lb bc, BANK(Font), 32 ; $c0 to "←"
|
||||
call Get1bppViaHDMA
|
||||
ld de, Font + 96 * LEN_1BPP_TILE
|
||||
ld hl, vTiles1 tile $60
|
||||
|
|
@ -42,26 +35,9 @@ _LoadStandardFont::
|
|||
ret
|
||||
|
||||
_LoadFontsExtra1::
|
||||
ld de, FontsExtra_SolidBlackGFX
|
||||
ld hl, vTiles2 tile "■" ; $60
|
||||
lb bc, BANK(FontsExtra_SolidBlackGFX), 1
|
||||
call Get1bppViaHDMA
|
||||
ld de, PokegearPhoneIconGFX
|
||||
ld hl, vTiles2 tile "☎" ; $62
|
||||
lb bc, BANK(PokegearPhoneIconGFX), 1
|
||||
call Get2bppViaHDMA
|
||||
ld de, FontExtra + 3 tiles ; "<BOLD_D>"
|
||||
ld hl, vTiles2 tile "<BOLD_D>"
|
||||
lb bc, BANK(FontExtra), 22 ; "<BOLD_D>" to "ぉ"
|
||||
call Get2bppViaHDMA
|
||||
jr LoadFrame
|
||||
|
||||
_LoadFontsExtra2::
|
||||
ld de, FontsExtra2_UpArrowGFX
|
||||
ld hl, vTiles2 tile "▲" ; $61
|
||||
ld b, BANK(FontsExtra2_UpArrowGFX)
|
||||
ld c, 1
|
||||
call Get2bppViaHDMA
|
||||
ret
|
||||
|
||||
_LoadFontsBattleExtra::
|
||||
|
|
@ -79,7 +55,7 @@ LoadFrame:
|
|||
call AddNTimes
|
||||
ld d, h
|
||||
ld e, l
|
||||
ld hl, vTiles2 tile "┌" ; $79
|
||||
ld hl, vTiles0 tile "┌" ; $ba
|
||||
lb bc, BANK(Frames), TEXTBOX_FRAME_TILES ; "┌" to "┘"
|
||||
call Get1bppViaHDMA
|
||||
ld hl, vTiles2 tile " " ; $7f
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
DEF NAMINGSCREEN_CURSOR EQU $7e
|
||||
|
||||
DEF NAMINGSCREEN_BORDER EQU "■" ; $60
|
||||
DEF NAMINGSCREEN_BORDER EQU "■" ; $d7
|
||||
DEF NAMINGSCREEN_MIDDLELINE EQU "→" ; $eb
|
||||
DEF NAMINGSCREEN_UNDERLINE EQU "<DOT>" ; $f2
|
||||
DEF NAMINGSCREEN_UNDERLINE EQU "☎" ; $d9
|
||||
|
||||
_NamingScreen:
|
||||
call DisableSpriteUpdates
|
||||
|
|
@ -840,7 +840,7 @@ LoadNamingScreenGFX:
|
|||
lb bc, BANK(NamingScreenGFX_UnderLine), 1
|
||||
call Get1bpp
|
||||
|
||||
ld de, vTiles2 tile NAMINGSCREEN_BORDER
|
||||
ld de, vTiles0 tile NAMINGSCREEN_BORDER
|
||||
ld hl, NamingScreenGFX_Border
|
||||
ld bc, 1 tiles
|
||||
ld a, BANK(NamingScreenGFX_Border)
|
||||
|
|
|
|||
|
|
@ -70,5 +70,5 @@ CorrectNickErrors::
|
|||
db "<ROUTE>", "<GREEN>" + 1
|
||||
db "<ENEMY>", "<ENEMY>" + 1
|
||||
db "<MOM>", "<TM>" + 1
|
||||
db "<ROCKET>", "┘" + 1
|
||||
db "<ROCKET>", " "
|
||||
db -1 ; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue