Change how some PNG graphics are formatted
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
const_def $6a
|
||||
const DEBUGTEST_UP_ARROW ; $6a
|
||||
const DEBUGTEST_TICKS ; $6b
|
||||
const DEBUGTEST_WHITE ; $6c
|
||||
const DEBUGTEST_LIGHT ; $6d
|
||||
const DEBUGTEST_DARK ; $6e
|
||||
const DEBUGTEST_BLACK ; $6f
|
||||
const DEBUGTEST_0 ; $70
|
||||
const DEBUGTEST_1 ; $71
|
||||
const DEBUGTEST_2 ; $72
|
||||
const DEBUGTEST_3 ; $73
|
||||
const DEBUGTEST_4 ; $74
|
||||
const DEBUGTEST_5 ; $75
|
||||
const DEBUGTEST_6 ; $76
|
||||
const DEBUGTEST_7 ; $77
|
||||
const DEBUGTEST_8 ; $78
|
||||
const DEBUGTEST_9 ; $79
|
||||
const DEBUGTEST_A ; $7a
|
||||
const DEBUGTEST_B ; $7b
|
||||
const DEBUGTEST_C ; $7c
|
||||
const DEBUGTEST_D ; $7d
|
||||
const DEBUGTEST_E ; $7e
|
||||
const DEBUGTEST_F ; $7f
|
||||
const DEBUGTEST_TICKS_1 ; $6a
|
||||
const DEBUGTEST_TICKS_2 ; $6b
|
||||
const DEBUGTEST_WHITE ; $6c
|
||||
const DEBUGTEST_LIGHT ; $6d
|
||||
const DEBUGTEST_DARK ; $6e
|
||||
const DEBUGTEST_BLACK ; $6f
|
||||
const DEBUGTEST_0 ; $70
|
||||
const DEBUGTEST_1 ; $71
|
||||
const DEBUGTEST_2 ; $72
|
||||
const DEBUGTEST_3 ; $73
|
||||
const DEBUGTEST_4 ; $74
|
||||
const DEBUGTEST_5 ; $75
|
||||
const DEBUGTEST_6 ; $76
|
||||
const DEBUGTEST_7 ; $77
|
||||
const DEBUGTEST_8 ; $78
|
||||
const DEBUGTEST_9 ; $79
|
||||
const DEBUGTEST_A ; $7a
|
||||
const DEBUGTEST_B ; $7b
|
||||
const DEBUGTEST_C ; $7c
|
||||
const DEBUGTEST_D ; $7d
|
||||
const DEBUGTEST_E ; $7e
|
||||
const DEBUGTEST_F ; $7f
|
||||
|
||||
ColorTest:
|
||||
; A debug menu to test monster and trainer palettes at runtime.
|
||||
@@ -147,11 +147,11 @@ Function81948:
|
||||
ret
|
||||
|
||||
Function8197c:
|
||||
ld hl, DebugColorTestGFX + 1 tiles
|
||||
ld de, vTiles2 tile DEBUGTEST_UP_ARROW
|
||||
ld hl, DebugColorTestGFX
|
||||
ld de, vTiles2 tile DEBUGTEST_TICKS_1
|
||||
ld bc, 22 tiles
|
||||
call CopyBytes
|
||||
ld hl, DebugColorTestGFX
|
||||
ld hl, DebugUpArrowGFX
|
||||
ld de, vTiles0
|
||||
ld bc, 1 tiles
|
||||
call CopyBytes
|
||||
@@ -392,10 +392,10 @@ Function81bc0:
|
||||
|
||||
Function81bde:
|
||||
push af
|
||||
ld a, DEBUGTEST_UP_ARROW
|
||||
ld a, DEBUGTEST_TICKS_1
|
||||
ld [hli], a
|
||||
ld bc, $f
|
||||
ld a, DEBUGTEST_TICKS
|
||||
ld a, DEBUGTEST_TICKS_2
|
||||
call ByteFill
|
||||
ld l, e
|
||||
ld h, d
|
||||
@@ -1031,6 +1031,9 @@ String_81fcd:
|
||||
next "いいえ<DOT><DOT>", DEBUGTEST_B ; NO..(B)
|
||||
db "@"
|
||||
|
||||
DebugUpArrowGFX:
|
||||
INCBIN "gfx/debug/up_arrow.2bpp"
|
||||
|
||||
DebugColorTestGFX:
|
||||
INCBIN "gfx/debug/color_test.2bpp"
|
||||
|
||||
@@ -1047,13 +1050,13 @@ TilesetColorTest:
|
||||
call WaitBGMap2
|
||||
xor a
|
||||
ldh [hBGMapMode], a
|
||||
ld de, DebugColorTestGFX + 1 tiles
|
||||
ld hl, vTiles2 tile DEBUGTEST_UP_ARROW
|
||||
ld de, DebugColorTestGFX
|
||||
ld hl, vTiles2 tile DEBUGTEST_TICKS_1
|
||||
lb bc, BANK(DebugColorTestGFX), 22
|
||||
call Request2bpp
|
||||
ld de, DebugColorTestGFX
|
||||
ld de, DebugUpArrowGFX
|
||||
ld hl, vTiles1
|
||||
lb bc, BANK(DebugColorTestGFX), 1
|
||||
lb bc, BANK(DebugUpArrowGFX), 1
|
||||
call Request2bpp
|
||||
ld a, HIGH(vBGMap1)
|
||||
ldh [hBGMapAddress + 1], a
|
||||
@@ -1118,10 +1121,10 @@ Function821f4:
|
||||
hlcoord 2, 8
|
||||
|
||||
Function82203:
|
||||
ld a, DEBUGTEST_UP_ARROW
|
||||
ld a, DEBUGTEST_TICKS_1
|
||||
ld [hli], a
|
||||
ld bc, $10 - 1
|
||||
ld a, DEBUGTEST_TICKS
|
||||
ld a, DEBUGTEST_TICKS_2
|
||||
call ByteFill
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user