diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-09 23:56:20 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-09 23:56:20 -0500 |
commit | 8a6d46f3d9ba4fb6939eb9ea9949f47aa8608d4a (patch) | |
tree | c369228491bdaca750da4a24baa3190836320710 /scripts/pewterpokecenter.asm | |
parent | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (diff) |
Replace some hardcoded data sizes
Diffstat (limited to 'scripts/pewterpokecenter.asm')
-rwxr-xr-x | scripts/pewterpokecenter.asm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/pewterpokecenter.asm b/scripts/pewterpokecenter.asm index 584878eb..1e64032b 100755 --- a/scripts/pewterpokecenter.asm +++ b/scripts/pewterpokecenter.asm @@ -27,7 +27,7 @@ PewterPokecenterText3: ; 5c59b (17:459b) call DelayFrames ld hl, JigglypuffFacingDirections ld de, wJigglypuffFacingDirections - ld bc, 4 + ld bc, JigglypuffFacingDirectionsEnd - JigglypuffFacingDirections call CopyData ld a, [wSpriteStateData1 + 3 * $10 + $2] @@ -50,7 +50,7 @@ PewterPokecenterText3: ; 5c59b (17:459b) push hl ld hl, wJigglypuffFacingDirections ld de, wJigglypuffFacingDirections - 1 - ld bc, 4 + ld bc, JigglypuffFacingDirectionsEnd - JigglypuffFacingDirections call CopyData ld a, [wJigglypuffFacingDirections - 1] ld [wJigglypuffFacingDirections + 3], a @@ -79,6 +79,7 @@ JigglypuffFacingDirections: ; 5c608 (17:4608) db $30 | SPRITE_FACING_LEFT db $30 | SPRITE_FACING_UP db $30 | SPRITE_FACING_RIGHT +JigglypuffFacingDirectionsEnd: PewterPokecenterText4: ; 5c60c (17:460c) db $f6 |