summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/color.asm6
-rw-r--r--engine/gfx/load_pics.asm2
-rw-r--r--engine/gfx/sprite_anims.asm18
3 files changed, 13 insertions, 13 deletions
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index 37b1d7ba..d7998019 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -141,7 +141,7 @@ SGB_ApplyPartyMenuHPPals:
ld [hl], e
ret
-Unreferenced_Function9102:
+Function9102:
call CheckCGB
ret z
; CGB only
@@ -172,7 +172,7 @@ Unreferenced_Function9102:
RGB 08, 16, 28
RGB 00, 00, 00
-Unreferenced_Function9136:
+Function9136:
call CheckCGB
ret nz
ldh a, [hSGB]
@@ -211,7 +211,7 @@ Unreferenced_Function915e:
call GetPredefPal
jp LoadHLPaletteIntoDE
-Unreferenced_Function9178:
+Intro_LoadMonPalette:
call CheckCGB
jr nz, .cgb
ldh a, [hSGB]
diff --git a/engine/gfx/load_pics.asm b/engine/gfx/load_pics.asm
index c9ee98b7..8b9f4f6a 100644
--- a/engine/gfx/load_pics.asm
+++ b/engine/gfx/load_pics.asm
@@ -216,7 +216,7 @@ FixPicBank:
db $1f, $2e
db -1
-Function1587f:
+Intro_GetMonFrontpic:
ld a, c
push de
ld hl, PokemonPicPointers
diff --git a/engine/gfx/sprite_anims.asm b/engine/gfx/sprite_anims.asm
index a6e717e8..b32a3d27 100644
--- a/engine/gfx/sprite_anims.asm
+++ b/engine/gfx/sprite_anims.asm
@@ -20,8 +20,8 @@ DoAnimFrame:
dw .GSIntroBubble
dw .GSIntroShellder
dw .GSIntroMagikarp
+ dw .UnusedLapras
dw .GSIntroLapras
- dw .GSIntroLapras2
dw .GSIntroNote
dw .GSIntroJigglypuff
dw .GSIntroPikachu
@@ -227,7 +227,7 @@ DoAnimFrame:
call DeinitializeSprite
ret
-.GSIntroLapras
+.UnusedLapras
ld hl, SPRITEANIMSTRUCT_XCOORD
add hl, bc
ld a, [hl]
@@ -251,7 +251,7 @@ DoAnimFrame:
call DeinitializeSprite
ret
-.GSIntroLapras2
+.GSIntroLapras
call .AnonymousJumptable
jp hl
@@ -309,8 +309,8 @@ DoAnimFrame:
.asm_8d602
call DeinitializeSprite
- ld a, $1
- ld [wBattleMonLevel], a
+ ld a, 1
+ ld [wcb19], a
ret
.Function8d60b
@@ -392,7 +392,7 @@ DoAnimFrame:
dw .Function8d680
.Function8d673
- ld a, [wBattleMonLevel]
+ ld a, [wcb19]
and a
ret z
call .IncrementJumptableIndex
@@ -479,7 +479,7 @@ DoAnimFrame:
.asm_8d6e9
ld a, 1
- ld [wBattleMonLevel], a
+ ld [wcb19], a
call .IncrementJumptableIndex
ret
@@ -562,7 +562,7 @@ DoAnimFrame:
jr z, .asm_8d761
dec [hl]
dec [hl]
- ld a, [wBattleMonLevel]
+ ld a, [wcb19]
and a
ret nz
dec [hl]
@@ -997,7 +997,7 @@ ENDC
.asm_8d968
ld a, 1
- ld [wce64], a
+ ld [wIntroSceneFrameCounter], a
call DeinitializeSprite
ret