summaryrefslogtreecommitdiff
path: root/engine/mon_party_sprites.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-03-13 19:22:55 -0700
committerYamaArashi <shadow962@live.com>2015-03-13 19:22:55 -0700
commit332b7b3090445902d53cd6d424c3c7f7da308136 (patch)
treef06149eb62213a0401c515c6f922e803ce5109d2 /engine/mon_party_sprites.asm
parent1115b4454db645d2ebaa9e9f1fdd9ea86c1c4e44 (diff)
relabel and add comment
Diffstat (limited to 'engine/mon_party_sprites.asm')
-rwxr-xr-xengine/mon_party_sprites.asm10
1 files changed, 7 insertions, 3 deletions
diff --git a/engine/mon_party_sprites.asm b/engine/mon_party_sprites.asm
index 37125bbb..d3dd8206 100755
--- a/engine/mon_party_sprites.asm
+++ b/engine/mon_party_sprites.asm
@@ -88,12 +88,12 @@ GetAnimationSpeed: ; 7170a (1c:570a)
PartyMonSpeeds: ; 71769 (1c:5769)
db $05,$10,$20
-LoadMonPartySpriteTilePatterns: ; 7176c (1c:576c)
+LoadMonPartySpriteGfx: ; 7176c (1c:576c)
; Load mon party sprite tile patterns into VRAM during V-blank.
ld hl, MonPartySpritePointers
ld a, $1c
-LoadAnimSpriteTilePatterns: ; 71771 (1c:5771)
+LoadAnimSpriteGfx: ; 71771 (1c:5771)
; Load animated sprite tile patterns into VRAM during V-blank. hl is the address
; of an array of structures that contain arguments for CopyVideoData and a is
; the number of structures in the array.
@@ -125,7 +125,7 @@ LoadAnimSpriteTilePatterns: ; 71771 (1c:5771)
jr nz, .loop
ret
-LoadMonPartySpriteTilePatternsWithLCDDisabled: ; 71791 (1c:5791)
+LoadMonPartySpriteGfxWithLCDDisabled: ; 71791 (1c:5791)
; Load mon party sprite tile patterns into VRAM immediately by disabling the
; LCD.
call DisableLCD
@@ -332,6 +332,10 @@ WriteMonPartySpriteOAMByMonID: ; 71882 (1c:5882)
jr WriteMonPartySpriteOAM
UnusedPartyMonSpriteFunction: ; 71890 (1c:5890)
+; This function is unused and doesn't appear to do anything useful. It looks
+; like it may have been intended to load the tile patterns and OAM data for
+; the mon party sprite associated with the mon ID in a.
+; However, its calculations are off and it loads garbage data.
ld a, [wcf91]
call GetPartyMonSpriteID
push af