mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
shake screen functions
This commit is contained in:
parent
a957bb1540
commit
849b53623b
6 changed files with 39 additions and 33 deletions
|
|
@ -835,9 +835,9 @@ DoRockSlideSpecialEffects: ; 78fd9 (1e:4fd9)
|
|||
; if the subaninmation counter is between 8 and 11, shake the screen horizontally and vertically
|
||||
.shakeScreen
|
||||
ld b,1
|
||||
predef Func_48125 ; shake horizontally
|
||||
predef PredefShakeScreenHorizontally ; shake horizontally
|
||||
ld b,1
|
||||
predef_jump Func_480ff ; shake vertically
|
||||
predef_jump PredefShakeScreenVertically ; shake vertically
|
||||
|
||||
FlashScreenEveryEightFrameBlocks: ; 78ff7 (1e:4ff7)
|
||||
ld a,[W_SUBANIMCOUNTER]
|
||||
|
|
@ -1225,14 +1225,14 @@ SetAnimationBGPalette: ; 791fc (1e:51fc)
|
|||
ld b, $5
|
||||
|
||||
AnimationShakeScreenVertically: ; 79209 (1e:5209)
|
||||
predef_jump Func_480ff
|
||||
predef_jump PredefShakeScreenVertically
|
||||
|
||||
AnimationShakeScreen: ; 7920e (1e:520e)
|
||||
; Shakes the screen for a while. Used in Earthquake/Fissure/etc. animations.
|
||||
ld b, $8
|
||||
|
||||
AnimationShakeScreenHorizontallyFast: ; 79210 (1e:5210)
|
||||
predef_jump Func_48125
|
||||
predef_jump PredefShakeScreenHorizontally
|
||||
|
||||
AnimationWaterDropletsEverywhere: ; 79215 (1e:5215)
|
||||
; Draws water droplets all over the screen and makes them
|
||||
|
|
|
|||
|
|
@ -3958,7 +3958,7 @@ PrintMoveFailureText: ; 3dbe2 (f:5be2)
|
|||
ld hl, KeptGoingAndCrashedText
|
||||
call PrintText
|
||||
ld b, $4
|
||||
predef Func_48125
|
||||
predef PredefShakeScreenHorizontally
|
||||
ld a, [H_WHOSETURN]
|
||||
and a
|
||||
jr nz, .enemyTurn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue