mirror of https://github.com/pret/pokecrystal.git
comment spikes move effect
This commit is contained in:
parent
b437aaf329
commit
91e89a29a2
|
@ -9557,13 +9557,19 @@ BattleCommand56: ; 37683
|
||||||
and a
|
and a
|
||||||
jr z, .asm_3768e
|
jr z, .asm_3768e
|
||||||
ld hl, PlayerScreens
|
ld hl, PlayerScreens
|
||||||
|
|
||||||
.asm_3768e
|
.asm_3768e
|
||||||
bit 0, [hl]
|
|
||||||
|
; Fails if spikes are already down!
|
||||||
|
|
||||||
|
bit SCREENS_SPIKES, [hl]
|
||||||
jr nz, .failed
|
jr nz, .failed
|
||||||
|
|
||||||
set 0, [hl]
|
; Nothing else stops it from working.
|
||||||
|
|
||||||
|
set SCREENS_SPIKES, [hl]
|
||||||
|
|
||||||
call Function0x37e01
|
call Function0x37e01
|
||||||
|
|
||||||
ld hl, SpikesText
|
ld hl, SpikesText
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue