mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-23 07:32:19 +13:00
Uppercase battle status constants
This commit is contained in:
parent
9dc48a1be7
commit
94b9a86c8b
14 changed files with 158 additions and 158 deletions
|
|
@ -10,15 +10,15 @@ ReflectLightScreenEffect_:
|
|||
ld a, [de]
|
||||
cp LIGHT_SCREEN_EFFECT
|
||||
jr nz, .reflect
|
||||
bit HasLightScreenUp, [hl] ; is mon already protected by light screen?
|
||||
bit HAS_LIGHT_SCREEN_UP, [hl] ; is mon already protected by light screen?
|
||||
jr nz, .moveFailed
|
||||
set HasLightScreenUp, [hl] ; mon is now protected by light screen
|
||||
set HAS_LIGHT_SCREEN_UP, [hl] ; mon is now protected by light screen
|
||||
ld hl, LightScreenProtectedText
|
||||
jr .playAnim
|
||||
.reflect
|
||||
bit HasReflectUp, [hl] ; is mon already protected by reflect?
|
||||
bit HAS_REFLECT_UP, [hl] ; is mon already protected by reflect?
|
||||
jr nz, .moveFailed
|
||||
set HasReflectUp, [hl] ; mon is now protected by reflect
|
||||
set HAS_REFLECT_UP, [hl] ; mon is now protected by reflect
|
||||
ld hl, ReflectGainedArmorText
|
||||
.playAnim
|
||||
push hl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue