diff options
| author | luckytyphlosion <alan.rj.huang@gmail.com> | 2016-03-28 15:59:19 -0400 |
|---|---|---|
| committer | luckytyphlosion <alan.rj.huang@gmail.com> | 2016-03-28 15:59:19 -0400 |
| commit | 9ca431b4f9706a3bbbbcfb03e2bab3360a5258a2 (patch) | |
| tree | eb8b05c448eb6a0b00ad344e65fb1b708c89c2aa /engine/overworld/ssanne.asm | |
| parent | Delete animations_.asm (diff) | |
| download | pokeyellow-9ca431b4f9706a3bbbbcfb03e2bab3360a5258a2.tar.gz pokeyellow-9ca431b4f9706a3bbbbcfb03e2bab3360a5258a2.tar.xz pokeyellow-9ca431b4f9706a3bbbbcfb03e2bab3360a5258a2.zip | |
Complete documentation of bank1e
Todo: address comments for data/animations.asm
Diffstat (limited to 'engine/overworld/ssanne.asm')
| -rwxr-xr-x | engine/overworld/ssanne.asm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/engine/overworld/ssanne.asm b/engine/overworld/ssanne.asm index e631bbfa..ece4446d 100755 --- a/engine/overworld/ssanne.asm +++ b/engine/overworld/ssanne.asm @@ -1,4 +1,4 @@ -AnimateBoulderDust: ; 79f54 (1e:5f54) +AnimateBoulderDust: ; 7a0fb (1e:60fb) ld a, $1 ld [wWhichAnimationOffsets], a ; select the boulder dust offsets ld a, [wUpdateSpritesEnabled] @@ -7,6 +7,7 @@ AnimateBoulderDust: ; 79f54 (1e:5f54) ld [wUpdateSpritesEnabled], a ld a, %11100100 ld [rOBP1], a + call UpdateGBCPal_OBP1 call LoadSmokeTileFourTimes callba WriteCutOrBoulderDustAnimationOAMBlock ld c, 8 ; number of steps in animation @@ -21,6 +22,7 @@ AnimateBoulderDust: ; 79f54 (1e:5f54) ld a, [rOBP1] xor %01100100 ld [rOBP1], a + call UpdateGBCPal_OBP1 call Delay3 pop bc dec c @@ -29,7 +31,7 @@ AnimateBoulderDust: ; 79f54 (1e:5f54) ld [wUpdateSpritesEnabled], a jp LoadPlayerSpriteGraphics -GetMoveBoulderDustFunctionPointer: ; 79f92 (1e:5f92) +GetMoveBoulderDustFunctionPointer: ; 7913f (1e:613f) ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction ld hl, MoveBoulderDustFunctionPointerTable ld c, a @@ -51,7 +53,7 @@ GetMoveBoulderDustFunctionPointer: ; 79f92 (1e:5f92) pop hl ret -MoveBoulderDustFunctionPointerTable: ; 79fb0 (1e:5fb0) +MoveBoulderDustFunctionPointerTable: ; 7a15d (1e:615d) ; facing down db $FF,$00 dw AdjustOAMBlockYPos @@ -68,7 +70,7 @@ MoveBoulderDustFunctionPointerTable: ; 79fb0 (1e:5fb0) db $FF,$01 dw AdjustOAMBlockXPos -LoadSmokeTileFourTimes: ; 79fc0 (1e:5fc0) +LoadSmokeTileFourTimes: ; 7916d (1e:616d) ld hl, vChars1 + $7c0 ld c, $4 .loop @@ -83,11 +85,11 @@ LoadSmokeTileFourTimes: ; 79fc0 (1e:5fc0) jr nz, .loop ret -LoadSmokeTile: ; 79fd4 (1e:5fd4) +LoadSmokeTile: ; 7a181 (1e:6181) ld de, SSAnneSmokePuffTile lb bc, BANK(SSAnneSmokePuffTile), (SSAnneSmokePuffTileEnd - SSAnneSmokePuffTile) / $10 jp CopyVideoData -SSAnneSmokePuffTile: ; 79fdd (1e:5fdd) +SSAnneSmokePuffTile: ; 7a18a (1e:618a) INCBIN "gfx/ss_anne_smoke_puff.2bpp" SSAnneSmokePuffTileEnd: |
