More sprite anim documentation

This commit is contained in:
Remy Oukaour 2018-01-02 14:39:24 -05:00
parent 7ad8ea13c9
commit 2dd9ac08a4
4 changed files with 15 additions and 15 deletions

View File

@ -137,10 +137,10 @@
const SPRITE_ANIM_FRAMESET_LEAF ; 1d const SPRITE_ANIM_FRAMESET_LEAF ; 1d
const SPRITE_ANIM_FRAMESET_CUT_TREE ; 1e const SPRITE_ANIM_FRAMESET_CUT_TREE ; 1e
const SPRITE_ANIM_FRAMESET_EGG_CRACK ; 1f const SPRITE_ANIM_FRAMESET_EGG_CRACK ; 1f
const SPRITE_ANIM_FRAMESET_EGG_HATCH ; 20 const SPRITE_ANIM_FRAMESET_EGG_HATCH_1 ; 20
const SPRITE_ANIM_FRAMESET_UNUSED_21 ; 21 const SPRITE_ANIM_FRAMESET_EGG_HATCH_2 ; 21
const SPRITE_ANIM_FRAMESET_UNUSED_22 ; 22 const SPRITE_ANIM_FRAMESET_EGG_HATCH_3 ; 22
const SPRITE_ANIM_FRAMESET_UNUSED_23 ; 23 const SPRITE_ANIM_FRAMESET_EGG_HATCH_4 ; 23
const SPRITE_ANIM_FRAMESET_GS_INTRO_HO_OH ; 24 const SPRITE_ANIM_FRAMESET_GS_INTRO_HO_OH ; 24
const SPRITE_ANIM_FRAMESET_HEADBUTT ; 25 const SPRITE_ANIM_FRAMESET_HEADBUTT ; 25
const SPRITE_ANIM_FRAMESET_EZCHAT_CURSOR_0 ; 26 const SPRITE_ANIM_FRAMESET_EZCHAT_CURSOR_0 ; 26

View File

@ -32,10 +32,10 @@ SpriteAnimFrameData: ; 8d6e6
dw .Frameset_Leaf dw .Frameset_Leaf
dw .Frameset_CutTree dw .Frameset_CutTree
dw .Frameset_EggCrack dw .Frameset_EggCrack
dw .Frameset_EggHatch dw .Frameset_EggHatch1
dw .Frameset_Unused21 dw .Frameset_EggHatch2
dw .Frameset_Unused22 dw .Frameset_EggHatch3
dw .Frameset_Unused23 dw .Frameset_EggHatch4
dw .Frameset_GSIntroHoOh dw .Frameset_GSIntroHoOh
dw .Frameset_HeadbuttTree dw .Frameset_HeadbuttTree
dw .Frameset_EZChatCursor0 dw .Frameset_EZChatCursor0
@ -310,19 +310,19 @@ SpriteAnimFrameData: ; 8d6e6
frame SPRITE_ANIM_OAMSET_EGG_CRACK, 32 frame SPRITE_ANIM_OAMSET_EGG_CRACK, 32
endanim endanim
.Frameset_EggHatch: .Frameset_EggHatch1:
frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32 frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32
endanim endanim
.Frameset_Unused21: .Frameset_EggHatch2:
frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_X_FLIP frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_X_FLIP
endanim endanim
.Frameset_Unused22: .Frameset_EggHatch3:
frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_Y_FLIP frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_Y_FLIP
endanim endanim
.Frameset_Unused23: .Frameset_EggHatch4:
frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_X_FLIP, OAM_Y_FLIP frame SPRITE_ANIM_OAMSET_EGG_HATCH, 32, OAM_X_FLIP, OAM_Y_FLIP
endanim endanim

View File

@ -29,7 +29,7 @@ SpriteAnimSeqData: ; 8d1c4
db SPRITE_ANIM_FRAMESET_EGG_CRACK, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_EGG_CRACK db SPRITE_ANIM_FRAMESET_EGG_CRACK, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_EGG_CRACK
db SPRITE_ANIM_FRAMESET_GS_INTRO_HO_OH, SPRITE_ANIM_SEQ_GS_INTRO_HO_OH, $00 ; SPRITE_ANIM_INDEX_GS_INTRO_HO_OH db SPRITE_ANIM_FRAMESET_GS_INTRO_HO_OH, SPRITE_ANIM_SEQ_GS_INTRO_HO_OH, $00 ; SPRITE_ANIM_INDEX_GS_INTRO_HO_OH
db SPRITE_ANIM_FRAMESET_HEADBUTT, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_HEADBUTT db SPRITE_ANIM_FRAMESET_HEADBUTT, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_HEADBUTT
db SPRITE_ANIM_FRAMESET_EGG_HATCH, SPRITE_ANIM_SEQ_REVEAL_NEW_MON, $00 ; SPRITE_ANIM_INDEX_EGG_HATCH db SPRITE_ANIM_FRAMESET_EGG_HATCH_1, SPRITE_ANIM_SEQ_REVEAL_NEW_MON, $00 ; SPRITE_ANIM_INDEX_EGG_HATCH
db SPRITE_ANIM_FRAMESET_EZCHAT_CURSOR_0, SPRITE_ANIM_SEQ_EZCHAT_CURSOR, $00 ; SPRITE_ANIM_INDEX_EZCHAT_CURSOR db SPRITE_ANIM_FRAMESET_EZCHAT_CURSOR_0, SPRITE_ANIM_SEQ_EZCHAT_CURSOR, $00 ; SPRITE_ANIM_INDEX_EZCHAT_CURSOR
db SPRITE_ANIM_FRAMESET_BLUE_WALK, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_BLUE_WALK db SPRITE_ANIM_FRAMESET_BLUE_WALK, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_BLUE_WALK
db SPRITE_ANIM_FRAMESET_MAGNET_TRAIN_BLUE, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_MAGNET_TRAIN_BLUE db SPRITE_ANIM_FRAMESET_MAGNET_TRAIN_BLUE, SPRITE_ANIM_SEQ_NULL, $00 ; SPRITE_ANIM_INDEX_MAGNET_TRAIN_BLUE

View File

@ -39,7 +39,7 @@ DoAnimFrame: ; 8d24b
dw .FlyFrom dw .FlyFrom
dw .FlyLeaf dw .FlyLeaf
dw .FlyTo dw .FlyTo
dw .ForUnused1A dw .GSIntroHoOh
dw .EZChatCursor dw .EZChatCursor
dw .MobileTradeSentPulse dw .MobileTradeSentPulse
dw .MobileTradeOTPulse dw .MobileTradeOTPulse
@ -202,7 +202,7 @@ DoAnimFrame: ; 8d24b
ret ret
; 8d35a ; 8d35a
.ForUnused1A ; 8d35a (23:535a) .GSIntroHoOh ; 8d35a (23:535a)
ld hl, SPRITEANIMSTRUCT_0C ld hl, SPRITEANIMSTRUCT_0C
add hl, bc add hl, bc
ld a, [hl] ld a, [hl]