diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-04 16:19:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 16:19:15 -0400 |
commit | 2718c36065e7eb201a149938bcdd51987c4e56b6 (patch) | |
tree | 4a1c0294193a497e15ec8e6be59390eb1f84b5d3 /engine/gfx/screen_effects.asm | |
parent | c85050497c1bd062e9cd40bf5b32fa3beca366cc (diff) | |
parent | 36f8cd1477b8ebe0537e99abd3ba53471a2e16c4 (diff) |
Merge pull request #257 from Rangi42/master
More reorganization
Diffstat (limited to 'engine/gfx/screen_effects.asm')
-rwxr-xr-x | engine/gfx/screen_effects.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/gfx/screen_effects.asm b/engine/gfx/screen_effects.asm index 95f0ea25..0d3806c1 100755 --- a/engine/gfx/screen_effects.asm +++ b/engine/gfx/screen_effects.asm @@ -19,7 +19,7 @@ PredefShakeScreenVertically: ld [wDisableVBlankWYUpdate], a xor a .loop - ld [$ff96], a + ld [hMutateWY], a call .MutateWY call .MutateWY dec b @@ -30,9 +30,9 @@ PredefShakeScreenVertically: ret .MutateWY - ld a, [$ff96] + ld a, [hMutateWY] xor b - ld [$ff96], a + ld [hMutateWY], a ld [rWY], a ld c, 3 jp DelayFrames @@ -43,7 +43,7 @@ PredefShakeScreenHorizontally: call GetPredefRegisters xor a .loop - ld [$ff97], a + ld [hMutateWX], a call .MutateWX ld c, 1 call DelayFrames @@ -58,9 +58,9 @@ PredefShakeScreenHorizontally: ret .MutateWX - ld a, [$ff97] + ld a, [hMutateWX] xor b - ld [$ff97], a + ld [hMutateWX], a bit 7, a jr z, .skipZeroing xor a ; zero a if it's negative |