diff options
| author | xCrystal <rgr.crystal@gmail.com> | 2015-04-01 16:16:43 +0200 |
|---|---|---|
| committer | xCrystal <rgr.crystal@gmail.com> | 2015-04-01 17:05:49 +0200 |
| commit | 77d0e5ff84cc61ae625da19f184094241eddd4dc (patch) | |
| tree | 921ae74206ff3b396cc3423a0b699b4563239a96 /engine/battle/c.asm | |
| parent | Rename battle files and split move effects Part 2 (diff) | |
| download | pokeyellow-77d0e5ff84cc61ae625da19f184094241eddd4dc.tar.gz pokeyellow-77d0e5ff84cc61ae625da19f184094241eddd4dc.tar.xz pokeyellow-77d0e5ff84cc61ae625da19f184094241eddd4dc.zip | |
Rename battle files and split move effects Part 3
b.asm, b_2.asm, c.asm, and d.asm
Diffstat (limited to '')
| -rw-r--r--[-rwxr-xr-x] | engine/battle/moveEffects/one_hit_ko_effect.asm (renamed from engine/battle/c.asm) | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/engine/battle/c.asm b/engine/battle/moveEffects/one_hit_ko_effect.asm index b7c20ef6..84418e33 100755..100644 --- a/engine/battle/c.asm +++ b/engine/battle/moveEffects/one_hit_ko_effect.asm @@ -1,25 +1,3 @@ -MistEffect_: ; 33f2b (c:7f2b) - ld hl, W_PLAYERBATTSTATUS2 - ld a, [$fff3] - and a - jr z, .asm_33f36 - ld hl, W_ENEMYBATTSTATUS2 -.asm_33f36 - bit ProtectedByMist, [hl] ; is mon protected by mist? - jr nz, .asm_33f4a - set ProtectedByMist, [hl] ; mon is now protected by mist - callab PlayCurrentMoveAnimation - ld hl, ShroudedInMistText - jp PrintText -.asm_33f4a - ld hl, PrintButItFailedText_ - ld b, BANK(PrintButItFailedText_) - jp Bankswitch - -ShroudedInMistText: ; 33f52 (c:7f52) - TX_FAR _ShroudedInMistText - db "@" - OneHitKOEffect_: ; 33f57 (c:7f57) ld hl, W_DAMAGE xor a |
