WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c52f659

Browse files
committed
Replace 1 tiles with TILE_SIZE
1 parent 49aec43 commit c52f659

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

engine/battle/animations.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,7 @@ AnimationMinimizeMon:
17261726
ld bc, (7 * 7) tiles
17271727
call FillMemory
17281728
pop hl
1729-
ld de, 7 * 3 tiles + 4 tiles + 4
1729+
ld de, (7 * 3 + 4) tiles + TILE_SIZE / 4
17301730
add hl, de
17311731
ld de, MinimizedMonSprite
17321732
ld c, MinimizedMonSpriteEnd - MinimizedMonSprite
@@ -1971,7 +1971,7 @@ AnimationSubstitute:
19711971
jp AnimationShowMonPic
19721972

19731973
CopyMonsterSpriteData:
1974-
ld bc, 1 tiles
1974+
ld bc, TILE_SIZE
19751975
ld a, BANK(MonsterSprite)
19761976
jp FarCopyData2
19771977

engine/events/diploma.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DisplayDiploma::
1111
call DisableLCD
1212
ld hl, CircleTile
1313
ld de, vChars2 tile CIRCLE_TILE_ID
14-
ld bc, 1 tiles
14+
ld bc, TILE_SIZE
1515
ld a, BANK(CircleTile)
1616
call FarCopyData2
1717
hlcoord 0, 0

engine/menus/start_sub_menus.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ DrawTrainerInfo:
511511
ld de, 13 tiles
512512
add hl, de ; hl = colon tile pattern
513513
ld de, vChars1 tile $56
514-
ld bc, 1 tiles
514+
ld bc, TILE_SIZE
515515
ld a, BANK(TextBoxGraphics)
516516
push bc
517517
call FarCopyData2

engine/movie/credits.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ HallOfFamePC:
1111
ld bc, ($20 tiles) / 2
1212
call ZeroMemory
1313
ld hl, vChars2 tile $7e
14-
ld bc, 1 tiles
14+
ld bc, TILE_SIZE
1515
ld a, $ff ; solid black
1616
call FillMemory
1717
hlcoord 0, 0

engine/overworld/dust_smoke.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ LoadSmokeTileFourTimes::
7070
push hl
7171
call LoadSmokeTile
7272
pop hl
73-
ld bc, 1 tiles
73+
ld bc, TILE_SIZE
7474
add hl, bc
7575
pop bc
7676
dec c

0 commit comments

Comments
 (0)