-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use OBJ_SIZE and TILE_SIZE constants
#532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
c814ec6
ebac4b9
49aec43
c52f659
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -928,7 +928,7 @@ BallMoveDistances2: | |||||
| DoGrowlSpecialEffects: | ||||||
| ld hl, wShadowOAM | ||||||
| ld de, wShadowOAMSprite04 | ||||||
| ld bc, $10 | ||||||
| ld bc, OBJ_SIZE * 4 | ||||||
| call CopyData ; copy the musical note graphic | ||||||
| ld a, [wSubAnimCounter] | ||||||
| dec a | ||||||
|
|
@@ -1308,7 +1308,7 @@ AdjustOAMBlockXPos: | |||||
| ld h, d | ||||||
|
|
||||||
| AdjustOAMBlockXPos2: | ||||||
| ld de, 4 | ||||||
| ld de, OBJ_SIZE | ||||||
| .loop | ||||||
| ld a, [wCoordAdjustmentAmount] | ||||||
| ld b, a | ||||||
|
|
@@ -1332,7 +1332,7 @@ AdjustOAMBlockYPos: | |||||
| ld h, d | ||||||
|
|
||||||
| AdjustOAMBlockYPos2: | ||||||
| ld de, 4 | ||||||
| ld de, OBJ_SIZE | ||||||
| .loop | ||||||
| ld a, [wCoordAdjustmentAmount] | ||||||
| ld b, a | ||||||
|
|
@@ -1670,7 +1670,7 @@ _AnimationShootBallsUpward: | |||||
| dec a | ||||||
| ld [wNumShootingBalls], a | ||||||
| .next | ||||||
| ld de, 4 | ||||||
| ld de, OBJ_SIZE | ||||||
| add hl, de ; next OAM entry | ||||||
| dec b | ||||||
| jr nz, .innerLoop | ||||||
|
|
@@ -1723,10 +1723,10 @@ AnimationMinimizeMon: | |||||
| ld hl, wTempPic | ||||||
| push hl | ||||||
| xor a | ||||||
| ld bc, 7 * 7 * $10 | ||||||
| ld bc, 7 * 7 tiles | ||||||
| call FillMemory | ||||||
| pop hl | ||||||
| ld de, 7 * 3 * $10 + 4 * $10 + 4 | ||||||
| ld de, 7 * 3 tiles + 4 tiles + 4 | ||||||
|
||||||
| ld de, 7 * 3 tiles + 4 tiles + 4 | |
| ld de, (7 * 3 + 4) tiles + (1 tiles) / 4 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -148,7 +148,7 @@ PrepareOAMData:: | |
| ldh a, [hOAMBufferOffset] | ||
| ld l, a | ||
| ld h, HIGH(wShadowOAM) | ||
| ld de, $4 | ||
| ld de, OBJ_SIZE | ||
| ld b, $a0 | ||
|
||
| ld a, [wMovementFlags] | ||
| bit BIT_LEDGE_OR_FISHING, a | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.