diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:20:29 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:25:58 -0500 |
| commit | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch) | |
| tree | 53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /engine/overworld/player_animations.asm | |
| parent | Rename rod functions (diff) | |
| download | pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.tar.gz pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.tar.xz pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.zip | |
Use more lb
and other clean up
Diffstat (limited to 'engine/overworld/player_animations.asm')
| -rwxr-xr-x | engine/overworld/player_animations.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/player_animations.asm b/engine/overworld/player_animations.asm index 1a3d374f..74762b00 100755 --- a/engine/overworld/player_animations.asm +++ b/engine/overworld/player_animations.asm @@ -47,7 +47,7 @@ EnterMapAnim: ; 70510 (1c:4510) pop hl ld de, BirdSprite ld hl, vNPCSprites - ld bc, (BANK(BirdSprite) << 8) + $0c + lb bc, BANK(BirdSprite), $0c call CopyVideoData call LoadBirdSpriteGraphics ld a, SFX_FLY @@ -250,11 +250,11 @@ DoFlyAnimation: ; 706ae (1c:46ae) LoadBirdSpriteGraphics: ; 706d7 (1c:46d7) ld de, BirdSprite ld hl, vNPCSprites - ld bc, (BANK(BirdSprite) << 8) + $0c + lb bc, BANK(BirdSprite), $0c call CopyVideoData ld de, BirdSprite + $c0 ; moving animation sprite ld hl, vNPCSprites2 - ld bc, (BANK(BirdSprite) << 8) + $0c + lb bc, BANK(BirdSprite), $0c jp CopyVideoData InitFacingDirectionList: ; 706ef (1c:46ef) @@ -388,7 +388,7 @@ FishingAnim: ; 707b6 (1c:47b6) set 6, [hl] ; reserve the last 4 OAM entries ld de, RedSprite ld hl, vNPCSprites - ld bc, (BANK(RedSprite) << 8) + $0c + lb bc, BANK(RedSprite), $0c call CopyVideoData ld a, $4 ld hl, RedFishingTiles |
