ref: bac031156bc7170d690c6a2d90d8bafe181d14a7
parent: 85698ddbdb959f06594d8fa6a431d261b1a698a5
author: yenatch <[email protected]>
date: Sun Feb 23 15:58:38 EST 2014
Misc trainer card graphics.
binary files /dev/null b/gfx/misc/card_right_corner.2bpp differ
binary files /dev/null b/gfx/misc/card_status.2bpp differ
--- a/main.asm
+++ b/main.asm
@@ -30921,15 +30921,15 @@
call ClearTileMap
call DisableLCD
callba Function8833e
- ld hl, $65c3
+ ld hl, CardRightCornerGFX
ld de, $91c0
ld bc, $10
- ld a, $9
+ ld a, BANK(CardRightCornerGFX)
call FarCopyBytes
- ld hl, $5523
+ ld hl, CardStatusGFX
ld de, $9290
- ld bc, $560
- ld a, $9
+ ld bc, $60 + $500
+ ld a, BANK(CardStatusGFX)
call FarCopyBytes
call Function25299
ld hl, $c540
@@ -30992,9 +30992,9 @@
ld d, $6
call Function253b0
call WaitBGMap
- ld de, $5523
+ ld de, CardStatusGFX
ld hl, $9290
- ld bc, $956
+ lb bc, BANK(CardStatusGFX), $6 + $50
call Request2bpp
call Function2530a
call Function251ab
@@ -31398,14 +31398,17 @@
jr .asm_2548a
; 254a7 (9:54a7)
-INCBIN "baserom.gbc", $254a7, $25583 - $254a7
+INCBIN "baserom.gbc", $254a7, $25523 - $254a7
+CardStatusGFX: INCBIN "gfx/misc/card_status.2bpp"
+
LeaderGFX: INCBIN "gfx/misc/leaders.2bpp"
LeaderGFX2: INCBIN "gfx/misc/leaders.2bpp"
BadgeGFX: INCBIN "gfx/misc/badges.2bpp"
BadgeGFX2: INCBIN "gfx/misc/badges.2bpp"
-INCBIN "baserom.gbc", $265c3, $265d3 - $265c3
+CardRightCornerGFX: INCBIN "gfx/misc/card_right_corner.2bpp"
+
ProfOaksPC: ; 0x265d3
ld hl, OakPCText1