summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rwxr-xr-xgfx/font.asm10
-rwxr-xr-xgfx/load_pics.asm12
-rw-r--r--gfx/tilesets/palette_maps.asm7
3 files changed, 18 insertions, 11 deletions
diff --git a/gfx/font.asm b/gfx/font.asm
index fd95c9434..e525df85b 100755
--- a/gfx/font.asm
+++ b/gfx/font.asm
@@ -83,18 +83,18 @@ INCLUDE "gfx/footprints.asm"
; This and the following two functions are unreferenced.
; Debug, perhaps?
-Unknown_fb434:
+Unreferenced_fb434:
db 0
-Functionfb435: ; 4b435
- ld a, [Unknown_fb434]
+Unreferenced_Functionfb435: ; 4b435
+ ld a, [Unreferenced_fb434]
and a
jp nz, Get1bpp_2
jp Get1bpp
; fb43f
-Functionfb43f: ; fb43f
- ld a, [Unknown_fb434]
+Unreferenced_Functionfb43f: ; fb43f
+ ld a, [Unreferenced_fb434]
and a
jp nz, Get2bpp_2
jp Get2bpp
diff --git a/gfx/load_pics.asm b/gfx/load_pics.asm
index 6c2b3a765..86cf4123e 100755
--- a/gfx/load_pics.asm
+++ b/gfx/load_pics.asm
@@ -1,4 +1,4 @@
-GetUnownLetter: ; 51040
+Predef_GetUnownLetter: ; 51040
; Return Unown letter in UnownLetter based on DVs at hl
; Take the middle 2 bits of each DV and place them in order:
@@ -48,7 +48,7 @@ GetUnownLetter: ; 51040
ld [UnownLetter], a
ret
-GetMonFrontpic: ; 51077
+Predef_GetMonFrontpic: ; 51077
ld a, [CurPartySpecies]
ld [CurSpecies], a
call IsAPokemon
@@ -60,7 +60,7 @@ GetMonFrontpic: ; 51077
ld [rSVBK], a
ret
-GetAnimatedFrontpicPredef: ; 5108b
+Predef_GetAnimatedFrontpic: ; 5108b
ld a, [CurPartySpecies]
ld [CurSpecies], a
call IsAPokemon
@@ -195,7 +195,7 @@ LoadFrontpicTiles: ; 5114f
jr nz, .loop
ret
-GetMonBackpic: ; 5116c
+Predef_GetMonBackpic: ; 5116c
ld a, [CurPartySpecies]
call IsAPokemon
ret c
@@ -311,7 +311,7 @@ Function511ec: ; 511ec
call FarDecompress
ret
-GetTrainerPic: ; 5120d
+Predef_GetTrainerPic: ; 5120d
ld a, [TrainerClass]
and a
ret z
@@ -353,7 +353,7 @@ GetTrainerPic: ; 5120d
ld [hBGMapMode], a
ret
-DecompressPredef: ; 5125d
+Predef_Decompress: ; 5125d
; Decompress lz data from b:hl to scratch space at 6:d000, then copy it to address de.
ld a, [rSVBK]
diff --git a/gfx/tilesets/palette_maps.asm b/gfx/tilesets/palette_maps.asm
index 2b6564e7b..b67daeb8d 100644
--- a/gfx/tilesets/palette_maps.asm
+++ b/gfx/tilesets/palette_maps.asm
@@ -140,3 +140,10 @@ INCLUDE "gfx/tilesets/battle_tower_palette_map.asm"
TilesetBattleTowerOutsidePalMap: ; 0x4cd95
INCLUDE "gfx/tilesets/battle_tower_outside_palette_map.asm"
; 0x4ce05
+
+; unused
+; 0x4ce05
+rept 26
+ db $06
+endr
+; 0x4ce1f